IsAlarmRaised
![IsAlarmRaised 1:](Images/png/5027184907__Web.png)
This method queries whether an alarm is in the Raised state.
Syntax
METHOD IsAlarmRaised : BOOL
VAR_INPUT
eventClass : GUID;
nEventId : UDINT;
ipSourceInfo : I_TcSourceInfo := 0;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
eventClass | GUID | GUID of the event class. |
nEventId | UDINT | ID of the event. |
ipSourceInfo | Pointer to an ITcSourceInfo interface. |
Return value
Name | Type | Description |
---|---|---|
IsAlarmRaised | BOOL | Returns S_OK if the method call was successful, otherwise an HRESULT as the error code. |