Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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 min and max defining the value range of the device. The space value defines the distance of scale from the item margin. The posAxis value defines the distance of scale from the item top edge. 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:
- colorScale - scale and description color
- 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)
- bgColor - the value define the background color of the device
- color1 and color2 - 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:
Measured valueConnection to measured value
Range from minimumStart of the device range
Range to maximumEnd of device 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
8
9
10
11
12 (default)
14
16
18
20
22
24
26
28
36
48
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice