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.

Appendix: Built-in Scripting Language<br />

Examples<br />

Tag Name<br />

n/a<br />

Expression<br />

RegSaveCE( ) // Returned value = 0 if successful<br />

ReloadAppFromServer<br />

When executed on the Client, this function reloads the necessary project files from the Server while<br />

maintaining the current state of the project on the Client.<br />

Function Group Execution Windows Embedded Thin Client<br />

ReloadAppFromServer System Info Synchronous Supported Supported Supported<br />

Syntax<br />

ReloadAppFromServer()<br />

This function takes no paramters.<br />

Returned value<br />

This function always returns 0.<br />

Notes<br />

For this function, "Server" means the station that is actually running your project and has the TCP/IP Server<br />

module enabled, and "Client" means a Thin Client or Secure Viewer that is communicating with the Server via<br />

TCP/IP. For more information, see Configuring a Web Solution.<br />

Tip: Before calling this function, you can use IsAppChangedOnServer to check the version of the<br />

project files that are already on the Client. If the files on the Client match the files on the Server,<br />

then you may choose not to call this function.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag ReloadAppFromServer( )<br />

SaveAlarmFile<br />

Use this function to enable/disable the saving feature for alarm history and to set the path where the alarm<br />

history files must be handled.<br />

Function Group Execution Windows Embedded Thin Client<br />

SaveAlarmFile System Info Synchronous Supported Supported Not supported<br />

Syntax<br />

SaveAlarmFile( numType, optRemotePath )<br />

numType<br />

Tag containing the number and operation, as follows:<br />

0 Disable save the alarm file to the local disk<br />

1 Enable save the alarm file to local disk<br />

Page 676<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!