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