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

System Info functions<br />

These functions are used get information about the computer that is running the project (either server or<br />

client, depending on the function), as well as to change some project settings on that computer.<br />

DbVersion<br />

DbVersion is a built-in scripting function that gets the version number of your project tags database.<br />

Function Group Execution Windows Embedded Thin Client<br />

DbVersion System Info Synchronous Supported Supported Supported<br />

Syntax<br />

DbVersion()<br />

This function takes no paramters.<br />

Returned value<br />

This function returns a numerical value equal to the version number of the database.<br />

Notes<br />

This function only applies to the native database within your project. There currently is no function to get the<br />

version number of an external or historical database.<br />

Examples<br />

DbVersion()<br />

GetAppHorizontalResolution<br />

Gets the default horizontal screen resolution (in pixels) of the project.<br />

Function Group Execution Windows Embedded Thin Client<br />

GetAppHorizontalResolution<br />

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

Syntax<br />

GetAppHorizontalResolution()<br />

This function takes no parameters.<br />

Returned value<br />

Returns the default value as it is stored in the project file, but does not test the Windows configuration.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag GetAppHorizontalResolution() // Returned value = 640<br />

Tag GetAppHorizontalResolution() // Returned value = 800<br />

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

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

Saved successfully!

Ooh no, something went wrong!