LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the boolean coontrol's value inside VI program by an event?

I have a boolean control "Run the test" button on the front panel, when I click this button, its value change to TRUE, then it will do a initial diagnosis on part of the DAQ system, if it find any hardware problem, it will send out a singal to notify the user about this error. I am wondering if this event can be passed to the boolean control "Run the test" button, changing its value from TRUE to FALSE inside the VI programmaticlly. because I do not  want to stop the whole VI, I only need to stop part of it by changing the control button's value? Thanks

 

ping

0 Kudos
Message 1 of 3
(2,532 Views)
If you are using a Latch mechanical action and if you have the Boolean inside the event (like you are generally supposed to), the Boolean will automatically switch to False. Have you done either of these?
0 Kudos
Message 2 of 3
(2,526 Views)
You could just make a local variable for that control and write a false constant to that variable when you want to change its value without stopping the VI
Misha
0 Kudos
Message 3 of 3
(2,497 Views)