AlarmStorageReader.GetMinMaxTimestamps (METH)

METHOD GetMinMaxTimestamps : EAlarmStorageReaderErrors

This method determines minimum and maximum timestamp stored in the alarm storage.

InOut:

Scope

Name

Type

Comment

Return

GetMinMaxTimestamps

EAlarmStorageReaderErrors

An EAlarmStorageReaderErrors indicating, whether the processing was successful or not

Output

liMinTimestamp

LINT

Returns minimum timestamp

liMaxTimestamp

LINT

Returns maximum timestamp

xTableIsEmpty

BOOL

Indicates, whether the database table is empty. The output parameter liMinTimestamp and and liMaxTimestamp contain valid values only if this output parameter is FALSE.

udiCountAlarms

UDINT

The number of alarms, that are stored in the alarm storage for the given timestamp