LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time out/close an application if not used

I would like to auto close an application when it has not been used in say ~1/2 hr. I can close now; if the front panel is not 'in front' for X time. This application maybe left open and 'in front' when it is not needed.
0 Kudos
Message 1 of 2
(2,500 Views)
Since LabVIEW still does not have true window even detection, you would have to rig something up. You can make a transparent picture control that can be used to detect mouse clicks or movement anywhere on it, but if the picture control were covering other controls, the user wouldn't be able to use them. I guess you can put the picture controls beneath anything the user needs to use and then monitor the picture control and any control on top of it for signs of use, but its a hastle. You might also be able to use the windows utility VI's to some good use,

http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&74DDE683A1AFF6988625683A000C0D73&cat=034E59A8530E09DF862568900018707A
0 Kudos
Message 2 of 2
(2,500 Views)