Using The Api And The 1100 Control Application Simultaneously; Using The Api: Examples; Setting The Analog Output Level - Orban Optimod-PC 1101 Operating Manual

Digital audio processor pci sound card
Hide thumbs Also See for Optimod-PC 1101:
Table of Contents

Advertisement

6-4
CONTROL API

Using the API and the 1100 Control Application Simultaneously

Using the API: Examples

Setting the Analog Output Level

Command
Values
AIMG
0dB +12dB
10kHz 11kHz 12kHz 13kHz 14kHz 15kHz
MLPF1
16kHz 17kHz 18kHz 19kHz 20kHz
Table 6-2: OPTIMOD-PC System Command and Status List
IMPORTANT: it is unsafe to send commands to the API of a card within a given
computer while the Control Application is connected to that card via the Applica-
tion's "Local" connection. This can create conflicts within the OPTIMOD-PC software
that could cause system instability. Instead, you must connect the Control Applica-
tion to a local card through a "localhost" TCP/IP connection.
To do this, create a new profile, following the instructions in step 10 on page 2-10
and using IP address 127.0.0.1 (localhost). Then connect the Control Application to
the local card as you would to any card residing in a remote computer (step 11 on
page 2-12).
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-8.
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.
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:
ORBAN MODEL 1101
Function
Analog 1 Input Max Gain (dB)
Max Low Pass Frequency (kHz) 1

Advertisement

Table of Contents
loading

Table of Contents