LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to integrate 2 buttons

Solved!
Go to solution

Also, since you only have two states, doing all that song and dance with hiding and showing seems rather silly, right?

 

The entire system has only two states!

 

  1. Button A shown and off, Button B hidden and on
  2. Button B shown and off, Button A hidden and on

To represent the two states, all you need is a single switch action button: ON is state 1 and OFF is state 2. Mka the two boolean texts and colors different. On the diagram, generate the relevant two booleans needed in the code according to the button state of the singe button.

 

(If you really want to show two switches, create pictures of the two for each of the desired states (1 or 2) and import them into the button face.)

Message 11 of 12
(374 Views)
Thank you. I have been lurking on my phone all day waiting for someone to point out the single button solution.
0 Kudos
Message 12 of 12
(371 Views)