Functions Palette/Programming/Structures: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 15: | Line 15: | ||
|32 = Conditional Disable structure{{!}}Conditional Disable Structure | |32 = Conditional Disable structure{{!}}Conditional Disable Structure | ||
|33 = Type Specialization structure{{!}}Type Specialization Structure | |33 = Type Specialization structure{{!}}Type Specialization Structure | ||
|41 = Shared Variable{{!}}Shared Variable | |41 = Shared Variable node{{!}}Shared Variable | ||
|42 = Local Variable{{!}}Local Variable | |42 = Local Variable{{!}}Local Variable | ||
|43 = Global Variable{{!}}Global Variable | |43 = Global Variable{{!}}Global Variable | ||
| Line 95: | Line 95: | ||
! Name | ! Name | ||
|- | |- | ||
! style="text-align: center;" | [[File:Functions Palette - Programming - Structures - Shared Variable.png|frameless|border|Shared Variable|link= | ! style="text-align: center;" | [[File:Functions Palette - Programming - Structures - Shared Variable.png|frameless|border|Shared Variable|link=Shared Variable node]] | ||
| [[Shared Variable|Shared Variable]] | | [[Shared Variable node|Shared Variable]] | ||
|- | |- | ||
! style="text-align: center;" | [[File:Functions Palette - Programming - Structures - Local Variable.png|frameless|border|Local Variable|link= | ! style="text-align: center;" | [[File:Functions Palette - Programming - Structures - Local Variable.png|frameless|border|Local Variable|link=Local Variable]] | ||
| [[Local Variable|Local Variable]] | | [[Local Variable|Local Variable]] | ||
|- | |- | ||
! style="text-align: center;" | [[File:Functions Palette - Programming - Structures - Global Variable.png|frameless|border|Global Variable|link= | ! style="text-align: center;" | [[File:Functions Palette - Programming - Structures - Global Variable.png|frameless|border|Global Variable|link=Structures/Global Variable]] | ||
| [[Global Variable|Global Variable]] | | [[Global Variable|Global Variable]] | ||
|- | |- | ||
! style="text-align: center;" | [[File:Functions Palette - Programming - Structures - Feedback Node.png|frameless|border|Feedback Node|link= | ! style="text-align: center;" | [[File:Functions Palette - Programming - Structures - Feedback Node.png|frameless|border|Feedback Node|link=Feedback Node]] | ||
| [[Feedback Node function|Feedback Node]] | | [[Feedback Node function|Feedback Node]] | ||
|- | |- | ||
Revision as of 18:34, 25 June 2020

| 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:
- Control the execution between blocks of code ([Flat Sequence structure|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
| Icon | Name |
|---|---|
| Timed Structures | |
| Decorations |
Structures
Functions
| Icon | Name |
|---|---|
| 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. | |
| In Place Element Structure was added. | |
| Diagram Disable Structure, Conditional Disable Structure and Shared Variable were added. | |
| Flat Sequence Structure and Feedback Node were added. | |
| Event Structure was added. |