LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make a for-loop go from (ex: -10 to 10) given the N-value of 10?

What do I need to do to the i-value to make a for-loop go from negative increasing to positive?
0 Kudos
Message 1 of 3
(2,534 Views)
The iteration count in LabView always starts at 0. If you want a number in your loop to go from -10 to 10, wire 21 to N and subtract 10 from i. Don't use i directly.
Message 2 of 3
(2,534 Views)
Thanks, I figured a way around it.
0 Kudos
Message 3 of 3
(2,534 Views)