Loops and Other Structures

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Structures are graphical representations of the loops and case statements of text-based programming languages.

The following topics provide information about using structures, located on the Structures palette.

Structure Use Case Structure
Repeating blocks of code
  • A set number or until an error
For Loop
  • Until a condition or until an error
While Loop
  • With time bounds and delays until a stop condition
Timed Loop
  • With time bounds and delays in order until a stop condition
Timed Loop with Frames
Executing all code in order
  • With all subdiagrams visible
Flat Sequence structure
  • With one subdiagram visible
Stacked Sequence structure
  • With time bounds and delays
Timed Sequence structure
Executing code conditionally
  • Based on values
Case structure
  • Based on events
Event structure
Disabling code
  • Based on conditions
Conditional Disable structure
  • Of specific blocks
Diagram Disable structure
  • Based on compilation results
Type Specialization structure
Increasing memory efficiency In Place Element structure

Related Concepts

Controlling Repetitive Operations Using Loops

Executing One or More Sections of Code Using Structures

In Place Element Structures: Increasing Memory Efficiency

Controlling Timing in LabVIEW Applications

Case Structures: Executing a Section of Code Based on Input Values

Related How-To

Adding Structures to the Block Diagram

Resizing Structures

Adding Objects inside Structures

Replacing One Structure with Another Structure

Removing Structures without Deleting Objects in the Structure


Not Helpful