LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FLASHING LED SYSTEM

HI,
    I M CURRENTLY DESIGNING A PROJECT USING LABVIEW. I NEED TO DESIGN A SYSTEM IN WHICH THE  USER ENTERS THE TIME IN MILLISECONDS AND THIS MAKES THE LED FLASH FOR THAT AMOUNT OF TIME. AFTER THAT THE LED GOES OFF AND ANOTHER LED FLASHES RANDOMLY. THERE ARE ABOUT 8 TO 9 LED'S THAT HAVE TO WORK THIS WAY. I M UNABLE TO DESIGN A SYSTM THAT WOULD MAKE LED TURN ON AND OFF. COULD SOMEONE PLEASE HELP ME AT THIS.
THANKS IN ADVANCE.
KUNAL CHANIARY
0 Kudos
Message 1 of 4
(2,926 Views)
Hello Kunal:

First, you should have a hardware that will be connected to the led's.  I would suggest a digital i/o data acquisition card that has around 8 to 9 channels.  Then using DAQ assistant to control the outputs of the digital i/o card.

I hope this helps.

0 Kudos
Message 2 of 4
(2,918 Views)
Hello,
 
Are you talking about real LED's, or just the LabVIEW GUI?  If you're talking about just the LabVIEW GUI, of course you won't need any hardware.  In that case, it sounds like you'll be using the ms wait function and perhaps the random(0,1) function, but the architecture of your program will depend on precisely how you want it to work... that is whether you want changes to the ms input to determine that the code should run again, or if it should continue running, or... there are many possiblities you have to choose from.
 
I hope this helps!
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 3 of 4
(2,897 Views)
What you mean? You are unable to design a system (hardware or software?) to turn led on /off.
 
For hardware: well, depends what kind of led you use. who knows, you got to provide a spec.
for software, it is easy, boolean variable will meet your need.
 
software-hardware: have DO channel output.
Hardware to software: Have a DI channel Input.
 
 
0 Kudos
Message 4 of 4
(2,888 Views)