Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmaTrendGroup (Trend group)

Description:
See: PmaTrendGroup - Deatiled object description
 
The object stores the time history of variables defined on the "Data" page into the memory and on the computer hard disk. The storing is performed in the optional periods by the Run, RunTime methods. For viewing the archived data the PmgTrendViewer object can be used, respectively either in the panel of the client PROMOTIC application or in the Web browser (Chrome, Firefox, Edge, InternetExplorer).
 
No other Pma objects can be created in this object.

This object can be created in objects: PmaRoot, PmaFolder, PmaPrototype. Multiple objects of this type can be created in such objects.

This object adds variables into the calculation of the application size, which influences the basic runtime license type/size (see: Price list of the PROMOTIC system ).

This object adopts properties and methods of object PmaObject.
Properties and methods:
AddFilter Adding the value filter
BackupCreate Creates a new backup
BackupInfo Returns information about saved trend data on the disk
ClearHistory Remove all archived data
Close Close the trend archive
Count The number of variables in the object
CreateFilter Creates the value of the filter range for next methods
GetData Returns the stored data
GetGroupTitle Returns the user defined name of trend group
GetPersistInfo Returns information regarding data saving on the disk
GetTime Returns requested time
GetValueByTime Returns a value (or more values) of a variable (more variables) by the specified time
GetVarExtensions Array of all data extensions registered into this object
GroupId Group identifier
Item Access to variables of type PmVar of this object
ItemEx Access to variables of type PmVar of this object
Open Open the trend archive
Run Save the current values with the current time
RunTime Save the current values with the specified time
SaveToFile Storing data of this object into the file
SetValueByTime Writing the value (more values) of a variable (more variables) by the specified time.
Events:
onAddRecord Is triggered on the request for saving the values
onBackupCreate Is triggered on the request for creating new backup
onError Is triggered on the object error
Configuration windows:
Object General information about the object
Content Content of the object in the XML form
Events Definition of object events algorithms
Data Definition of trend group data
Trend Basic settings of group of trends
Storage Disk data persistence configuration
Permissions Object permissions
Web server The link-up of the object to the Web server
Related objects:
PmVar(Variable) Object represents one data item of the object
ExtTrend An extension for connection to the PmaTrendGroup object

History:
Pm9.00.00: Object name changed: PmTrend -> PmaTrendGroup
Pm8.03.09:
- GetValueByTime method was not able to return single value for Database dBase backups saving type.
- If Database Access backups (obsolete) saving type was used a new backup was created each time the runtime was launched.
Pm8.03.01: New configurator Additional parameters that allows to enter names or data types of column being saved into the database.
PROMOTIC 9.0.4 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