# Disable/enable Alarm in v8

**URL:** <https://forum.inductiveautomation.com/t/disable-enable-alarm-in-v8/33035>\
**Category:** Ignition Early Access\
**Created:** [March 12, 2020, 9:27am UTC](https://forum.inductiveautomation.com/t/disable-enable-alarm-in-v8/33035 "2020-03-12T09:27:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [March 12, 2020, 9:27am UTC](https://forum.inductiveautomation.com/t/disable-enable-alarm-in-v8/33035/1 "2020-03-12T09:27:26Z")

</div>

Hi  
I try to bind a tag alarm enabled to a check box to trigger Disable/enable but I get error of mismatch type.  
The tag is udt withing path;  
PT5201/PV/Alarms/HiHi.Enable  
I also try script to do it:  
system.tag.writeBlocking([“PT5201/PV/Alarms/HiHi.Enable”],[False])  
with no success. Both method worked in 7.9.10.  
Can someone tell how to Disable/enable alarm?  
Specially with binding.

---

<div class="post-metadata">

**Author:** ![mori.luca](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mori.luca/32/13424_2.png) [@mori.luca](https://forum.inductiveautomation.com/u/mori.luca)\
**Post date:** [March 12, 2020, 11:06am UTC](https://forum.inductiveautomation.com/t/disable-enable-alarm-in-v8/33035/2 "2020-03-12T11:06:31Z")

</div>

Hi,  
I think you are looking for the wrong property,  
you may find your answer here:

> [@"tag".AlarmEvalEnabled Status within a Tag Folder](http://forum.inductiveautomation.com/t/tag-alarmevalenabled-status-within-a-tag-folder/32799):
>
> Greetings, I need to check is any “tag”.AlarmEvalEnabled is FALSE within a tag folder. When the .AlarmEvalEnabled of any tag within the tag folder is set to FALSE, it should return a value of 1. Does anyone know how to do it?

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [March 12, 2020, 11:20am UTC](https://forum.inductiveautomation.com/t/disable-enable-alarm-in-v8/33035/3 "2020-03-12T11:20:02Z")

</div>

Hi  
No that’s not what I mean. I need user disable and enable individual alarm of alarms of a tag.  
Each tag can have several alarms and I want to disable it.  
I can read them easily but write command doesn’t work in v8

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [March 12, 2020, 4:49pm UTC](https://forum.inductiveautomation.com/t/disable-enable-alarm-in-v8/33035/5 "2020-03-12T16:49:07Z")

</div>

I want to not to use tag to able enable and disable alarm. For each analog tag have 4 level of alarm for that I had to define 4 additional tag to enable and disable it which cause more memory & CPU usage.  
Directly change the attribute value is more better option.

---

<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:** [March 12, 2020, 5:46pm UTC](https://forum.inductiveautomation.com/t/disable-enable-alarm-in-v8/33035/6 "2020-03-12T17:46:44Z")

</div>

> [@Overriding Properties in UDT Instances by system.tag.writeAsync()](http://forum.inductiveautomation.com/t/overriding-properties-in-udt-instances-by-system-tag-writeasync/32516/24):
>
> Would this work for you? def overrideAlarmConfig(tagPath, alarmName, alarmProperty, value): config = system.tag.getConfiguration(tagPath)[0] for alarm in config['alarms']: if alarm['name'] == alarmName: alarm[alarmProperty] = value break basePath = tagPath.rsplit('/',1)[0] system.tag.configure(basePath, config, 'm') overrideAlarmConfig("[default]PT2323/PV", "Hi", "enabled", True)

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [March 12, 2020, 6:35pm UTC](https://forum.inductiveautomation.com/t/disable-enable-alarm-in-v8/33035/7 "2020-03-12T18:35:44Z")

</div>

Thanks. You save me again.
