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

optStrDomain<br />

Optional The domain name to specify when logging on.<br />

strPhoneNumber<br />

The phone number to dial (used only when the parameter numType=1).<br />

Returned value<br />

0 OK: dialing started<br />

−1<br />

−2<br />

−3<br />

Error: INDRAS.DLL not found<br />

Error: INDRAS.DLL damaged<br />

Error: invalid number of parameters (minimum=5)<br />

-4 Invalid value for the numType parameter (0 or 1)<br />

-5 Invalid value for the strPhonebookEntryOrModem parameter (string)<br />

-6 PhoneBook or Modem does not exist<br />

-7 PhoneBook or Modem is in use<br />

-8 Depends of the numType parameter:<br />

• If numType = 0: Could not read properties from PhoneBook.<br />

• If numType = 1: More than 1000 connections are enabled at same time.<br />

-9 Unable to create a temporary PhoneBook.<br />

Notes<br />

The operating system's RAS Server executes the dial-in for Windows PC stations automatically.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag DialUp( 0, "OfficeDialup", "Guest", "Password" )<br />

Tag<br />

DialUp( 1, "USRobotics_SportsterFaxModem", "HR12378", "HRPass",<br />

"15125554321" )<br />

Tag DialUp( 2, "DirectDial", "Rberton", "MyPassword", "156.48.25.0")<br />

See also: FindModem()<br />

DialUpToCE<br />

Runs the DialUpToCE program, which sends the information necessary to CERasSvr.exe calls back to the<br />

Server.<br />

Function Group Execution Windows Embedded Thin Client<br />

DialUpToCE Dial-up Asynchronous Supported (see note) Not supported Supported<br />

Note: This function is not supported on Windows 7.<br />

Syntax<br />

DialUpToCE( numModem, strDialPhone, strMyNumber, strUser, strPassword, optStrDomain, optAutoDial<br />

)<br />

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

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

Saved successfully!

Ooh no, something went wrong!