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

When EasyDAItemChangedEventArgs.Succeeded can be false? - by: aris

$
0
0
I use EasyDAClient.SubscribeItem to subscribe to an OPC item. The callback returns EasyDAItemChangedEventArgs (args)
  1. What are the potential cases, besides connection issues, when args.Succeeded=false? If both EasyDAClient and the device try to access (read/write) the same OPC item on the OPC server simultaneously, I assume that the OPC server has some kind of locking mechanism - it will allow access to one thread while the other will wait. Am I right in my assumption? Will this scenario result in args.Succeeded=false if the device got the access first?
  2. If the above is true, what happens when e.Succeeded=false, will EasyDAClient try again or do I have manually call ReadItemValue to get the value now?

Viewing all articles
Browse latest Browse all 1794

Trending Articles