Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Bug In ParseObjects() C#

Bug in ParseObjects() C#

By Rahuls, 18 October, 2024
Forums
Gurux.Net

Hello mikko,

I think maybe its a bug

if im reading object using Read() i will get correct value since there are 2 timezone values.
Read(it,5)
obj
{Gurux.DLMS.Objects.GXDLMSDayProfile[1]}
[0]: {1 10:00:00.000 AM 0.0.10.0.100.255 1 8:00:00.000 PM 0.0.10.0.100.255 2}

But on calling ParseObjects(), i am just receiving just 1 timezone value.

ParseObjects(it.LogicalName, attrIndex, obj)
"[{\"DayId\":1,\"StartTime\":\"10:00:00.000 AM\",\"ScriptCode\":\"0.0.10.0.100.255\",\"Selector\":1}]"

ofcourse i cab skip this call and use directly Read(), but parseobjects is useful for parsing other octet values.

thanks

Profile picture for user Kurumi

Kurumi

1 year 1 month ago

Hi, ParseObjects is used to…

Hi,

ParseObjects is used to parse the association view and you don't need that. Values are updated to the COSEM object when you read the value.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 12/02/2025 - 10:21
    gurux.dlms.c 9.0.2512.0201
  • Mon, 12/01/2025 - 13:55
    Gurux.DLMS.Python 1.0.193
  • Thu, 11/13/2025 - 15:23
    Gurux.DLMS.Python 1.0.192
  • Thu, 11/13/2025 - 14:55
    gurux.dlms.java 4.0.84
  • Wed, 10/29/2025 - 08:51
    gurux.dlms.c 9.0.2510.2901

New forum topics

  • Incomplete Firmware Upgrade Process
  • SNRM byte mening
  • P384 Client Certificate incorrect issuer CN
  • Confirmed push service support
  • DLMS Stack hang during Firmware Upgrade
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin