90PGA
Section 2
Dual Channel Programmable
Remote Operation
Amplifier Card
8
1784 Chessie Lane, Ottawa, IL 61350 • Tel: 800/252-7074, 815/434-7800 • FAX: 815/434-8176
e-mail: [email protected]
•
Web Address: http://www.freqdev.com
2.3 - Slot Card Command Reference
For 90PGA slot card drivers see
Set-Up Disk CDFC-01, Frequency Devices FD90IPxxx Cards
Reference
Documen
t. This document includes the commands, syntax, parameters, expected return
values, and error codes to consider when developing a software system using the instrument driver to
configure the 90PGA card or any other valid function card.
CDFC-01
also contains
Frequency Devices
90IP/PGA Card Online Help.
2.3 1 - Command Syntax and Format
To communicate with the 90IP, use ASCII characters. The commands must be issued in
UPPER
CASE ONLY
and
cannot
contain any number of embedded space characters. A command to the 90IP
consists of a command mnemonic with optional ?, optional =, arguments if necessary, and a command
terminator. In RS232, the command terminator is a <lf> (line feed) or (0A)x. In GPIB, the terminator is
a linefeed <lf> or EOI. It is important to note that the command terminator is embedded automatically
when issuing commands through GPIB. The user/developer need not worry about adding the command
terminator to commands using GPIB. Example: You may need to “drop” the “\n” character from the
string you are using as a command.
No command processing occurs until a command terminator is received. The commands are
interpreted in the same way in either RS232 or GPIB. Values returned by the 90IP are sent as a string
of ASCII characters terminated by <lf> (line feed) or (0A)x.
Table 1
shows examples of 90PGA
commands
Command
Function
CUPL?\n
Query the coupling mode of the active card/channel.
SNGL\n
Set the active card/channel to single-ended output mode.
CARD=1\n
Set the card in slot one, “active”
1
.
GAIN=10.5\n Set the gain of the active card/channel to 10.5dB.
1. Active means to receive the focus. Every configuration command issued after this one will affect
the card in the specified slot.
Table 1 - 90PGA Command Examples.
When a command is issued, the instrument controller writes a command to the 90IP first, and then
reads the result from it. If the command is a valid query command, the 90IP will return the required
information as a string of ASCII characters. For instrument parameter configuration commands, a
hexadecimal number 00 is returned to show the controller that the command has been executed
successfully. If an error occurs, a hexadecimal number 55 will be returned. All returned messages
from the 90IP will terminate with a linefeed <lf> or (0A)x.