ITrendStorageAccessReadOperator (ITF) ¶ INTERFACE ITrendStorageAccessReadOperator EXTENDS __SYSTEM.IQueryInterface This interface is implemented by function blocks, that provide functionality for the method Read of function block TrendFbTrendStorageAccess. Is contains a set of callback methods. Methods: AfterReadingData AfterReadingVariableValuesOfRow BeforeReadingData BeforeReadingVariableValuesOfRow DoContinueReading FinalizeReading FirstDataRowOfNewConfigurationReached InitializeReading IsVariableToRead ProcessPacketFlags ProcessTimestamp ProcessValue ActivateMaxWarningRead ActivateMinWarningRead AfterReadingVariableConfiguration BeforeReadingVariableConfiguration ColIDRead DescriptionTextIDRead DisplayVariableNameRead GraphColorRead GraphTypeRead LineStyleRead LineWidthRead MaxWarningColorRead MaxWarningThresholdRead MinWarningColorRead MinWarningThresholdRead VariableNameRead VariableTypeRead YAxisDescriptionRead Structure: AfterReadingData (Method) AfterReadingVariableValuesOfRow (Method) BeforeReadingData (Method) BeforeReadingVariableValuesOfRow (Method) DoContinueReading (Method) FinalizeReading (Method) FirstDataRowOfNewConfigurationReached (Method) InitializeReading (Method) IsVariableToRead (Method) ProcessPacketFlags (Method) ProcessTimestamp (Method) ProcessValue (Method) prvTblTrendConfigurationGetConfig ActivateMaxWarningRead (Method) ActivateMinWarningRead (Method) AfterReadingVariableConfiguration (Method) BeforeReadingVariableConfiguration (Method) ColIDRead (Method) DescriptionTextIDRead (Method) DisplayVariableNameRead (Method) GraphColorRead (Method) GraphTypeRead (Method) LineStyleRead (Method) LineWidthRead (Method) MaxWarningColorRead (Method) MaxWarningThresholdRead (Method) MinWarningColorRead (Method) MinWarningThresholdRead (Method) VariableNameRead (Method) VariableTypeRead (Method) prvTblTrendConfigurationGetDiagramConfig YAxisDescriptionRead (Method)
ITrendStorageAccessReadOperator.AfterReadingData (METH) ¶ METHOD AfterReadingData Notification, that reading the data (i.e. the values) has been completed. InOut: Scope Name Type Comment Input iCountVariables INT The number of variables
ITrendStorageAccessReadOperator.AfterReadingVariableValuesOfRow (METH) ¶ METHOD AfterReadingVariableValuesOfRow Notification, that reading the data (i.e. the values) of the current has been completed.
ITrendStorageAccessReadOperator.BeforeReadingData (METH) ¶ METHOD BeforeReadingData Notification, that reading the data (i.e. the values) will start.
ITrendStorageAccessReadOperator.BeforeReadingVariableValuesOfRow (METH) ¶ METHOD BeforeReadingVariableValuesOfRow Notification, that reading the data (i.e. the values) of the current row will start.
ITrendRecording2.Initialize2 (METH) ¶ METHOD Initialize2 InOut: Scope Name Type Comment Input udiRecordingTimespan UDINT The configured timespan between two recordings udiCountCyclesToStore UDINT Contains the number of cycles, that have to be stored in memory before writing the data to the trend storage udiBufferEntries UDINT The number of samples, that the trace in the runtime system holds udiMaxRecordCount UDINT If this parameter has a value != 0 it indicates the maximum number of records, that will be stored in the trend storage. itfTrendRootPageManager ITrendRootPageManager An already initialized instance of ITrendRootPageManager, that is able to provide the root pages for tables and indexes eFileLimit ETrendFileLimit This parameter contains the kind of limit to check liStorageSize LINT This parameter contains the maximum storage size
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