IAlarmHandler9.DeactivateAlarm (METH)ΒΆ

METHOD DeactivateAlarm : BOOL

This method only works if alarm has been activated with IAlarmHandler9.ActivateAlarm. Returns TRUE if the operation was successful and the alarm was found. This method uses semaphore synchronization with AlarmEvaluation_PRG.

InOut:

Scope

Name

Type

Comment

Return

DeactivateAlarm

BOOL

Input

usiAlarmGroupID

ALARMGROUP_ID

The ID of the alarm group, where the event is declared

uiAlarmID

ALARM_ID

The ID of the alarm, that have to be raised. Here the corresponding enum value has to be passed, where the name of the generated enum is: Alm_<Name of the alarm group>_Alarm_IDs The enumeration member has the same name like the ID of the alarm