Command Syntax - HP 3326A Operating And Reference Manual

Two-channel synthesizer
Table of Contents

Advertisement

-
Command Syntax
HP-IB command requiring a range value or a suffix, the applicable range limit and suffix
are also listed. The following conventions apply to the HP 3326A HP-IB commands:
The HP 3326A accepts data in seven bit ASCII code and ignores the
eighth (parity) bit.
All characters other than A through Z, a through z, 0 through 9, plus
( + ) , minus ( - ) , period (.), question mark (?), and pound sign (#) are
treated as command separators. Command separators may not be
embedded in an HP-IB command mnemonic.
Two successive HP 3326A HP-IB commands must be separated by
a command separator, or the last character of the first command
may be sent with EOI.
Range values may be in integer, real, or exponential form. For posi-
tive values, only the first eleven digits of the mantissa are used. For
negative values, only the first ten digits of the mantissa are used.
Leading zeros before the decimal point are ignored.
An HP-IB mnemonic must precede any setup data or suffix.
After information is requested from the HP 3326A, the HP 3326A
responds with the information when it is addressed to talk.
The HP 3326A uses the following forms for HP-IB commands:
C O M M A N D FORM
EXAMPLE
EXAMPLE DESCRIPTION
Mnemonic EOS
"CHA"
Channel A
Mnemonic Suffix EOS
"FCNA SIN"
Sine function for channel A
Mnemonic Data EOS
"HVA 0"
High voltage off
Mnemonic Range data Suffix EOS
"AM 1 VO"
Amplitude of 1 Vrms
Mnemonic ? EOS
"FR?"
l nterrogate frequency
where:
-
mnemonic is the HP-IB mnemonic
-
EOS indicates the end of
string marker (a command separator, typically the carriage return
and line feed supplied by the controller)
-
suffix is an alphabetic code for units, function, or mode
-
data is a numeric code for a function or mode
-
range data is the value for an entry parameter
-
? is used to interrogate the HP 3326A
A program string for the HP 3326A may contain multiple HP-IB com-
mands such as "CHA FCNA SIN HVAO AM1VO FR?" For a program
string, a command separator (in this example, a space) is required
between HP-I6 commands.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents