Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Initializing a Feedback Node on Loop Execution

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

To initialize a Feedback Node when a loop executes, move the initializer terminal to the left edge of a loop that contains a Feedback Node or the left edge of a loop in a group of nested structures that contains the Feedback Node. The Feedback Node then initializes before the first iteration of every loop execution.

If you do not move the initializer terminal, the Feedback Node globally initializes, meaning it initializes on the first call of the VI in an execution. The initializer terminal remains attached to the node and globally initializes by default.

Complete the following steps to move the initializer terminal of a Feedback Node to the left edge of a loop.

  1. Place a Feedback Node in a loop or in a group of nested loops and structures on the block diagram.
  2. Click and drag the initializer terminal to the left edge of the loop containing the Feedback Node or the left edge of a nested loop in a group of loops and structures containing the Feedback Node.
  3. Wire an input value from outside the loop to the initializer terminal.

You also can change the location of the initializer terminal by right-clicking the initializer terminal and selecting Move Initializer One Loop Out, Move Initializer One Loop In, or Globally Initialize from the shortcut menu.


Resources


 

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