Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Data - page of object PmaTrendGroup

Description:
Definition of trend group data The form of the page is common to more Pma objects and hence the common description is stated in the description of the "PmaObject > Data" page. Only configuration items of one variable are described here that are specific only for the page of this object.

If the PmaTrendGroup object stores the data on the computer disk and the application has stored the data on the computer hard disk for some time and a need to change the data structure arises (for example to add variables on the "Data" page), then it is necessary to add this variable in the development mode. After the next starting the application in the Runtime mode, the PmaTrendGroup object will change the data structure on the disk and add a new variable.

If the PmaTrendGroup object is set to the "Read only (new records cannot be written)" mode (see Read only (new records cannot be written)), then the list of trend variables isn't defined here and the page can be even empty. But the list of variables (needn't be complete) can be defined here, see PmaTrendGroup object in "Read only (new records cannot be written)" mode.

Buttons:
Adding one or multiple new variables.
New variable - Opens the Variable window, where new variable can be added.
Multiple new variables - Opens the Multi items adding window, where any number of variables can be added.
Opens the Variable window, where the marked variable can be edited.
Deletes the selected variables.
Moves the selected variable upwards in the list.
Moves the selected variable downwards in the list.
Opens window for text search.
Opens menu with additional options.
Export to XML file - see Data export to the XML text file. Various export types to the XML file are described in Import/Export in the editor of Pma objects.
Export to CSV file - see Data export to CSV text file
Import from XML file - see Data import from XML text file
Import from CSV file - see Data import from CSV text file
Import from OPC server - This item is available only in the PmaOpcClientGroup object. Opens the "Browsing the OPC server address space" window. On the selected level, it is possible to select multiple variables (by using the Ctrl, or Shift key), that are then added into this page.
Sort - If sorts variables in the alphabetical order by the variable name. The order of variables is changed. Be careful in cases when variables are accessed not by the name but by index (order).
Data extensions - Opens the List of data extensions window, displaying a list of all found data extensions (defined anywhere in the application), designed for this specific target object (see "Target object" configurator in the data extension).
Configuration items variables - basic:
See Variable
NameName of the variable (no diacritics, no spaces, must start with a letter).

This configurator sets the initial value of the property Name.

Data typeData type of a variable. This data type is preserved in the variable and written values are converted into this data type.

The exception is the Variant data type indicating that the variable preserves the last written value with its data type. Thus even an array can be stored in the variable (not allowed with the PmRtFree license).

ValueHere you can define
- the value (expression), that will be assigned to the variable after starting the application, or
- the data binding to another value.

See Value property and see Data binding configuration.

Macro expression can be used for input (it is evaluated after starting the application).

RoundingIf checked, then the value in the variable will be rounded do defined accuracy on each writing.

It is functional only for numeric data types (Double, Single, Long, Short, Byte).

See also Pm.Round.

AccuracyPositive number indicating accuracy (number of decimal or whole places) to round the number to. For example:
0.01 = rounding to hundreths
0.1 = rounding to tenths
0.5 = rounding to five tenths
1 = rounding to whole numbers
10 = rounding to tens
25 = rounding to the closest multiple of 25
NoteNote for better orientation in the project, applicable through the script interface even in the running application.

This configurator sets the initial value of the property Note.

Macro expression can be used for input (it is evaluated after starting the application).

Configuration items variables - extended by data extension ExtTrend:
See Data extension configuration: ExtTrend
MinimumLow limit of the variable (minimum).

This configurator sets the initial value of the property Min.

The value entered here is used as initialization value for trend viewer (for the PmgTrendViewer object). The value is entered in the following property: tvTrend.ValueMin

MaximumHigh limit of the variable (maximum).

This configurator sets the initial value of the property Max.

The value entered here is used as initialization value for trend viewer (for the PmgTrendViewer object). The value is entered in the following property: tvTrend.ValueMax

Dead bandValue insensitivity range. It is valid only if the optimalized value storage is enabled (see Enable saving of variables on change).
UnitPhysical unit of the variable (for example "kWh").

This configurator sets the initial value of the property Unit.

Macro expression can be used for input ($.text ..) (it is evaluated after starting the application).

The value entered here is used as initialization value for trend viewer (for the PmgTrendViewer object). The value is entered in the following property: tvTrend.Unit

ColorColor of the variable for displaying in the trend viewer.

This configurator sets the initial value of the property Color.

The value entered here is used as initialization value for trend viewer (for the PmgTrendViewer object). The value is entered in the following property: tvGraph.Color

name for displayingText that can be shown as the name of the item in the trend viewer.

This configurator sets the initial value of the property DisplayName.

Macro expression can be used for input ($.text ..) (it is evaluated after starting the application).

The value entered here is used as initialization value for trend viewer (for the PmgTrendViewer object). The value is entered in the following property: tvTrend.Name

Additional parametersAdditional parameters for saving the trend variable. Allow to define the database data type or table column name.
dbdt (optional) - Database column data type. For specific database data types see Storage type, for example "dbdt:NUMERIC(12,4);".
name (optional) - (only for Database dBase backups) Specifies the column name. If not defined, then the variable name PmVar or ExtTrend is used as column name.
Note:
The script access to the variable of the PmVar type on this page is allowed:
- by the Item method or
- by the Pm method with the usage of the #vars identifier
See also:
PROMOTIC 9.0.7 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