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.
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.