You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an existing device which exposes sensor data via various protocols. We now would like to add an OPC-UA-server.
We have a nodeset and basic understanding of how OPC-UA works. (There is still some confusion of Nodes vs. Objects, but that's another story).
The process which runs the open62541-server receives sensors-data updates via IPC-messages asynchronously within a thread different from the main one.
How should I inform the server that there is a new values available?
Can I do it from my thread with UA_Server_writeValue() (is the server thread-safe)?
If a datasource-variable is the right way, how do I inform the server that there are new values available? How will it inform client which are subscribed on this variable clients?
Thanks in advance for your help - I hope I didn't mix up things.
open62541 Version (release number or git tag): master-branch
Other OPC UA SDKs used (client or server):
Operating system: Linux
Logs (with UA_LOGLEVEL set as low as necessary) attached
Wireshark network dump attached
Self-contained code example attached
Critical issue
The text was updated successfully, but these errors were encountered:
I have an existing device which exposes sensor data via various protocols. We now would like to add an OPC-UA-server.
We have a nodeset and basic understanding of how OPC-UA works. (There is still some confusion of Nodes vs. Objects, but that's another story).
The process which runs the open62541-server receives sensors-data updates via IPC-messages asynchronously within a thread different from the main one.
How should I inform the server that there is a new values available?
Can I do it from my thread with
UA_Server_writeValue()
(is the server thread-safe)?If a datasource-variable is the right way, how do I inform the server that there are new values available? How will it inform client which are subscribed on this variable clients?
Thanks in advance for your help - I hope I didn't mix up things.
UA_LOGLEVEL
set as low as necessary) attachedThe text was updated successfully, but these errors were encountered: