IAlarmStorageReaderConsumer.LatchVariableRead (METH)

METHOD LatchVariableRead

Notification, that a latch variable from TblAlarm has been read and can be processed.

InOut:

Scope

Name

Type

Comment

Input

diWhichRow

DINT

A 0-based index of the row read from TblAlarm.

usiWhichVariable

USINT

A 1-based index of the latch variable within all latch variables

liLatchVarValue

LINT

The latch value as “raw” value. If |iLatchVarType| has the value TYPE_STRING, this parameter contains a pointer to the STRING, in case of TYPE_WSTRING this parameter contains a POINTER to a WSTRING

iLatchVarType

TypeClass

A TypeClass value representing the type of the latch variable

xValueNULL

BOOL

Indicates, whether NULL is stored in the alarm storage