omron — DialError

Appendix: Built-in Scripting Language Dial-up functions These functions are used to configure the computer's modem (if any) and establish dial-up connections to other computers. Note: These functions are not supported on Windows 7. DialError Returns the error codes regarding each connection. Syntax DialError( numType , strPhonebookEntryOrModem , " optError ", optRefresh ) numType A numeric flag that specifies the content of the strPhonebookEntryorModem parameter. • 0: Phonebook Name • 1: Modem Name strPhonebookEntryOrModem • 2: Direct Connection Name The Phonebook Name, Modem Name, or Direct Connection Name used to make the connection.

The numType parameter specifies which of these methods is used. optError Optional The name of the string tag receiving the Error Message. Note: The tag name must be enclosed in quotes, as shown in the syntax diagram, or else the project will try to get the value of the named tag. optRefresh Optional tag, which causes the function to update its return value. This parameter is optional but you must use it when configuring this function for an object animation (e.g., Text Data Link, Position). Returned value Page 598 InduSoft Web Studio Function Group Execution Windows Embedded Thin Client DialError Dial-up Synchronous Supported (see note) Supported Supported Value Description 0 OK −1 Error:

INDRas.DLL not found. −2 Error: INDRas.DLL damaged. −3 Error: invalid number of parameters (minimum=2). -4 Invalid value for the numType parameter (0 or 1). -5 PhoneBook or Modem does not exist. 600 An operation is pending. 601 The port handle is invalid. 602 The port is already open. 603 Caller's buffer is too small. 604 Wrong information specified.