
YAMAHA SR1 Provider User's Guide - 7 -
ORiN Forum DENSO WAVE Inc.
2.2. Methods and properties
2.2.1. CaoWorkspace::AddController method
SR1 provider refers to the communication connection parameters passed when the AddController method is
executed and connects communication.
The options specify the communication method and timeout period and, for Ethernet communications, the user
name, password and Telnet port number.
When using Ethernet communication, disable “echo-back” function of the YAMAHA controller. Enabling the
function will decrease the communication performance, and the echo-back data may be misrecognized by the
YAMAHA provider.
Syntax AddController(<bstrCtrlName:BSTR>,<bstrProvName:BSTR>,
<bstrPCName:BSTR>,<bstrOption:BSTR>)
Following is a list of option string items.
Table 2-2 Option character string of CaoWorkspace::AddController
Option Meaning
Conn=<Connection parameter> Mandatory. Sets the communication method
and connection parameters.
[User=<User name>] Specify the user name to log in to the
YAMAHA controller. (Default: admin)
[Password=<Password>] Specify the password to log in. (Default:
None)
[Timeout=<Timeout period>] Specify the timeout period (msec) for
transmission. (Default: 500)
2.2.1.1. Conn option
Following is communication parameter string for Conn option. Parameters inside square brackets (“[]”) can be
omitted. Underlined parts represent the default values used when the option is not specified.
・ Ethernet device
“Conn=eth:<IP Address>[:<PortNo>]”
<IP Address> : Mandatory. Destination IP address.
Example: ”127.0.0.1”, ”192.168.0.1”
<PortNo> : Destination port number.
Example: “127.0.0.1:23”, ”192.168.0.1:5010”
・ RS232C device
Komentáře k této Příručce