Page 1 of 1

Alarm distribution

Posted: Tue Jul 17, 2012 8:20 am
by hans gerritsen
Hi,

I am working with a TxC panel trying to find a good solution for alarm distribution.

I am using the same application for several customers. But with alarm distribution every customer needs his own list of receivers. As long as this list is 'hard-coded' in the 'alarm distributor' I can't send an 'universal' application update to all customers. If there would be a way to read a list of receivers automatically from an external file while opening the application I would be much easier. I could send a standard application update to all customers and I could also do an update of only this file without having to update the whole application. Is this possible?

The subject field of the e-mail device properties would likely to be different for each customer. Is it possible to use a tag for this field?

While doing I/O testing, I don't want all the alarms to be distributed.
Is it possible to disable/enable the email/sms-distribution by a tag?

Best regards

Hans

Re: Alarm distribution

Posted: Tue Jul 17, 2012 9:54 am
by mark.monroe
Hi Hans,

You can edit the AlarmDistributor.xml and the AddressBook.xml file and then replace them in the project files you send out. You can have a different one for each customer. The files are relatively simply xml, and you should be able to figure them out by simply opening them up in a text editor.

There is no way to put a tag text into an email, unless you create the email yourself using a script. There is a demo project called "Script_email" that is part of the samples that come with iX. Those can be found on the "Samples" tab right next to the "Recent Projects" tab in the dialog box that comes up when you first open iX.

You can enable/disable all your alarms using a tag here:
Snap 2012-07-17 at 10.52.10.jpg
Snap 2012-07-17 at 10.52.10.jpg (48.07 KiB) Viewed 9339 times

Re: Alarm distribution

Posted: Wed Jul 18, 2012 1:03 am
by hans gerritsen
Thanks a lot!

I presume the whole alarmserver is disabled with the tag you mentioned. I would rather just disable the distribution but I don't think that is possible with a single tag.

Hans

Re: Alarm distribution

Posted: Wed Jul 25, 2012 7:14 am
by mark.monroe
Hi Hans,

The "Tag to enable/disable alarms" setting in the alarm server disables the distribution of all alarms. You can also programatically enable/disable distribution of alarm groups if you want via the below alarm group property.


Code: Select all

//Default1 is an alarm group
Globals.AlarmServer.Default1.EnableDistribution = false;