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

Notification for server disconnect or unstable connection - by: Twoaster

$
0
0
Hi!

I'm creating a program that subscribe to a list of monitored items and updates a user interface with those values on change.

On my subscription, I already have an event that checks for changes on the list and notify the UI about the new values:


If I remove the ethernet cable from my laptop, I see this message on Visual studio Output console:



which is perfect, but I'm trying to notify my UI that the connection was lost, and since no event is triggered on the DataChangeNotification, I have no feedback.

I looked on the standard documentation and couldn't find how I can capture this error on my software. Does the QuickOPC toolkit have a event that gets triggered when a connection drops?

Thank you!

Viewing all articles
Browse latest Browse all 1794

Trending Articles