# Alarm Indication

**URL:** <https://forum.inductiveautomation.com/t/alarm-indication/21616>\
**Category:** Ignition\
**Created:** [December 29, 2018, 2:44am UTC](https://forum.inductiveautomation.com/t/alarm-indication/21616 "2018-12-29T02:44:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [December 29, 2018, 2:44am UTC](https://forum.inductiveautomation.com/t/alarm-indication/21616/1 "2018-12-29T02:44:43Z")

</div>

I have a main screen that has several small banner displays with system names.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/69791a6287c445c5ad3851fe300f889adeba7965.png)

They would be green if that system is ok, but turn red if the system has alarms.

all my systems have different folders . In each folder I have a alarm folder with tags that have alarm properties.  
If I can write Client script for each system to read those alarms that are active in that folder, then I turn red to that banner.

something like this for one system

IF system.tag.read(“SCADA/ACI Reverb/Reverb Alarms/alarm test1” OR SCADA/ACI Reverb/Reverb Alarms/alarm test2).value =1  
system.tag.write("[Client]Alarm Visable Local banner",“1”)  
else:  
system.tag.write("[Client]Alarm Visable Local banner",“0”)

I know script is incorrect.

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [December 29, 2018, 4:05am UTC](https://forum.inductiveautomation.com/t/alarm-indication/21616/2 "2018-12-29T04:05:08Z")

</div>

Something like this (off the top of my head, untested):

```auto
# Read alarm tags.
tags = ["SCADA/ACI Reverb/Reverb Alarms/alarm test1", "SCADA/ACI Reverb/Reverb Alarms/alarm test2"]
values = [x.value for x in system.tag.readAll(tags)]
# Turn alarm banner on if any tag values were true.
system.tag.write("[Client]Alarm Visable Local banner", True if any(values) else False)

```

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [January 17, 2019, 11:57pm UTC](https://forum.inductiveautomation.com/t/alarm-indication/21616/3 "2019-01-17T23:57:05Z")

</div>

Finally Back. It worked perfect. Thank you. Is there a way to make it Blink? Is that written in the script ?

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [January 18, 2019, 3:18am UTC](https://forum.inductiveautomation.com/t/alarm-indication/21616/4 "2019-01-18T03:18:37Z")

</div>

You could use a property binding on the fill paint.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4da5013a9cbba737addc43f824f2bc6196326e9f.png)

You can create a blinking color in the property to fill mapping in the binding.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/803f8a7801a2febb4764435a45e5d311f1433db3.png)
