LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i edit a boolean button so it can have three options. instead of two


i.e. ON and OFF are the default. I want it to have three, ON, OFF, REDUNDANT
can you help me. asap.
thanks. rocky
0 Kudos
Message 1 of 5
(2,893 Views)
You really can't use a BOOLEAN button to have three options, but you could use a slider control with three possible states: ON, OFF, and REDUNDANT.

I have attached a VI with the sample control to this post.
0 Kudos
Message 2 of 5
(2,893 Views)
I'm not sure if I fully understand your question, but I'll give a shot at what I think it is. If you want a button that can be pressed so that its states go from
"on, off, red., on, off, red." etc. you will have to use a bit of trickery. In this case it is best to use a picture ring to give the controls the image you want and place a boolean button OVER the ring control. Make the boolean control completly transparent, resize it to cover the entire picture ring, and make sure the boolean is ABOVE the ring by using "move to front". You will then have to have a loop checking the boolean button for a press, and then modify the pic ring accordingly and take your "control value" off of the pic ring. I'd suggest finding a work-around if you can, as this is a lot of work to go
through.
0 Kudos
Message 3 of 5
(2,893 Views)
Instead of a booleon button, try a Slider or Dial [from the numeric palette]. Configure it to your 3 options where each option feeds a Case, etc. Good Luck.
0 Kudos
Message 4 of 5
(2,893 Views)
Instead of a booleon button, try a Slider or Dial [from the numeric palette]. Configure it to your 3 options where each option feeds a Case, etc. Good Luck.
0 Kudos
Message 5 of 5
(2,893 Views)