LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

delaying a blinking led.

Hello!
 
I'm using the USB-6009 DAQ and I want to cause a led to blink.
 
I know how to do this with a while loop, shift register and....
 
The main problem using this way is that the time when the led is OFF equals the time when the led is ON.
 
For example, I want the led to be ON for 0.4 Seconds and then OFF for 0.5 Seconds, then again ON for 0.4 Seconds and OFF for 0.5 Seconds(LOOP).
 
How can I do this with my Hardware?
 
Thanks alot,
                ADI.
0 Kudos
Message 1 of 5
(3,492 Views)
It's just as simple as writing a digital 1, delay .4 sec, write a digital 0, delay .5 sec, loop.
0 Kudos
Message 2 of 5
(3,482 Views)
A rough example of this




Message Edited by LV_Pro on 03-24-2007 12:12 PM

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 3 of 5
(3,475 Views)
You could use a timed loop. It simplifies a few things.
 
Here's a quick draft.
 

Message Edited by altenbach on 03-24-2007 10:20 AM

Download All
0 Kudos
Message 4 of 5
(3,466 Views)
have you traied using a square wave?

i wasn't able to test the vi, i hope it will work and help 😛
0 Kudos
Message 5 of 5
(3,458 Views)