18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Alarms, Events, and Trends<br />

The Project Settings dialog is displayed.<br />

Project Settings: Options<br />

2. In the Alarm History and Events area, in the History Life Time box, type the number of days of history that you<br />

want to save.<br />

As the history exceeds the specified number of days, it will be automatically deleted in a first-in, firstout<br />

manner. If no number is specified — that is, if it is left blank or set to 0 — then history will never be<br />

deleted. There is no limit to how much history you can save, but the more you save, the more disk space it<br />

will take.<br />

3. From the History Format list, select Database.<br />

4. To configure a single, default database to be used for both the alarm history and the event log (as well as<br />

all other runtime tasks), in the Default Database area, click Configure.<br />

The Default Database Configuration dialog is displayed. Use the dialog to configure the database<br />

connection. For more information, see Configuring a default database for all task history.<br />

5. To configure a separate database for either your event log or your alarm history, click Event Database or Alarm<br />

Database, respectively.<br />

In either case, a Database Configuration dialog is displayed. Use the dialog to configure the database<br />

connection. For more information, see Database Configuration.<br />

6. Click OK.<br />

Format of the alarm history<br />

The location and format of the alarm history depends on whether History Format is set to Proprietary or<br />

Database. This section describes both.<br />

When the History Format is Proprietary (default), the alarm history is saved as a series of text files in your<br />

project's Alarm folder, with one file per calendar day. The name of each file is ALyymmdd.ALH, where:<br />

• yy is the last two digits of the year in which the alarm history file was generated;<br />

• mm is the month in which the alarm history file was generated; and<br />

• dd is the day of the month on which the alarm history file was generated.<br />

Therefore, the alarm history file for 07 May 2003 is located at […]\Documents\<strong>InduSoft</strong> Web Studio v7.1<br />

Projects\projectname\Alarm\AL030507.ALH.<br />

Tip: To change where your project saves these files, use the SetAppAlarmPath function.<br />

<strong>InduSoft</strong> Web Studio Page 247

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!