03-06-2013 10:26 AM
Hi, I am using labview and an Elvis board, and my task is to use a push switch on labview to turn on an LED light on the right hand side of the Elvis board. I have the switch on my front panel/block diagram, but have no idea how to wire it so that when I run the VI, I can control the LED's and turn them on and off when I want to. Does anyone know how I can do this?
Thanks.
03-08-2013 08:12 AM
Hi Nizza52,
Thank-you for your post and welcome to the NI forums.
Looking at the schematic of the Elvis board there are a number of configurable I/O pins called LED 0..7. These pins are directly connected to the LED Array that I assume you are trying to light up.
You should therefore be looking to write the on/off signal to one of the Digital Out lines using the "NI ELVISmx Digital Writer" express VI. This can be found under Functions Palette -> Measurement I/O -> ELVISmx. You can use the express VI to configure what signals you wish to send to what DIO pin. A high signal should obviously be written to the I/O pin which corresponds to the LED you wish to light up.
You can use context help (Ctrl + h) within LabVIEW to find out more about the functions you are using if you require. Let me know if you need any further help!
Regards,