90PF
Section 3
Dual Channel Programmable
Remote Operation
Filter/Amplifier Card
9
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
3.2 - 90PF Slot Card Command Reference
For 90PF 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 90PF card or any other valid
function card.
CDFC-01
also contains
Frequency Devices 90IP/PF Card Online Help.
3.2.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 to worry about adding the command terminator to commands
using GPIB. This means, for example, that 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. 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 90PF commands.
Command
Function
FREQ?\n
Query the frequency setting of the active card/channel.
CUPL?\n
Query the coupling mode of the active card/channel.
SNGL\n
Set the active card/channel to single-ended output mode.
BP\n
Configure the active card channels as a band-pass filter
CARD=1\n Set the card in slot one, “active”
1
.
PRE=10\n
Set the pre-gain of the active card/channel to 10dB.
1.
Active means to receive the focus. Every configuration command issued after this one
will affect the card in the specified slot. The \n character is dropped in GPIB communication.
Table 1 - 90PF 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.
Table 2
defines the 90PF command set.
Note:
The expected values are responses from the 90IP with no
software driver processing.
Command
Function
Expected/Set to Value
IDN?
Returns a string representing the
instrument’s identification name.
“FreqDev,90IP\n”
GPIB?
Returns a string representing the
instrument’s GPIB primary address.
A value from 00 to 30.
WHO?
Returns a string list representing the cards
present in the 90IP slots.
The list will show
every card properly inserted into a slot and
loaded into the 90IP.
“CARD 1,2,3,4\n” for a fully loaded 90IP.