GetAlarmCount
- Last UpdatedOct 29, 2026
- 1 minute read
This function gets the number of active alarms.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetAlarmCount |
Tags Database |
Synchronous |
Yes |
Supported |
Supported |
Not supported |
Not supported |
Not supported |
Syntax
GetAlarmCount()
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.