Promotic

Preconfiguration "Function progression - definition, setting and viewing"

This preconfiguration can be activated when creating a new object (e.g. by "New object ..." in the local object menu or by pressing the Insert key after selecting the object) and is included in the group: "/ Panels (PmaPanel) / Trends and graphs".
This preconfiguration can be created in the object: PmaFolder, PmaRoot, PmaPanel or PmaWorkspace.

- The preconfiguration creates an object of the PmaPanel type with preconfigured name of "GraphFunction".
- The preconfiguration is created including the panel (object of the PmaPanel type) is functional also as Web panel.


The PmgTrendViewer object has a preconfigured appearance on the "Appearance" tab and Trends a non-connected trend. In the onStart event the scale range is set and AddPoints is used in order to create and display the function progression. The progression data is obtained by calling the LoadFce panel method.

On the "ActiveX events" tab in the onMouseArea event there is a script responding to mouseclick inside the viewer area depending on the status of the PmgRadioButton object.
The script allows:
in 1 state, to move the closest point in x and y axis
in 2 state, to delete the closest point
in 3 state, to add a new point
The point can also be moved by the "DRAG AND DROP" method. The values of points are with the precision of tenths or whole units on both axes.

The preconfigured buttons Load fce and Save fce call the corresponding panel methods and serves for loading or for saving the values of function progression. These methods must be modified in order to make them communicate with the currently used technology.

The Conversion points button launches the execution of multiple methods over all displayed points. The result of each method is displayed in the corresponding text field.
These configurators can be set before the preconfiguration is created:
The name of created objectName of the object created in the Pma objects tree. 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.
Default: "GraphFunction"
Panel titleUser name of the panel that is displayed for example in:
- in the window title bar (if opened outside the workspace)
- in the panel list obtained for example by the FindViewers method

This configurator sets the initial value of the property PmaPanel.Title and PmgRoot.ViewerTitle.
Macro expression can be used for input ($.text ..) (it is evaluated while the window is opening).
After the preconfiguration is created, the "PmaPanel > Panel > Panel title" configurator will be set to this value.
PermissionsOn this tab permissions of the object are defined. See the "Permission" tab of the PmaObject object.
Member of logical groupsThe list of the logical groups identifiers (the comma ',' is the separator), the object belongs into (it is a group member), see the "Logical groups" configuration window.
The logical group selection can be done in the "Member of logical groups" window.
After the preconfiguration is created, the "PmaObject > Object > Member of logical groups" configurator will be set to this value.
Minimum of X-axis rangeX-axis - Minimum of X-axis range
Maximum of X-axis rangeX-axis - Maximum of X-axis range
Minimum of Y-axis rangeY-axis - Minimum of Y-axis range
Maximum of Y-axis rangeY-axis - Maximum of Y-axis range
For example: 0.01 = hundredths, 0.1 = tenths, 0.5 = 5 tenths, 1 = integer value, 10 = whole tens
The precision of entered values on axis xFor example: 0.01 = hundredths, 0.1 = tenths, 0.5 = 5 tenths, 1 = integer value, 10 = whole tens
The precision of entered values on axis fx (y)For example: 0.01 = hundredths, 0.1 = tenths, 0.5 = 5 tenths, 1 = integer value, 10 = whole tens
Enable as Web componentSpecifies whether this object has to be registered as a Web server component
After the preconfiguration is created, the "PmaPanel > Web server > Enable as Web component" configurator will be set to this value.
PmaWeb objectPath in the Pma objects tree to the object PmaWeb, PmaWebFolder or PmaWebLang where the registration is carried out.
Macro expression can be used for input (it is evaluated after the application is launched).
After the preconfiguration is created, the "PmaPanel > Web server > PmaWeb object" configurator will be set to this value.
Web component identifierSpecifies unique identifier of this Web component.
The full URL address to this component is then for example:
"http://ComputerName:Port/Identifier"
Macro expression can be used for input (it is evaluated after the application is launched).
After the preconfiguration is created, the "PmaPanel > Web server > Web component identifier" configurator will be set to this value.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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