-
Notifications
You must be signed in to change notification settings - Fork 948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MonitoredItem Notification intermittently not triggered #2529
Comments
Hi @bbmmcodegirl, this seems difficult to track down. |
Hey! I am getting a similar issue on my end. Usually for me its the same nodes I am getting the notifications for all other monitored items except a couple specific ones from time to time. Not too sure what is happening |
@mregen sorry for the late answer. It turns out that yes, it seems to usually be a notification for one particular node value that gets missed at these very irregular intervals. But that is probably due to the fact that this one node is the one that changes most often. It gets many more changes than all other nodes. It is the value that changes in 42% of all of the notifications we receive. |
Type of issue
Current Behavior
We are using this OPC/UA implementation inside a process within a production environment.
Very rarely, we observe the Notification event for a
MonitoredItem
not being called, even though its value changed.This causes our production process to pause, so it is quite crucial for us.
This is intermittent. We may receive 20 notifications for value changes, but then one of the notifications is missing, so we miss out on the change of that value.
We currently use version 1.4.371.91 of the package, but this has also been observed with previous versions.
The occurrence is very rare, so it is very hard to establish what the specific conditions are that make this occur.
Note that when we had it occur, the value in the OPC/UA server was correct, as verified with a different tool. Only the
Notification
event of the associatedMonitoredItem
was not raised when the value had changed.Expected Behavior
Our
<OnNotification>
event handler should be called whenever the value of the monitored item changes.Steps To Reproduce
Here is the code that we are using to subscribe.
The steps we currently use are:
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: