Command Protocol Reference Guide
A - 15
<num>
One or more <num> arguments are required to define the global channel
index (indices) of the physical channel(s) in the virtual channel. The <num>
argument is an integer argument.
As an example, consider two SoundStructure C16 devices linked via OBAM
link. The following command defines a stereo virtual channel consisting of the
last microphone on the first device and the first microphone of the second
device.
vcdef “Stereo Mics” stereo mic_in 16 17
Since this virtual channel type is stereo, an even number of <num> arguments
must be specified, otherwise an error message will be generated.
The following command creates a logic input pin called “logic input” that is
on logic pin 1
vcdef “logic input” control digital_gpio_in 1
For mono virtual channels, a single <num> argument must be specified;
otherwise an error message will be generated. For stereo virtual channels, two
<num> arguments must be specified; otherwise an error message will be
generated. The first <num> argument corresponds to the left channel, and the
second corresponds to the right channel. For control_array virtual channels
more than two <num> arguments may be specified as in the following
example.
vcdef "logic array" control_array digital_gpio_in 2 3 4
which creates a logical group using logic inputs 2, 3, and 4.
To create a channel that can report IR commands:
vcdef “ir receiver” control ir_in 1
This creates the virtual channel name “ir receiver” that will report back any IR
key presses that are received using the standard Polycom HDX IR receiver that
has been set to a device ID of 3.
digital_gpio_out The physical channel for the digital logic
output pins
analog_gpio_in The physical channel for the analog logic
input pins
ir_in The physical channel for the infrared
remote control port
Physical channel type Description