ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reverse iteration

Is there any way to do reverse iteration using labview??
 
I want to use the index values of for loop which is executed frm 10 to 0 with a step of 1.
 
any help will be really appreciated.
kmo
 
0 Kudos
Message 1 of 4
(3,879 Views)
There is no direct way so you just need to add a subtraction to the loop.  Take the highest count and subtract out the i of the loop and there you have a reverse iteration.
0 Kudos
Message 2 of 4
(3,868 Views)
This exact topic was covered recently in this thread.
0 Kudos
Message 3 of 4
(3,867 Views)
Subtract i from N on each iteration and use the result. Search the archives. This was discussed last week.

Lynn
0 Kudos
Message 4 of 4
(3,865 Views)