IAlarmHandler2.RegisterClient
(METH)
METHOD RegisterClient : UDINT
Registers an instance IAlarmManagerClient at the alarm mannager. The return value indicates, whether registering was successful
- InOut:
Scope
Name
Type
Comment
Return
RegisterClient
UDINT
Input
itfAlarmManagerClient
The IAlarmManagerClient instance to register
parritfAlarmsFromHistory
POINTER TO ARRAY [0..0] OF IAlarm2
This parameter specifies, whether the client will also be used to access the alarm history (will be able if both the parameters parritfAlarmsFromHistory and iCountAlarmsFromHistory are <> 0). This parameter also indicates the maximum numbers of rows of the alarm history, that will be returned to the client by a call to method GetAlarmsFromStorage.
iCountAlarmsFromHistory
INT
The effective size of the array above