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

subscription handle value on bad connection - by: cadomanis

$
0
0
It appears that if attempting to subscribe with the following code, and a connection is not made a subscription handle of value 12586002 is returned?


Is that the expected value on a bad connection, such that that handle should be ignored? Or if after attempting the SubscribeMultipleMonitoredItems I immediately see the event handler return with a succeeded = false, should I be then throwing away the subscription handle that was received? Any pointers or extended examples on how to handle failed subscription attempts would be greatly appreciated.

Viewing all articles
Browse latest Browse all 1794

Trending Articles