IAlarmHandler9.ActivateAlarm (METH)ΒΆ

METHOD ActivateAlarm : BOOL

The alarm can be deactivated by calling IAlarmHandler9.DeactivateAlarm. 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

ActivateAlarm

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