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

FindAllDevices<br />

Returns the list of all the available modems and direct connection interfaces (COM ports) in the local station.<br />

Function Group Execution Windows Embedded Thin Client<br />

FindAllDevices Dial-up Synchronous Supported (see note) Supported Supported<br />

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

Syntax<br />

FindAllDevices( "tagArray" )<br />

tagArray<br />

Name of a string array tag receiving the list of available modems and direct connection<br />

interfaces.<br />

Returned value<br />

Returns the number of modems and/or interfaces found.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag FindAllDevices( "SerialConnections[1]" )<br />

FindModem<br />

Returns the list of all available modems in the local station.<br />

Function Group Execution Windows Embedded Thin Client<br />

FindModem Dial-up Synchronous Supported (see note) Supported Supported<br />

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

Syntax<br />

FindModem( "tagArray" )<br />

tagArray<br />

Name of a string array tag receiving the list of available modems.<br />

Returned value<br />

Returns the number of modems found.<br />

Notes<br />

You can use this function to get the serial interface name for a dial-up connection via modem, and then use<br />

this information to fill the strPhonebookEntryOrModem parameter for the DialError, DialStatus, DialUp,<br />

and HangUp functions.<br />

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

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

Saved successfully!

Ooh no, something went wrong!