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

numModem<br />

strDialPhone<br />

strMyNumber<br />

strUser<br />

strPassword<br />

optStrDomain<br />

optAutoDial<br />

optAutoClose<br />

The modem used to dial to the Windows CE remote station.<br />

The telephone number of the Windows CE remote station.<br />

The telephone number sent to the Windows CE remote station. CERasSvr.exe will call back to<br />

this phone number.<br />

The user name to be sent to Windows CE remote station. CERasSvr.exe will use this name to<br />

connect to the Windows XP/Vista/7 computer after calling back to it.<br />

The password to be sent to Windows CE remote station. CERasSvr.exe will use this password to<br />

connect to the Windows XP/Vista/7 computer after calling back to it.<br />

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

Optional tag, which can be set to one of the following:<br />

• 1: Triggers the DialupToCE connection automatically when the function is executed<br />

• 0: Requests confirmation before triggering the DialupToCE connection automatically when<br />

the function is executed<br />

Optional tag, which can be set to one of the following:<br />

• 1: Closes the DialUpToCE dialog automatically after dialing the Windows CE remote station<br />

• 0: Leaves the DialUpToCE dialog open<br />

Returned value<br />

0 Fail, unable to call DialUpToCE.<br />

1 Success, DialUpToCE executed.<br />

Notes<br />

The DialUpToCE program was developed to dial a remote Windows CE station. Because Windows CE v3.00<br />

does not provide a RAS Server, you must be running the CERasSvr.exe program on the Windows Embedded<br />

device to answer a call, and call back to a Windows XP/Vista/7 computer using parameters sent by the<br />

DialUpToCE function. You must configure the RAS Server service on the Windows XP/Vista/7 computer to<br />

answer the call back from the Windows Embedded device and set the TCP/IP connection.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag DialUpToCE( 0, "12344321", "98765432", "Administrator", "MyPass" )<br />

Tag DialUpToCE( 0, "12344321", "98765432", "Administrator", "MyPass", "",<br />

1, 1 )<br />

Page 722<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!