Promotic

Preconfiguration "Meter"

Creates the PmgCanvas object configured as meter.

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 meter 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 meter. Then the variables title, unit for title and unit and fontColor that sets the text color. The last variable is technolLimit that can be used for setting the color of the rendered data progression based on defined limit. The number of limits is not limited and can be set ascending (from min. to max.) as a pair of values separated by semicolon that define the starting value of validituy and corresponding color value for displaying. Example 0;red;40;yellow;80;green;120;yellow;150;red
These configurators can be set before the preconfiguration is created:
The name of created objectName (identifier) of the Pmg object. It is used for obtaining 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 (i.e. national dependent characters), empty string, spaces and the first character must not be a number.
Title
Measured valueConnection to measured value
Range from minimumStart of the meter range
Range to maximumEnd of the meter range
Unit
Technological limits indicated by colorsExample: 0;red;40;yellow;80;green;120;yellow;150;red (0-40 red, 40-80 yellow, 80-120 green, 150-max red)
 
or: 0;#00ff00;60;#ffff00;80;#ff0000 (0-60 green, 60-80 yellow, 80-max red).

History:
Pm9.00.08: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.