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 2 months 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

  • 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
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • T_APPL_DATA_LN_N1 subtest 3 fails on an LN-only server regardless of the response to a non-existing-object GET
  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
More

Who's new

  • software_P
  • eloisedc16
  • OlegVoiva
  • Martaepili
  • Vegazone-Alini
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin