Hi there,
There is a VI server command available called Is Foremost.
Calling up a property node (Virtual Instrument class) and then Properties /
Front Panel Window/ Is foremost will give a boolean variable based on
whether or not the labview program is foremost or not. Coupling this to a
routine in your code to enter a passive mode can then be implemented. How
you do this is of course dependent on what the software does......
Shane O`Neill
deserio@florida schrieb in Nachricht
<50650000000800000013160000-983677784000@quiq.com>...
>I would like my LabVIEW executables to stop running when the user
>makes any other program become the active program and start running
>again when the user reactivates it. In VB this would be done with
>code attached to the deactivate
and activate events. Is there any way
>to do this in LabVIEW?
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)