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. Node
  3. 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 11 months 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, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin