Jump to content

Functions Palette/Programming/Structures: Difference between revisions

From LabVIEW Wiki
mNo edit summary
Line 115: Line 115:
|-
|-
|[[File:LV2017.png|frameless|border|64x64px|LabVIEW 2017|link=LabVIEW 2017]]
|[[File:LV2017.png|frameless|border|64x64px|LabVIEW 2017|link=LabVIEW 2017]]
|The [[Type Specialization structure|Type Specialization Structure]] was added in conjunction with the addition of [[Malleable VI]]s.
| In [[LabVIEW 2017]] the [[Type Specialization structure|Type Specialization Structure]] was added in conjunction with the addition of [[Malleable VI]]s.
|-
|-
|[[File:LV2014.png|frameless|border|64x64px|LabVIEW 2014|link=LabVIEW 2014]]
|[[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.
| In [[LabVIEW 2014]] the [[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.
|-
|-
|[[File:LV8-2013.png|frameless|border|64x64px|LabVIEW 8.5|link=LabVIEW 8.5]]
|[[File:LV8-2013.png|frameless|border|64x64px|LabVIEW 8.5|link=LabVIEW 8.5]]
|[[Functions Palette/Programming/Structures/In Place Element Structure|In Place Element Structure]] was added.
| In [[LabVIEW 8.5]] the [[In Place Element structure|In Place Element Structure]] was added.
|-
|-
|[[File:LV8-2013.png|frameless|border|64x64px|LabVIEW 8|link=LabVIEW 8]]
|[[File:LV8-2013.png|frameless|border|64x64px|LabVIEW 8|link=LabVIEW 8]]
|[[Functions Palette/Programming/Structures/Diagram Disable Structure|Diagram Disable Structure]], [[Functions Palette/Programming/Structures/Conditional Disable Structure|Conditional Disable Structure]] and [[Functions Palette/Programming/Structures/Shared Variable|Shared Variable]] were added.
| In [[LabVIEW 8]] the[[Diagram Disable structure|Diagram Disable Structure]], [[Conditional Disable structure|Conditional Disable Structure]] and [[Shared Variable node|Shared Variable]] were added.
|-
|-
|[[File:LV7.png|frameless|border|64x64px|LabVIEW 7|link=LabVIEW 7 Express]]
|[[File:LV7.png|frameless|border|64x64px|LabVIEW 7|link=LabVIEW 7 Express]]
|[[Functions Palette/Programming/Structures/Flat Sequence Structure|Flat Sequence Structure]] and [[Feedback Node function|Feedback Node]] were added.
| In [[LabVIEW 7 Express]] the [[Flat Sequence structure|Flat Sequence Structure]] and [[Feedback Node function|Feedback Node]] were added.
|-
|-
|[[File:LV7.png|frameless|border|64x64px|LabVIEW 6|link=LabVIEW 6i]]
|[[File:LV7.png|frameless|border|64x64px|LabVIEW 6|link=LabVIEW 6i]]
|[[Functions Palette/Programming/Structures/Event Structure|Event Structure]] was added.
| In [[LabVIEW 6i]] the[[Event structure|Event Structure]] was added.
|}
|}


[[Category:LabVIEW fundamentals]]
[[Category:LabVIEW fundamentals]]
[[Category:Structures Palette]]
[[Category:Structures Palette]]

Revision as of 18:48, 25 June 2020

Functions Palette/ProgrammingFor LoopWhile LoopTimed StructuresCase StructureEvent StructureIn Place Element StructureFlat Sequence StructureFormula NodeMathScript StructureDiagram Disable StructureConditional Disable StructureType Specialization StructureShared VariableLocal VariableGlobal VariableDecorationsFeedback Node
Structures palette (Click on a function to navigate, or on the arrow to go to parent palette)
Object information
Owning palette(s) Programming palette
Type Palette
Requires Basic Development Environment
Icon

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:

  1. Control the execution between blocks of code ([Flat Sequence structure|Flat Sequence Structure]], Stacked Sequence Structure, In Place Element Structures, Timed Sequence)
  2. Allow a choice between different blocks of code to execute (Case Structures, Event Structures, Diagram Disable Structures, Conditional Disable Structures)
  3. Allow code to repeat execution (For Loops, While Loops, Timed Loops)

Subpalettes

Icon Name
Timed Structures Timed Structures
Decorations Decorations

Structures

Icon Name
For Loop For Loop
While Loop While Loop
Case Structure Case Structure
Event Structure Event Structure
In Place Element Structure In Place Element Structure
Flat Sequence Structure Flat Sequence Structure
Stacked Sequence Structure Stacked Sequence Structure
Formula Node Formula Node
MathScript MathScript
Diagram Disable Structure Diagram Disable Structure
Conditional Disable Structure Conditional Disable Structure
Type Specialization Structure Type Specialization Structure

Functions

Icon Name
Shared Variable Shared Variable
Local Variable Local Variable
Global Variable Global Variable
Feedback Node Feedback Node

History

Version Change(s)
LabVIEW 2017 In LabVIEW 2017 the Type Specialization Structure was added in conjunction with the addition of Malleable VIs.
LabVIEW 2014 In LabVIEW 2014 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.
LabVIEW 8.5 In LabVIEW 8.5 the In Place Element Structure was added.
LabVIEW 8 In LabVIEW 8 theDiagram Disable Structure, Conditional Disable Structure and Shared Variable were added.
LabVIEW 7 In LabVIEW 7 Express the Flat Sequence Structure and Feedback Node were added.
LabVIEW 6 In LabVIEW 6i theEvent Structure was added.