Jump to content

Flat Sequence structure: Difference between revisions

From LabVIEW Wiki
m Add to Structures Palette
Line 34: Line 34:
<references />
<references />


[[Category:Structures]]
[[Category:Structures Palette]]
[[Category:Flat Sequence Structure]]
[[Category:Flat Sequence Structure]]

Revision as of 13:25, 15 May 2020

Components of the Flat Sequence Structure

A Flat Sequence Structure is a primitive structure that can have one or more subdiagrams (also known as "Frames"), that are executed sequentially from left to right.


Adding and removing frames

Frames can be added and removed via the right-click menu:

Option Description
Add Frame After Adds a frame after the current frame
Add Frame Before Adds a frame before the current frame
Delete This Frame Deletes the current frame

Best practice

  • Use the flow of data between nodes instead of flat sequence structures[1]
  • Use error in (no error) and error out terminals instead of flat sequence structures to enforce sequential execution of VIs.
  • In LabVIEW 2018 and later, use Stall Data Flow instead of a flat sequence structure to delay execution.

See also

References