Passing One Value to the Next Loop Iteration

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

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