Thursday, June 25, 2015

Saving Your InTouch Machine Edition Alarm History or Event Log to an External Database

By default, your Wonderware InTouch Machine Edition HMI project’s alarm history and event log are saved to proprietary-format text files in your project’s Alarms folder. However, you can change your project settings to save them to an external SQL database instead.


  1. On the Project tab of the ribbon, in the Settings group, click Options. The Project Settings dialog is displayed.
alarm history
  1. In the Alarm History and Events area, in the History Life Time box, type the number of days of history that you want to save. As the history exceeds the specified number of days, it will be automatically deleted in a first-in, first-out manner. If no number is specified — that is, if it is left blank or set to 0 — then history will never be deleted. There is no limit to how much history you can save, but the more you save, the more disk space it will take.
  2. From the History Format list, select Database.
  3. To configure a single, default database to be used for both the alarm history and the event log (as well as all other runtime tasks), in the Default Database area, click Configure. The Default Database Configuration dialog is displayed. Use the dialog to configure the database connection.
  4. To configure a separate database for either your event log or your alarm history, click Event Database or Alarm Database, respectively. In either case, a Database Configuration dialog is displayed. Use the dialog to configure the database connection.
  5. Click OK.