Difference between revisions of "Component: Meter Square (Advanced Shapes)"

From Flowcode Help
Jump to navigationJump to search
Line 17: Line 17:
 
==Component Source Code==
 
==Component Source Code==
  
Please click here to download the component source project: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_meter_square.fcfx FC_Comp_Source_meter_square.fcfx]
+
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_meter_square.fcfx FC_Comp_Source_meter_square.fcfx]
  
 
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_meter_square.fcfx FC_Comp_Source_meter_square.fcfx]
 
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_meter_square.fcfx FC_Comp_Source_meter_square.fcfx]
  
 
==Detailed description==
 
==Detailed description==
 +
 +
  
  
Line 32: Line 34:
  
 
==Examples==
 
==Examples==
 +
 +
  
  
Line 42: Line 46:
  
 
==Macro reference==
 
==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;" | '''SetValue'''
 +
|-
 +
| colspan="2" | Set the meter needle to a new position based on the current scaling properties. 
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 +
| width="90%" | Value
 +
|-
 +
| colspan="2" | Needle position between min and max 
 +
|-
 +
| 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''
 +
|}
 +
 +
 +
 +
 +
==Property reference==
 +
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| 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" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
 +
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Range
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 +
| width="90%" | Minimum
 +
|-
 +
| colspan="2" | Minimum value to show on the meter. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 +
| width="90%" | Maximum
 +
|-
 +
| colspan="2" | Maximum value to show on the meter. 
 +
|-
 +
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
 +
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Style
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
 +
| width="90%" | BG Color
 +
|-
 +
| colspan="2" | Color of the meter scale background. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
 +
| width="90%" | Positive Color
 +
|-
 +
| colspan="2" | Color of the scale gradations for positive values. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
 +
| width="90%" | Negative Color
 +
|-
 +
| colspan="2" | Color of the scale gradations for negative values. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
 +
| width="90%" | Label Color
 +
|-
 +
| colspan="2" | Color of the meter's title label. 
 +
|-
 +
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
 +
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Marks
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
 +
| width="90%" | Divisions
 +
|-
 +
| colspan="2" | Number of large scale divisions.. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
 +
| width="90%" | Subdivisions
 +
|-
 +
| colspan="2" | Number of sub-divisions in between each major division. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
 +
| width="90%" | Show
 +
|-
 +
| colspan="2" | Show or hide the scale markings. 
 +
|-
 +
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
 +
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Numbers
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
 +
| width="90%" | Decimals
 +
|-
 +
| colspan="2" | Number of decimal points to show on scale values. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
 +
| width="90%" | Text Size %
 +
|-
 +
| colspan="2" | Text height of the scale values. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-3-icon.png]]
 +
| width="90%" | Font
 +
|-
 +
| colspan="2" | Font for the scale value numbers. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
 +
| width="90%" | Show
 +
|-
 +
| colspan="2" | Show or hide the scale number values. 
 +
|-
 +
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
 +
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-10-icon.png]]
 +
| width="90%" | Text
 +
|-
 +
| colspan="2" | A title label to make the meter easier to identify. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
 +
| width="90%" | Text Size %
 +
|-
 +
| colspan="2" | Height of the label text. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-3-icon.png]]
 +
| width="90%" | Font
 +
|-
 +
| colspan="2" | Font for printing the label. 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
 +
| width="90%" | Show
 +
|-
 +
| colspan="2" | Show or hide the title label. 
 +
|}==Macro reference==
  
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"

Revision as of 10:01, 27 January 2023

Author Matrix TSL
Version 1.5
Category Advanced Shapes


Meter Square component

Square analogue panel meter. A simulation only component - the needle value is set solely by the 'SetValue' macro.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_meter_square.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_meter_square.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

Fc9-comp-macro.png SetValue
Set the meter needle to a new position based on the current scaling properties. 
Fc9-f32-icon.png - FLOAT Value
Needle position between min and max 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Range
Fc9-type-15-icon.png Minimum
Minimum value to show on the meter. 
Fc9-type-15-icon.png Maximum
Maximum value to show on the meter. 
Fc9-conn-icon.png Style
Fc9-type-2-icon.png BG Color
Color of the meter scale background. 
Fc9-type-1-icon.png Positive Color
Color of the scale gradations for positive values. 
Fc9-type-1-icon.png Negative Color
Color of the scale gradations for negative values. 
Fc9-type-1-icon.png Label Color
Color of the meter's title label. 
Fc9-conn-icon.png Marks
Fc9-type-14-icon.png Divisions
Number of large scale divisions.. 
Fc9-type-14-icon.png Subdivisions
Number of sub-divisions in between each major division. 
Fc9-type-7-icon.png Show
Show or hide the scale markings. 
Fc9-conn-icon.png Numbers
Fc9-type-14-icon.png Decimals
Number of decimal points to show on scale values. 
Fc9-type-14-icon.png Text Size %
Text height of the scale values. 
Fc9-type-3-icon.png Font
Font for the scale value numbers. 
Fc9-type-7-icon.png Show
Show or hide the scale number values. 
Fc9-conn-icon.png Label
Fc9-type-10-icon.png Text
A title label to make the meter easier to identify. 
Fc9-type-14-icon.png Text Size %
Height of the label text. 
Fc9-type-3-icon.png Font
Font for printing the label. 
Fc9-type-7-icon.png Show
Show or hide the title label. 

==Macro reference==

Fc9-comp-macro.png SetValue
Set the meter needle to a new position based on the current scaling properties. 
Fc9-f32-icon.png - FLOAT Value
Needle position between min and max 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Range
Fc9-type-15-icon.png Minimum
Minimum value to show on the meter. 
Fc9-type-15-icon.png Maximum
Maximum value to show on the meter. 
Fc9-conn-icon.png Style
Fc9-type-2-icon.png BG Color
Color of the meter scale background. 
Fc9-type-1-icon.png Positive Color
Color of the scale gradations for positive values. 
Fc9-type-1-icon.png Negative Color
Color of the scale gradations for negative values. 
Fc9-type-1-icon.png Label Color
Color of the meter's title label. 
Fc9-conn-icon.png Marks
Fc9-type-14-icon.png Divisions
Number of large scale divisions.. 
Fc9-type-14-icon.png Subdivisions
Number of sub-divisions in between each major division. 
Fc9-type-7-icon.png Show
Show or hide the scale markings. 
Fc9-conn-icon.png Numbers
Fc9-type-14-icon.png Decimals
Number of decimal points to show on scale values. 
Fc9-type-14-icon.png Text Size %
Text height of the scale values. 
Fc9-type-3-icon.png Font
Font for the scale value numbers. 
Fc9-type-7-icon.png Show
Show or hide the scale number values. 
Fc9-conn-icon.png Label
Fc9-type-10-icon.png Text
A title label to make the meter easier to identify. 
Fc9-type-14-icon.png Text Size %
Height of the label text. 
Fc9-type-3-icon.png Font
Font for printing the label. 
Fc9-type-7-icon.png Show
Show or hide the title label. 

==Macro reference==

Fc9-comp-macro.png SetValue
Set the meter needle to a new position based on the current scaling properties. 
Fc9-f32-icon.png - FLOAT Value
Needle position between min and max 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Range
Fc9-type-15-icon.png Minimum
Minimum value to show on the meter. 
Fc9-type-15-icon.png Maximum
Maximum value to show on the meter. 
Fc9-conn-icon.png Style
Fc9-type-2-icon.png BG Color
Color of the meter scale background. 
Fc9-type-1-icon.png Positive Color
Color of the scale gradations for positive values. 
Fc9-type-1-icon.png Negative Color
Color of the scale gradations for negative values. 
Fc9-type-1-icon.png Label Color
Color of the meter's title label. 
Fc9-conn-icon.png Marks
Fc9-type-14-icon.png Divisions
Number of large scale divisions.. 
Fc9-type-14-icon.png Subdivisions
Number of sub-divisions in between each major division. 
Fc9-type-7-icon.png Show
Show or hide the scale markings. 
Fc9-conn-icon.png Numbers
Fc9-type-14-icon.png Decimals
Number of decimal points to show on scale values. 
Fc9-type-14-icon.png Text Size %
Text height of the scale values. 
Fc9-type-3-icon.png Font
Font for the scale value numbers. 
Fc9-type-7-icon.png Show
Show or hide the scale number values. 
Fc9-conn-icon.png Label
Fc9-type-10-icon.png Text
A title label to make the meter easier to identify. 
Fc9-type-14-icon.png Text Size %
Height of the label text. 
Fc9-type-3-icon.png Font
Font for printing the label. 
Fc9-type-7-icon.png Show
Show or hide the title label. 

==Macro reference==

Fc9-comp-macro.png SetValue
Set the meter needle to a new position based on the current scaling properties. 
Fc9-f32-icon.png - FLOAT Value
Needle position between min and max 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Range
Fc9-type-15-icon.png Minimum
Minimum value to show on the meter. 
Fc9-type-15-icon.png Maximum
Maximum value to show on the meter. 
Fc9-conn-icon.png Style
Fc9-type-2-icon.png BG Color
Color of the meter scale background. 
Fc9-type-1-icon.png Positive Color
Color of the scale gradations for positive values. 
Fc9-type-1-icon.png Negative Color
Color of the scale gradations for negative values. 
Fc9-type-1-icon.png Label Color
Color of the meter's title label. 
Fc9-conn-icon.png Marks
Fc9-type-14-icon.png Divisions
Number of large scale divisions.. 
Fc9-type-14-icon.png Subdivisions
Number of sub-divisions in between each major division. 
Fc9-type-7-icon.png Show
Show or hide the scale markings. 
Fc9-conn-icon.png Numbers
Fc9-type-14-icon.png Decimals
Number of decimal points to show on scale values. 
Fc9-type-14-icon.png Text Size %
Text height of the scale values. 
Fc9-type-3-icon.png Font
Font for the scale value numbers. 
Fc9-type-7-icon.png Show
Show or hide the scale number values. 
Fc9-conn-icon.png Label
Fc9-type-10-icon.png Text
A title label to make the meter easier to identify. 
Fc9-type-14-icon.png Text Size %
Height of the label text. 
Fc9-type-3-icon.png Font
Font for printing the label. 
Fc9-type-7-icon.png Show
Show or hide the title label.