LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

a boolean button to manage a switch and a latch action

Hi there guys, here is my prblem:
I want to have a boolean button in my front panel to manage two different operations. One is for it to work as a switch (START/STOP), but also for another application I want it to work as a latch. The reason that I cannot use two different buttons is that the user would not be able to push them simultaneously. Is there a way to actually do this, like to push a switch button that pushes a latch button?
Thanks, in advance.
0 Kudos
Message 1 of 2
(2,232 Views)
I am not sure I understand your terminology exactly: switch and latch.

Certainly one button can perform multiple actions within the program. Simply wire the terminal to the places you want to use the data. If, when you say latch, you mean an action should occur only when the boolean changes state, that can easily be detected by wiring the button to the right terminal of a shift register and comparing the current button state with the previous state (the left terminal of the shift register).

Lynn
0 Kudos
Message 2 of 2
(2,232 Views)