TrendStorageReader.Read (METH)

METHOD Read : ETrendStorageReaderErrors

Reads data from the trend storage.

InOut:

Scope

Name

Type

Comment

Return

Read

ETrendStorageReaderErrors

A ETrendStorageReaderErrors value indicating, whether the processing has been completed successfully or not:
  • ETrendStorageReaderErrors.NoError: Completed successfully

  • ETrendStorageReaderErrors.NotInitialized: Call to method Initialize has not been done

  • ETrendStorageReaderErrors.WrongParameter: If the ITrendStorageReaderConsumer instance is invalid

  • 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.