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. 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 8 months ago

Hi, This is fixed and the…

Hi,

This is fixed and the new version is released today.

BR,
Mikko

gpatane

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

  • 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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin