Sequence Structure
- Updated2023-02-17
- 1 minute(s) read
Sequence Structure
Consists of one or more subdiagrams, or frames, that execute sequentially. Use the Sequence Structure to ensure that a subdiagram executes before or after another subdiagram.
Dataflow for the Sequence Structure differs from dataflow for other structures. Frames in a Sequence Structure execute from left to right and when all data values wired to a frame are available. The data leaves each frame as the frame finishes executing. This means the input of one frame can depend on the output of another frame.
Inputs/Outputs
Tunnel
Point through which data enters or exits a structure.


Tunnel Restrictions
You cannot drag tunnels across the frames of a Sequence Structure.
Avoid Unnecessary Use
Dataflow dependencies between nodes automatically establish sequential execution in your code. Wherever possible, attempt to control the dataflow of your VI by establishing data dependency or using flow-through parameters instead of a Sequence Structure to avoid using unnecessary device resources.