LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

repeat a while loop

I have been trying to get a while loop to repeat in this fpga vi I have been working on.  The idea is that every 1 second one of the LEDs plugged in will blink while they other will blink every 1.5 second.  What happens when I run the program is the LEDs only blink once.  I have included the vi I have been working on.
0 Kudos
Message 1 of 3
(2,407 Views)
btw I'm running 8.5.1
0 Kudos
Message 2 of 3
(2,405 Views)

Sorry, I don't have FPGA, but if the two loops should run in parallel, you need to remove the sequence structure. With the sequence structure in place, the second loop cannot start until the first loop has completed.

 

Also, shouldn't you toggle the boolean with each iteration? Right now you are only writing FALSE.

Message 3 of 3
(2,393 Views)