LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you make an array of LED's mutually exclusive?

I have an array of led's on my control panel. Say 5 for sake of argument. I want only 1 led at a time illuminated.

If the user clicks on led 1 then led 1 lights and all others go out.

If the user clicks on led 2 then led 2 lights and all the others go out.

 

I don't want to use a radio button because the leds need to be pragmatically controlled by the program. 

 

An simple example would be greatly appreciated. Simple please for the the labview challenged.

 

Thanks in advanced.

0 Kudos
Message 1 of 9
(3,612 Views)

Try something like this.

0 Kudos
Message 2 of 9
(3,604 Views)

I would still suggest a radio button.  You can replace the buttons with LEDs. Then use a local variable to write to the radio button terminal.

 

Aalenox,

 

Please do not post VIs with infinite loops. Add a Stop button.

 

Lynn

Message 3 of 9
(3,593 Views)

Lynn,

 

You need to get that .vi deleted and a version 12 uploaded.  Your version is 13 beta.

0 Kudos
Message 4 of 9
(3,584 Views)

I have reported it to the moderator.

 

I made a last second revision and probably grabbed the wrong version when posted.

 

This one should be LV2012.

 

Lynn

0 Kudos
Message 5 of 9
(3,577 Views)

Thanks for the help. I cant open your example can you resend in labview 11.

Thanks again.

0 Kudos
Message 6 of 9
(3,536 Views)

Can you send me the exapmle for labview 11 thats what I have.

Thanks

0 Kudos
Message 7 of 9
(3,495 Views)
0 Kudos
Message 8 of 9
(3,485 Views)

Thank you you are the man.

0 Kudos
Message 9 of 9
(3,471 Views)