LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

9 buttons to select display in a meter

I have a panel with 9 buttons next to LED's. There is also a Meter and a String indicator.
The idea is tha only 1 button can be active at any given time. The corresponding label should appear displayed and the value assigned in the meter. The LED's goes red when value climbs over threshold.  I have done the selction  using a Case structure but so far  the button selection does not work. 
Any ideas on how to display the different values for each button will be appreciated.
Thanks
Eduardo
(using 7.1)

0 Kudos
Message 1 of 6
(2,890 Views)
Eduardo,

Not sure if I get it? Would radio buttons do the trick?

It would help if you could post the vi in question so we could take a look at what your trying to do.

Cheers,

--Russ
0 Kudos
Message 2 of 6
(2,872 Views)
Sorry, I meant to attach the snapshots. Here they are, I hope it helps to understand what I want to achieve. The rest of the program gets the signal from the COM port and saves it to a table. The bit not working is the selection of what to display in the meter. It just sticks with the default parameter...
Thanks for your time
Eduardo
Download All
0 Kudos
Message 3 of 6
(2,863 Views)
I would agree with Russ that in this case radio buttons should be considered as it is a straightforward solution. All you need to do is to change the labels on the radio buttons to match the labels of your switches. Then, you don't need the LEDs since the radio button provides this feedback by its very nature.
0 Kudos
Message 4 of 6
(2,849 Views)
Thanks for both replies.
However, please correct me if I'm wrong, but the way I see it, using radio buttons while straightforward will leave me without the warning LED's. These LED's should only light when the reading goes above a certain value (which is different for every button) regardless of the button being selected or not...
Eduardo
0 Kudos
Message 5 of 6
(2,823 Views)
That's true. In this case I'd separate the LEDs from the control buttons. Use a radio button for the control buttons, and place the LEDs in a separate cluster. You can then make the cluster that contains the LEDs transparent and overlay it on the radio button control, giving the illusion of a composite control. See attached for a suggestion.
Message 6 of 6
(2,804 Views)