LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Query VI status using VI server

Solved!
Go to solution

Hello,

 

I am trying to figure out how to querry the status of a VI using VI server.

 

I want to know if the VI I am calling is already running or open.

 

Thanks

 

Dan

Dan Shangraw, P.E.


   

0 Kudos
Message 1 of 3
(2,801 Views)
Solution
Accepted by ASTDan

You can pass JUST the VI name to to an "Open VI ref" and it will NOT return an error if the VI is already open and loaded into memory.

 

The execution State proprty will tell you if it is running.

 

VI_State.png 

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 3
(2,798 Views)

Thanks Ben,

 

I was looking in methods.

 

Dan

Dan Shangraw, P.E.


   

Message 3 of 3
(2,791 Views)