LabVIEW

cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

LV5: pause hot key

I'm searching for a hotkey to pause a lab-view-program, I have to write a macro to steer the LabView. Does someone know the combo. I searched the help and tried some out, but the only success was an inoperable menu 😞
----------
My first language is German, please ignore my faults...
0 Kudos
Message 1 of 3
(2,744 Views)
Hello Hardware_...,

in the block diagram window you will find a pause button - but thats only useful for debugging πŸ™‚

If you need this in runtime (or executable) you will have to program this on your own:
- check if the user presses your "hotkey" (boolean button or whatever)
- set a global variable to "pause mode"
- check this global in all subvis and react on it...

When you use a state machine you can easily stop after each state (just go to state "pause mode")...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,738 Views)
Hello GerdW

Thanks for the answer. It's what i feared 😞 For my program it's a bad thing... I will have to solve it in some kind of endless loops everywhere the program stays longer time.

Greetings
Hardware_Tester

Message Edited by Hardware_Tester on 04-12-2006 03:43 PM

----------
My first language is German, please ignore my faults...
0 Kudos
Message 3 of 3
(2,734 Views)