Difference between revisions of "Component: Meter Square (Simulation)"
(XML import of component help) |
|||
Line 18: | Line 18: | ||
Square analogue panel meter as used in Locktronics. | Square analogue panel meter as used in Locktronics. | ||
A simulation component only for showing the current value of an analogue pin. | A simulation component only for showing the current value of an analogue pin. | ||
+ | |||
+ | ==Examples== | ||
+ | The following files provide examples of how to use this component: | ||
+ | |||
+ | [[Media:Example_Velleman TEST.fcfx|Velleman TEST.fcfx]] | ||
==Downloadable macro reference== | ==Downloadable macro reference== |
Revision as of 17:30, 11 November 2013
Author | Matrix Ltd |
Version | 1.3 |
Category | Simulation |
Contents
Meter Square component
Square analogue panel meter as used in Locktronics. A simulation component only for showing the current value of an analogue pin.
Examples
The following files provide examples of how to use this component:
Downloadable macro reference
This component does not contain any downloadable macros
Simulation macro reference
SetValue
Set the meter needle to a new position based on the current scaling properties.
Parameters
- FLOAT Value
- Needle position between min and max
Return value
- This call does not return a value
Property reference
Minimum
This property is of type Floating point and can be referenced with the variable name val_min.
Minimum value to show on the meter.
Maximum
This property is of type Floating point and can be referenced with the variable name val_max.
Maximum value to show on the meter.
BG Color
This property is of type Color picker with transparency and can be referenced with the variable name bg_color.
Color of the meter scale background.
Positive Color
This property is of type Color picker and can be referenced with the variable name ink_color.
Color of the scale gradations for positive values.
Negative Color
This property is of type Color picker and can be referenced with the variable name neg_color.
Color of the scale gradations for negative values.
Label Color
This property is of type Color picker and can be referenced with the variable name label_color.
Color of the meter's title label.
Divisions
This property is of type Signed integer and can be referenced with the variable name marks_count.
Number of large scale divisions..
Subdivisions
This property is of type Signed integer and can be referenced with the variable name marks_subdiv.
Number of sub-divisions in between each major division.
Show
This property is of type True or false and can be referenced with the variable name show_marks.
Show or hide the scale markings.
Decimals
This property is of type Signed integer and can be referenced with the variable name dec_places.
Number of decimal points to show on scale values.
Text Size %
This property is of type Signed integer and can be referenced with the variable name num_size.
Text height of the scale values.
Font
This property is of type Font picker and can be referenced with the variable name num_font.
Font for the scale value numbers.
Show
This property is of type True or false and can be referenced with the variable name show_numbers.
Show or hide the scale number values.
Text
This property is of type Line of text and can be referenced with the variable name label_text.
A title label to make the meter easier to identify.
Text Size %
This property is of type Signed integer and can be referenced with the variable name label_size.
Height of the label text.
Font
This property is of type Font picker and can be referenced with the variable name label_font.
Font for printing the label.
Show
This property is of type True or false and can be referenced with the variable name show_label.
Show or hide the title label.