18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix: Built-in Scripting Language<br />

Tip: When using the comma character (,) as optStrSeparator, the function creates a file in the<br />

CSV format (Comma Separated Values). It is a useful tool for exporting the Trend history data from<br />

the proprietary binary format into a file that can be opened with Microsoft Excel.<br />

HST2TXTIsRunning<br />

Returns the status of the HST2TXT function.<br />

Function Group Execution Windows Embedded Thin Client<br />

HST2TXTIsRunningFile Synchronous Supported Not supported Executed on Server<br />

Syntax<br />

HST2TXTIsRunning()<br />

HST2TXTIsRunning()<br />

This function takes no parameters.<br />

Returned value<br />

Value<br />

Description<br />

0 HST2TXT is still running.<br />

-1 Last conversion process was executed properly.<br />

-2 Reserved.<br />

-3 File not found. There are no history files in the configured time interval for the group specified.<br />

-4 Cannot open history file.<br />

-5 Cannot create/open ASCII file.<br />

-6 Cannot read file information from history file.<br />

-7 Invalid file type.<br />

-8 Cannot read header information from history file.<br />

-9 Invalid number of tag in the header information (0 > nTags > 250).<br />

-10 Cannot create Header file (.hdr).<br />

-20 InStudiot.dll was not found.<br />

-30 Cannot access DLL function.<br />

LookupContains<br />

This function verifies that an external file contains the specified keyword in its key column.<br />

Function Group Execution Windows Embedded Thin Client<br />

LookupContains File Synchronous Supported Supported Supported<br />

Syntax<br />

LookupContains(strKey)<br />

strKey<br />

The keyword to look for in the file's keywords column.<br />

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

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

Saved successfully!

Ooh no, something went wrong!