Chapter 11 Loops and Charts
©
National Instruments Corporation 11-11 BridgeVIEW User Manual
The subdiagram for the TRUE condition contains the work of the While
Loop. The test for continuation occurs outside the Case structure, and the
results are wired to the conditional terminal of the While Loop and the
selector terminal of the Case structure. In the following illustration, labels
represent the pretest condition.
This example has the same result as the following pseudocode:
While (pretest condition)
Do actual work of While Loop
Loop
Shift Registers
(available for While Loops and For Loops) transfer
values from one loop iteration to the next. You can create a shift register
by popping up on the left or right border of a loop and selecting
Add Shift Register.