Functions Palette/Programming/Structures: Difference between revisions
Appearance
Moved and changed section name |
→History: Use images for LabVIEW versions and add title |
||
| Line 74: | Line 74: | ||
==History== | ==History== | ||
{| class="wikitable" | {| class="wikitable" | ||
! Version | |||
! Change(s) | |||
|- | |- | ||
|[[LabVIEW 2017]] | |[[File:LV2017.png|frameless|border|64x64px|LabVIEW 2017|link=LabVIEW 2017]] | ||
|The [[Functions Palette/Programming/Structures/Type Specialization Structure|Type Specialization Structure]] was added in conjunction with the addition of [[Malleable VIs]]. | |The [[Functions Palette/Programming/Structures/Type Specialization Structure|Type Specialization Structure]] was added in conjunction with the addition of [[Malleable VIs]]. | ||
|- | |||
|[[File:LV2014.png|frameless|border|64x64px|LabVIEW 2014|link=LabVIEW 2014]] | |||
|The [[Functions Palette/Programming/Structures/Stacked Sequence Structure|Stacked Sequence Structure]] is considered to be deprecated and has been removed from the Structures Palette although it is still functional to code upgraded from older versions. | |||
|} | |} | ||
Revision as of 19:14, 25 July 2019

A Structure is a construct that surrounds other programming elements. It divides the block diagram into a hierarchy of sub-diagrams. Some structures only contain one sub-diagram, or frame, (i.e. For Loops, While Loops, In Place Element Structures, etc.). While others contain multiple sub-diagrams, or frames, (i.e. Case Structures, Event Structures, Diagram Disable Structures, and Conditional Disable Structures).
Structures have three uses. They either:
- Control the execution between blocks of code (Flat Sequence Structure, Stacked Sequence Structure, In Place Element Structures, Timed Sequence)
- Allow a choice between different blocks of code to execute (Case Structures, Event Structures, Diagram Disable Structures, Conditional Disable Structures)
- Allow code to repeat execution (For Loops, While Loops, Timed Loops)
Subpalettes
| Timed Structures | |
| Decorations |
Structures
Functions
| Shared Variable | |
| Local Variable | |
| Global Variable | |
| Feedback Node |
History
| Version | Change(s) |
|---|---|
| The Type Specialization Structure was added in conjunction with the addition of Malleable VIs. | |
| The Stacked Sequence Structure is considered to be deprecated and has been removed from the Structures Palette although it is still functional to code upgraded from older versions. |