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. Reading Actaris/Itron SL7000 With Gurux.DLMS.cpp

Reading Actaris/Itron SL7000 with Gurux.DLMS.cpp

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 pid_t , 26 May, 2016
Forums
Gurux.DLMS

Hi,
I'm trying to read the load profile of an Actaris SL7000, but it doesn't seem to work as expected. I'm using Gurux.DLMS.cpp from github (my HEAD is at af9475b004d66).

The code:

CGXDLMSClient cl(true, 1,
CGXDLMSClient::GetServerAddress(1, 17, 4),
DLMS_AUTHENTICATION_LOW, "ABCDEFGH");
[...]
CGXCommunication comm(&cl, 1500, true);
[...]
comm.Connect("myhost", myPort));
[...]
CGXDLMSVariant rows;
CGXDateTime start(2016, 4, 23, 10, 54, 0, 0, 0);
CGXDateTime stop(2016, 5, 24, 11, 54, 0, 0, 0);

CGXDLMSProfileGeneric profile("1.0.99.1.0.255");
CGXDLMSClock k("0.0.1.0.0.255");
profile.SetSortObject(&k);
ret = comm.ReadRowsByRange (&profile, &start.GetValue(), &stop.GetValue(), rows);
[...]

The output:

InitializeConnection
<- 08:35:58 7E A0 0A 00 02 00 23 03 93 9B 61 7E
-> 08:35:58 7E A0 23 03 00 02 00 23 73 C0 48 81 80 14 05 02 00 80 06 02 00 80 07 04 00 00 00 01 08 04 00 00 00 01
<- 08:35:58 7E A0 47 00 02 00 23 03 10 41 3E E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 7E 1F FF FF 45 2E 7E
-> 08:35:59 7E A0 53 03 00 02 00 23 30 13 29 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 88 02 07 80 89 07 60 85 74 05 08 02 01 AA 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 08 00 06 5F 1F 04 00 00 30 1D 21 34 00 07
<- 08:35:59 7E A0 2F 00 02 00 23 03 32 38 46 E6 E6 00 C0 01 81 00 07 01 00 63 01 00 FF 02 01 02 02 04 06 00 00 00 01 06 00 00 00 14 12 00 01 12 00 00 6F EF 7E
gurux.dlms.client.bin: src/GXHelpers.cpp:1235: static int GXHelpers::GetData(CGXByteBuffer&, CGXDataInfo&, CGXDLMSVariant&): Assertion `0' failed.

info.GetType () in GXHelpers::GetData returns 196, hence the assertion.

Is there something I'm missing?

Profile picture for user Kurumi

Kurumi

10 years ago

Reading Actaris/Itron SL7000 with Gurux.DLMS.cpp

Hi,

SL7000 is trouble maker. It do supports DLMS, but profile generic objects are implemented interesting way. Easier way to go is if you can read all rows from profile generic table. Is that possible?

Then you should ask LogicalDevice_5.35_OBIS_SL761_Dec8-09.pdf from your vendor. I have explained it here: http://www.gurux.fi/node/4970

This exception should not accurred. Can you send trace what meter sends and we will fix that.

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