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. Node
  3. Gurux.DLMS 9.0.2409.1701 and Above Error Get Associationview

Gurux.DLMS 9.0.2409.1701 and above error get associationview

By gpatane , 20 September, 2024
Forums
Gurux.DLMS

I have a problem after updating Gurux.DLMS to the latest version.
Up until version 9.0.2409.1101 everything worked fine but with version Gurux.DLMS 9.0.2409.1701 and above I have this error:

' get the items from the meter
Dim cacheAssociationView As New GXDLMSObjectCollection
Dim reply As New GXReplyData()
ReadDataBlock(Client.GetObjectsRequest(), reply)
cacheAssociationView = Client.ParseObjects(reply.Data, True) <- *** THE ERROR IS HERE ***

Gurux.DLMS.GXDLMSException: Invalid response.
in Gurux.DLMS.GXDLMSClient.ParseSNObjects(GXByteBuffer buff, Boolean onlyKnownObjects, Boolean ignoreInactiveObjects)
in Gurux.DLMS.GXDLMSClient.ParseObjects(GXByteBuffer data, Boolean onlyKnownObjects, Boolean ignoreInactiveObjects)
in eMeter.GXCommunication.GetAssociationView2(String XmlAssociationCache)

Meter is Landis and I have never had a problem like this.

Profile picture for user Kurumi

Kurumi

1 year 12 months ago

Hi, This is fixed and the…

Hi,

This is fixed and the new version is released today.

BR,
Mikko

gpatane

1 year 12 months ago

With update 9.0.2409.2002…

With update 9.0.2409.2002 the previous error has been fixed but I get an error in the next steps when Read scalers and units from the device for GXDLMSRegister and GXDLMSDemandRegister:

Gurux.DLMS.GXDLMSException: Invalid block length.
in eMeter.GXCommunication.ReadDLMSPacket(Byte[] data, GXReplyData reply) in C:\Users\Dev\Meters\DLMS\GXCommunication.vb:riga 849
in eMeter.GXCommunication.ReadDataBlock(Byte[] data, GXReplyData reply) in C:\Users\Dev\Meters\DLMS\GXCommunication.vb:riga 946
in eMeter.GXCommunication.ReadList(List`1 list) in C:\Users\Dev\Meters\DLMS\GXCommunication.vb:riga 657
in eMeter.DLMS2_Class.Connect()

Profile picture for user Kurumi

Kurumi

1 year 12 months ago

Hi, The old code is returned…

Hi,

The old code is returned because it works with old meters. I need to think how to handle newer meters. I didn't remember that some L+G meters are using this differently. Old L+G meters do not use blocks and they are just add all data to a single reply. This is causing the problem.

Update to the version 9.0.2409.2004.

BR,
Mikko

gpatane

1 year 12 months ago

It's working now, many…

It's working now, many thanks for the always great support
Best regards
Giacomo

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • 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

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin