ETrendStorageGraphType (ENUM) ¶ TYPE ETrendStorageGraphType : This enumeration defines the possible graph types of the trend recording. Attributes: qualified_only InOut: Name Initial Comment LineWithPoints 1 A line with dots Cross 2 The samples are drawn with crosses. No line is drawn StepWithPoints 4 Steps with points at the samples Point 5 The samples are drawn with dots. No line is drawn Lines 8 A line without any other decoration Step 9 Steps without any other decoration LinesWithCrosses 10 A line with crosses at the samples StepWithCrosses 11 Steps with crosses at the samples
ETrendStoragePenStyle (ENUM) ¶ TYPE ETrendStoragePenStyle : This enumeration defines the possible line styles of the variables of the trend recording. Attributes: qualified_only InOut: Name Initial Comment Solid 0 A solid line Dashed 1 A dashed line Dotted 2 A dotted line DashDotted 3 A line with alternating dashed and dots DashDotDotted 4 A line with alternating dashed and 2 dots
ETrendStorageReaderErrors (ENUM) ¶ TYPE ETrendStorageReaderErrors : This enumeration defines the errors, that can occur during accessing the trend storage using the public interface. Note: Error codes from 30400 to 30549 represent errors from the underlying CAA Storage component. See STO.ERROR Attributes: qualified_only InOut: Name Initial Comment NoError CmpErrors.Errors.ERR_OK No error NotInitialized CmpErrors.Errors.ERR_NOTINITIALIZED Required initialization was not done WrongParameter CmpErrors.Errors.ERR_PARAMETER A required parameter is invalid, e.g. NULL is passed, where an instance is required NoMemory CmpErrors.Errors.ERR_NOMEMORY Unable to allocate an internally used buffer resp. unable to store a value NoObject CmpErrors.Errors.ERR_NO_OBJECT The specified object was not found AdditionalReadCallRequired CmpErrors.Errors.ERR_PENDING This is not really an error, but the information, that all the data cannot be read by a single call and additional method calls are necessary InvalidCall 20002 The call to a method is invalid, because this method cannot be called in this context.
ITrendStorageWriter2.RemoveTrendStorageWriterListener (METH) ¶ METHOD RemoveTrendStorageWriterListener : ETrendStorageReaderErrors Removes an ITrendStorageWriterListener instance. InOut: Scope Name Type Comment Return RemoveTrendStorageWriterListener ETrendStorageReaderErrors A ETrendStorageReaderErrors value indicating, whether the processing has been completed successfully or not: ETrendStorageReaderErrors.NoError: Completed successfully ETrendStorageReaderErrors.WrongParameter: If the ITrendStorageWriterListener instance is invalid ETrendStorageReaderErrors.NoObject: If the ITrendStorageWriterListener instance cannot be removed, because was not found, i.e. has not been added with method AddTrendStorageWriterListener Input itfTrendStorageWriterListener ITrendStorageWriterListener
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