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

Note: Confirmation cannot be automated or bypassed; only an actual key press<br />

or mouse click by the user will acknowledge the dialog.<br />

This is an optional parameter. If no value is specified, then no dialog is displayed.<br />

Returned value<br />

Error<br />

Description<br />

0 Success<br />

1 Error<br />

2 Tag does not exist<br />

3 Reentrant error, function is already executing<br />

4 Invalid number of parameters<br />

5 Internal error, contact <strong>Technical</strong> Support for more information<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag KeyPad( "tagA" )<br />

Tag KeyPad( "tagA", "EnhKeypad" )<br />

Tag KeyPad( "tagA", "EnhKeypad", 1 )<br />

Tag KeyPad( "tagA", "EnhKeypad", 1, "My Input", 0, 100 )<br />

LogOff<br />

This function logs off the current user and then logs on the default user (typically "guest").<br />

Function Group Execution Windows Embedded Thin Client<br />

LogOff Module Activity Asynchronous Supported Supported Supported<br />

Syntax<br />

LogOff()<br />

This function takes no parameters.<br />

Returned value<br />

This function returns the following possible values:<br />

Value<br />

Description<br />

0 Error.<br />

1 Success.<br />

Examples<br />

LogOff()<br />

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

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

Saved successfully!

Ooh no, something went wrong!