Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Passing One Value to the Next Loop Iteration

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit