LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I iterate a numeric without using the 'i' provided

I am using a while loop to iterate two numerics, one of which I need to reset part way through the process. The two numerics will continue to iterate at the same time, but with different values. Unfortunately I can't move them to different loops.

Any help would be much appreciated
0 Kudos
Message 1 of 3
(2,706 Views)
Use two different shift registers. See attached omage.
0 Kudos
Message 2 of 3
(2,706 Views)
aarrgggg;

You can use shift registers. Right-click on the border of the loop and select "Add shift register". Wire from outside the shift register on the left side with the first value. Inside the loop, compute the next value and wire the result to the shift register to the right. The new value will show up on the left shift register in the next iteration.

Attached is an example.

Regards;
Enrique
www.vartortech.com
Message 3 of 3
(2,706 Views)