ITrendStorageReaderConsumer.VariableConfigurationRead (METH) ¶ METHOD VariableConfigurationRead Notification, that the variable configuration was read and reading of data will start immediately. InOut: Scope Name Type Comment Input paTrendStorageVariableDescription POINTER TO ARRAY [0..0] OF TrendStorageVariableDescription Points to an array of TrendStorageVariableDescription Variables, where the configuration of the variables has been stored. This array contains the description of the variables, whose data will be read iCountVariables INT The effective size of the array above, i.e. the number of variables
ITrendStorageWriterListener (ITF) ¶ INTERFACE ITrendStorageWriterListener This interface must be implemented by function blocks, that have to be informed if new data has been written into the trend storage Methods: DataWritten Structure: DataWritten (Method)
ITrendStorageWriterListener.DataWritten (METH) ¶ METHOD DataWritten Notification, that data has been written to the trend storage InOut: Scope Name Type Comment Input liFirstTimestamp LINT The first timestamp for which data was written to the trend storage liLastTimestamp LINT The last timestamp for which data was written to the trend storage iCountRows INT The number of rows, that have been written to the trend storage
ITrendStorageWriter3 (ITF) ¶ INTERFACE ITrendStorageWriter3 EXTENDS ITrendStorageWriter2 Extension of interface ITrendStorageWriter2 to have the possibility to clear the complete trend history. Methods: ClearHistory AddTrendStorageWriterListener , inherited from ITrendStorageWriter2 CanProvideMinMaxTimestamps , inherited from ITrendStorageWriter CreateTrendStorageMetaDataFile , inherited from ITrendStorageWriter GetMinMaxTimestamps , inherited from ITrendStorageWriter GetStatistics , inherited from ITrendStorageWriter2 Initialize , inherited from ITrendStorageWriter InitializeGetMinMaxTimestamps , inherited from ITrendStorageWriter RemoveTrendStorageWriterListener , inherited from ITrendStorageWriter2 Structure: ClearHistory (Method)
ITrendStorageWriter3.ClearHistory (METH) ¶ METHOD ClearHistory : BOOL This method is used to clear the complete trend history InOut: Scope Name Type Return ClearHistory BOOL
ITrendStorageWriter4 (ITF) ¶ INTERFACE ITrendStorageWriter4 EXTENDS ITrendStorageWriter3 Extension of interface ITrendStorageWriter3 for improved Initialization Methods: Initialize2 AddTrendStorageWriterListener , inherited from ITrendStorageWriter2 CanProvideMinMaxTimestamps , inherited from ITrendStorageWriter ClearHistory , inherited from ITrendStorageWriter3 CreateTrendStorageMetaDataFile , inherited from ITrendStorageWriter GetMinMaxTimestamps , inherited from ITrendStorageWriter GetStatistics , inherited from ITrendStorageWriter2 Initialize , inherited from ITrendStorageWriter InitializeGetMinMaxTimestamps , inherited from ITrendStorageWriter RemoveTrendStorageWriterListener , inherited from ITrendStorageWriter2 Structure: Initialize2 (Method)
ITrendStorageWriter4.Initialize2 (METH) ¶ METHOD Initialize2 This method performs some initialization. InOut: Scope Name Type Comment Input udiRecordingTimespan UDINT The configured timespan between two recordings udiCountCyclesToStore UDINT The number of cycles, that have to stored in the temporary buffer before writing the data to the trend storage 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 itfTrendRecording ITrendRecording An instance of trend recording eFileLimit ETrendFileLimit This parameter contains the kind of limit to check liStorageSize LINT This parameter contains the maximum storage size
ITrendStorageWriterBufferClient (ITF) ¶ INTERFACE ITrendStorageWriterBufferClient This interface can be implemented to use information from the intermediate buffer of a ITrendStorageWriter Methods: BuildBuffer CleanBuffer InitializeBufferReader Structure: BuildBuffer (Method) CleanBuffer (Method) InitializeBufferReader (Method)
ITrendStorageWriterBufferClient.BuildBuffer (METH) ¶ METHOD BuildBuffer This method builds the buffer based on the passed TrendStructTraceTemporaryStorageInfo variables InOut: Scope Name Type Comment Input paStorageInfo POINTER TO ARRAY [0..0] OF TrendStructTraceTemporaryStorageInfo Contains the description of every variable and the buffer with the samples
Service ¶ SwapDword (Function) SwapLword (Function) SwapWord (Function) TrendStorageCache TrendStorageCacheItemData (FunctionBlock)