Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Stacked Sequence Structure

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

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.

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 your VI by establishing data dependency or using flow-through parameters.

Example

Refer to the Time to Match VI in the labview\examples\general\structs.llb for an example of using the Stacked Sequence Structure.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit