Please enable JavaScript to view this site.

DAQFactory User's Guide

Navigation: 11 Alarming

11.4 Alarm Logging

Scroll Prev Top Next More

Alarm events are always logged.  The default file and format is "Alarms.dat" in ASCII format.  You can change the logging file and optional log to an ODBC database.  To do so:

1) Click on ALARMS: in the workspace to display the alarm summary view.

2) Click on the Set Logging File button.

3) Enter in the appropriate values, or check the Disable Logging? box to turn the built in logging off.  If Log to database? is not checked, then the file name for the ASCII file should be specified.  You should specify the full path since the DAQFactory folder is read only.  If Log to database? is checked, then you should instead specify the ODBC data source name.  Please see the chapter on Logging to see how to setup an ODBC database in windows.  Please note that the ODBC data source name IS NOT the file name of your database.

For ASCII files, data is logged in comma delimited format:

Time, Alarm Name, Description, Priority, State

For databases, the same data is logged in separate fields.  The priority is a number from 1 (log only) to 4 (critical).  State is either "F" for fired, "R" for reset, or "A" for acknowledged.