Passing One Value to the Next Loop Iteration

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Use shift registers on For Loops, While Loops, or (Real-Time, Windows) Timed Loops to transfer values from one loop iteration to the next.

Complete the following steps to pass values to the next loop iteration by creating shift registers.

  1. Add a structure to the block diagram. For example, add a While Loop to the block diagram.

  2. Right-click the left or right border of the loop and select Add Shift Register from the shortcut menu.

You can use multiple shift registers to remember iteration values and you can use an initialized shift register to reset the initial value of a shift register.

Note Note  (FPGA Module) The FPGA Module uses groups of flip-flops to implement shift registers.


Not Helpful