Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmTrend (Trend group)

Description:
See: PmTrend - 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 TrendsView ActiveX object can be used, respectively either in the panel of the client PROMOTIC application or in the Internet Explorer.
 
No other PROMOTIC objects can be created in this object. This object can be created in the PmRoot, PmFolder and PmPrototype objects. 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 PROMOTIC system ).

This object adopts properties and methods of object PmObject
Properties and methods:
AddFilter Adding the value filter
BackupCreate Creating new backup
BackupInfo Getting information about saved trend data on disk
ClearHistory Remove all archived data
Close Close the trend archive
Count Number of variables in the object
CreateFilter Create the value of the filter range for next methods
GetData Getting the stored data
GetPersistInfo Getting information regarding data saving on the disk
GetTime Returns requested time
GetValueByTime Getting the value (more values) of a variable (more variables) by the specified time.
GroupId Group identifier
Item Access to variables of type Var of this object
ItemEx Access to variables of type Var 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 a file
SetValueByTime Writing the value (more values) or a variable (more variables) by the specified time.
Events:
onAddRecord Fires on the request for saving the values
onBackupCreate Fires on the request for creating new backup
onError Fires 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 configuration of the trend group
Storage Disk data persistence configuration
Permissions Object permissions
Web Server The link-up of the object to the WEB server
List of subobjects:
Var(Variable) This object represents one data item of the object
ExtTrend An extension for connection to the PmTrend object
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice