This function gets the number of active alarms.

Function Group Execution Windows Embedded Thin Client Mobile Access
GetAlarmCount Tags Database Synchronous Supported Supported Not supported Not supported


Web Studio Help ctions tagsdb getalarmcount.xml d427835e102 GetAlarmCount

This function has no parameters.

Returned value

This function returns the number of active alarms.

Please note that the function will return a valid value only when it is executed on the project server. If it is called by a Graphics Script, Screen Script, or Command animation on a project client, it will return -1.