Skip to main content

Variables

For increased flexibility in a configuration Variables are often applied. A variable works as an adjustable value which can be numerical or text based that can be used in place of a set value. 

Variables live on the layers of the tree but are used in lots of different places and in different ways. It is on the layers that you can see what Variables are available, their names, and their current value. In the example below you can see how 

Screenshot 2023-12-06 at 12.51.17 PM.png

There are two types of variables; range or options. 

Range Variables


Screenshot 2024-01-17 at 12.40.48.png

NameVariable's name
DescriptionEasy to understand description to help identify the variable's purpose
TypeRange or Options 
MinMinimum value for the variable (must be lower than the max). Can be set to 0
MaxMaximum value for the variable (must be higher than the max)
Center (or Default)Default value for the variable if not saved on panel reboot. 

Screenshot 2024-01-17 at 12.40.59.png

Default to firstSets default value to the first.
Default ValueDefine the default value if not first.
Always defineSeparates this instance of the variable from ones of the same name lower in the tree (overridden by Expand Scope).
Accept Any ValueAllows any value to be accepted during conformity check. 
Expand ScopeAllows the variable to be used lower in the tree towards the root.
CaptureAllows a variable to capture any expanded-scope variable from a branch.
PersistentSaves value between panel reboots.
Zero set AllowAllows for the variable to be blank 
Force value (test)Force set a value for the variable, use for testing

Options Variable

Screenshot 2024-01-17 at 12.41.28.png

NameVariable's name
DescriptionEasy to understand description to help identify the variable's purpose
TypeRange or Options 
ValueValue string for the variable
LabelEasy to understand label used for feedback
FlagSets the option as the default value
TrashDeletes the Option
DuplicateDuplicates the line
+1Increments the line by +1
Add optionDefault value for the variable if not saved on panel reboot. 

Screenshot 2024-01-17 at 12.42.01.png

 

Default to firstSets default value to the first.
Default ValueDefine the default value if not first.
Always defineSeparates this instance of the variable from ones of the same name lower in the tree (overridden by Expand Scope).
Accept Any ValueAllows any value to be accepted during conformity check. 
Expand ScopeAllows the variable to be used lower in the tree towards the root.
CaptureAllows a variable to capture any expanded-scope variable from a branch.
PersistentSaves value between panel reboots.
Zero set AllowAllows for the variable to be blank 
Force value (test)Force set a value for the variable, use for testing

Using Variables

Though these are not the only uses for variables, the these represent the most common usages. 

Coming Soon