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

For example:<br />

Txtt2hst.exe 02950201.txt<br />

The program creates a .hdr (header) file and converts the .txt file into a .hst binary file.<br />

4. After the program converts the file, type Exit to close the DOS window.<br />

See also:<br />

Note: You cannot create a math script for the TXT2HST.EXE program and use it in a Math<br />

worksheet to convert text files into binary format as you can for HST2TXT.EXE. The math script<br />

shortcut is available for binary files only.<br />

• Converting Trend History Files from Binary to Text<br />

• Creating Batch History<br />

• Configuring a Default Database for All Task History<br />

Creating Batch History<br />

IWS provides powerful tools that enable the user to create and manage batch historical information. The user<br />

is able to create batches by using the following formats:<br />

• Proprietary: When using the proprietary format, each batch will be stored on a different historical file. The<br />

user can save historical data in both the normal historical file and batch files at the same time (see Trend<br />

Folder for more information about these files).<br />

• Database: The historical data used for the batch is saved in the same table as the normal historical data; an<br />

additional table called BatchHistory keeps registers with the information about the batches. The list below<br />

describes the fields on the BatchHistory table:<br />

Field Name Data Type Description<br />

Group_Number Integer Trend group number. This is the number of the worksheet that you are creating to specify the<br />

tags that will be stored on your batch history.<br />

Batch_Name String Name of the batch<br />

Start_Time TimeStamp Date and Time that the batch was started.<br />

End_Time TimeStamp Date and Time that the batch was finished<br />

Pri_Table String Reserved<br />

Sec_Table String Reserved<br />

Description String Batch description<br />

Deleted Boolean 0: Batch has not been deleted<br />

1: Batch has been deleted<br />

Tip: You can customize the name of the table and the name of the columns created in the database<br />

by editing the project_name.APP file, as follows:<br />

[Trend]<br />

DefaultName=NewName<br />

[TrendGroupPRI|SEC]<br />

BatchHistory=TableName<br />

For example:<br />

[TREND001PRI]<br />

Page 266<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!