LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create a loop where the input is the output of the last iteration

I need to create a while loop where the inputs of the first iteration are fixed. However, on the next iterations, one of the inputs is the output of the previous iteration. Does anyone knows how to do that?
0 Kudos
Message 1 of 2
(2,399 Views)
Rossie:

What you want is a shift register. Right click on the border of the loop and choose "add shift register" from the context menu.

Wire your initial input value to the left edge, and wire the loop output to the node on the right edge.

Look up "shift register" in the LV help system for further information. There are all KINDS of cool applications for shift registers.


Charles
Message 2 of 2
(2,399 Views)