LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trigger control based on activity of window in LabVIEW

I want to display the time when a LabVIEW frontpanel becomes inactive (not the top window).

Basically, we're acquire image data from a non-NI camera. The simplest way is to use the application that came with the camera, rather than try, with my measle knowledge, to build a driver in LabVIEW. However, we need to correlate other temperature data with image frames.

To do this we'll time stamp all temperature data when acquired and also mark the time when images begin to be acquired.

A simple way to do this, if it is possible, is to begin taking temperature data, having allready set up the camera. When I push the record button on the screen of the camera software, the LabVIEW front panel will become inact
ive (not on top) and I can log that time. (or log a 1 or maybe not even start logging data until the front panel is inactive?) All the frames are stamped with a time representing the time from start.

Question: Does anyone know how to trigger a command from when the front panel is no longer the active window in LabVIEW 6i??

Any ideas are greatly appreciated!
0 Kudos
Message 1 of 2
(2,541 Views)
There is a property of the front panel that indicates whether the front panel of a VI is top most. I have attached an example VI below. You can adapt this program to log the time when it first goes false (which may be the hardest part).

Jeremy Braden
National Instruments
0 Kudos
Message 2 of 2
(2,541 Views)