Variable subscriptions not returning statuscode change on disconnect? #940
Unanswered
jmarshall9120
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
According the OPC UA spec:
That's the from the spec for monitored items. Also according to the spec:
When I look at an implementation like uaexpert and do as the spec directs I get this:

It appears to detect the disconnection through a change event that was picked up for the
StatusCode
of nodeServer_ServerStatus_State
.When I do a simple implementation with the
opcua-asyncio
library I get this result:In this case I stopped the sever shortly after the client began listening but no disconnection was detected.
Obviously this easy to solve by polling the server, but according to the OPCUA spec, I shouldn't be doing that. Any idea why the subscription doesn't report changes to
StatusCode
?Beta Was this translation helpful? Give feedback.
All reactions