Example Code

Comparison of Shift Register and Feedback Node in LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This VI demonstrates the similarities between using shift registers and Feedback Nodes.

 

Description

The VI also shows the two different ways to initialize the feedback node.  The VI only functions as a teaching tool to demonstrate the same functionality of looking at data from previous iterations of a loop.

 

Requirements

  • LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Take a look at the block diagram to inspect the 3 different loops.
  2. Run the VI and inspect the outputs for each of the loops.
 
Additional Information or References

Shift Register and Feedback Node.png

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

 

Applications Engineer
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.