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.
Hi, This is fixed and the…
Hi,
This is fixed and the new version is released today.
BR,
Mikko
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()
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
It's working now, many…
It's working now, many thanks for the always great support
Best regards
Giacomo