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

Syntax<br />

SetWebConfig( strServerIP, optStrBackupURL, optStrPathFile, optNumHostPort, optStrSecondaryServe<br />

)<br />

strServerIP<br />

Data Server IP Address. IP address (or hostname) of the computer where the TCP Server module<br />

of IWS is running.<br />

optStrBackupURL<br />

Optional alternative URL for the project's Web pages. The Thin Client will look for the Web pages<br />

in this URL if it does not find them in the same URL written in the Address field of the Web<br />

browser.<br />

optStrPathFile<br />

Optional file path and name of the HTML file to be updated. If you specify only the file path<br />

without a file name, then all of the HTML files in the specified file path will be updated.<br />

optNumHostPort<br />

Note: You can specify an individual file (e.g., you only want to update one file.<br />

This is especially useful for projects running on Windows Embedded target<br />

systems.<br />

Optional TCP Port number that the Thin Client must use to exchange data with the TCP Server<br />

module of IWS.<br />

optStrSecondaryServerIP<br />

Optional alternative data server IP address. The Thin Client will attempt to connect to the TCP<br />

Server module of IWS in this IP Address if it is not able to connect to the TCP Server module<br />

running in the IP Address specified in the strServerIP parameter.<br />

optNumProtocolFlag<br />

Optional When you use the Web Tunneling Gateway option, this parameter specifies whether the<br />

Thin Client will use either HTTP to exchange data with the Web Server or HTTPS (SSL – Secure<br />

Socket Layer). If this flag has the value 0, the Thin Client will use HTTP. If this flag has the value<br />

1, the Thin Client will use HTTPS (SSL).<br />

optNumGtwPort<br />

optStrGtwIP<br />

Optional TCP Port number that the Thin Client must use to exchange data with the Web Server<br />

when using the Web Tunneling Gateway.<br />

Optional IP Address (or hostname) of the computer where the Web Tunneling Gateway is<br />

running.<br />

optStrSecondaryGtwIP<br />

Optional Alternative IP Address (or hostname) of the computer where the Web Tunneling<br />

Gateway is running. The Thin Client will attempt to connect to the Web Tunneling Gateway<br />

in this IP Address if it is not able to connect to the Web Tunneling Gateway running in the IP<br />

Address specified in the optStrGtwIP parameter.<br />

optStrISSymbolURL<br />

Optional URL from where the updated version of ISSymbol (ActiveX control) must be downloaded<br />

if it is not properly registered in the Thin Client station.<br />

Note:<br />

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

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

Saved successfully!

Ooh no, something went wrong!