LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My goal is to create a button that the user must hold onto so my while loop can perform. Once the user lets go of this button the function should stop. How can I do this ?


Sort of like a dead mans switch 

0 Kudos
Message 1 of 2
(2,408 Views)

Hi Mangg,

 

use a button and set it's switching behaviour to "switch until released".

Then you can use an event structure to detect each value change event and use them to en-/disable your "function"…

 

General recommendation: Put more text into the message body and less into the thread title!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(2,388 Views)