Hello,
I'am trying to read multiple objects with 1 query via tcp/ip using python.
Running this code:
obj1 = GXDLMSRegister()
obj1.shortName = 39656
obj1.attributeIndex = 2
obj2 = GXDLMSRegister()
obj2.shortName = 39800
obj2.attributeIndex = 2
objects = [obj1, obj2]
packets = client.readList(objects)
for p in packets:
reply = send_and_receive(p)
client.getData(reply)
gives me an error:
packets = client.readList(objects)
File "C:\Python313\Lib\site-packages\gurux_dlms\GXDLMSClient.py", line 1255, in readList
raise ValueError(
"Meter doesn't support multiple objects reading with one request."
)
BUT when i connect to the reader using GURUXDLMS Director i get this:
Conformance:
Proposed:
Read, Write, UnconfirmedWrite, MultipleReferences, InformationReport, ParameterizedAccess
Negotiated:
Read, Write, MultipleReferences, ParameterizedAccess
So if i got MultipleReferences in Negotiated conformance i should be able to read multiple objects at once - right?