GetAlarmEx
This method returns an interface pointer to an existing instance.
Syntax
METHOD GetAlarmEx : HRESULT
VAR_INPUT
stEventEntry : TcEventEntry;
ipSourceInfo : I_TcSourceInfo := 0; // optional
fbAlarm : REFERENCE TO FB_TcAlarm;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
stEventEntry | Event definition | |
ipSourceInfo | Pointer to an ITcSourceInfo interface | |
fbAlarm | REFERENCE TO FB_TcAlarm | Pointer to an alarm |
Return value
Name | Type | Description |
---|---|---|
GetAlarmEx | HRESULT | Returns ADS_E_NOTFOUND if no instance was found. Returns S_OK if the method call was successful, otherwise an HRESULT as the error code. |