LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I turn on LED's from a ring, but have them be transparent,(default), when not selected?

Hi all,  This is probably really simple, but I'm drawing a blank.  I need to turn on 4 LED's to 9 specific colors when these colors are selected in a ring.  When a color is not selected, I would like the LED to be transparent.  I have 1 ring per LED, and 9 colors per ring.  Any suggestions?
Thank you,
Bob
0 Kudos
Message 1 of 6
(3,071 Views)
What about the "visible" property?
0 Kudos
Message 2 of 6
(3,062 Views)
In the case structure where you pick the color to set the LED, just have the default case be a color block set to transparent (it's the T in the top right corner of the color picker)


Message Edited by JeffOverton on 04-29-2008 03:34 PM
0 Kudos
Message 3 of 6
(3,061 Views)
In a ring something is always selected...You could add one that says "Transparent" or "None" ...
________________________________________________________

Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
using LV 2010 SP 1, Windows 7
________________________________________________________
0 Kudos
Message 4 of 6
(3,060 Views)
Since an LED is only good for two states, I would recommend a colorbox made to look like an LED:
 
 
Now you can just wire the desired colors, e.g. index them out of an array constant according to the ring. (the last one is transparent).
 


Message Edited by altenbach on 04-29-2008 12:44 PM
0 Kudos
Message 5 of 6
(3,054 Views)

Your suggestion worked.  With a little modification, I got the program to do exactly what I wanted it to do.  Thank you for enlightening me.

Bob

0 Kudos
Message 6 of 6
(3,016 Views)