Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes
that in all previously published material. Specifications and price change privileges reserved.
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
Contacting Tektronix
Tektronix, Inc.
14200 SW Karl Braun Drive
P.O. Box 500
Beaverton, OR 97077
USA
For product information, sales, service, and technical support:
HIn North America, c all 1-800-833-9200.
HWorldwide, visit www.tektronix.com to find contacts in your area.
This programmer manual is for the RSA2203A and RSA2208A Real-Time
Spectrum Analyzers. It provides information on operating your analyzer using
the General Purpose Interface Bus (GPIB).
This manual is composed of the following sections:
HGetting Started outlines how to use the GPIB interface.
HSyntax and Commands defines the syntax used in command descriptions,
presents a list of all command subsystems, and presents detailed descriptions
of all programming commands.
HStatus and Events describes how the status and Events Reporting system
operates and presents a list of all system errors.
HProgramming Examples describes some example analyzer programs.
HAppendices provides additional information including character charts, GPIB
interface specification, and factory initialization settings.
Related Manual
RSA2203A and RSA2208A User Manual
(Standard accessory; Tektronix part number 071-1334-XX)
Describes how to install the analyzer and how to work with the menus and
details the functions.
Difference between RSA2203A and RSA2208A
RSA2203A and RSA2208A have the same functions except for their measurement frequency ranges:
RSA2203ADC to 3 GHz. . . . . . . . .
RSA2208ADC to 8 GHz. . . . . . . . .
Unless otherwise noted, descriptions in this manual apply to both.
RSA2203A & RSA2208A Programmer Manual
ix
Preface
x
RSA2203A & RSA2208A Programmer Manual
Getting Started
Getting Started
You can write computer programs that remotely set the analyzer front panel
controls or that take measurements and read those measurements for further
analysis or storage.
To help you get started with programming the analyzer, this section includes the
following sections:
HOverview of the Manual
Summarizes the type of programming information contained in each major
section of this manual.
HConnecting the Interface
Describes how to physically connect the analyzer to a controller.
HUsing GPIB Ports
Describes how to use the GPIB port.
HSetting the GPIB Parameters from the Front Panel
Describes how to set the GPIB parameters from the front panel.
HUsing TekVISA
Describes how to use the TekVISA communication protocol.
RSA2203A & RSA2208A Programmer Manual
1-1
Getting Started
Overview of the Manual
The information contained in each major section of this manual is described
below.
Syntax and Commands
:CALCulate Commands
:TRIGger
:ABORt Commands
IEEE Common Commands
*CAL?
*CLS
*ESE
*ESR
*IDN?
*OPC
Section 2, Syntax and Commands, describes the structure and content of the
messages your program sends to the analyzer. Figure 1–1 shows command parts
as described in the Command Syntax subsection.
Command parts
Header
Comma
:MMEMory:COPYFILE1,FILE2
Mnemonics
Figure 1-1: Command parts
Section 2 also describes the effect of each command and provides examples of
how you might use it. The Command Groups section provides lists by functional
areas. The IEEE Common Commands and the subsequent sections arrange
commands alphabetically (Figure 1–2).
ArgumentsSpace
:CALCulate:MARKer:X
:CALCulate:MARKer:AOFF
S
A
E
:CALCulate:DLINe
S
A
Syntax: . . .
E
Arguments:
Examples: . . .
Commands grouped in functional areasCommands listed alphabetically
Figure 1-2: Functional groupings and an alphabetical list of commands
1-2
RSA2203A & RSA2208A Programmer Manual
Getting Started
Status and Events
The program may request information from the analyzer. The analyzer provides
information in the form of status and error messages. Figure 1–3 illustrates the
basic operation of this system.
Section 3, Status and Events, describes how to get status or event information
from the program and details the event and error messages.
Your program requests
status and event reports.
Controller
The analyzer sends status and event reports.
RSA2203A/RSA2208A
GPIB cable
Figure 1-3: EventĆdriven program
Programming Examples
Section 4, Programming Examples, includes Visual C++ source code as well as
sample programs for running macro programs.
Figure 1-4: Sample program (Visual C++ source code)
RSA2203A & RSA2208A Programmer Manual
1-3
Getting Started
Connecting the Interface
The analyzer has a 24-pin GPIB connector on its rear panel, as shown in
Figure 1–5. This connector has a D-type shell and conforms to IEEE Std
488.1–1987.
Attach an IEEE Std 488.1-1987 GPIB cable (Tektronix part number
012-0991-00) to this connector.
GPIB connector
1-4
Figure 1-5: GPIB connector (rear panel)
Appendix B: GPIB Interface Specifications gives more information on the GPIB
configuration of the analyzer.
For the other interfaces, refer to the RSA2203A and RSA2208A User Manual.
RSA2203A & RSA2208A Programmer Manual
Using the GPIB Port
Getting Started
The analyzer has Talker/Listener functions through which it can communicate
with other devices, as well as the external controller, located on the bus.
GPIB
ControllerUsing the analyzer as a talker or listener
Figure 1-6: GPIB connection
GPIB Requirements
Observe these rules when you use your analyzer with a GPIB network:
HAssign a unique device address to each device on the bus. No two devices
can share the same device address.
HDo not connect more than 15 devices to any one bus.
HConnect one device for every 2 meters (6 feet) of cable used.
HDo not use more than 20 meters (65 feet) of cable to connect devices to a
bus.
HTurn on at least two-thirds of the devices on the network while using the
network.
HConnect the devices on the network in a star or linear configuration as shown
in Figure 1–7. Do not use loop or parallel configurations.
GPIB Device
GPIB Device
GPIB Device
GPIB Device
GPIB Device
GPIB Device
Figure 1-7: Typical GPIB network configurations
RSA2203A & RSA2208A Programmer Manual
GPIB Device
1-5
Getting Started
Setting the GPIB Parameters from the Front Panel
Use the SYSTEM → Remote Setup menu to set the GPIB parameters as
required for the bus configuration. Once you have set the parameters, you can
control the analyzer through the GPIB interface.
Display Brightness
Reset All to Factory Defaults
Remote Setup...
Version and Installed Options...
Instrument Setup...
Remote Interface
GPIB Setup...
Ethernet Setup...
Off/On
GPIB Address
Connection Mode...
GPIB Port
TekVISA
Figure 1-8: Remote Setup menu
Remote Setup Menu
The Remote Setup menu contains the following controls:
Remote Interface. Turns on or off the connection between the analyzer and the
interface bus.
GPIB Setup... Sets the GPIB address and connection mode.
GPIB Address. Sets the GPIB address of the analyzer when GPIB Port is
selected as the Connection Mode. Range: 0 to 30 (default: 1)
Connection Mode. Selects the physical GPIB port or the virtual (TekVISA)
connection method.
HGPIB Port.Default. Uses the IEEE488.2 connector on the rear panel of the
analyzer to communicate with an external controller.
Refer to the next section Setting up the GPIB port for the procedure.
HTekVISA. Uses TekVISA to communicate with test instrumentation through
Ethernet (LAN connector on the side panel of the analyzer), and also to run a
control program locally on the analyzer.
Refer to Using TekVISA on page 1–8 for more information.
1-6
RSA2203A & RSA2208A Programmer Manual
Getting Started
Ethernet Setup... Not available currently. Use the Windows XP Control Panel to
set up networking parameters.
Setting Up the GPIB Port
When you use the GPIB port, follow these steps to set the parameters:
1. Press the SYSTEM key in the UTILITY block on the front panel.
2. Press the side key Remote Setup...→ GPIB Setup...
Remote Setup menu
Remote Interface
Selects whether the connection
between the analyzer and GPIB
is turned on or off.
GPIB Setup...
Sets the GPIB parameters (GPIB
address and connection mode).
Figure 1-9: Setting the GPIB parameters
3. Press the Connection Mode... side key and select GPIB Port.
4. Press the GPIB Address side key and set the address using either the
general purpose knob or the numeric keypad.
NOTE. The GPIB address cannot be initialized with *RST command.
5. Press the Cancel–Back (top) side key and then the Remote Interface
side key to select On.
To disconnect the analyzer from the bus:
HPress the Remote Interface side key to select Off.
When the analyzer is disconnected from the bus, all the communication
processes with the controller are interrupted.
RSA2203A & RSA2208A Programmer Manual
1-7
Getting Started
Using TekVISA
TekVISA is Tektronix implementation of VISA (Virtual Instrument Software
Architecture), an industry-standard communication protocol. It allows you to
write programs using the WCA200A Series SCPI command set to control the
instrument through interfaces besides the built-in IEEE 488.2 port. Programs are
written to execute on the local or remote controller. The WCA200A Series
implementation of TekVISA includes a subset of the TekVISA functionality
offered on Tektronix oscilloscopes. The Virtual GPIB (GPIB8), GPIB, and LAN
(VXI-11 protocol) interfaces are supported, but not the ASRL interface.
NOTE. The details on TekVISA concepts and operations are explained in the
TekVISA Programmer Manual. Refer to Installing TekVISA described below for
accessing the files.
Be aware of the following points:
HIf TekVISA is not installed or has not been activated, and you select
TekVISA as the connection mode, the instrument still attempts to connect to
TekVISA. This does not hang up the instrument, but the GPIB port is taken
off-line until you select GPIB Port as the connection mode again.
Installing TekVISA
HApplications which are designed to execute locally on the instrument need to
share the Windows processor with the measurement calculation software of
the analyzer. If the controller application is very compute-intensive, it will
slow down the analyzer application significantly.
The TekVISA tools are not installed when you receive the instrument.
Use the following procedure to install the tools.
To use TekVISA, these conditions must be satisfied:
HWindows XP is used as the instrument’s operating system.
Instruments using Windows 98SE must be upgraded to Windows XP for
TekVISA to operate properly.
HA TekVISA-compatible version of the analyzer application is installed and
running on the instrument. Version must be greater than 3.00.000.
HTekVISA is installed on the instrument. Version 2.03 is recommended.
1-8
RSA2203A & RSA2208A Programmer Manual
Getting Started
The TekVISA-related files are on the internal hard disk of the analyzer
in these directories:
HC:\Tektronix\TekVISA\installer contains the TekVISA installer.
HC:\Tektronix\TekVISA\manual contains the TekVISA Programmer Manual.
Use the following steps to install the TekVISA tools on your analyzer:
NOTE. For details on accessing Windows XP on the analyzer, refer to the
RSA2203A and RSA2208A User Manual.
1. Connect a USB mouse and keyboard to the USB ports on the side panel of
the analyzer.
2. Display the Windows XP desktop on the screen.
3. Find the setup.exe file in the C:\Tektronix\TekVISA\installer directory
using Windows Explorer or other file access methods.
4. Run setup.exe and follow the instructions.
The TekVISA Programmer Manual is found in the C:\Tektronix\TekVISA\manual
directory.
RSA2203A & RSA2208A Programmer Manual
1-9
Getting Started
1-10
RSA2203A & RSA2208A Programmer Manual
Syntax and Commands
Command Syntax
This section contains information on the Standard Commands for Programmable
Instruments (SCPI) and IEEE 488.2 Common Commands you can use to
program your RSA2203A/RSA2208A analyzer. The information is organized in
the following subsections:
HBackus-Naur Form Definition
HSCPI Commands and Queries
HIEEE 488.2 Common Commands
HConstructed Mnemonics
BackusĆNaur Form Definition
This manual may describe commands and queries using the Backus-Naur Form
(BNF) notation. Table 2–1 defines the standard BNF symbols:
Table 2-1: BNF symbols and meanings
SymbolMeaning
<ą>Defined element
::=Is defined as
|Exclusive OR
{ą}Group; one element is required
[ą]Optional; can be omitted
.ă.Ă.Previous element(s) may be repeated
(ą)Comment
RSA2203A & RSA2208A Programmer Manual
2-1
Command Syntax
SCPI Commands and Queries
SCPI is a standard created by a consortium that provides guidelines for remote
programming of instruments. These guidelines provide a consistent programming environment for instrument control and data transfer. This environment
uses defined programming messages, instrument responses, and data format
across all SCPI instruments, regardless of manufacturer. The analyzer uses a
command language based on the SCPI standard.
The SCPI language is based on a hierarchical or tree structure (see Figure 2–1)
that represents a subsystem. The top level of the tree is the root node; it is
followed by one or more lower-level nodes.
TRIGger
SEQuence
POLarity
SOURceLEVel
Root node
LowerĆlevel nodes
Figure 2-1: Example of SCPI subsystem hierarchy tree
You can create commands and queries from these subsystem hierarchy trees.
Commands specify actions for the instrument to perform. Queries return
measurement data and information about parameter settings.
2-2
RSA2203A & RSA2208A Programmer Manual
Command Syntax
Creating Commands
Creating Queries
Query Responses
SCPI commands are created by stringing together the nodes of a subsystem
hierarchy and separating each node by a colon.
In Figure 2–1, TRIGger is the root node and SEQuence, LEVel, POLarity, and
SOURce are lower-level nodes. To create a SCPI command, start with the root
node TRIGger and move down the tree structure adding nodes until you reach
the end of a branch. Most commands and some queries have parameters; you
must include a value for these parameters. If you specify a parameter value that
is out of range, the parameter will be set to a default value. The command
descriptions, which start on page 2–33, list the valid values for all parameters.
For example, TRIGger:SEQuence:SOURce EXT is a valid SCPI command
created from the hierarchy tree in Figure 2–1.
To create a query, start at the root node of a tree structure, move down to the end
of a branch, and add a question mark. TRIGger:SEQuence:SOURce? is an
example of a valid SCPI query using the hierarchy tree in Figure 2–1.
The query causes the analyzer to return information about its status or settings.
When a query is sent to the analyzer, only the values are returned. When the
returned value is a mnemonic, it is noted in abbreviated format, as shown in
Table 2–2.
Table 2-2: Query response examples
QueryResponse
:DISPlay:OVIew:SGRam:X:SPAN?10.0E+6
:SENSe:AVERage:TYPE?RMS
A few queries also initiate an operation action before returning information. For
example, the *CAL? query runs a calibration.
RSA2203A & RSA2208A Programmer Manual
2-3
Command Syntax
Parameter Types
Every parameter in the command and query descriptions is of a specified type.
The parameters are enclosed in brackets, such as <value>. The parameter type is
listed after the parameter and is enclosed in parentheses, for example, (discrete).
Some parameter types are defined specifically for the RSA2200 Series command
set and some are defined by ANSI/IEEE 488.2-1987 (refer to Table 2–3).
Table 2-3: Parameter types used in syntax descriptions
Parameter typeDescriptionExample
arbitrary block
booleanBoolean numbers or valuesON or 1; OFF or 0
discreteA list of specific valuesMIN, MAX, UP, DOWN
binaryBinary numbers#B0110
octalOctal numbers#Q57, #Q3
hexadecimal
2,3
NR1
1
A specified length of arbitrary data#512234xxxxx...
where 5 indicates that the followĆ
ing 5 digits (12234) specify the
length of the data in bytes;
xxxxx ... indicates the data
2
Hexadecimal numbers
#HAA, #H1
(0-9, A, B, C, D, E, F)
numericIntegers0, 1, 15, -1
NR22numericDecimal numbers1.2, 3.141516, -6.5
NR32numericFloating point numbers3.1415E-9, -16.1E5
NRf2numericFlexible decimal number that may
be type NR1, NR2 or NR3
4
string
Alphanumeric characters
See NR1, NR2, and NR3 examĆ
ples
Testing 1, 2, 3"
(must be within quotation marks)
1
Defined in ANSI/IEEE 488.2 as Definite Length Arbitrary Block Response Data."
2
An ANSI/IEEE 488.2-1992Ćdefined parameter type.
3
Some commands and queries will accept a hexadecimal value even though the
parameter type is defined as NR1.
4
Defined in ANSI/IEEE 488.2 as String Response Data."
2-4
RSA2203A & RSA2208A Programmer Manual
Command Syntax
SCPIĆdefined Parameters. In addition to the ANSI/IEEE 488.2-1987-defined
parameters, RSA2200 Series support the following SCPI-defined parameters.
H<NRf> for boolean
OFF|ON|0|1|<NRf>
You can use <NRf> for boolean parameter. The values other than zero (OFF)
are regarded as one (ON).
HMAXimum and MINimum for numeric parameters
You can use MAXimum and MINimum for the numeric parameter <NRf>.
The following example sets the trigger level to the maximum (100%).
:TRIGger[:SEQuence]:LEVel:IF MAXimum
The commands that have numeric parameters support the following query:
<header>? { MAXimum | MINimum }
The query command returns the maximum or minimum acceptable value for
the command. For example,
:TRIGger[:SEQuence]:LEVel:IF? MAXimum
returns 100 indicating the maximum trigger level is 100%.
HUP and DOWN for numeric parameters
The [:SENse]:FREQuency:CENTer command (refer to page 2–272) supports
UP and DOWN for the numeric parameters. The increment/decrement of
UP/DOWN is determined by one of these commands:
The Line Feed (LF) character (ASCII 10), and all characters in the range of
ASCII 127-255 are defined as special characters. These characters are used in
arbitrary block arguments only; using these characters in other parts of any
command yields unpredictable results.
You can abbreviate most SCPI commands, queries, and parameters to an
accepted short form. This manual shows these short forms as a combination of
upper and lower case letters. The upper case letters indicate the accepted short
form of a command. As shown in Figure 2–2, you can create a short form by
using only the upper case letters. The accepted short form and the long form are
equivalent and request the same action of the instrument.
Long form of a command
Accepted short form of a
command and parameter
ulate3:MARKer:Y 50
:CALC
Minimum information needed for
accepted short form
CALC3:MARK:Y 50
Figure 2-2: Example of abbreviating a command
NOTE. The numeric suffix of a command or query may be included in either the
long form or short form; the analyzer will default to “1” if no suffix is used. In
Figure 2–2, the “3” of “CALC3” indicates that the command is directed to
View 3.
2-6
RSA2203A & RSA2208A Programmer Manual
Command Syntax
Chaining Commands and
Queries
You can chain several commands or queries together into a single message. To
create a chained message, first create a command or query, add a semicolon (;),
and then add more commands or queries and semicolons until the message is
complete. If the command following a semicolon is a root node, precede it with a
colon (:). Figure 2–3 illustrates a chained message consisting of several
commands and queries. The single chained message should end in a command or
query, not a semicolon. Responses to any queries in your message are separated
by semicolons.
Response from first queryResponse from second query
First query
100;1.2E+9
Figure 2-3: Example of chaining commands and queries
If a command or query has the same root and lower-level nodes as the previous
command or query, you can omit these nodes. In Figure 2–4, the second
command has the same root node (TRIG:SEQuence) as the first command, so
these nodes can be omitted.
Figure 2-4: Example of omitting root and lowerĆlevel nodes in a chained message
RSA2203A & RSA2208A Programmer Manual
2-7
Command Syntax
Unit and SI Prefix
If the decimal numeric argument refers to amplitude, frequency, or time, you can
express it using SI units instead of using the scaled explicit point input value
format <NR3>. (SI units are units that conform to the System International
d’Unites standard.) For example, you can use the input format 200 mV or
1.0 MHz instead of 200.0E–3 or 1.0E+6, respectively, to specify voltage or
frequency.
Table 2–4 lists the available units:
Table 2-4: Available units
SymbolMeaning
dBdecibel (relative amplitude)
dBmdecibel (absolute amplitude)
DEGdegree (phase)
Hzhertz (frequency)
PCTpercent (%)
ssecond (time)
Vvolt
The available SI prefixes are shown in Table 2–5 below:
Table 2-5: Available SI prefixes
10
1
GTPEEX
+6
10
+9
SI prefixAFPNUMKMA
Corresponding power 10
1
When the unit is Hz", M" may be used instead of MA" so that the frequency can be represented by MHz".
-18
10
-15
10
-12
10
-9
10
-6
10
-3
10
+3
You can omit a unit in a command, but you must include the unit when using a
SI prefix. For example, frequency of 15 MHz can be described as follows:
15.0E6, 1.5E7Hz, 15000000, 15000000Hz, 15MHz, etc.
(“15M” is not allowed.)
Note that you can use either lower or upper case units and prefixes. The
following examples have the same result, respectively.
170mhz, 170mHz, 170MHz, etc.
250mv, 250mV, 250MV, etc.
10
+12
10
+15
10
+18
2-8
RSA2203A & RSA2208A Programmer Manual
Command Syntax
General Rules
Here are three general rules for using SCPI commands, queries, and parameters:
HYou can use single (‘ ’) or double (“ ”) quotation marks for quoted strings,
but you cannot use both types of quotation marks for the same string.
correct:“This string uses quotation marks correctly.”
correct:‘This string also uses quotation marks correctly.’
incorrect:“This string does not use quotation marks correctly.’
HYou can use upper case, lower case, or a mixture of both cases for all
commands, queries, and parameters.
SENSE:SPECTRUM:FFT:LENGTHĂ1024
is the same as
sense:spectrum:fft:lengthĂ1024
and
SENSE:spectrum:FFT:lengthĂ1024
NOTE. Literal strings (quoted) are case sensitive. For example: file names.
HNo embedded spaces are allowed between or within nodes.
correct:SENSE:SPECTRUM:FFT:LENGTHĂ1024
incorrect:SENSE: SPECTRUM: FFT: LEN GTHĂ1024
RSA2203A & RSA2208A Programmer Manual
2-9
Command Syntax
IEEE 488.2 Common Commands
Description
Command and Query
Structure
ANSI/IEEE Standard 488.2 defines the codes, formats, protocols, and usage of
common commands and queries used on the interface between the controller and
the instruments. The analyzer complies with this standard.
The syntax for an IEEE 488.2 common command is an asterisk (*) followed by a
command and, optionally, a space and parameter value. The syntax for an
IEEE 488.2 common query is an asterisk (*) followed by a query and a question
mark. All of the common commands and queries are listed in the last part of the
Syntax and Commands section. The following are examples of common
commands:
H*ESE 16
H*CLS
The following are examples of common queries:
H*ESR?
H*IDN?
2-10
RSA2203A & RSA2208A Programmer Manual
Constructed Mnemonics
Some header mnemonics specify one of a range of mnemonics. For example, a
channel mnemonic can be either CALCulate1, CALCulate2, CALCulate3, or
CALCulate4. You use these mnemonics in the command just as you do any other
mnemonic. For example, there is a :CALCulate1:MARKer:MODE command, and
there is also a :CALCulate2:MARKer:MODE command. In the command
descriptions, this list of choices is abbreviated as CALCulate<x>. The value of
<x> is the upper range of valid suffixes. If the numeric suffix is omitted, the
analyzer uses the default value of “1”.
Command Syntax
Table 2-6: Constructed mnemonics
SymbolMeaning
CALCulate<x>A view specifier where <x>=1to4.
DLINe<x>A horizontal display line specifier where <x>=1or2.
VLINe<x>A vertical display line specifier where <x>=1or2.
MARKer<x>A marker specifier where <x>=1or2.
TRACe<x>
DATA<x>
A trace specifier where <x>=1or2.
RSA2203A & RSA2208A Programmer Manual
2-11
Command Syntax
2-12
RSA2203A & RSA2208A Programmer Manual
Command Groups
This section lists the RSA2200 Series analyzer commands in two ways. It first
presents them by functional groups. It then lists them alphabetically. The
functional group list starts below. The alphabetical list provides more detail on
each command and starts on page 2–33.
The RSA2200 Series analyzers conform to the Standard Commands for
Programmable Instruments (SCPI) 1999.0 and IEEE Std 488.2-1987 except
where noted.
Items followed by question marks are queries; items without question marks are
commands. Some items in this section have a question mark in parentheses (?) in
the command header section; this indicates that the item can be both a command
and a query.
Each command may be available or unavailable, depending on the current
measurement mode. The “Measurement Modes” item in each command
description shows the measurement mode in which the command is available. To
set the measurement mode, use the :INSTrument[:SELect] command (refer to
page 2–191) using one of the mnemonics listed below:
Table 2-7: Measurement mode
MnemonicMeaning
SANORMALNormal spectrum analysis
SASGRAMSpectrum analysis with spectrogram
SARTIMERealĆtime spectrum analysis
SAZRTIMERealĆtime spectrum analysis with zoom function
DEMADEMAnalog modulation analysis
TIMCCDFCCDF analysis
TIMTRANTime characteristic analysis
TIMPULSEPulse characteristics analysis
For the conventions of notation in this manual, refer to Command Syntax on
page 2-1 and following pages.
RSA2203A & RSA2208A Programmer Manual
2-13
Command Groups
Functional Groups
The commands are divided into the groups listed below.
Table 2-8: List of command groups
Command groupFunction
IEEE commonConforms to the IEEE Std 488.2Ć1987.
:ABORtResets and restarts sweep, measurement, and trigger.
:CALCulateControls the markers and the display line.
:CALibrationCalibrates the analyzer.
:CONFigureConfigures the analyzer for each measurement session.
:DISPlayControls how to show waveform and measurement result on screen.
:FETChRetrieves the measurements from the data last acquired.
:FORMatSets the output data format.
:HCOPyControls screen hardcopy.
:INITiateControls data acquisition.
:INPutSets the inputĆrelated conditions.
:INSTrumentSelects a measurement mode.
:MMEMoryControls file saving/loading to/from the hard disk or floppy disk.
:PROGramControls macro programs.
:READObtains the measurement results with acquiring data.
:SENSeSets up detailed conditions for each measurement.
:STATusControls the status and event registers.
:SYSTemSets system parameters and queries system information.
:TRACeControls display of Trace 1 and 2.
:TRIGgerControls triggering.
:UNITSpecifies fundamental units for measurement.
The following sections list the commands by group.
2-14
RSA2203A & RSA2208A Programmer Manual
IEEE Common Commands
The IEEE 488.2 common commands have a “*” prefix.
Table 2-9: IEEE common commands
HeaderDescription
*CAL?Runs all the calibration routines.
*CLSClears the status or event.
*ESE(?)Sets the value for the ESER register.
*ESR?Queries the SESR register value.
*IDN?Queries the analyzer ID.
*OPC(?)Synchronizes commands.
*OPT?Queries the options incorporated in the analyzer.
*RSTRestores the factory initialization settings.
Command Groups
:ABORt Commands
*SRE(?)Sets the value for the SRER register.
*STB?Queries the Status Byte Register value.
*TRGGenerates a trigger event.
*TST?Runs a self test.
*WAIWaits until the run of another command is completed.
Resets the trigger system and related actions such as data acquisition and
measurement.
Table 2-10: :ABORt commands
HeaderDescription
:ABORtResets and restarts sweep, trigger, and measurement.
RSA2203A & RSA2208A Programmer Manual
2-15
Command Groups
:CALCulate Commands
Control the marker and the display line.
Table 2-11: :CALCulate commands
HeaderDescription
:CALCulate<x>:DLINe<y>(?)Sets the vertical position of the horizontal line.
:CALCulate<x>:DLINe<y>:STATe(?)Determines whether to show the horizontal line.
:CALCulate<x>:MARKer:AOFFTurns off all the markers.
:CALCulate<x>:MARKer<y>:MAXimumPlaces the marker at the maximum point on the trace.
:CALCulate<x>:MARKer<y>:MODE(?)Selects the marker mode (position or delta).
:CALCulate<x>:MARKer<y>:PEAK:HIGHerMoves the marker to the next higher peak.
:CALCulate<x>:MARKer<y>:PEAK:LEFTMoves the marker to the peak on the left.
:CALCulate<x>:MARKer<y>:PEAK:LOWerMoves the marker to the next lower peak.
:CALCulate<x>:MARKer<y>:PEAK:RIGHtMoves the marker to the peak on the right.
:CALCulate<x>:MARKer<y>:PTHReshold(?)Sets the minimum jump of the marker on the horizontal axis.
:CALCulate<x>:MARKer<y>:RCURsorDisplays the reference cursor at the marker position.
:CALCulate<x>:MARKer<y>:ROFFTurn off the reference cursor.
:CALCulate<x>:MARKer<y>[:SET]:CENTerSets the center frequency to the value at the marker position.
:CALCulate<x>:MARKer<y>[:SET]:MEASurementSets the measurement position with the marker.
:CALCulate<x>:MARKer<y>[:STATe]Determines whether to show the marker.
:CALCulate<x>:MARKer<y>:TOGGleReplaces the delta marker with the main marker.
:CALCulate<x>:MARKer<y>:TRACe(?)Selects the trace to place the marker.
:CALCulate<x>:MARKer<y>:X(?)Positions the marker on the horizontal axis.
:CALCulate<x>:MARKer<y>:Y(?)Positions the marker on the vertical axis.
:CALCulate<x>:VLINe<y>(?)Sets the horizontal position of the vertical line.
:CALCulate<x>:VLINe<y>:STATe(?)Determines whether to show the vertical line.
2-16
RSA2203A & RSA2208A Programmer Manual
Command Groups
:CALibration Commands
Calibrate the analyzer.
Table 2-12: :CALibration commands
HeaderDescription
:CALibration[:ALL](?)Runs all the calibration routines.
:CALibration:AUTO(?)Determines whether to run the RF gain calibration automatically.
:CALibration:DATA:DEFaultRestores the calibrated data to the factory defaults.
:CALibration:OFFSet:BASebanddc(?) (Option 05 only)Runs the baseband DC offset calibration.
:CALibration:OFFSet:CENTer(?)Runs the center offset calibration.
:CALibration:RF(?)Runs the RF gain calibration.
:CONFigure Commands
Set up the analyzer in order to perform the specified measurement.
Table 2-13: :CONFigure commands
HeaderDescription
:CONFigure:ADEMod:AMSets up the analyzer to the AM signal analysis default settings.
:CONFigure:ADEMod:FMSets up the analyzer to the FM signal analysis default settings.
:CONFigure:ADEMod:PMSets up the analyzer to the PM signal analysis default settings.
:CONFigure:ADEMod:PSPectrumSets the analyzer to the pulse spectrum measurement default settings.
:CONFigure:CCDFSets the up analyzer to the CCDF measurement default settings.
:CONFigure:OVIewTurns off measurement to obtain display data in the overview
:CONFigure:PULSeSets the analyzer to the pulse characteristics measurement default settings.
:CONFigure:SPECtrumSets up the analyzer to the spectrum measurement default settings.
:CONFigure:SPECtrum:ACPowerSets up the analyzer to the ACPR measurement default settings.
:CONFigure:SPECtrum:CFRequencySets up the analyzer to the carrier frequency measurement default settings.
:CONFigure:SPECtrum:CHPowerSets up the analyzer to the channel power measurement default settings.
:CONFigure:SPECtrum:CNRatioSets up the analyzer to the C/N measurement default settings.
:CONFigure:SPECtrum:EBWidthSets up the analyzer to the emission bandwidth measurement default settings.
:CONFigure:SPECtrum:OBWidthSets up the analyzer to the OBW measurement default settings.
:CONFigure:SPECtrum:SPURiousSets up the analyzer to the spurious signal measurement default settings.
:CONFigure:TFRequency:RTIMeSets up the analyzer to the realĆtime spectrum measurement default settings.
:CONFigure:TFRequency:SGRamSets up the analyzer to the spectrogram measurement default settings.
RSA2203A & RSA2208A Programmer Manual
2-17
Command Groups
Table 2-13: :CONFigure commands (Cont.)
HeaderDescription
:CONFigure:TRANsient:FVTimeSets up the analyzer to the frequency vs. time measurement default settings.
:CONFigure:TRANsient:IQVTimeSets up the analyzer to the IQ level vs. time measurement default settings.
:CONFigure:TRANsient:PVTimeSets up the analyzer to the power vs. time measurement default settings.
:DISPlay Commands
Control how to show measurement data on the screen.
Table 2-14: :DISPlay commands
HeaderDescription
:DISPlay:CCDF subgroupCCDF measurement related.
:DISPlay:CCDF:LINE:GAUSsian[:STATe](?)Determines whether to show the Gaussian line.
:DISPlay:CCDF:LINE:REFerence[:STATe](?)Determines whether to show the reference line.
:DISPlay:CCDF:LINE:REFerence:STOReStores the current CCDF trace as the reference line.
:DISPlay:CCDF:X[:SCALe]:AUTO(?)Determines whether to set the horizontal scale automatically.
:DISPlay:CCDF:X[:SCALe]:MAXimum(?)Sets the maximum horizontal value (right end).
:DISPlay:CCDF:X[:SCALe]:OFFSet(?)Sets the minimum horizontal value (left end).
:DISPlay:CCDF:Y[:SCALe]:FITRuns autoĆscale.
:DISPlay:CCDF:Y[:SCALe]:FULLSets the vertical axis to the default fullĆscale.
:DISPlay:CCDF:Y[:SCALe]:MAXimum(?)Sets the maximum vertical value (top end).
:DISPlay:CCDF:Y[:SCALe]:MINimum(?)Sets the minimum vertical value (bottom end).
:DISPlay:OVIew subgroupDEMOD and TIME mode overview related.
:DISPlay:OVIew:FORMat(?)Selects the overview display format.
:DISPlay:OVIew:SGRam:COLor[:SCALe]:OFFSet(?)Sets the minimum colorĆaxis value (bottom end) of the spectrogram.
:DISPlay:OVIew:SGRam:COLor[:SCALe]:RANGe(?)Sets the colorĆaxis fullĆscale of the spectrogram.
:DISPlay:OVIew:SGRam:X[:SCALe]:OFFSet(?)Sets the minimum horizontal value (left end) of the spectrogram.
:DISPlay:OVIew:SGRam:X[:SCALe]:SPAN(?)Sets the horizontal fullĆscale (span) of the spectrogram.
:DISPlay:OVIew:SGRam:Y[:SCALe]:OFFSet(?)Sets the minimum vertical value of the spectrogram (bottom end).
:DISPlay:OVIew:SGRam:Y[:SCALe]:PLINe(?)Sets the vertical scale of the spectrogram.
:DISPlay:OVIew:WAVeform:X[:SCALe]:OFFSet(?)Sets the minimum horizontal value (left edge) in the time domain display.
:DISPlay:OVIew:WAVeform:X[:SCALe]:PDIVision(?)Sets the horizontal scale in the time domain display.
:DISPlay:OVIew:WAVeform:Y[:SCALe]:FITRuns autoĆscale on the time domain display.
:DISPlay:OVIew:WAVeform:Y[:SCALe]:FULLSets the time domain display's vertical axis to the default fullĆscale.
2-18
RSA2203A & RSA2208A Programmer Manual
Command Groups
Table 2-14: :DISPlay commands (Cont.)
HeaderDescription
:DISPlay:OVIew:WAVeform:Y[:SCALe]:OFFSet(?)Sets the minimum vertical value in the time domain display.
:DISPlay:OVIew:WAVeform:Y[:SCALe]:PDIVision(?)Sets the vertical scale in the time domain display.
:DISPlay:OVIew:ZOOM:COLor[:SCALe]:OFFSet(?)Sets the minimum colorĆaxis value of the spectrogram with zoom.
:DISPlay:OVIew:ZOOM:COLor[:SCALe]:RANGe(?)Sets the colorĆaxis fullĆscale of the spectrogram with zoom.
:DISPlay:OVIew:ZOOM:X[:SCALe]:OFFSet(?)Sets the minimum horizontal value of the spectrogram with zoom.
:DISPlay:OVIew:ZOOM:X[:SCALe]:SPAN(?)Sets the horizontal fullĆscale of the spectrogram with zoom.
:DISPlay:OVIew:ZOOM:Y[:SCALe]:OFFSet(?)Sets the minimum vertical value of the spectrogram with zoom.
:DISPlay:OVIew:ZOOM:Y[:SCALe]:PLINe(?)Sets the vertical scale of the spectrogram with zoom.
:DISPlay:PULSe:MVIew|:SVIew subgroupThe main view and subview related in the pulse measurements
:DISPlay:PULSe:MVIew:RESult:CHPower(?)Determines whether to show channel power measurement results.
:DISPlay:PULSe:MVIew:RESult:DCYCle(?)Determines whether to show duty cycle measurement results.
:DISPlay:PULSe:MVIew:RESult:EBWidth(?)Determines whether to show EBW measurement results.
:DISPlay:PULSe:MVIew:RESult:FREQuency(?)Determines whether to show frequency deviation measurement results.
:DISPlay:PULSe:MVIew:RESult:OBWidth(?)Determines whether to show OBW measurement results.
:DISPlay:PULSe:MVIew:RESult:OORatio(?)Determines whether to show on/offĆratio measurement results.
:DISPlay:PULSe:MVIew:RESult:PERiod(?)Determines whether to show repetition interval measurement results.
:DISPlay:PULSe:MVIew:RESult:PHASe(?)Determines whether to show pulseĆpulse phase measurement results.
:DISPlay:PULSe:MVIew:RESult:PPOWer(?)Determines whether to show peak power measurement results.
:DISPlay:PULSe:MVIew:RESult:RIPPle(?)Determines whether to show pulse ripple measurement results.
:DISPlay:PULSe:MVIew:RESult:WIDTh(?)Determines whether to show pulse width measurement results.
:DISPlay:PULSe:SVIew:FORMat(?)Selects the display format of the subview.
:DISPlay:PULSe:SVIew:GUIDelines(?)Determines whether to show the guidelines in the subview.
:DISPlay:PULSe:SVIew:RANGe(?)Selects how to set the horizontal scale in the subview.
:DISPlay:PULSe:SVIew:RESult(?)Selects how to show the result graph in the subview.
:DISPlay:PULSe:SVIew:SELect(?)Selects a pulse to measure.
:DISPlay:PULSe:SPECtrum subgroupThe spectrum view related in the pulse measurements
:DISPlay:PULSe:SPECtrum:X[:SCALe]:OFFSet(?)Sets the minimum horizontal value (left edge).
:DISPlay:PULSe:SPECtrum:X[:SCALe]:PDIVision(?)Sets the horizontal scale (per division).
:DISPlay:PULSe:SPECtrum:Y[:SCALe]:FITRuns the autoĆscale.
:DISPlay:PULSe:SPECtrum:Y[:SCALe]:FULLSets the vertical axis to the default fullĆscale value.
:DISPlay:PULSe:SPECtrum:Y[:SCALe]:OFFSet(?)Sets the minimum vertical value (bottom).
:DISPlay:PULSe:SPECtrum:Y[:SCALe]:PDIVision(?)Sets the vertical scale (per division).
:DISPlay:PULSe:WAVeform subgroupTime domain display related in the pulse measurements
:DISPlay:PULSe:WAVeform:X[:SCALe]:OFFSet(?)Sets the minimum value of the horizontal axis (left edge).
:DISPlay:PULSe:WAVeform:X[:SCALe]:PDIVision(?)Sets or queries the horizontal scale (per division).
RSA2203A & RSA2208A Programmer Manual
2-19
Command Groups
Table 2-14: :DISPlay commands (Cont.)
HeaderDescription
:DISPlay:PULSe:WAVeform:Y[:SCALe]:FITRuns the autoĆscale.
:DISPlay:PULSe:WAVeform:Y[:SCALe]:FULLSets the vertical axis to the default fullĆscale value.
:DISPlay:PULSe:WAVeform:Y[:SCALe]:OFFSet(?)Sets the minimum value (bottom) of the vertical axis.
:DISPlay:PULSe:WAVeform:Y[:SCALe]:PDIVision(?)Sets the vertical scale (per division).
:DISPlay:WAVeform:X[:SCALe]:OFFSet(?)Sets the minimum horizontal, or time, value (left end).
:DISPlay:WAVeform:X[:SCALe]:PDIVision(?)Sets the horizontal, or time, scale per division.
:DISPlay:WAVeform:Y[:SCALe]:FITRuns autoĆscale.
:DISPlay:WAVeform:Y[:SCALe]:FULLSets the vertical axis to the default fullĆscale.
:DISPlay:WAVeform:Y[:SCALe]:OFFSet(?)Sets the minimum vertical, or amplitude, value (bottom end).
:DISPlay:WAVeform:Y[:SCALe]:PDIVision(?)Sets the vertical, or amplitude, scale.
:FETCh Commands
The :FETCh commands retrieve the measurements from the data taken by the
latest INITiate command.
If you want to perform a FETCh operation on fresh data, use the :READ
commands, which acquire a new input signal and fetch the measurement results
from that data.
Table 2-15: :FETCh commands
HeaderDescription
:FETCh:ADEMod:AM?Returns the AM signal analysis results in time series.
:FETCh:ADEMod:AM:RESult?Returns the AM signal analysis results.
:FETCh:ADEMod:FM?Returns the FM signal analysis results in time series.
:FETCh:ADEMod:FM:RESult?Returns the FM signal analysis results.
:FETCh:ADEMod:PM?Returns the PM signal analysis results in time series.
:FETCh:ADEMod:PSPectrum?Returns the spectrum data of the pulse spectrum measurement.
:FETCh:CCDF?Returns the CCDF measurement results.
:FETCh:DISTribution:CCDF?Returns the CCDF trace data.
:FETCh:OVIew?Returns the maximum and minimum of waveform on the overview.
:FETCh:PULSe?Returns the result of the pulse characteristics analysis.
:FETCh:PULSe:SPECtrum?Returns the spectrum data of the frequency domain measurement.
RSA2203A & RSA2208A Programmer Manual
2-21
Command Groups
Table 2-15: :FETCh commands (Cont.)
HeaderDescription
:FETCh:PULSe:TAMPlitude?Returns the time domain amplitude data.
:FETCh:PULSe:TFRequency?Returns the frequency deviation measurement results.
:FETCh:SPECtrum?Returns spectrum waveform data.
:FETCh:SPECtrum:ACPower?Returns the ACPR measurement results.
:FETCh:SPECtrum:CFRequency?Returns the carrier frequency measurement results.
:FETCh:SPECtrum:CHPower?Returns the channel power measurement results.
:FETCh:SPECtrum:CNRatio?Returns the C/N measurement results.
:FETCh:SPECtrum:EBWidth?Returns the emission bandwidth measurement results.
:FETCh:SPECtrum:OBWidth?Returns the OBW measurement results.
:FETCh:SPECtrum:SPURious?Returns the spurious signal measurement results.
:FETCh:TRANsient:FVTime?Returns the frequency vs. time measurement results.
:FETCh:TRANsient:IQVTime?Returns the I/Q level vs. time measurement results.
:FETCh:TRANsient:PVTime?Returns the power vs. time measurement results.
:FORMat Commands
:HCOPy Commands
Define the data output format.
Table 2-16: :FORMat commands
HeaderDescription
:FORMat:BORDer(?)Selects the byte order of output data.
:FORMat[:DATA](?)Selects the data format for output.
Control hardcopy of the screen.
Table 2-17: :HCOPy commands
HeaderDescription
:HCOPy:BACKgroundSelects the hardcopy background color.
:HCOPy:DESTinationSelects the hardcopy output destination.
2-22
:HCOPy[:IMMediate]Outputs the hardcopy to the specified printer.
RSA2203A & RSA2208A Programmer Manual
:INITiate Commands
:INPut Commands
Command Groups
Control data acquisition.
Table 2-18: :INITiate commands
HeaderDescription
:INITiate:CONTinuous(?)Determines whether to acquire data continuously.
:INITiate[:IMMediate]Starts data acquisition.
:INITiate:RESTartRestarts data acquisition.
Control the characteristics of the signal input.
Table 2-19: :INPut commands
HeaderDescription
:INPut:ALEVelAdjusts amplitude automatically for the best system performance.
:INPut:ATTenuation(?)Sets the input attenuation.
:INPut:ATTenuation:AUTO(?)Determines whether to set the input attenuation automatically.
:INPut:MIXer(?)Sets the mixer level.
:INPut:MLEVel(?)Sets the reference level.
:INSTrument Commands
Sets the measurement mode for the analyzer.
Table 2-20: :INSTrument commands
HeaderDescription
:INSTrument:CATalog?Queries all the measurement modes that the analyzer has.
:INSTrument[:SELect]Selects the measurement mode.
RSA2203A & RSA2208A Programmer Manual
2-23
Command Groups
:MMEMory Commands
Manipulates files residing on the internal hard disk or floppy disk.
Table 2-21: :MMEMory commands
HeaderDescription
:MMEMory:COPYCopies the contents of a file to another.
:MMEMory:DELeteDeletes a file.
:MMEMory:LOAD:CORRectionLoads the correction table from a file.
:MMEMory:LOAD:IQTLoads the IQ data from a file.
:MMEMory:LOAD:STATeLoads the analyzer settings from a file.
:MMEMory:LOAD:TRACeLoads trace data from a file.
:MMEMory:NAMESpecifies the file name for hard copy output.
:MMEMory:STORe:CORRectionStores an amplitude correction table in a file.
:MMEMory:STORe:IQTStores IQ data in a file.
:MMEMory:STORe:PULSeStores the pulse measurement results in a file.
:MMEMory:STORe:STATeStores the analyzer settings in a file.
:MMEMory:STORe:TRACeStores trace data in a file.
:PROGram Commands
Control macro programs.
Table 2-22: :PROGram commands
HeaderDescription
:PROGram:CATalog?Queries the list of macro programs.
:PROGram[:SELected]:DELete[:SELected]Deletes a macro program.
:PROGram[:SELected]:EXECuteRuns a macro program.
:PROGram[:SELected]:NAME(?)Specifies a macro program.
:PROGram:NUMBer(?)Sets numeric variables for a program.
:PROGram:STRing(?)Sets character variables for a program.
2-24
RSA2203A & RSA2208A Programmer Manual
Command Groups
:READ Commands
The :READ commands acquire an input signal once in the single mode and
obtain the measurement results from that data.
If you want to fetch the measurement results from the data currently residing in
the memory without acquiring the input signal, use the :FETCh commands.
Table 2-23: :READ commands
HeaderDescription
:READ:ADEMod:AM?Returns the AM signal analysis results in time series.
:READ:ADEMod:AM:RESult?Returns the AM signal analysis results.
:READ:ADEMod:FM?Returns the FM signal analysis results in time series.
:READ:ADEMod:FM:RESult?Returns the FM signal analysis results.
:READ:ADEMod:PM?Returns the PM signal analysis results in time series.
:READ:ADEMod:PSPectrum?Returns the spectrum data of the pulse spectrum measurement.
:READ:CCDF?Returns the CCDF measurement results.
:READ:DISTribution:CCDF?Returns the CCDF trace data.
:READ:OVIew?Returns the maximum and minimum of waveform on the overview.
:READ:PULSe?Returns the result of the pulse characteristics analysis.
:READ:PULSe:SPECtrum?Returns the spectrum data of the frequency domain measurement.
:READ:PULSe:TAMPlitude?Returns the time domain amplitude data.
:READ:PULSe:TFRequency?Returns the frequency deviation measurement results.
:READ:SPECtrum?Returns spectrum waveform data.
:READ:SPECtrum:ACPower?Returns the ACPR measurement results.
:READ:SPECtrum:CFRequency?Returns the carrier frequency measurement results.
:READ:SPECtrum:CHPower?Returns the channel power measurement results.
:READ:SPECtrum:CNRatio?Returns the C/N measurement results.
:READ:SPECtrum:EBWidth?Returns the emission bandwidth measurement results.
:READ:SPECtrum:OBWidth?Returns the OBW measurement results.
:READ:SPECtrum:SPURious?Returns the spurious signal measurement results.
:READ:TRANsient:FVTime?Returns the frequency vs. time measurement results.
:READ:TRANsient:IQVTime?Returns the I/Q level vs. time measurement results.
:READ:TRANsient:PVTime?Returns the power vs. time measurement results.
:TRACe<x>|:DATA<x>:AVERage:COUNt(?)Sets the number of traces to combine for averaging.
:TRACe<x>|:DATA<x>:DDETector(?)Selects the display detector.
:TRACe<x>|:DATA<x>:MODE(?)Selects the way to display the traces.
2-30
RSA2203A & RSA2208A Programmer Manual
Command Groups
:TRIGger Commands
Set up the trigger.
Table 2-28: :TRIGger commands
HeaderDescription
:TRIGger[:SEQuence]:LEVel:IF(?)Sets the IF trigger level.
:TRIGger[:SEQuence]:MODE(?)Selects the trigger mode.
:TRIGger[:SEQuence]:MPOSition?Queries the trigger occurrence point in one block data on the memory.
:TRIGger[:SEQuence]:OPOSition?Queries the trigger output point.
:TRIGger[:SEQuence]:POSition(?)Sets the trigger position.
:TRIGger[:SEQuence]:SAVE:COUNt[:STATe](?)Determines whether to limit the number of times that data is saved.
:TRIGger[:SEQuence]:SAVE:COUNt:MAXimum(?)Sets a limit on the number of times that data is saved.
:TRIGger[:SEQuence]:SAVE[:STATe](?)Determines whether to enable or disable the SaveĆonĆTrigger function.
:TRIGger[:SEQuence]:SLOPe(?)Selects the trigger slope.
:TRIGger[:SEQuence]:SOURce(?)Selects the trigger source.
:UNIT Commands
Specify fundamental units for measurement.
Table 2-29: :UNIT commands
HeaderDescription
:UNIT:ANGLe(?)Specifies the fundamental unit of angle.
RSA2203A & RSA2208A Programmer Manual
2-31
Command Groups
General Programming Procedure
You should generally use the following procedure to script a program:
1. Setting the measurement mode
Using an :INSTrument command, select a measurement mode to set the
basic conditions.
[Example] :INSTrument:SELect "SANORMAL"
Selects the normal spectrum analysis mode to set the basic conditions.
2. Setting the measurement item
Using a :CONFigure command, select a measurement item to set up the
analyzer to the defaults.
[Example] :CONFigure:SPECtrum:CHPower
Sets up the analyzer to the channel power measurement defaults.
3. Detailed settings
Use :SENSe commands to set details for the measurement session.
[Example] :SENSe:CHPower:BWIDth:INTegration 3MHz
Sets the channel power measurement range to 3 MHz.
4. Acquiring data
Use an :INITiate or :ABORt command to initiate or stop data acquisition.
[Example] :INITiate:CONTinuous ON
Initiates data acquisition in continuous mode.
To save or load the acquired data and settings, use an :MMEMory command.
[Example] :MMEMory:STORe:IQT "DATA1"
Saves the acquired data in file DATA1.IQT.
5. Obtaining the measurement results
Use a :FETCh or :READ command to obtain the measurement results.
[Example] :FETCh:SPECtrum:CHPower?
Returns the channel power measurement results.
6. Display
Use :DISPlay commands to set the display-related conditions.
[Example] :DISPlay:SPECtrum:X:SCALe:OFFSet 800MHz
Sets 800 MHz for the minimum (left) edge of the horizontal axis in the
spectrum view.
Also refer to Chapter 4, Programming Examples.
Appendix C lists the default settings of the commands.
Runs the following three calibrations and returns the results indicating whether
they have ended normally.
RF gain calibration
Center offset calibration
DC offset calibration (if the measurement frequency band is the baseband)
This command is equivalent to the :CALibration[:ALL]? query command.
NOTE. The entire calibration process takes several minutes to several dozen
minutes. Wait for a response from a *CAL query. Every command you attempt to
send during this period is rejected.
Syntax
Arguments
Returns
Measurement Modes
Examples
Related Commands
*CAL?
None
<NR1>
0 indicates a normal end. For details of the error codes, refer to page 3–17.
All
*CAL?
runs a calibration and might return 0, indicating that the calibration has ended
normally.
:CALibration[:ALL]
2-34
RSA2203A & RSA2208A Programmer Manual
*CLS (No Query Form)
IEEE Common Commands
Clears all the event status registers and queues used in the status/event reporting
structure. Refer to Section 3, Status and Events, for the register information.
Measurement Modes
Related Commands
*ESE (?)
Syntax
Arguments
Examples
Syntax
*CLS
None
All
*CLS
clears all the event status registers and queues.
*ESE, *ESR, *SRE, *STB?
Sets or queries the value of the Event Status Enable Register (ESER) used in the
status/event reporting structure. Refer to Section 3, Status and Events, for the
register information.
*ESE <value>
*ESE?
Arguments
Measurement Modes
Examples
Related Commands
RSA2203A & RSA2208A Programmer Manual
<value>::=<NR1> is a value in the range from 0 through 255. The binary bits of
the ESER are set according to this value.
All
*ESE 145
sets the ESER to binary 10010001, which enables the PON, EXE, and OPC bits.
*ESE?
might return the string *ESE 184, showing that the ESER contains the binary
value 10111000.
*CLS, *ESR, *SRE, *STB?
2-35
IEEE Common Commands
*ESR? (Query Only)
Sets or queries the contents of the Standard Event Status Register (SESR) used
in the status/event reporting structure. The SESR is cleared after being read.
Refer to Section 3, Status and Events, for the register information.
Syntax
Arguments
Returns
Measurement Modes
Examples
Related Commands
*ESR?
None
<NR1> representing the contents of the SESR by a 0 to 255 decimal number.
All
*ESR?
might return the value 213, showing that the SESR contains binary 11010101.
*CLS, *ESE?, *SRE, *STB?
2-36
RSA2203A & RSA2208A Programmer Manual
*IDN? (Query Only)
IEEE Common Commands
Returns the analyzer’s identification code.
Syntax
Arguments
Returns
Measurement Modes
Examples
*IDN?
None
The analyzer identification code in the following format:
TEKTRONIX indicates that the manufacturer is Tektronix.
RSA220XA is RSA2203A or RSA2208A, depending on the model.
<serial_number> is the serial number.
<firmware_version> is the firmware version.
All
*IDN?
might return TEKTRONIX,RSA2208A,J300101,1.20 as the analyzer’s identification code.
*OPC (?)
Generates the operation complete message in the Standard Event Status Register
(SESR) when all pending operations finish. The *OPC? query places the ASCII
character “1” into the output queue when all pending operations are finished. The
*OPC? response is not available to read until all pending operations finish.
The *OPC command allows you to synchronize the operation of the analyzer
with your application program. Refer to Synchronizing Execution on page 3–14
for the details.
Syntax
Arguments
Measurement Modes
RSA2203A & RSA2208A Programmer Manual
*OPC
*OPC?
None
All
2-37
IEEE Common Commands
*OPT? (Query Only)
Queries the options installed in the analyzer.
Syntax
Arguments
Returns
Measurement Modes
Examples
*OPT?
None
The numbers of all the options installed in the analyzer, separated by commas.
If no options have been installed, 0 is returned.
All
*OPT?
might return 05,10,12, indicating that Option 05, 10, and 12 are currently
installed in the analyzer.
2-38
RSA2203A & RSA2208A Programmer Manual
*RST (No Query Form)
IEEE Common Commands
Restores the analyzer to the factory default settings. For the actual settings, refer
to Appendix C: Factory Initialization Settings. This command is equivalent to a
pair of commands :SYSTem:PRESet and *CLS that run successively.
The *RST command does not alter the following:
HThe state of the IEEE Std 488.1–1987 interface.
HThe selected IEEE Std 488.1–1987 address of the analyzer.
HMeasurement mode selected with the :INSTrument[:SELect] command
HCalibration data that affect device specifications.
HThe Output Queue.
HThe Service Request Enable Register setting.
HThe Standard Event Status Enable Register setting.
Syntax
Arguments
Measurement Modes
Examples
Related Commands
HThe Power-on status clear flag setting.
HStored settings.
*RST
None
All
*RST
resets the analyzer.
*CLS, :INSTrument[:SELect], :SYSTem:PRESet
RSA2203A & RSA2208A Programmer Manual
2-39
IEEE Common Commands
*SRE (?)
Sets or queries the value of the Service Request Enable Register (SRER) used in
the status/event reporting structure. Refer to Section 3, Status and Events, for the
register information.
Syntax
Arguments
Measurement Modes
Examples
Related Commands
*SRE <value>
*SRE?
<value>::=<NR1> is a value in the range from 0 to 255. The binary bits of the
SRER are set according to this value. Using an out-of-range value causes an
execution error.
All
*SRE 48
sets binary 00110000 in the SRER’s bits:
*SRE?
might return 32, indicating that binary value 00100000 has been set in the
SRER’s bits.
*CLS, *ESE, *ESR?, *STB?
2-40
RSA2203A & RSA2208A Programmer Manual
*STB? (Query Only)
IEEE Common Commands
Returns the contents of the Status Byte Register (SBR) in the status/event
reporting structure using the Master Summary Status (MSS) bit.
Refer to Section 3, Status and Events, for the register information.
Syntax
Arguments
Returns
Measurement Modes
Examples
Related Commands
*TRG (No Query Form)
*STB?
None
<NR1> representing the contents of the SBR as a decimal number.
All
*STB?
might return 96, indicating that the SBR contains binary 0110 0000.
*CLS, *ESE, *ESR?, *SRE
Generates a trigger signal.
This command is equivalent to the :INITiate[:IMMediate] command.
Syntax
Arguments
Measurement Modes
Examples
Related Commands
RSA2203A & RSA2208A Programmer Manual
*TRG
None
All
*TRG
generates a trigger signal.
:INITiate[:IMMediate]
2-41
IEEE Common Commands
*TST? (Query Only)
Runs a self test and returns the result.
NOTE. The analyzer does not run any self test. It returns 0 whenever a *TST
command is sent.
Syntax
Arguments
Returns
Measurement Modes
Related Commands
*WAI (No Query Form)
Syntax
*TST?
None
<NR1>. Always 0.
All
*CAL?, CALibration[:ALL]
Prevents the analyzer from executing further commands or queries until all
pending operations finish. This command allows you to synchronize the
operation of the analyzer with your application program. For the details, refer to
Synchronizing Execution on page 3–14.
*WAI
Measurement Modes
Related Commands
2-42
Arguments
None
All
*OPC
RSA2203A & RSA2208A Programmer Manual
:ABORt Commands
Resets the trigger system and related actions such as data acquisition and
measurement.
Command Tree
HeaderParameter
:ABORt
RSA2203A & RSA2208A Programmer Manual
2-43
:ABORt Commands
:ABORt (No Query Form)
Resets the trigger system and related actions such as data acquisition and
measurement.
NOTE. You must have acquired data using the :INITiate:CONTinuous command
(refer to page 2–180) before you can execute the :ABORt command.
The command function depends on the acquisition mode as follows.
For single acquisition mode:
The :ABORt command forcibly stops data acquisition.
To stop the acquisition because the trigger does not occur in the single mode,
send this command:
For continuous acquisition mode:
The :ABORt command initiates a new session of data acquisition in the
continuous mode.
:INITiate:CONTinuous OFF
Syntax
Arguments
Measurement Modes
Examples
Related Commands
To stop the acquisition in the continuous mode, send this command:
:INITiate:CONTinuous OFF
:ABORt
None
All
:ABORt
resets the trigger system and related actions such as data acquisition and
measurement.
:INITiate:CONTinuous
2-44
RSA2203A & RSA2208A Programmer Manual
:CALCulate Commands
The :CALCulate commands control the marker and the display line. The views
are identified with :CALCulate<x> in the command header (see Figure 2–5).
:CALCulate1: View 1
:CALCulate2: View 2 (NOTE: currently not used)
:CALCulate3: View 3
:CALCulate4: View 4
View 1
View 1
May be View 3 or 4, depending on the setting
in the :DISPlay[:VIEW]:FORMat command.
For details on the marker and the display line, refer to the RSA2203A and
RSA2208A User Manual.
RSA2203A & RSA2208A Programmer Manual
2-45
:CALCulate Commands
Command Tree
HeaderParameter
:CALCulate<x>
:DLINe<y><numeric_value>
:STATe<boolean>
:MARKer<y>
:AOFF
:MAXimum
:MODEPOSition | DELTa
:PEAK
:HIGHer
:LEFT
:LOWer
:RIGHt
:PTHReshold<numeric_value>
:ROFF
[:SET]
:CENTer
:MEASurement
:RCURsor
[:STATe]<boolean>
:TOGGle
:TRACeMAIN | SUB
:X<numeric_value>
:Y<numeric_value>
:VLINe<y><numeric_value>
:STATe<boolean>
2-46
RSA2203A & RSA2208A Programmer Manual
:CALCulate<x>:DLINe<y> (?)
Sets or queries the vertical position of the horizontal line.
:CALCulate Commands
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CALCulate<x>:DLINe<y> <value>
:CALCulate<x>:DLINe<y>?
<value>::=<NRf> specifies the vertical position of the horizontal line.
Range: –200 to +100 dBm
SANORMAL, SASGRAM, SARTIME
:CALCulate1:DLINe1 -20
positions Horizontal Line 1 at –20 dBm in View 1.
:CALCulate<x>:DLINe<y>:STATe
:CALCulate<x>:DLINe<y>:STATe (?)
Determines whether to turn on or off the horizontal line.
Syntax
:CALCulate<x>:DLINe<y>:STATe { OFF | ON|0|1}
:CALCulate<x>:DLINe<y>:STATe?
Arguments
Measurement Modes
Examples
RSA2203A & RSA2208A Programmer Manual
OFF or 0 hides the horizontal line.
ON or 1 shows the horizontal line.
SANORMAL, SASGRAM, SARTIME
:CALCulate1:DLINe2:STATe 1
shows Horizontal Line 2 in View 1.
2-47
:CALCulate Commands
:CALCulate<x>:MARKer<y>:AOFF (No Query Form)
Turns off all the markers of all the traces in the specified view.
Syntax
Arguments
Measurement Modes
Examples
:CALCulate<x>:MARKer<y>:AOFF
None
All
:CALCulate1:MARKer1:AOFF
turns off all the markers of all the traces in View 1.
:CALCulate<x>:MARKer<y>:MAXimum (No Query Form)
Positions the marker at the maximum point on the trace in the specified view.
Syntax
Arguments
Measurement Modes
:CALCulate<x>:MARKer<y>:MAXimum
None
All
2-48
Examples
:CALCulate1:MARKer1:MAXimum
positions the marker at the maximum point on the trace in View 1.
RSA2203A & RSA2208A Programmer Manual
:CALCulate<x>:MARKer<y>:MODE (?)
Selects or queries the marker mode (position or delta) in the specified view.
:CALCulate Commands
Syntax
Arguments
Measurement Modes
Examples
:CALCulate<x>:MARKer<y>:MODE { POSition | DELTa }
:CALCulate<x>:MARKer<y>:MODE?
POSition selects the position marker mode, in which the marker measurement is
performed without the reference cursor. It works the same for both <y>=1 and 2.
DELTa selects the delta marker mode, in which the marker measurement is
performed with the reference cursor. The reference cursor is placed at the
position of the specified marker.
All
:CALCulate1:MARKer1:MODE DELTa
selects the delta marker mode in View 1.
:CALCulate<x>:MARKer<y>:PEAK:HIGHer (No Query Form)
Moves the marker higher in amplitude to the next peak in the specified view.
Syntax
Arguments
Returns
Measurement Modes
Examples
RSA2203A & RSA2208A Programmer Manual
:CALCulate<x>:MARKer<y>:PEAK:HIGHer
None
If no peak exists, the error message “No Peak Found Error (202)” is returned.
All
:CALCulate1:MARKer1:PEAK:HIGHer
moves Marker 1 higher in amplitude to the next peak in View 1.
2-49
:CALCulate Commands
:CALCulate<x>:MARKer<y>:PEAK:LEFT (No Query Form)
Shifts the marker to the next peak on the left in the specified view.
Syntax
Arguments
Returns
Measurement Modes
Examples
:CALCulate<x>:MARKer<y>:PEAK:LEFT
None
If no peak exists, the error message “No Peak Found Error (202)” is returned.
All
:CALCulate1:MARKer1:PEAK:LEFT
shifts the marker to the next peak on the left in View 1.
:CALCulate<x>:MARKer<y>:PEAK:LOWer (No Query Form)
Moves the marker lower in amplitude to the next peak in the specified view.
Syntax
Arguments
:CALCulate<x>:MARKer<y>:PEAK:LOWer
None
Measurement Modes
2-50
Returns
Examples
If no peak exists, error message “No Peak Found Error (202)” is returned.
All
:CALCulate1:MARKer1:PEAK:LOWer
moves Marker 1 lower in amplitude to the next peak in View 1.
RSA2203A & RSA2208A Programmer Manual
:CALCulate<x>:MARKer<y>:PEAK:RIGHt (No Query Form)
Shifts the marker to the next peak on the right in the specified view.
:CALCulate Commands
Syntax
Arguments
Returns
Measurement Modes
Examples
:CALCulate<x>:MARKer<y>:PEAK:RIGHt
None
If no peak exists, the error message “No Peak Found Error (202)” is returned.
All
:CALCulate1:MARKer1:PEAK:RIGHt
shifts the marker to the next peak on the right in View 1.
:CALCulate<x>:MARKer<y>:PTHReshold (?)
Sets or queries the horizontal minimum jump of the marker for peak search in
the specified view.
Syntax
:CALCulate<x>:MARKer<y>:PTHReshold <value>
:CALCulate<x>:MARKer<y>:PTHReshold?
Arguments
Measurement Modes
Examples
RSA2203A & RSA2208A Programmer Manual
<value>::=<NRf> sets the minimum jump of the marker for peak search.
Range: 1% to 20% of the span setting.
All
:CALCulate1:MARKer1:PTHReshold 10kHz
sets the minimum jump of Marker 1 to 10 kHz for peak search.
2-51
:CALCulate Commands
:CALCulate<x>:MARKer<y>:ROFF (No Query Form)
Turns off the reference cursor in the specified view.
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CALCulate<x>:MARKer<y>:ROFF
None
All
:CALCulate1:MARKer1:ROFF
turns off the reference cursor in View 1.
:CALCulate<x>:MARKer<y>[:SET]:RCURsor
:CALCulate<x>:MARKer<y>[:SET]:CENTer (No Query Form)
Sets the center frequency to the value at the marker position in the specified
view.
Syntax
:CALCulate<x>:MARKer<y>[:SET]:CENTer
Measurement Modes
2-52
Arguments
Examples
None
SANORMAL, SASGRAM, SARTIME
:CALCulate1:MARKer1:SET:CENTer
sets the center frequency to the value at the marker position in View 1.
RSA2203A & RSA2208A Programmer Manual
:CALCulate Commands
:CALCulate<x>:MARKer<y>[:SET]:MEASurement (No Query Form)
Defines the measurement position using the marker(s) in the specified view.
NOTE. This command is available in a view that represents time along the
horizontal axis.
The function varies between the marker modes as follows:
HFor the position marker mode:
Sets the current position of the specified marker to the measurement start
position.
HFor the delta marker mode:
Sets the current positions of the specified marker and the reference cursor to
the measurement start and stop positions.
The marker mode is selected with the :CALCulate<x>:MARKer<y>:MODE
command (refer to page 2–49).
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CALCulate<x>:MARKer<y>[:SET]:MEASurement
None
DEMADEM, TIMCCDF, TIMTRAN
:CALCulate1:MARKer1:SET:MEASurement
defines the measurement position using the marker in View 1.
:CALCulate<x>:MARKer<y>:MODE
RSA2203A & RSA2208A Programmer Manual
2-53
:CALCulate Commands
:CALCulate<x>:MARKer<y>[:SET]:RCURsor (No Query Form)
Displays the reference cursor at the marker position in the specified view.
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CALCulate<x>:MARKer<y>[:SET]:RCURsor
None
All
:CALCulate1:MARKer1:SET:RCURsor
displays the reference cursor in View 1.
:CALCulate<x>:MARKer<y>:ROFF
:CALCulate<x>:MARKer<y>[:STATe] (?)
Determines whether to turn on or off the marker(s) in the specified view.
Syntax
:CALCulate<x>:MARKer<y>[:STATe] { OFF | ON|0|1}
:CALCulate<x>:MARKer<y>[:STATe]?
Measurement Modes
Related Commands
2-54
Arguments
Examples
OFF or 0 hides the marker(s). If you have selected the delta marker mode, both
the main and delta markers will be turned off.
ON or 1 shows the marker(s). If you have selected the delta marker mode, both
the main and delta markers will be turned on.
To select a marker mode, use :CALCulate<x>:MARKer<y>:MODE.
All
:CALCulate1:MARKer1:STATe ON
enables Marker 1 in View 1.
:CALCulate<x>:MARKer<y>:MODE
RSA2203A & RSA2208A Programmer Manual
:CALCulate<x>:MARKer<y>:TOGGle (No Query Form)
Replaces the marker and the reference cursor with each other in the specified
view.
:CALCulate Commands
Syntax
Arguments
Measurement Modes
Examples
:CALCulate<x>:MARKer<y>:TOGGle
None
All
:CALCulate1:MARKer1:TOGGle
replaces Marker 1 and the reference cursor with each other in View 1.
:CALCulate<x>:MARKer<y>:TRACe (?)
Selects the trace to place the marker in the specified view.
The query command returns the name of the trace on which the marker is
currently placed.
Syntax
:CALCulate<x>:MARKer<y>:TRACe { MAIN | SUB }
:CALCulate<x>:MARKer<y>:TRACe?
Arguments
Measurement Modes
Examples
RSA2203A & RSA2208A Programmer Manual
MAIN places the specified marker on Trace 1 (displayed in yellow on screen).
SUB places the specified marker on Trace 2 (displayed in green on screen).
All
:CALCulate1:MARKer1:TRACe SUB
places Marker 1 on Trace 2 in View 1.
2-55
:CALCulate Commands
:CALCulate<x>:MARKer<y>:X (?)
Sets or queries the horizontal position of the marker in the specified view.
Syntax
Arguments
Measurement Modes
Examples
:CALCulate<x>:MARKer<y>:X <param>
:CALCulate<x>:MARKer<y>:X?
<param>::=<NRf> specifies the horizontal marker position.
The parameter value is different between the marker modes as follows:
HFor the position marker mode:
Sets the absolute position of the specified marker.
HFor the delta marker mode:
Sets the relative position of the specified marker from the reference cursor.
The marker mode is selected with the :CALCulate<x>:MARKer<y>:MODE
command (refer to page 2–49).
The valid setting range depends on the display format. Refer to Table D–1 in
Appendix D.
All
:CALCulate1:MARKer1:X 800MHz
places Marker 1 at 800 MHz in View 1 when the horizontal axis represents
frequency.
2-56
Related Commands
:CALCulate<x>:MARKer<y>:MODE
RSA2203A & RSA2208A Programmer Manual
:CALCulate<x>:MARKer<y>:Y (?)
Sets or queries the vertical position of the marker in the specified view.
NOTE. The setting command is valid in the spectrogram view displayed in the
Real Time S/A (real-time spectrum analysis) mode and in the overview of the
Demod (modulation analysis) and the Time (time analysis) modes. If the
command is executed in other views, the error message “Execution Error”
(–200) is returned. The query is available in all views.
:CALCulate Commands
Syntax
Arguments
Measurement Modes
Examples
:CALCulate<x>:MARKer<y>:Y <param>
:CALCulate<x>:MARKer<y>:Y?
<param>::=<NRf> specifies the vertical marker position.
The parameter value is different between the marker modes as follows:
HFor the position marker mode:
Sets the absolute position of the specified marker.
HFor the delta marker mode:
Sets the relative position of the specified marker from the reference cursor.
The marker mode is selected with the :CALCulate<x>:MARKer<y>:MODE
command (refer to page 2–49).
For the setting range, refer to Table D–1 in Appendix D.
SARTIME, DEMADEM, TIMCCDF, and TIMTRAN for setting. All modes for query.
:CALCulate1:MARKer1:Y -20
places the first marker at frame #–20 in View 1 (spectrogram).
:CALCulate2:MARKer1:Y?
might return -34.28 indicating the first marker readout is –34.28 dBm in View 2
(spectrum).
Related Commands
RSA2203A & RSA2208A Programmer Manual
:CALCulate<x>:MARKer<y>:MODE
2-57
:CALCulate Commands
:CALCulate<x>:VLINe<y> (?)
Sets or queries the horizontal position of the vertical line.
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CALCulate<x>:VLINe<y> <value>
:CALCulate<x>:VLINe<y>?
<value>::=<NRf> specifies the horizontal position of the vertical line.
Range: 0 Hz to 3 GHz for RSA2203A, or 8 GHz for RSA2208A.
SANORMAL, SASGRAM, SARTIME
:CALCulate1:VLINe1 800MHz
sets the horizontal position of Vertical Line 1 to 800 MHz.
:CALCulate<x>:VLINe<y>:STATe
:CALCulate<x>:VLINe<y>:STATe (?)
Determines whether to turn on or off the vertical line.
Syntax
:CALCulate<x>:VLINe<y>:STATe { OFF | ON|0|1}
Measurement Modes
2-58
Arguments
Examples
:CALCulate<x>:VLINe<y>:STATe?
OFF or 0 hides the vertical line.
ON or 1 shows the vertical line.
SANORMAL, SASGRAM, SARTIME
:CALCulate1:VLINe1:STATe ON
shows Vertical Line 1 in View 1.
RSA2203A & RSA2208A Programmer Manual
:CALibration Commands
The :CALibration commands run calibrations on the analyzer.
For details on calibrations, refer to the RSA2203A and RSA2208A User Manual.
Command Tree
HeaderParameter
:CALibration
[:ALL]
:AUTO
:DATA
:DEFault
:OFFSet
:BASebanddc
:CENTer
:RF
RSA2203A & RSA2208A Programmer Manual
2-59
:CALibration Commands
:CALibration[:ALL] (?)
Runs the following three calibrations:
RF gain calibration
Center offset calibration
DC offset calibration (if the measurement frequency band is the baseband)
The :CALibration[:ALL]? query command runs these calibrations and returns the
results. This command is equivalent to the *CAL? query command.
Syntax
Arguments
Returns
Measurement Modes
Examples
Related Commands
:CALibration[:ALL]
:CALibration[:ALL]?
None
<NR1>
0 indicates a normal end. For details of the error codes, refer to page 3–17.
All
:CALibration:ALL
runs all calibrations.
*CAL?
2-60
RSA2203A & RSA2208A Programmer Manual
:CALibration:AUTO (?)
:CALibration Commands
Determines whether to run the RF gain calibration automatically.
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CALibration:AUTO { OFF | ON|0|1}
:CALibration:AUTO?
OFF or 0 specifies that the analyzer does not run the RF gain calibration
automatically. Use the :CALibration:RF command to run the RF gain calibration.
ON or 1 specifies that the analyzer runs the RF gain calibration automatically.
All
:CALibration:AUTO ON
specifies that the analyzer runs the RF gain calibration automatically.
:CALibration:RF
:CALibration:DATA:DEFault (No Query Form)
Restores the calibration data to the factory defaults.
Syntax
Arguments
Measurement Modes
Examples
RSA2203A & RSA2208A Programmer Manual
:CALibration:DATA:DEFault
None
All
:CALibration:DATA:DEFault
restores the calibration data to the factory defaults.
2-61
:CALibration Commands
:CALibration:OFFSet:BASebanddc (?)
Option 05 Only
Runs the baseband DC offset calibration. The query version of this command
runs the calibration and, if it ends normally, returns 0.
NOTE. This command is available when the analyzer operates in the baseband
(DC to 20 MHz). The frequency setting must satisfy the following condition:
(center frequency) + (span)/2 v 17.5 MHz
Syntax
Arguments
Returns
Measurement Modes
Examples
:CALibration:OFFSet:BASebanddc
:CALibration:OFFSet:BASebanddc?
None
<NR1>
0 indicates a normal end. For details of the error codes, refer to page 3–17.
All
:CALibration:OFFSet:BASebanddc
runs the baseband DC offset calibration.
2-62
RSA2203A & RSA2208A Programmer Manual
:CALibration:OFFSet:CENTer (?)
Runs the center offset calibration. The query version of this command runs the
calibration and, if it ends normally, returns 0.
:CALibration Commands
Syntax
Arguments
Returns
Measurement Modes
Examples
:CALibration:OFFSet:CENTer
:CALibration:OFFSet:CENTer?
None
<NR1>
0 indicates a normal end. For details of the error codes, refer to page 3–17.
All
:CALibration:OFFSet:CENTer
runs the center offset calibration.
RSA2203A & RSA2208A Programmer Manual
2-63
:CALibration Commands
:CALibration:RF (?)
Runs the RF gain calibration. The query version of this command runs the
calibration and, if it ends normally, returns 0.
Syntax
Arguments
Returns
Measurement Modes
Examples
Related Commands
:CALibration:RF
:CALibration:RF?
None
<NR1>
0 indicates a normal end. For details of the error codes, refer to page 3–17.
All
:CALibration:RF
runs the RF gain calibration.
:CALibration:AUTO
2-64
RSA2203A & RSA2208A Programmer Manual
:CONFigure Commands
The :CONFigure commands set up the analyzer to the default settings for the
specified measurement.
Command Tree
HeaderParameter
:CONFigure
:ADEMod
:AM
:FM
:PM
:PSPectrum
:CCDF
:OVIew
:PULSe
:SPECtrum
:ACPower
:CFRequency
:CHPower
:CNRatio
:EBWidth
:OBWidth
:SPURious
:TFRequency
:RTIMe
:SGRam
:TRANsient
:FVTime
:IQVTime
:PVTime
NOTE. Data acquisition stops on completion of a :CONFigure command. The
following each command description shows the front-panel key operation
equivalent to running the command except data acquisition control.
RSA2203A & RSA2208A Programmer Manual
2-65
:CONFigure Commands
:CONFigure:ADEMod:AM (No Query Form)
Sets up the analyzer to the default settings for AM signal analysis.
Running this command is equivalent to pressing the following front panel keys:
DEMOD key → Analog Demod side key → PRESET key → MEASURE key
→ AM Demod side key
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CONFigure:ADEMod:AM
None
DEMADEM
:CONFigure:ADEMod:AM
sets up the analyzer to the default settings for AM signal analysis.
:INSTrument[:SELect]
:CONFigure:ADEMod:FM (No Query Form)
Sets up the analyzer to the default settings for FM signal analysis.
Running this command is equivalent to pressing the following front panel keys:
DEMOD key → Analog Demod side key → PRESET key → MEASURE key
→ FM Demod side key
Measurement Modes
Related Commands
2-66
Syntax
Arguments
Examples
:CONFigure:ADEMod:FM
None
DEMADEM
:CONFigure:ADEMod:FM
sets up the analyzer to the default settings for FM signal analysis.
:INSTrument[:SELect]
RSA2203A & RSA2208A Programmer Manual
:CONFigure:ADEMod:PM (No Query Form)
Sets up the analyzer to the default settings for PM signal analysis.
Running this command is equivalent to pressing the following front panel keys:
DEMOD key → Analog Demod side key → PRESET key → MEASURE key
→ PM Demod side key
:CONFigure Commands
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CONFigure:ADEMod:PM
None
DEMADEM
:CONFigure:ADEMod:PM
sets up the analyzer to the default settings for PM signal analysis.
:INSTrument[:SELect]
:CONFigure:ADEMod:PSPectrum (No Query Form)
Sets the analyzer to the default settings for the pulse spectrum measurement.
Running this command is equivalent to pressing the following front panel keys:
DEMOD key → Analog Demod side key → PRESET key
→ Pulse Spectrum side key
Syntax
Arguments
Measurement Modes
Examples
Related Commands
RSA2203A & RSA2208A Programmer Manual
:CONFigure:ADEMod:PSPectrum
None
DEMADEM
:CONFigure:ADEMod:PSPectrum
sets the analyzer to the default settings for the pulse spectrum measurement.
:INSTrument[:SELect]
2-67
:CONFigure Commands
:CONFigure:CCDF (No Query Form)
Sets up the analyzer to the default settings for CCDF measurement.
Running this command is equivalent to pressing the following front panel keys:
TIME key → CCDF side key → PRESET key → CCDF side key
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CONFigure:CCDF
None
TIMCCDF
:CONFigure:CCDF
sets up the analyzer to the default settings for CCDF measurement.
:INSTrument[:SELect]
:CONFigure:OVIew (No Query Form)
Turns the measurement off in the Demod (modulation analysis) and the Time
(time analysis) modes to obtain data in the overview with the :FETCh:OVIew?
or the :READ:OVIew? command. Running this command is equivalent to
pressing the following front panel keys:
MEASURE key → Measurement Off side key
Measurement Modes
Related Commands
2-68
Syntax
Arguments
Examples
:CONFigure:OVIew
None
DEMADEM, TIMCCDF, TIMTRAN
:CONFigure:OVIew
turns the measurement off in the Demod and the Time modes.
:FETCh:OVIew?, :READ:OVIew?, :INSTrument[:SELect]
RSA2203A & RSA2208A Programmer Manual
:CONFigure:PULSe (No Query Form)
Sets the analyzer to the default settings for pulse characteristics measurement.
TIME key → Pulse Measurements side key → PRESET key
:CONFigure Commands
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CONFigure:PULSe
None
TIMPULSE
:CONFigure:PULSe
sets the analyzer to the default settings for pulse characteristics measurement.
:INSTrument[:SELect]
:CONFigure:SPECtrum (No Query Form)
Sets up the analyzer to the default settings for spectrum measurement.
Running this command is equivalent to pressing the following front panel keys:
S/A key → { Spectrum Analyzer | S/A with Spectrogram | Real Time S/A }
side key → PRESET key → Measurement Off side key
Syntax
Arguments
Measurement Modes
Examples
Related Commands
RSA2203A & RSA2208A Programmer Manual
:CONFigure:SPECtrum
None
SANORMAL, SASGRAM, SARTIME
:CONFigure:SPECtrum
sets up the analyzer to the default settings for spectrum measurement.,
:INSTrument[:SELect]
2-69
:CONFigure Commands
:CONFigure:SPECtrum:ACPower (No Query Form)
Sets up the analyzer to the default settings for adjacent channel leakage power
ratio (ACPR) measurement. Running this command is equivalent to pressing the
following front panel keys:
S/A key → { Spectrum Analyzer | S/A with Spectrogram | Real Time S/A }
side key → PRESET key → MEASURE key → ACPR side key
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CONFigure:SPECtrum:ACPower
None
SANORMAL, SASGRAM, SARTIME
:CONFigure:SPECtrum:ACPower
sets up the analyzer to the default settings for ACPR measurement.
:INSTrument[:SELect]
:CONFigure:SPECtrum:CFRequency (No Query Form)
Sets up the analyzer to the default settings for carrier frequency measurement.
Running this command is equivalent to pressing the following front panel keys:
S/A key → { Spectrum Analyzer | S/A with Spectrogram | Real Time S/A }
side key → PRESET key → MEASURE key → Carrier Frequency side key
Measurement Modes
Related Commands
2-70
Syntax
Arguments
Examples
:CONFigure:SPECtrum:CFRequency
None
SANORMAL, SASGRAM, SARTIME
:CONFigure:SPECtrum:CFRequency
sets up the analyzer to the default settings for carrier frequency measurement.
:INSTrument[:SELect]
RSA2203A & RSA2208A Programmer Manual
:CONFigure:SPECtrum:CHPower (No Query Form)
Sets up the analyzer to the default settings for channel power measurement.
Running this command is equivalent to pressing the following front panel keys:
S/A key → { Spectrum Analyzer | S/A with Spectrogram | Real Time S/A }
side key → PRESET key → MEASURE key → Channel Power side key
:CONFigure Commands
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CONFigure:SPECtrum:CHPower
None
SANORMAL, SASGRAM, SARTIME
:CONFigure:SPECtrum:CHPower
sets up the analyzer to the default settings for channel power measurement.
:INSTrument[:SELect]
:CONFigure:SPECtrum:CNRatio (No Query Form)
Sets up the analyzer to the default settings for carrier-to-noise ratio (C/N)
measurement. Running this command is equivalent to pressing the following
front panel keys:
S/A key → { Spectrum Analyzer | S/A with Spectrogram | Real Time S/A }
side key → PRESET key → MEASURE key → C/N side key
Syntax
Arguments
Measurement Modes
Examples
Related Commands
RSA2203A & RSA2208A Programmer Manual
:CONFigure:SPECtrum:CNRatio
None
SANORMAL, SASGRAM, SARTIME
:CONFigure:SPECtrum:CNRatio
sets up the analyzer to the default settings for C/N measurement.
:INSTrument[:SELect]
2-71
:CONFigure Commands
:CONFigure:SPECtrum:EBWidth (No Query Form)
Sets up the analyzer to the default settings for emission bandwidth (EBW)
measurement. Running this command is equivalent to pressing the following
front panel keys:
S/A key → { Spectrum Analyzer | S/A with Spectrogram | Real Time S/A }
side key → PRESET key → MEASURE key → EBW side key
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CONFigure:SPECtrum:EBWidth
None
SANORMAL, SASGRAM, SARTIME
:CONFigure:SPECtrum:EBWidth
sets up the analyzer to the default settings for EBW measurement.
:INSTrument[:SELect]
:CONFigure:SPECtrum:OBWidth (No Query Form)
Sets up the analyzer to the default settings for occupied bandwidth (OBW)
measurement. Running this command is equivalent to pressing the following
front panel keys:
S/A key → { Spectrum Analyzer | S/A with Spectrogram | Real Time S/A }
side key → PRESET key → MEASURE key → OBW side key
Measurement Modes
Related Commands
2-72
Syntax
Arguments
Examples
:CONFigure:SPECtrum:OBWidth
None
SANORMAL, SASGRAM, SARTIME
:CONFigure:SPECtrum:OBWidth
sets up the analyzer to the default settings for OBW measurement:
:INSTrument[:SELect]
RSA2203A & RSA2208A Programmer Manual
:CONFigure:SPECtrum:SPURious (No Query Form)
The following example sets up the analyzer to the default settings for spurious
emission measurement. Running this command is equivalent to pressing the
following front panel keys:
S/A key → { Spectrum Analyzer | S/A with Spectrogram | Real Time S/A }
side key → PRESET key → MEASURE key → Spurious side key
:CONFigure Commands
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CONFigure:SPECtrum:SPURious
None
SANORMAL, SASGRAM, SARTIME
:CONFigure:SPECtrum:SPURious
sets up the analyzer to the default settings for spurious signal measurement.
:INSTrument[:SELect]
:CONFigure:TFRequency:RTIMe (No Query Form)
Sets up the analyzer to the default settings for the real-time spectrum measurement. Running this command is equivalent to pressing the following front panel
keys:
S/A key → Real Time S/A side key → PRESET key
Syntax
Arguments
Measurement Modes
Examples
Related Commands
RSA2203A & RSA2208A Programmer Manual
:CONFigure:TFRequency:RTIMe
None
SARTIME
:CONFigure:TFRequency:RTIMe
sets up the analyzer to the default settings for the real-time spectrum measurement.
:INSTrument[:SELect]
2-73
:CONFigure Commands
:CONFigure:TFRequency:SGRam (No Query Form)
Sets up the analyzer to the default settings for the spectrogram measurement.
Running this command is equivalent to pressing the following front panel keys:
S/A key → S/A with Spectrogram side key → PRESET key
Syntax
Arguments
Measurement Modes
Examples
Related Commands
:CONFigure:TFRequency:SGRam
None
SASGRAM
:CONFigure:TFRequency:SGRam
sets up the analyzer to the default settings for the spectrogram measurement.
:INSTrument[:SELect]
:CONFigure:TRANsient:FVTime (No Query Form)
Sets up the analyzer to the default settings for frequency vs. time measurement.
Running this command is equivalent to pressing the following front panel keys:
TIME key → Transient side key → PRESET key → MEASURE key
→ Frequency vs. Time side key
Measurement Modes
Related Commands
2-74
Syntax
Arguments
Examples
:CONFigure:TRANsient:FVTime
None
TIMTRAN
:CONFigure:TRANsient:FVTime
sets up the analyzer to the default settings for frequency vs. time measurement.
:INSTrument[:SELect]
RSA2203A & RSA2208A Programmer Manual
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.