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

Syntax<br />

InfoDiskFree({ "optTagUpdateTrigger" })<br />

optTagUpdateTrigger<br />

An alphanumeric string enclosed in quotes, or the name of a String tag that contains the desired<br />

string. This string, in turn, should be the name of the tag that will trigger the function — when<br />

the value of this tag changes, the function is automatically executed. (Normally, a function<br />

executes only when it is explicity called, such as with the Command animation.) To execute the<br />

function at a regular interval, you can use one of project's system tags like Day or Month.<br />

This parameter is optional.<br />

Returned value<br />

0 No<br />

1 Yes<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: If the files on the Server are newer — that is, if this function returns TRUE — then you can use<br />

ReloadAppFromServer to update the Client.<br />

Examples<br />

Tag Name<br />

Tag<br />

Tag<br />

Expression<br />

IsAppChangedOnServer()<br />

IsAppChangedOnServer( "CheckVersion" ) // Function is automatically called when the value of<br />

CheckVersion changes.<br />

NoInputTime<br />

Returns the time elapsed since the last keyboard action.<br />

Function Group Execution Windows Embedded Thin Client<br />

NoInputTime System Info Synchronous Supported Supported Keyboard input only<br />

Syntax<br />

NoInputTime({ "optTagUpdateTrigger" })<br />

optTagUpdateTrigger<br />

Optional tag that triggers an update when this function is used in a Text Data Link animation.<br />

Every time this tag's value changes, the project triggers the function.<br />

Returned value<br />

Returns the time (in seconds) since the last keyboard action.<br />

Examples<br />

Tag Name<br />

Tag<br />

Expression<br />

NoInputTime()<br />

Page 674<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!