Owning Palette: Structures
Requires: Base Development System
Consists of one or more subdiagrams, or frames, that execute sequentially. Right-click the structure border to add and delete frames or to create sequence locals to pass data between frames. Use the Stacked Sequence structure to ensure a subdiagram executes before or after another subdiagram.
To scroll through the available subdiagrams, click the decrement and increment arrows in the selector label. You can add, duplicate, rearrange, or delete the subdiagrams. You can use a sequence local terminal to pass data from one frame to any subsequent frame.
Use the Stacked Sequence structure if you want to conserve space on the block diagram. Use the Flat Sequence structure to avoid using sequence locals and to better document the block diagram. To convert the Stacked Sequence structure to a Flat Sequence structure, right-click the Stacked Sequence structure and select Replace»Replace with Flat Sequence from the shortcut menu.
To convert the Stacked Sequence structure to a Case structure, right-click the Stacked Sequence structure and select Replace»Replace with Case Structure from the shortcut menu.
The Stacked Sequence structure does not start to execute until all data wired to the structure arrive. The data wired from each frame leave only when all the frames complete execution.
To avoid overusing Stacked Sequence structures, attempt to control the data flow of the VI by establishing data dependency or using flow-through parameters.