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

2 Enable save the alarm file to local disk and to the remote path specified in the OptRemotePath parameter<br />

optRemotePath<br />

Tag containing the name of the remote computer where the alarm file will be saved<br />

simultaneously to the local computer and to the remote path when numType equals 2.<br />

Returned value<br />

0 Success<br />

1 2nd parameter is not a string<br />

2 2nd parameter is missing<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag SaveAlarmFile( 0 )<br />

Tag SaveAlarmFile( 1 )<br />

Rag SaveAlarmFile( 2, "Z:\Apps\AppDemo" )<br />

SetAppAlarmPath<br />

Sets the Alarm path for the current project.<br />

Function Group Execution Windows Embedded Thin Client<br />

SetAppAlarmPathSystem Info Synchronous Supported Supported Executed on Server<br />

Syntax<br />

SetAppAlarmPath(strPath)<br />

strPath<br />

The new Alarm path for the current project.<br />

Returned value<br />

This function does not return any value.<br />

Examples<br />

Tag Name<br />

Expression<br />

SetAppAlarmPath( "C:\Studio\Alarm\" )<br />

SetAppHSTPath<br />

Sets the file path (directory) where Trend history files will be saved, in the proprietary format ( .HST ).<br />

Function Group Execution Windows Embedded Thin Client<br />

SetAppHSTPath System Info Synchronous Supported Supported Executed on Server<br />

Syntax<br />

SetAppHSTPath(strPath)<br />

strPath<br />

The file path (directory) where Trend history files will be saved.<br />

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

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

Saved successfully!

Ooh no, something went wrong!