Alarm Server Backup

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
jmsmoreira
Posts: 28
Joined: Mon Apr 23, 2012 7:03 am

Alarm Server Backup

Post by jmsmoreira »

Hi,

I have a T10A , with an alarm server set to max logs 1000.
Is there a way to know that this limit was reached, export the alarms to the USB, and then clear the list?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Alarm Server Backup

Post by mark.monroe »

You would have to write a script to do it. There are many forum posts on how to query a database. The alarms are stored in the database.sdf file along with the datalogger data.

The alarm server has events that you can add code to so as to track how many alarms have fired. Then you need to use the ValueChange event of a Tag to trigger your queries and other code to query the database, save the tags to a file, transfer that file to the USB stick, and then delete the data in the alarm table.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply