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
First of all thank you very much for working on this library. I was using the opc library from https://github.com/locka99/opcua. Now I want to use this opc client.
Can you give me an idea of how to store the Session so I can use it in the struct:
This is my struct to handle opc methods. For example there is a method for subscribe to new opc nodes.
But my problem is, that I get back a Arc ( let (session, event_loop) = client.connect_to_matching_endpoint(....)) . I don't know how to store this to a Arc<Mutex>.
Or is this completely wrong approach?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
First of all thank you very much for working on this library. I was using the opc library from https://github.com/locka99/opcua. Now I want to use this opc client.
Can you give me an idea of how to store the Session so I can use it in the struct:
This is my struct to handle opc methods. For example there is a method for subscribe to new opc nodes.
But my problem is, that I get back a Arc ( let (session, event_loop) = client.connect_to_matching_endpoint(....)) . I don't know how to store this to a Arc<Mutex>.
Or is this completely wrong approach?
Thank you,
Beta Was this translation helpful? Give feedback.
All reactions