LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Reset a counter in a ForLoop??

Hi,
How i can reset the counter in this forloop. Because when the forloop are reset the counter does not return to zero, how i can do this.
Thank You Exemple Program.PNG!!!

0 Kudos
Message 1 of 2
(3,209 Views)

You can't reset a for loop iteration count.  Every time the loop executes, it will start at zero and count up.  So, based on your code, about every 500 ms the iteration count will start at zero and count up to 49.

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