Hi Mikko,
When we read instant profile then RTC comes as Object address. Please find below instant profile read by meter. Please help.
[[<gurux_dlms.GXDateTime.GXDateTime object at 0x000001AFF7C11D30>, 23729, -500, 16, 998, 5005, 118, -118, 1131512, 1132572, 305, <gurux_dlms.GXDateTime.GXDateTime object at 0x000001AFF84A1F40>, 305, <gurux_dlms.GXDateTime.GXDateTime object at 0x000001AFF84A19D0>, 262237, 5, 6, 2, 0, 0, True, 8640, 0, <gurux_dlms.GXDateTime.GXDateTime object at 0x000001AFF84A2BA0>, 0, <gurux_dlms.GXDateTime.GXDateTime object at 0x000001AFF84A20C0>, -51]]
Hi, The meter returns the…
Hi,
The meter returns the time in octet-string. You can convert this to string with the normal str-method.
BR,
Mikko
Hi Mikko, How can we convert…
Hi Mikko,
How can we convert octet string to normal string . Please explain with example.
Regards
Satish
Hi, The received octet…
Hi,
The received octet-string value is converted to GXDateTime object. You can convert it to string like this:
print(str(YOUR_READ_VALUE))
BR,
Mikko