TrendFbTrendStorageWriterReader.Read (METH) ¶ METHOD Read : STO.ERROR Reads data from the trend storage and passes it to the ITraceMgrPacketReaderClient instance. Returns the error code of the underlying CAA storage database layer. InOut: Scope Name Type Comment Return Read STO.ERROR Input sPacketName STRING The name of the packet, that has been stored in the trend storage liTimestampFrom LINT The absolute timestamp of the 1st sample liTimestampTo LINT The absolute timestamp of the last sample liAbsPacketStartTime LINT The absolute start time of the 1st trace mgr packet, only if this parameter contains a value != 0. In this case both timestamp parameters are relative timestamps. If this parameter is 0 both timestamp parameters are absolute timestamps. xCloseTableAndStorage BOOL A flag indicating, whether the database and the table have to be kept open after reading the data (FALSE) or have to be closed (TRUE). The target visualization can leave the table and the storage open to have better performance.
TrendFbTrendStorageWriterReader.ReleaseDB (METH) ¶ METHOD ReleaseDB : STO.ERROR Method to call when it’s necessary to release the DB: close table, release handle InOut: Scope Name Type Return ReleaseDB STO.ERROR
TrendFbTrendStorageWriterReader.ShrinkMemory (METH) ¶ METHOD ShrinkMemory
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.
TrendStorageReader.ContinueReading (METH) ¶ METHOD ContinueReading : ETrendStorageReaderErrors Reads data from the trend storage. InOut: Scope Name Type Comment Return ContinueReading ETrendStorageReaderErrors A ETrendStorageReaderErrors value indicating, whether the processing has been completed successfully or not: ETrendStorageReaderErrors.NoError: Completed successfully ETrendStorageReaderErrors.InvalidCall: ContinueReading was called without calling method Read before ETrendStorageReaderErrors.AdditionalReadCallRequired: Reading has been completed successfully, but there is additional call of method ContinueReading necessary to read the rest of the data Input liTimstampFrom LINT The absolute timestamp of the 1st sample liTimstampTo LINT The absolute timestamp of the last sample itfTrendStorageReaderConsumer ITrendStorageReaderConsumer An instance of ITrendStorageReaderConsumer, to which the data read from the trend storage will be passed.
TrendStorageReader.GetMinMaxTimestamps (METH) ¶ METHOD GetMinMaxTimestamps : ETrendStorageReaderErrors This method determines minimum and maximum timestamp stored in the trend storage. InOut: Scope Name Type Comment Return GetMinMaxTimestamps ETrendStorageReaderErrors Output liMinTimestamp LINT Returns minimum timestamp liMaxTimestamp LINT Returns maximum timestamp liAbsPacketStartTime LINT Returns the absolute start time of the 1st trace mgr packet xTableIsEmpty BOOL Indicates, whether the database table is empty and default values will be returned
ITrendStorageAccessReadOperator ¶ DoContinueReading (Method) prvTblTrendConfigurationGetConfig LineStyleRead (Method) LineWidthRead (Method)
TrendStorageReader.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