# Alarm animation

**URL:** <https://forum.inductiveautomation.com/t/alarm-animation/45656>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [April 15, 2021, 5:58pm UTC](https://forum.inductiveautomation.com/t/alarm-animation/45656 "2021-04-15T17:58:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![philippeg](https://avatars.discourse-cdn.com/v4/letter/p/e495f1/32.png) [@philippeg](https://forum.inductiveautomation.com/u/philippeg)\
**Post date:** [April 15, 2021, 5:58pm UTC](https://forum.inductiveautomation.com/t/alarm-animation/45656/1 "2021-04-15T17:58:16Z")

</div>

What would be the way to do the following  
Say you have a tag with 4 alarm level  
HIHI 90  
HI 80  
LO 20  
LOLO 10

What I’m trying to do is to animate the display of the current value of the tag based on the alarm level that it is ack or not. So say I want RED in HIHI YELLOW in HI and so on, when the value is 91 I want RED does not matter if it is ack or not, it is just above the HIHI threshold, it if goes back to 40 which is normal in my case, then I want to display Green. I seems to understand that I can animate based on ACK or NON ACK alarm but not really on CURRENT ALARM…Did I miss something ?.thanks  
Phil

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [April 15, 2021, 6:13pm UTC](https://forum.inductiveautomation.com/t/alarm-animation/45656/2 "2021-04-15T18:13:14Z")

</div>

I can’t recall in v7, but you should be able to read the “.IsActive” property for each of your alarms.

In v8 for example you can read:

```auto
Path/To/Tag/Level/Alarms/HIHI.IsActive
Path/To/Tag/Level/Alarms/HI.IsActive

```

Where ‘Path/To/Tag/Level’ is the full tag path of your tag.

---

<div class="post-metadata">

**Author:** ![philippeg](https://avatars.discourse-cdn.com/v4/letter/p/e495f1/32.png) [@philippeg](https://forum.inductiveautomation.com/u/philippeg)\
**Post date:** [April 15, 2021, 9:11pm UTC](https://forum.inductiveautomation.com/t/alarm-animation/45656/3 "2021-04-15T21:11:48Z")

</div>

What I don’t really understand is that there is no currentAlarm  
there is an AlarmHighestUnackName and an AlarmHighestackName where is the current alarm ?  
Even if the animation needs to be done by script there is no data source to do it

Thanks  
Phil

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [April 15, 2021, 11:26pm UTC](https://forum.inductiveautomation.com/t/alarm-animation/45656/4 "2021-04-15T23:26:28Z")

</div>

So in 7 there’s no ‘Alarms’ property underneath your level tag?

---

<div class="post-metadata">

**Author:** ![philippeg](https://avatars.discourse-cdn.com/v4/letter/p/e495f1/32.png) [@philippeg](https://forum.inductiveautomation.com/u/philippeg)\
**Post date:** [April 16, 2021, 12:52pm UTC](https://forum.inductiveautomation.com/t/alarm-animation/45656/5 "2021-04-16T12:52:07Z")

</div>

Hi, Sorry I was unclear, when I go to say the Label and try to bind I can select TAG. there there is a list of properties related to the alarm, see the file(upload://d39wQvUb28RPP92DivMnkiyHAWE.jpeg)

However none of this property is the current alarm, one of the them is the Highest unack alarm in the priority but it is only there as long as the alarm is unack same for ack… So what is the property that gives access to the current alarm no matter if it has been ack or not

thanks  
Phil

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [April 16, 2021, 4:24pm UTC](https://forum.inductiveautomation.com/t/alarm-animation/45656/6 "2021-04-16T16:24:32Z")

</div>

Not sure what happened to that upload, you can just copy and paste screen captures from the clipboard directly into your post.

Did you try the tag address I gave you?
