User Manual

GETTING STARTED


OTHER EDITIONS


LAUNCHERS


MODULES


PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support

ALL USER MANUAL VERSIONS

Ignition 8.1. Offline Version (04/2021)
Ignition 8 Online Version
Ignition 7.9 Online Version
Ignition 7.8 Online Version

Deprecated Pages

SDK Documentation

Employees

Sign In

Skip to end of metadata
Go to start of metadata

This function is used by Ignition's Expression language.

Description

Returns whether there are active alarms that match the provided criteria. It is more granular than isAlarmActive. The Tag path, alarm name, and display path all support wildcards ('*'). The min and max priority expect a number between 0 (diagnostic) and 4 (critical). The pollRate parameter is only applicable in the Client scope and is optional.

When calling this from the Gateway scope, the Tag Provider must be included in the path.

Syntax

isAlarmActiveFiltered(tagPath, alarmName, displayPath, minPriority, maxPriority, allowCleared, allowAcked, allowShelved, [pollRate])

  • Parameters

String tagPath - The Tag path to search for active alarms. Accepts the wildcard '*'.

String alarmName - The alarm name to search for active alarms. Accepts the wildcard '*'.

String displayPath - The display path to search for active alarms. Accepts the wildcard '*'.

Integer minPriority - The minimum priority of alarms to accept: 0 is Diagnostic, 1 is Low, 2 is Medium, 3 is High, 4 is Critical.

Integer maxPriority - The maximum priority of alarms to accept:  0 is Diagnostic, 1 is Low, 2 is Medium, 3 is High, 4 is Critical.

Boolean allowCleared - A flag that indicates whether to accept cleared alarms.

Boolean allowAcked - A flag that indicates whether to accept acknowledged alarms.

Boolean allowShelved - A flag that indicates whether to accept shelved alarms.

Integer pollRate - The poll rate of the function in milliseconds. Only applicable in the Client scope. [optional]

  • Results

Boolean - True if there are active alarms, False if there are not.

Examples
Code Snippet
isAlarmActiveFiltered("*", "*", "*", 4, 4, 0, 1, 0)  //When any critical alarm is active, even if acknowledged, then this expression returns True.
  • No labels