Hi Mikko,
When we read 14 entries of Block load profile entries then it is reading successfully but if we make count more than 14 say 15 then below error is coming. I'm using Gurux python client example. Please help.
pg = GXDLMSProfileGeneric("1.0.99.1.0.255")
y3 = reader.read(pg,3)
z3 = reader.readRowsByEntry(pg,1,15)
Traceback (most recent call last):
File "C:\Users\s_paliwal\PycharmProjects\Gurux\trial.py", line 201, in <module>
z3 = reader.readRowsByEntry(pg,1,15)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\s_paliwal\PycharmProjects\Gurux\GXDLMSReader.py", line 353, in readRowsByEntry
self.readDataBlock(data, reply)
File "C:\Users\s_paliwal\PycharmProjects\Gurux\GXDLMSReader.py", line 179, in readDataBlock
self.readDataBlock(it, reply)
File "C:\Users\s_paliwal\PycharmProjects\Gurux\GXDLMSReader.py", line 182, in readDataBlock
self.readDLMSPacket(data, reply)
File "C:\Users\s_paliwal\PycharmProjects\Gurux\GXDLMSReader.py", line 118, in readDLMSPacket
self.readDLMSPacket2(data, reply)
File "C:\Users\s_paliwal\PycharmProjects\Gurux\GXDLMSReader.py", line 169, in readDLMSPacket2
raise e
File "C:\Users\s_paliwal\PycharmProjects\Gurux\GXDLMSReader.py", line 149, in readDLMSPacket2
while not self.client.getData(rd, reply, notify):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\s_paliwal\PycharmProjects\Gurux\.venv\Lib\site-packages\gurux_dlms\GXDLMSClient.py", line 1423, in getData
raise ex
File "C:\Users\s_paliwal\PycharmProjects\Gurux\.venv\Lib\site-packages\gurux_dlms\GXDLMSClient.py", line 1420, in getData
ret = GXDLMS.getData(self.settings, reply, data, notify)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\s_paliwal\PycharmProjects\Gurux\.venv\Lib\site-packages\gurux_dlms\GXDLMS.py", line 2973, in getData
GXDLMS.getPdu(settings, target)
File "C:\Users\s_paliwal\PycharmProjects\Gurux\.venv\Lib\site-packages\gurux_dlms\GXDLMS.py", line 2574, in getPdu
GXDLMS.handleGloDedResponse(settings, data, index)
File "C:\Users\s_paliwal\PycharmProjects\Gurux\.venv\Lib\site-packages\gurux_dlms\GXDLMS.py", line 2803, in handleGloDedResponse
GXDLMS.getPdu(settings, data)
File "C:\Users\s_paliwal\PycharmProjects\Gurux\.venv\Lib\site-packages\gurux_dlms\GXDLMS.py", line 2514, in getPdu
if not GXDLMS.handleGetResponse(settings, data, index):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\s_paliwal\PycharmProjects\Gurux\.venv\Lib\site-packages\gurux_dlms\GXDLMS.py", line 2396, in handleGetResponse
GXDLMS.handleGetResponseNextDataBlock(settings, reply, index)
File "C:\Users\s_paliwal\PycharmProjects\Gurux\.venv\Lib\site-packages\gurux_dlms\GXDLMS.py", line 2310, in handleGetResponseNextDataBlock
raise ValueError(
ValueError: Invalid Block number. It is 3 and it should be 1.
Hi, There is an issue with…
Hi,
There is an issue with the meter. When you read the profile generic, the meter doesn't reset the block counter to one. Now its value is three.
Ask if there is a firmware update for the meter that fixes this.
BR,
Mikko