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.