# Latest alarm popup window

**URL:** <https://forum.inductiveautomation.com/t/latest-alarm-popup-window/7708>\
**Category:** Ignition\
**Created:** [December 14, 2013, 11:08am UTC](https://forum.inductiveautomation.com/t/latest-alarm-popup-window/7708 "2013-12-14T11:08:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [December 14, 2013, 11:08am UTC](https://forum.inductiveautomation.com/t/latest-alarm-popup-window/7708/1 "2013-12-14T11:08:54Z")

</div>

[attachment=0]Alarm1.jpg[/attachment]

I would like to create a “Latest alarm popup window” as shown above.

When any new Alarm arrives:

1. This window pops up and gets operator attention by periodic bell sound untill the operator acts.

2. Every new alarm will be updated immediately in the window if it has already popped up.

3. The opertaor can silence the bell, relax the alarm for a period and acknowledge one by one or all as shown.

Pls share your experience.

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [December 27, 2013, 11:57pm UTC](https://forum.inductiveautomation.com/t/latest-alarm-popup-window/7708/2 "2013-12-27T23:57:14Z")

</div>

I would create an expression tag that holds the most recent alarm’s timestamp and use a tag change script to open the alarm status window. After that, you just need to use the normal alarm tools.

---

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [March 18, 2016, 12:04am UTC](https://forum.inductiveautomation.com/t/latest-alarm-popup-window/7708/3 "2016-03-18T00:04:38Z")

</div>

Check this post:  
[inductiveautomation.com/forum/v … 70&t=14276](https://inductiveautomation.com/forum/viewtopic.php?f=70&t=14276)

For popping up a window when a new alarm comes in, you could add a new internal property to the template (oldCount perhaps) and put the following, UNTESTED, code in the property change event of the template:

## Code: if event.propertyName == “count”: if event.source.count \> event.source.oldCount: if “Alarms/Alarm Status” not in system.gui.getOpenedWindowNames(): system.nav.openWindow(“Alarms/Alarm Status”) event.source.oldCount = event.source.count else: event.source.oldCount = event.source.count

Thanks Duffanator. It worls perfectly. That topic is locked and i could not reply there… 🙂
