Using The Api: Examples; Setting The Analog Output Level; Muting The Wave Input - Orban OPTIMOD-PC 1100 Operating Manual

Digital audio processor on a pci sound card
Table of Contents

Advertisement

OPTIMOD-PC
Control Application to the local card as you would to any card residing in a remote
computer (step 11 on page 2-13).

Using the API: Examples

These examples show how PuTTY and Plink can be used to control OPTIMOD-PC us-
ing scripting and batch files on the same computer as the OPTIMOD-PC to be con-
trolled. Plink and all associated scripting text, PuTTY, and batch files should be lo-
cated together in the same user defined directory unless the path is specified in the
.bat files.
In all examples, replace "11111111" with the addressed card's serial number and
"11101" with the card's port number. 11101 is the default; see step (7.D) on page
2-9.
Each control session requires two ASCII files:
• a .bat file that calls Plink to establish a Telnet connection to OPTIMOD-PC
• a reference.txt file that contains the actual control script.

Setting the Analog Output Level

These two functions will adjust the Analog Output Level to 0dB and –20dB re-
spectively.
The file "analog_out_level_0.bat" contains:
plink -telnet -P 11101 127.0.0.1 < analog_out_level_0.txt
The file "analog_out_level_0.txt" contains:
11111111 [password] AOL 0.0dB
disconnect
The file "analog_out_level_-20.bat" contains:
plink -telnet -P 11101 127.0.0.1 < analog_out_level_-20.txt
The file "analog_out_level_-20.txt" contains:
11111111 [password] AOL -20.0dB
disconnect

Muting the Wave Input

These two functions will mute and unmute the Wave Processed Mixer Input.
2-49
INSTALLATION

Advertisement

Table of Contents
loading

Table of Contents