LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an event for frontmost change?

Solved!
Go to solution

Is there an event that will tell me when the VI looses frontmost? I'd like to make a sort of deadman trigger that fires when the front panel isn't frontmost. If it comes to it, I'll poll FP.isfrontmost.

0 Kudos
Message 1 of 3
(3,069 Views)

 


@nanocyte wrote:

Is there an event that will tell me when the VI looses frontmost? I'd like to make a sort of deadman trigger that fires when the front panel isn't frontmost. If it comes to it, I'll poll FP.isfrontmost.



Use Property node for the respective VI and you will get whether the VI FP is Front Most

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 3
(3,036 Views)
Solution
Accepted by topic author nanocyte

Look at the Application class event called VI Activation (or VI Deactivation, if your version is new enough). You might need to activate scripting to see it.


___________________
Try to take over the world!
Message 3 of 3
(3,027 Views)