Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Preconfiguration "Metering device in defined sector of a circle"

Creates the PmgCanvas object configured as metering device in sector of a circle.
 
This preconfiguration can be activated when creating a new Pmg object and is included in the group: " / Meter".
 
This object contains embedded PmgCanvas object named "Dynamic". It controls the movement of the device pointer by using the variable named "val". It is possible to connect it to the measured value by data binding.
 
In the parent PmgCanvas object there are variables min and max defining the value range of the device. Additional variables arcStart and arcSize that are used to define the beginning, direction and size of circle sector and also variables technolMin and technolMax that show the technological limits of the device. 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 designer's method. The following items can be set:
- sTextSize - description text size
- majTicks - number of main scale segments
- minTicks - number of secondary scale segments between main segments
- nDescPer - the quantity of main segment descriptors (0 = no, 1 = each main, 2 = each second)
These configurators can be set before the preconfiguration is created:
Object nameName (identifier) of the Pmg object. It is used to obtain the Pmg object by the PmgObject.Items method.

This configurator sets the initial value of the Name property.

The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics, empty string, spaces and the first character must not be a number.

Measured valueConnection to measured value
Beginning of the sector (-360° to 360°) 0 = leftLocation of circle sector beginning in degrees (0 = left, -90 = down in the middle, 90 = up in the middle)
Length and direction of circle sector (-360° to 360°). The number sign - specifies the direction counter-clockwiseLength and direction of circle sector (-360° to 360°). Values less than 0 define the direction counter-clockwise
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 ticks ticks (number)The number of main scale ticks
Minor ticks ticks (number)The number of minor scale ticks between two main segments
Description of scale values (1=each main tick)Description of scale values (1=each main tick, 2=each second main tick)
Description font sizeDescription font size
auto (default)
8
9
10
11
12
14
16
18
20
22
24
26
28
36
48

History:
Pm8.02.06: Created
PROMOTIC 9.0.14 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice