Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Gurux Sampleclient Not Reading Profilegeneric Buffer and Capture_objects

Gurux sampleclient not reading profilegeneric buffer and capture_objects

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By mansour , 8 July, 2016
Forums
Known problems

Hi,

I'm testing the sampleclient (java) you provided for reading a profilegeneric object from GuruxDLMSServerExample in this way :

1) I launch the sample DLMS Server with this configuration :
GXDLMSServerSN_47 SNServer = new GXDLMSServerSN_47();
SNServer.Initialize(4060);
--> In GXDLMSProfileGeneric instance I see that the attribute "captureObjects" is correctly populated with clock and register object :
pg.addCaptureObject(clock, 2, 0);
pg.addCaptureObject(register, 2, 0);

2) When the GXProfileGenericUpdater runs it adds values to buffer attribute of GXDLMSProfileGeneric instance

3) When I run sampleclient with this params :
GXDLMSClient dlms = new GXDLMSClient(false, 16, 1, Authentication.LOW, "password", InterfaceType.WRAPPER);
--> in GXCommunicate.readProfileGenerics() I can see that "entriesInUse" and "entries" are correctly read but attributes "buffer" and "capture_objects" from "pg" instance that are read on client side are always empty...
--> Can you please complete the sample in order to see how to properly read the attributes "buffer" and "capture_objects" from a ProfileGeneric object ?

Thanks
Mansour

Profile picture for user Kurumi

Kurumi

8 years 10 months ago

sampleclient

Hi Mansour,

I'm so sorry that I have not answer for this question. For some reason I have not noticed it.
Someone reply spam for this and I noticed it accident.

Is this problem still active or have you solved it?

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96

New forum topics

  • Connecting to meter using Wrapper
  • DLMS Server / Meter emulation in Golang library
  • Unknown Baudrate
  • negative indexing for custom method/attribute
  • System title
More

Who's new

  • obedph10
  • FERRUM 26
  • Splin
  • Carlos Ely
  • Sandeep Bajaniya
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin