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. DataType Problems Regarding Array/Structure In 8.5.1904.2401

DataType problems regarding Array/Structure in 8.5.1904.2401

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 AndreasAtPowel , 10 May, 2019
Forums
Gurux.DLMS

Hi!

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.

Regards Marcus

Profile picture for user Kurumi

Kurumi

7 years 1 month ago

Hi Marcus,

Hi Marcus,

Thank you for let me know from this. We'll fix this ASAP.

BR,

Mikko

Profile picture for user Kurumi

Kurumi

7 years 1 month ago

Hi Marcus,

Hi Marcus,

This is fixed and tests are started. We'll release a new version later today.

BR,

Mikko

AndreasAtPowel

7 years ago

Thanks Mikko!

Thanks Mikko!
After a couple of days working with the new version averything seems to works quite well.

Best Regards
Marcus

  • 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

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin