Cicode Programming Reference > Cicode Function Categories > Alarm Functions > AlarmCountList

AlarmCountList

Counts the available alarms for the selected filter criteria.

Syntax

LONG AlarmCountList(INT AN)

AN:

An animation identifier of an alarm list.

Return Value

Returns counted alarms for the selected filter criteria. Returns -1 when an error is detected.

Example

// counts all listed alarms on the slected alarm page  
INT  iRet, iErr;      // return values
iRet = AlarmCountList(21);    
IF   iRet = -1 THEN
     iErr = IsError();    // get error code)
END
				

Related Functions

AlarmCount

See Also

Alarm Functions

Published June 2018