R3131 Spectrum Analyzer Operation Manual
4.1 GPIB Remote Programming
4-14 Apr 10/98
4.1.9 GPIB Command Codes
The following tables list the GPIB commands by function.
Listener Code Column: An asterisk (*) in the Listener Code Column indicates that the function
requires numeric data together with the function code.
The sign /***/ in the Listener Code Column indicates that the function requires
character string data together with the function code.
[ON], [ON,] and numeric data are omissible.
String data such as file name, label and so on can receive characters, which are
found after the command and prior to the delimiter, as input values. However,
when data begins with a “/”, the characters between “/” and “/” are received as
input.
Output Format Column: A comma (,) in the Output Format column indicates that multiple items are
output.
ON/OFF or AUTO/MANUAL in the Output Format column indicates that the
code outputs 1 or 0, respectively.
All frequencies are in hertz (Hz), and all times are in seconds. Levels are
output in the currently displayed unit.
Table 4-1 Frequency
Function Listener Code
Talker Request
Code Output Format
Center frequency CF* CF? Center frequency
CF Step size CS* CS? CF Step frequency
CF Step AUTO CA CA? 0:Manual/ 1:Auto
Start frequency FA* FA? Start frequency
Stop frequency FB* FB? Stop frequency
Frequency span SP* SP? Span frequency
Full span FS ––– –––
Zero span ZS ––– –––
Peak zoom PKZOOM ––– –––
Last span LTSP ––– –––
LSPAN ––– –––