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

Expression<br />

GetDisplayVerticalResolution( ) // Returned value = 768<br />

GetFreeMemoryCE<br />

Returns the free memory available in a Windows Embedded device.<br />

Function Group Execution Windows Embedded Thin Client<br />

GetFreeMemoryCESystem Info Synchronous Not supported Supported Supported<br />

Syntax<br />

GetFreeMemoryCE({ | optNumType })<br />

optNumType<br />

A numeric flag that specifies which type of free memory the project should retrieve from the<br />

device:<br />

Value<br />

Description<br />

0 Total free program memory<br />

This is an optional parameter; if no value is specified, then the default is 0.<br />

Returned value<br />

>0 Size of free memory in bytes.<br />

−1<br />

−2<br />

−3<br />

−4<br />

Coredll.dll file not found.<br />

GetMemoryCE function not found.<br />

Invalid optional parameter.<br />

Type of memory unavailable.<br />

Examples<br />

Tag Name<br />

Tag<br />

Expression<br />

GetFreeMemoryCE()<br />

GetHardKeyModel<br />

Returns the model name of your Hardkey.<br />

Function Group Execution Windows Embedded Thin Client<br />

GetHardKeyModelSystem Info Synchronous Supported Not supported Executed on Server<br />

Syntax<br />

GetHardKeyModel()<br />

This function takes no parameters.<br />

Returned value<br />

If the Hardkey is installed, then the function returns a string with the Hardkey model name.<br />

If the Hardkey is not installed, then the function returns 0.<br />

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

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

Saved successfully!

Ooh no, something went wrong!