ITrendRecording2.RegisterTrendRecording2 (METH) ¶ METHOD RegisterTrendRecording2 Registers the trend recording at the global trend recording manager. InOut: Scope Name Type Comment Input itfTraceMgrPacket ITraceMgrPacket An instance of ITraceMgrPacket describing the packet to create in the runtime system pArrItfTraceMgrVariables POINTER TO ARRAY [0..0] OF ITraceMgrVariable The POINTER to the array ITraceMgrVariable instances representing the configuration of the variables to trace. The effective number of variables is passed with method Initialize iCountVariables INT The effective number of variables of the array above psApplication POINTER TO STRING Points to a string containing the name of the application sBufferSizeManagerKey STRING A string, that acts as a key to determine the buffer size of the trace mgr packet using the TrendFbBufferSizeManager udiDefaultBufferSize UDINT The default buffer size to use if the key is not found udiStoreEveryNMilliseconds UDINT Store the locally buffered every N millisecond to the trend storage udiMaxRecordCount UDINT This parameter contains the maximum number of records, that will be stored in the trend storage iFileLimit INT This parameter contains the kind of limit to check liStorageSize LINT This parameter contains the maximum storage size
ITrendRecording2.TraceMgrPacketStruct (PROP) ¶ PROPERTY TraceMgrPacketStruct : VisuStructTraceMgrPacket
ITrendRootPageManager (ITF) ¶ INTERFACE ITrendRootPageManager EXTENDS __SYSTEM.IQueryInterface This interface is implemented by function blocks, that are able to provide root pages for tables and indexes for the underlying SQLite trend storage. Methods: DetermineRootPages GetRootPage IsReady Reset Structure: DetermineRootPages (Method) GetRootPage (Method) IsReady (Method) Reset (Method)
ITrendRootPageManager.DetermineRootPages (METH) ¶ METHOD DetermineRootPages : STO.ERROR This method has to be called once to determine the rootpages of the database InOut: Scope Name Type Comment Return DetermineRootPages STO.ERROR Input itfTraceMgrPacket ITraceMgrPacket An instance of ITraceMgrPacket describing the packet that is currently running in the runtime system
ITrendRootPageManager.GetRootPage (METH) ¶ METHOD GetRootPage : CAA.IDENT This method returns the root page for a given trend database object. InOut: Scope Name Type Return GetRootPage CAA.IDENT Input eDatabaseObject ETrendDatabaseObject
ITrendRootPageManager.IsReady (METH) ¶ METHOD IsReady : BOOL This method indicates, whether the rootpages have been determined and the function block instance can be used to determine the rootpages InOut: Scope Name Type Return IsReady BOOL
ITrendStorageAccessReadOperator.BeforeReadingVariableValuesOfRow (METH) ¶ METHOD BeforeReadingVariableValuesOfRow Notification, that reading the data (i.e. the values) of the current row will start.
ITrendStorageAccessReadOperator.DoContinueReading (METH) ¶ METHOD DoContinueReading : BOOL Indicates, whether the reading (i.e. iterating through the row IDs and reading the corresponding data) has to be continued or not. InOut: Scope Name Type Return DoContinueReading BOOL
ITrendStorageAccessReadOperator.FinalizeReading (METH) ¶ METHOD FinalizeReading This is the last notification, after the last database access has been done
ITrendStorageAccessReadOperator.FirstDataRowOfNewConfigurationReached (METH) ¶ METHOD FirstDataRowOfNewConfigurationReached Notification, that currently read row from TblTrendData is the first row of the next configuration InOut: Scope Name Type Comment Input liCurrConfigTimstampTo LINT The “to” timestamp of the current configuration, i.e. the timestamp, when the current configuration ends. liTimestamp LINT The timestamp of the currently read row liAbsPacketStartTime LINT The absolute start time of the 1st trace mgr packet, only if this parameter contains a value != 0 iCountVariables INT The number of variables