LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to detect the current VI being used.

I have built security into my LabVIEW application and would like to implement an auto logoff function. Is there a way I can get a VI reference to the VI that the user is currently interfacing with? I can then use the detect front panel activity vi to reset a timer.
0 Kudos
Message 1 of 2
(2,355 Views)
Check the VI Property:Front Panel Window:Is Frontmost. If that is true, the VI is in front and, therefore, is most likely the one being used. I am not sure how modal windows and dialog boxes affect this.

Lynn
Message 2 of 2
(2,343 Views)