Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Preconfigurations Function progression - definition, setup 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 (PmPanel) / Trends and function".

This preconfiguration can be used with the objects: PmFolder, PmRoot, PmPanel or PmWorkspace.

 
- Preconfiguration creates an object of type PmPanel with preconfigured name of "GraphFunction".
- The preconfiguration is created including the panel (PmPanel object) functionality as a WEB panel.
 
The TrendsView object has a preconfigured appearence in the Properties configurator and a non-connected trend. In the onStart event the scale range is defined 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 Ax events page in the onMouseArea event there is a script responding to mouseclick inside the viewer area depending on the status of the PmiButtonRadio item.

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 point coordinates are rounded off to tenths or whole units on both axes.
 
The preconfigured buttons Load fce and Save fce call the corresponding panel methods and are used for loading or saving the values of function progression. These methods must be modified in order to make them communicate with the currently used technology.
 
The PmiWEdit input items allow to edit a single point position in x or y axes.
 
The Conversion points button launches the execution of multiple methods over all displayed points. The output 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 application object tree. This is a system name and must not contain empty string, diacritics, 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 PmPanel.Title and PmiRoot.ViewerTitle.

Macro expression can be used for input ($.text ..) (it is evaluated while the window is opening).

After this preconfiguration is created, the configurator is se to: PmPanel > Panel > Panel title.

PermissionsOn this page permissions of the object are defined. See Description of the page Permissions.
Member of logical groupsThe list of the identifiers of the logical groups (the comma ',' is the separator), the object belongs into (it is a group member), see Logical groups. The logical group selection can be done in the Member of logical groups window.

After this preconfiguration is created, the configurator is se to: PmObject > Object > Member of logical groups.

Minimum of the X axis rangeX-axis - Minimum of the X axis range
Maximum of the X axis rangeX-axis - Maximum of the X axis range
Minimum of the Y axis rangeY-axis - Minimum of the Y axis range
Maximum of the Y axis rangeY-axis - Maximum of the Y axis range
For example: 0.01 = hundredths, 0.1 = tenths, 0.5 = 5 tenths, 1 = whole number, 10 = whole tens
The accuracy of entered values in axis xFor example: 0.01 = hundredths, 0.1 = tenths, 0.5 = 5 tenths, 1 = whole number, 10 = whole tens
The accuracy of entered values in axis fx (y)For example: 0.01 = hundredths, 0.1 = tenths, 0.5 = 5 tenths, 1 = whole number, 10 = whole tens
Enable as WEB componentIt indicates if this object has to be registered as a WEB server component

After this preconfiguration is created, the configurator is se to: PmPanel > Web Server > Enable as WEB component.

PmWeb objectPath in the objects tree to the PmWeb, PmWebFolder or PmWebLang object where the registration is carried out.

After this preconfiguration is created, the configurator is se to: PmPanel > Web Server > PmWeb object.

Web component identifierIt specifies 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 while the application is launching).

After this preconfiguration is created, the configurator is se to: PmPanel > Web Server > Web component identifier.

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