Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

How to diagnose UAEngineException: Timed out waiting session become available - by: boppbo

$
0
0
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))

Viewing all articles
Browse latest Browse all 1794

Trending Articles