LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with LabVIEW and LED lights

i new in labview and still learn..i have problem to make 3 LED light at different voltage..for example:: 1.LED green light at 1.5volt 2.LED yellow light at 3volt 3.LED red light at 4volt (when red light buzzer also active) anyone can help me...thanks

0 Kudos
Message 1 of 4
(2,677 Views)

@dbh2145 wrote:

i new in labview and still learn..i have problem to make 3 LED light at different voltage..for example:: 1.LED green light at 1.5volt 2.LED yellow light at 3volt 3.LED red light at 4volt (when red light buzzer also active) anyone can help me...thanks


LabVIEW is software.

LEDs are hardware.

 

You need an interface between the two. That is your job to figure out.

0 Kudos
Message 2 of 4
(2,638 Views)

What have you done so far?  Do you have any code of what you have tried?  What problem are you having?

 

This sounds like a simple class project to get you started with LabVIEW.  You do not have to start with the actual hardware, it can all be done with contols and indicators to test your logic.  Then you can move to using the harware.

0 Kudos
Message 3 of 4
(2,636 Views)

Hi dbh,

 

you might start with this pseudocode:

LED1 := (voltage >= 1.5)
LED2 := (voltage >= 2.5)
LED3 := (voltage >= 4.0)

Pretty easy for a starter project…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,627 Views)