LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Numerous Start buttons in a while loop

I have a while loop, in which I inted to put many Start buttons, each
of which relates to a different action. My problem is that once I
click on the first button, it continues to run the first process
continously. How do I make it stop after completing each sequence
without necessarily stopping the entire program.
0 Kudos
Message 1 of 2
(2,335 Views)
Without seeing your code I will guess that your button's mechanical
action is set to switch when pressed. It becomes true and stays true
and your process always runs. Set the button to latch when pressed.
The program will reset the button to false after it reads it as true.
Your process will operate only once until you press the button again.
0 Kudos
Message 2 of 2
(2,335 Views)