Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Input / Output question

Hi all the experts ppl :),

 

I hope you will help me because I'm already totally exhausted.

 

So the problem is pretty simple. I have Digital I/O with the leds.. but nevermind... I want to start this program and after some random time +-30 sec it will stop and certain LED that falls on that time remains switches on. So it begins in such a way:

 

In the beginning: green->orange->yellow->red and once again and again till some random time that falls on the certain led (for example the yellow red will switches on in the end of the program). I did this program with the while loop but the problem is that is first it should end the led sequence story and after that it ends the while loop, so in any event (any random time) I get in the end the red led switches on. I need some kind of parralel execution of the while loop and led sequence.

 

Thank you very much.

0 Kudos
Message 1 of 4
(3,452 Views)

Please find a very simple solution to your problem.

 

Replace the LEDs with your SUB-VIs & you are done.

 

Kudos are welcomed.:-)

Message 2 of 4
(3,433 Views)

thank you man, but could you please transfer it to version 8.5.

 

thanks again.

0 Kudos
Message 3 of 4
(3,429 Views)

Please find the VI in V8.5

0 Kudos
Message 4 of 4
(3,405 Views)