Meter

../_images/0315aea42915ef8b0a317f34781454b9

This dialog will open automatically as soon as you insert a Meter into a visualization object. A Preview is part of the dialog, immediately showing how the element will look as a result of the currently set parameters:

  • Arrowtype:  Define the type of the arrow which will point at the current value on the Meter. Possible types: Normal arrow, Thin arrow, Wide arrow, Thin needle.
  • Arrow start, Arrow end: Here you define the start and the end positions of the scale on a virtual circular arc in ° Degrees (angle). (Example: a Start angle of 180° and an End angle of 0° will define a upturned semicircle).
  • Arrow color: This button opens the standard dialog or a target-specific color selection list for choosing a color. Define the color of the pointer.
  • Variable/Scale:  This button opens the dialog Meter.
  • Color areas: This button opens the dialog Meter: Here you can define a separate color for each partition of the scale.

Additional settings:

  • Frame inside, Frame outside: If one or both of these options is/are activated, an inner or outer frame will be added to the scale arc.
  • Additional arrow: In addition to the main pointer a little arrow will indicate the current value directly on the scale.
  • No Scaling: If this option is activated, the inserted element cannot get resized.

Dialog ‘Configure scale \ and variable’

../_images/3f1cebe24377ea210a33139006eab46b
  • Scale start, Scale end: lowest and highest value on the scale, e.g. “-4” and “4”.
  • Main scale: Define which intervals on the scale should be marked “with all”, that means which should get a scale pitch and a label. If you insert e.g. “2”, each second integer value will be indicated.
  • Sub scale: In addtion to the main scale (Label + long pitch lines) here you can define a sub-scale which will be displayed as short pitch lines without any labels.
  • Unit: Define here the scale unit, e.g. “cm” or “sec”. The unit is indicated by a label at the origin of the pointer.
  • Scale format (C-Syntax): According to the C-syntax you can define the display format of the scale labels; see the description concerning Category ‘Text’. Example: If you insert “%1.1f” the scale values will be indicated by a floating point number with one decimal place before and one after the comma (e.g. “12.0”)
  • Variable: Here you can define a variable which is assigned to the pointer position. (e.g. “PLC_PRG.posvar”)
  • Font selection: This button will open the standard dialog for defining the font used in the Meter element (the selection list can be target-specific).

Dialog ‘Configure color areas’

Dialog for the configuration of color areas for a Meter:

../_images/0e34cca24377e7c10a33139006eab46b
  • Begin of area, End of area: Insert here the start and end values of the scale partition which should get the color defined in the following:

  • Color selection: This button opens the standard dialog for choosing a color or a target-specific selection list. Confirm your selection with OK, which will close the dialog, and press button Add, whereupon the color and the assigned partition of the scale will be added to the window ‘Active areas’. In order to remove an already defined area, select the entry and press Delete.

    If the option Durable color areas is activated, the defined color ranges will be displayed permanently, otherwise in online mode just that partition of the scale will be colored which contains the current value of the respective value.

  • Label: Depending on which of the options is activated (inside or outside), the scale labels are placed at the inside or the outside of the circular arc of the scale.