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 />

BatchHistory=MyTableForPrimaryDB<br />

[TREND001SEC]<br />

BatchHistory=MyTableForSecondaryDB<br />

[Trend]<br />

Group_Number=Trend_Worksheet<br />

Batch_Name=Load_Number<br />

Batch History Configuration<br />

When you add a Trend worksheet (see Trend folder) and click the Advanced button, the following window will<br />

display:<br />

Trend Advanced Settings<br />

In the Batch pane, you can configure the saving of the batch history:<br />

• Start/Stop (input): Enter the tag that will start/stop your batches. When the tag in this field is set to TRUE<br />

(different from 0), IWS will either start saving data to your batch file (if you are using proprietary format),<br />

or add a new register to the BatchHistory table on your database, indicating that a batch has been started.<br />

Note that historical data will be saved according to the configuration in the fields Save Trigger and Save On Tag<br />

Change options on the Trend Worksheet.<br />

• Name (input): This field represents the batch name; its meaning depends on the format selected on the Trend<br />

Worksheet:<br />

• If you selected Proprietary in the Type field, the Name should comply with the format [Path],<br />

where:<br />

• Path: An optional field. If the path is not specified, the batch history file will be stored in the same<br />

path as the project_name.app file.<br />

• FileName: Name of the batch history file.<br />

• If you selected Database in the Type field, the value in this field will be stored in the Batch_Name field of the<br />

BatchHistory table.<br />

Tip: You can enter tag names between curly brackets in this field (e.g., C:\MyBatches<br />

\{MyTagWithName}{MyTagWithNumber}.hst).<br />

• Delete (input): When the tag specified in this field changes its value, the batch will be deleted. With the<br />

Proprietary format, the batch history file will be removed. With the Database format, it will set the Delete field<br />

in the BatchHistory table to true, but the saved historical data will remain. The Trend object only sees<br />

batches that have the delete field set to 0 (zero).<br />

• Existent (output): The tag entered on this field will receive the value 1 if the batch specified in the Name field<br />

already exists; otherwise the tag will receive the value 0.<br />

• Description (output): This field is available only when using the Database format. When the tag in the Start/Stop<br />

field changes to TRUE, the register that is added to the BatchHistory table will display the string in this<br />

field.<br />

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

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

Saved successfully!

Ooh no, something went wrong!