Replies: 1 comment 4 replies
-
Yes, what you are really doing is adding a |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I have a code (kotlin) as follows and in one of the instances it stopped working for me. I had a lot of readValues calls inside there and
because of them whole call took minutes to resolve. But after all read calls finished, I didn't get any further changeListener calls even though the value in
nodeAddress
kept changing. Just a note, value in OPC changes only after last writeValue in changeListener, so no concurrent changes should be triggered. Sampling interval was 200ms.Right now I've tried to run content of changeListener in new thread and it resolved the issue, so my question is if it's a good practice to run it in thread (executor) always? Also I still suspect that it could also be some kind of overload of that SIEMENS PLC. Also I use same client for multiple other calls and it seemed that this dataChangeListener blocked all other?
Beta Was this translation helpful? Give feedback.
All reactions