LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get OPC Server Status

Hello All,

  Developing an application that uses an OPC Server.  Would like to get the status of the server, along with any errors or failures into my Labview GUI.  Not sure how to accomplish this.  Shared variables from server?  Application reference? Data Socket?  Please advise.  Thanks in Advance.

GSinMN

0 Kudos
Message 1 of 4
(3,409 Views)

What OPC server are you using?  Is this an NI OPC server or a different server?

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 4
(3,393 Views)

Hello Matt,  

 

  Thanks for checking in. Yes that is correct, using NI OPC Server 2013, and Labview 2013.

 

GSinMN 

0 Kudos
Message 3 of 4
(3,377 Views)

Hi,

 

I went to the OPC help file on my computer (Start – All Programs – National Instruments – OPC Servers 2013). It doesn't look like you can programmatically get server status information. From LabVIEW, you can read any tags that the server is hosting. Perhaps there are OPC internal tags that can be read that contain information you would find useful.

Andrew T.
"His job is to shed light, and not to master" - Robert Hunter
0 Kudos
Message 4 of 4
(3,359 Views)