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 8 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

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin