We're having some problems with the latest version, 8.5.1904.2401.
We're trying to write to a register and we must send an Array of Structures.
In earlier versions, 8.5.1903.2001 for example, we created a GXDLMSData object and loaded it with a object[] containing an object[].
However in 8.5.1904.2401 this no longer works so I looked through the Gurux code and found that if we instead fed our GXDLMSData object with a List<object> containing object[] we would get the Array of Structures we needed.
However in the SetArray function in Internal/GXCommon.cs when Gurux tries to convert the Array to DLMS bytes it fails when it tries to cast this List<object> to object[].
When modify this code to take the List<object> type into account I get it all to work.
This seems to us like a bug.
So can you please confirm that this is a bug and that there has been recent changes in Gurux.DLMS related to this?
If not could you direct us in how to achieve an Array of Structures in our GXDLMSData object.
Hi Marcus,
Hi Marcus,
Thank you for let me know from this. We'll fix this ASAP.
BR,
Mikko
Hi Marcus,
Hi Marcus,
This is fixed and tests are started. We'll release a new version later today.
BR,
Mikko
Thanks Mikko!
Thanks Mikko!
After a couple of days working with the new version averything seems to works quite well.
Best Regards
Marcus