Preconfigurations Masuring device.

Creates graphic item PmiCanvas configured as measuring device.
This preconfiguration can be activated when creating a new graphic item and is included in the group: " / Bar, Slider, Meter / Meter".
This graphic item contains embedded PmiCanvas item named Dynamic. It controls the movement of the device pointer by using the variable named val. The binding can be used to connect it to the measured value.
In the parent graphic item PmiCanvas there are variables title as device name, min and max defining the value range of the device. The values technolMin and technolMax differentiate the technological limits by color. The arcScale value defines the angle section where the scale is rendered. Additional configuaration variables are located in the context itself, in the section beginning with the USER VALUES comment.
Additional configuration variables are located at the beginning of context itself, or at the beginning of the user method. The following items can be set:
- sUnit - measuring unit
- fontSize - description text size
- majTicks - number of main scale segments
- minTicks - number of secondary scale segments between main segments
- nDescPer - defines the quantity of main segment descriptors (0 = no, 1 = each main, 2 = each second)
- bgColor1 and bgColor2 - the values define the background colors of the device
- borderWidth - defines the device margin width
These configurators can be set before the preconfiguration is created:
Unit of the measured valueUnit of the measured value (kPa, MPa, ot/min, dB, ...)
Measured valueConnection to measured value
Range from minimumStart of the device range
Range to maximumEnd of device range
Display technological limitsDisplays technological limits in colors
Technological minimumMinimum in technological range
Technological maximumMaximum in technological range
Main scale segments (number)Number of main scale segments
Secondary scale segments (number)Number of secondary scale segments between two main segments
Description of scale values (1=each main segment)Description of scale values (1=each main segment, 2=each second main segment)
Value description font sizeValue description font size
12 (default)
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice