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.
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.
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.