binaryInput: Why does point.lastValue change upon first update? #540
Unanswered
carsten-AEI
asked this question in
Q&A
Replies: 1 comment
-
|
Damn, you discovered that I'm not a good programmer :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am not sure if I can phrase my question correctly, but I just stumbled upon.
I'm querying a industrial control system, the DEBUG output for one point looks like
but the output (once a second) of
print(f"{datetime.now()}: {type(point)} {type(point.lastValue)} '{point.lastValue}' {getattr(point.properties, 'address')}")looks likeTo my surprise, the value changed from the initial
activeto1: activeupon first update!My current assumption is that the enumeration value was not known right form the start but this really caught me off-guards and took way too long for me to debug/land at.
Anyone who could shed light on this for me?
Thanks a bunch in advance!
Beta Was this translation helpful? Give feedback.
All reactions