Difference between revisions of "Component: Indicator Gauge (Indicators)"
From Flowcode Help
Jump to navigationJump to search (XML import) |
|||
Line 1: | Line 1: | ||
− | + | {| style="width:50%" | |
− | |||
− | {| | ||
|- | |- | ||
− | | width="20%" style="color: gray;" | Author | + | | width="20%" style="color:gray;" | Author |
| Matrix Ltd | | Matrix Ltd | ||
|- | |- | ||
− | | width="20%" style="color: gray;" | Version | + | | width="20%" style="color:gray;" | Version |
− | | 1.3 | + | | 1.3 |
|- | |- | ||
− | | width="20%" style="color: gray;" | Category | + | | width="20%" style="color:gray;" | Category |
| Indicators | | Indicators | ||
|} | |} | ||
+ | ==Indicator Gauge component== | ||
+ | Simulation only round gauge/dial for SCADA applications. The range of values displayed is easily adjusted. | ||
− | == | + | ==Component Pack== |
− | |||
− | |||
− | + | SCADA | |
− | |||
+ | ==Detailed description== | ||
− | + | ''No detailed description exists yet for this component'' | |
− | + | ==Examples== | |
− | |||
− | + | ''<span style="color:red;">No additional examples</span>'' | |
− | |||
− | |||
− | + | ==Downloadable macro reference== | |
− | :'' | + | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetValue''' | ||
+ | |- | ||
+ | | colspan="2" | Get the current scale value - this will be the most recent value set using "SetValue", or from the most recent mouse click if the component is in "Control" mode. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT | ||
+ | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
+ | |} | ||
− | ''' | + | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue''' | ||
+ | |- | ||
+ | | colspan="2" | Set the pointer to the given value on the scale. Returns the angle required to point at the given value. | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | ||
+ | | width="90%" | Value | ||
+ | |- | ||
+ | | colspan="2" | The value on the scale to move the pointer to. | ||
+ | |- | ||
+ | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT | ||
+ | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
+ | |} | ||
− | |||
− | + | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | |
− | = | + | |- |
− | + | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | |
− | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetRange''' | |
− | + | |- | |
− | + | | colspan="2" | Set the minimum and maximum values of the scale | |
− | :[[ | + | |- |
− | :: | + | |- |
− | + | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | |
− | + | | width="90%" | Minimum | |
− | ''' | + | |- |
− | + | | colspan="2" | Minimum value for the scale | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | |
− | + | | width="90%" | Maximum | |
− | + | |- | |
− | Set the minimum and maximum values of the scale | + | | colspan="2" | Maximum value for the scale |
− | + | |- | |
− | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | |
− | + | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | |
− | + | |} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 78: | Line 88: | ||
==Property reference== | ==Property reference== | ||
− | |||
− | + | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | |
− | + | |- | |
− | Minimum value that the meter will show (fully counter-clockwise) | + | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] |
− | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | |
− | + | |- | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | |
− | + | | width="90%" | Minimum | |
− | Maximum value that the meter will show (fully clockwsie) | + | |- |
− | + | | colspan="2" | Minimum value that the meter will show (fully counter-clockwise) | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | |
− | + | | width="90%" | Maximum | |
− | + | |- | |
− | Sets the initial value when loading the project or when the runtime starts. | + | | colspan="2" | Maximum value that the meter will show (fully clockwsie) |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | |
− | + | | width="90%" | Startup State | |
− | + | |- | |
− | + | | colspan="2" | Sets the initial value when loading the project or when the runtime starts. | |
− | The default value used on initialise or runtime start. | + | |- |
− | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | |
− | + | | width="90%" | Default Value | |
− | + | |- | |
− | + | | colspan="2" | The default value used on initialise or runtime start. | |
− | + | |- | |
− | Decides if the component title is shown | + | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] |
− | + | | width="90%" | Show Title | |
− | + | |- | |
− | + | | colspan="2" | Decides if the component title is shown | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | |
− | Title Label Color | + | | width="90%" | Title Colour |
− | + | |- | |
− | + | | colspan="2" | Title Label Color | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-10-icon.png]] | |
− | + | | width="90%" | Title Text | |
− | Title Label Text | + | |- |
− | + | | colspan="2" | Title Label Text | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | |
− | + | | width="90%" | Title Scale | |
− | + | |- | |
− | Controls the size of the title text on the panel, default 1.2 | + | | colspan="2" | Controls the size of the title text on the panel, default 1.2 |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | |
− | + | | width="90%" | Title Offset | |
− | + | |- | |
− | + | | colspan="2" | Distance above component center to draw the title | |
− | Decides if a label is shown detailing current setting of the control knob. | + | |- |
− | + | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | |
− | + | | width="90%" | Show Label | |
− | + | |- | |
− | + | | colspan="2" | Decides if a label is shown detailing current setting of the control knob. | |
− | + | |- | |
− | Sets the label colour | + | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] |
− | + | | width="90%" | Label Colour | |
− | + | |- | |
− | + | | colspan="2" | Sets the label colour | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-10-icon.png]] | |
− | Adds a unit to the end of the label | + | | width="90%" | Label Units |
− | + | |- | |
− | + | | colspan="2" | Adds a unit to the end of the label | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | |
− | + | | width="90%" | Label Decimal Points | |
− | Number of decinal points to draw on the label | + | |- |
− | + | | colspan="2" | Number of decinal points to draw on the label | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | |
− | + | | width="90%" | Label Scale | |
− | + | |- | |
− | Sets the size of the label on the panel, default 1.0 | + | | colspan="2" | Sets the size of the label on the panel, default 1.0 |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | |
− | + | | width="90%" | Label Offset | |
− | + | |- | |
− | + | | colspan="2" | Distance above component center to draw the label | |
− | Number of decimal places to show on the number labels. | + | |- |
− | + | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | |
− | + | | width="90%" | Decimals | |
− | + | |- | |
− | + | | colspan="2" | Number of decimal places to show on the number labels. | |
− | + | |- | |
− | Height of the number label text. | + | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] |
− | + | | width="90%" | Text Size % | |
− | + | |- | |
− | + | | colspan="2" | Height of the number label text. | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-3-icon.png]] | |
− | Font for the number labels. | + | | width="90%" | Font |
− | + | |- | |
− | + | | colspan="2" | Font for the number labels. | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | |
− | + | | width="90%" | Divisions | |
− | Set the number of major scale divisions - these will be given number value labels. | + | |- |
− | + | | colspan="2" | Set the number of major scale divisions - these will be given number value labels. | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | |
− | + | | width="90%" | Subdivisions | |
− | + | |- | |
− | Number of smaller scale divisions in between the numbered ones. | + | | colspan="2" | Number of smaller scale divisions in between the numbered ones. |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-2-icon.png]] | |
− | + | | width="90%" | BG Color | |
− | + | |- | |
− | + | | colspan="2" | Colour for the meter background. | |
− | Colour for the meter background. | + | |- |
− | + | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | |
− | + | | width="90%" | Positive Color | |
− | + | |- | |
− | + | | colspan="2" | Colour for the number labels for greater than zero. | |
− | + | |- | |
− | Colour for the number labels for greater than zero. | + | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] |
− | + | | width="90%" | Negative Color | |
− | + | |- | |
− | + | | colspan="2" | Colour for the number labels for value greater than zero. | |
− | + | |- | |
− | + | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | |
− | Colour for the number labels for value greater than zero. | + | | width="90%" | Needle Color |
− | + | |- | |
− | + | | colspan="2" | | |
− | + | |- | |
− | + | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]] | |
− | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections''' | |
− | + | |- | |
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations''' | ||
+ | |- | ||
+ | |} |
Revision as of 16:22, 7 January 2022
Author | Matrix Ltd |
Version | 1.3 |
Category | Indicators |
Contents
Indicator Gauge component
Simulation only round gauge/dial for SCADA applications. The range of values displayed is easily adjusted.
Component Pack
SCADA
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
GetValue |
Get the current scale value - this will be the most recent value set using "SetValue", or from the most recent mouse click if the component is in "Control" mode. | |
![]() |
Return |
![]() |
SetValue |
Set the pointer to the given value on the scale. Returns the angle required to point at the given value. | |
![]() |
Value |
The value on the scale to move the pointer to. | |
![]() |
Return |
![]() |
SetRange |
Set the minimum and maximum values of the scale | |
![]() |
Minimum |
Minimum value for the scale | |
![]() |
Maximum |
Maximum value for the scale | |
![]() |
Return |