Hello,
I'm dping some test on DLMS meter. I have an error on the code when I want to read the OBIS code 1.0.99.1.2.255:2, it is the load profile OBIS code. I'm able to read it by DLMSDirector and works ok, but when I try it by Python code have this error:
raise ValueError("Number of columns do not match.")
ValueError: Number of columns do not match.
What could be happening
Hi, I believe that you haven…
Hi,
I believe that you haven't read capture object. You need to read those before reading the buffer.
Read this link:
https://gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric
BR,
Mikko
Hi, Thanks for the reply. …
Hi,
Thanks for the reply.
Do you have a simple code example to read the 1.0.99.1.2.255:2 OBIS code ? Righ now im able to read the registers code by python, but i think it is a different structure to read 1.0.99.1.2.255:2 code.
Thanks.
Hi, You need to read profile…
Hi,
You need to read profile generic columns first (Attribute index #3). Check this:
https://github.com/Gurux/Gurux.DLMS.Python/blob/855d49a6369691612d752c8…
Then you can read the buffer (attribute index #2) with by range.
https://github.com/Gurux/Gurux.DLMS.Python/blob/855d49a6369691612d752c8…
or with entry:
https://github.com/Gurux/Gurux.DLMS.Python/blob/855d49a6369691612d752c8…
BR,
Mikko