Difference between revisions of "Component: Meter Square (Simulation)"

From Flowcode Help
Jump to navigationJump to search
(XML import of only descriptive example files)
(XML import)
 
(3 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
|-
 
|-
 
| width="20%" style="color: gray;" | Author
 
| width="20%" style="color: gray;" | Author
| [http://www.matrixltd.com Matrix Ltd]
+
| [http://www.matrixtsl.com Matrix TSL]
 
|-
 
|-
 
| width="20%" style="color: gray;" | Version
 
| width="20%" style="color: gray;" | Version
| 1.3
+
| 1.5 (Development)
 
|-
 
|-
 
| width="20%" style="color: gray;" | Category
 
| width="20%" style="color: gray;" | Category
Line 16: Line 16:
  
 
==[[File:Component Icon 4aead223_94b8_4744_9674_7c21acc80681.png|Image]] Meter Square component==
 
==[[File:Component Icon 4aead223_94b8_4744_9674_7c21acc80681.png|Image]] Meter Square component==
Square analogue panel meter as used in Locktronics.
+
Square analogue panel meter.
A simulation component only for showing the current value of an analogue pin.
+
A simulation only component - the needle value is set solely by the 'SetValue' macro.
  
 
==Examples==
 
==Examples==

Latest revision as of 11:25, 13 February 2015


Author Matrix TSL
Version 1.5 (Development)
Category Simulation


Image Meter Square component

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

Examples

No additional examples


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.