Welcome Guest ( Login | Register )

All times are UTC - 7 hours [ DST ]

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Clearing Alarms
PostPosted: Thu Jan 11, 2018 1:17 pm 

Joined: Thu Dec 13, 2012 2:07 pm
Posts: 16

Would like to use a tag to indicate clear all acknowledged inactive alarms.
When that tag is set, all acknowledged inactive alarms are removed from the alarm window; would like this to be automatic without the operator having to press a Clear button.

Is there a way to programmatically clear individual alarms when they are acknowledged and inactive?

 Post subject: Re: Clearing Alarms
PostPosted: Tue Feb 13, 2018 6:33 pm 

Joined: Mon Nov 20, 2017 5:29 pm
Posts: 17


This can definitely be done. I am attaching a zip file of a project that will show you how to accomplish this. But here is the scripting that makes it tick.

This script must

Acknowledge_1 and Acknowledge_All are tags i generated and can be renamed to tags that suits you.

Default_AlarmItem0 is a combination of Alarm server and the specific Alarm item so (Alarmserver)_(AlarmItem) this name may need to be modified to suit your needs.

Make sure that the Globals.AlarmServer.Default.Acknowledge(); is modified to change the alarm server name (if necessary from default)

*******End Note********

void Acknowledge_1_ValueChange(System.Object sender, Neo.ApplicationFramework.Interfaces.Events.ValueChangedEventArgs e)
if (Globals.Tags.Acknowledge_1.Value==1)

void Acknowledge_All_ValueChange(System.Object sender, Neo.ApplicationFramework.Interfaces.Events.ValueChangedEventArgs e)
if (Globals.Tags.Acknowledge_All.Value==1)


Ack_Alm_Tag.zip [37.78 KiB]
Downloaded 13 times


Beijer Support
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: