IsAlarmActive Through Script

Is there a way to figure out if there is an active alarm for a tag through script? I see that you can do it using the isAlarmActive expression function but I would like to access it via script instead.

There sure is.

1 Like

If you care about a particular tag, but not which particular alarm, you could also just read the alarm active sub-property of the tag.

1 Like

This is exactly what I needed. I just need to know if there is any active alarm on the tag. I didn’t realize you could read the sub-properties of the tag by using Thank you!