Chapter 11 Loops and Charts
BridgeVIEW User Manual 11-12 © National Instruments Corporation
The shift register contains a pair of terminals directly opposite each other
on the vertical sides of the loop border. The right terminal stores the data
upon the completion of an iteration. That data shifts at the end of the
iteration and appears in the left terminal at the beginning of the next
iteration, as shown in the following illustration. A shift register can hold
any data type—numeric, Boolean, string, array, and so on. The shift
register automatically adapts to the data type of the first object you wire
to the shift register.
You can configure the shift register to remember values from several
previous iterations. This feature is useful for averaging data points.
Youcreate additional terminals to access values from previous iterations
by popping up on the left or right terminal and choosing Add Element.
Before Loop Begins First Iteration
Subsequent Iterations Last Iteration
Inital
Value
Inital
Value New
Value
New
Value
Previous
Value
New
Value
Previous
Value New
Value