convertersystems / opc-ua-samples

Sample HMIs using OPC Unified Architecture (OPC UA) and Visual Studio.
MIT License
107 stars 43 forks source link

Keep checking if the opc server is connected #39

Closed balamcsd closed 7 years ago

balamcsd commented 7 years ago

Hi, How to check if the opc server is connected to opc-ua client application I need to check it in a time interval Thanks

balamcsd commented 7 years ago

Sir, I got the answer. channel.State == CommunicationState.Closed channel.State == CommunicationState.Faulted channel.State == CommunicationState.Opened Are the ones to be used Thanks