Page 1 of 1

Alarm Server Backup

Posted: Wed Nov 28, 2012 10:37 am
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?

Re: Alarm Server Backup

Posted: Wed Nov 28, 2012 10:57 am
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.