LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LED

Solved!
Go to solution

Hi everyone, i'm very new to Labview. I was trying to create 10 running LED. something like a lift button. Example if the the user settle a number 4, the LED shall light from LED 1 then off, then on LED 2, then off and continue until LED 4 and stop. How can I create?

 

Please kindly teach me.

 

 

0 Kudos
Message 1 of 28
(4,407 Views)

For some reason your username gave me an association with some fine 80's television.  Here is an example using several LEDs.  The key elements are using number to Boolean Array to get the value for an array of LEDs.  The number you use is 2^N where N is the number of the LED you want to light.

 

Example below.

 

 

Message 2 of 28
(4,391 Views)
Here's one simple implementation for 5 LED
Andy Chang
National Instruments
Message 3 of 28
(4,382 Views)

Hehehe...

 

Thank for your kind respond.

 

Anyway I'm using version Labview 8.6. do u think you could save it in V8.6?

0 Kudos
Message 4 of 28
(4,382 Views)
Solution
Accepted by topic author niteflame123
here in 8.6
Andy Chang
National Instruments
Message 5 of 28
(4,378 Views)
Also in 8.6
Message 6 of 28
(4,372 Views)
Thank you so much, Andy C and Darin.K 😃
0 Kudos
Message 7 of 28
(4,367 Views)

Hi Darin, as i'm really new to Labview,I was wondering how can I let the light LED stop at the number I settled.

0 Kudos
Message 8 of 28
(4,367 Views)

Your original problem is much simpler, I was trying to give you a bit more to chew on since you asked to be taught something.  Here is all you need to do.

 

SimpleKitt.png

 

 

Message 9 of 28
(4,328 Views)

Thank for your replied.

 

I was thinking that the first circuit that you showed, how can i used the reversed array for the 2nd circuit you used? Because i was thinking of when the LED stop at No 4 LED, can it reverse back to LED 2 if I re-indicate the selection?

0 Kudos
Message 10 of 28
(4,315 Views)