Repeats the subdiagram inside it until the conditional terminal, an input terminal, receives a particular Boolean value . The Boolean value depends on the continuation behavior of the While Loop. Right-click the conditional terminal and select Stop if True or Continue if True from the shortcut menu. You also can wire an error cluster to the conditional terminal, right-click the terminal, and select Stop on Error or Continue while Error from the shortcut menu. The While Loop always executes at least once. The iteration (i) terminal provides the current loop iteration count, which is zero for the first iteration.
After you create a While Loop, you can use shift registers to pass values from one iteration to the next.