LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LED flash rates

Solved!
Go to solution

I am trying to control several flash rates. This I have done with a "wait. But I have to improve my program so I can chance between three different flash rates. 0,2s on and o,2 sec off, 0,5s on and 0,5 sec off and 0,8 s on and 0,8 sec off. I have tried to just add tree "waits" but this solution does not make it possible to change between the different flash rates.

 

Do you have an idea?

 

Best regards

T.Crousin

0 Kudos
Message 1 of 2
(2,265 Views)
Solution
Accepted by topic author T.Crousin

That won't work. You have three waits. The longest delay will be the only one that matters. You need another shift register to hold the wait value. Or if it is constant you can autoindex the loop on an array. But I can see a state machine in your future.

 

Edit: It looks like this was already answered.

 

Example_VI_BD.png

=====================
LabVIEW 2012


0 Kudos
Message 2 of 2
(2,252 Views)