I have issues displaying opc status information in a wpf application. I'm subscribing several opc nodes during startup and non-deterministically data loading is slow or the data change callback fails with:
OpcLabs.EasyOpc.UA.Engine.UAEngineException: Timed out waiting (2000 milliseconds) for a session to become available for a conversion.
+ The client method called (or event/callback invoked) was 'DataChangeNotification'.
One thing I'm suspecting might be an issues is that i'm calling read and subscribe methods on EasyUaClient on the threadpool to increase UI responsiveness. Is this supported?
await Task.Run(() => this._client.SubscribeMultipleMonitoredItems(monitoredItems))
OpcLabs.EasyOpc.UA.Engine.UAEngineException: Timed out waiting (2000 milliseconds) for a session to become available for a conversion.
+ The client method called (or event/callback invoked) was 'DataChangeNotification'.
One thing I'm suspecting might be an issues is that i'm calling read and subscribe methods on EasyUaClient on the threadpool to increase UI responsiveness. Is this supported?
await Task.Run(() => this._client.SubscribeMultipleMonitoredItems(monitoredItems))