RIGOL is a registered trademark of RIGOL (SUZHOU) TECHNOLOGIES INC.
Publication Number
PGD24100-1110
Software Version
00.01.00
Software upgrade might change or add product features. Please acquire the latest version of the manual
from RIGOL website or contact RIGOL to upgrade the software.
Notices
RIGOL products are covered by P.R.C. and foreign patents, issued and pending.
RIGOL reserves the right to modify or change parts of or all the specifications and pricing policies at
the company’s sole decision.
Information in this publication replaces all previously relea sed materials.
Information in this publication is subject to change without notice.
RIGOL shall not be liable for either incidental or consequential losses in connection with the furnishing,
use, or performance of this manual, as well as any information contained.
Any part of this document is forbidden to be copied, photocopied, or rearranged without prior written
approval of RIGOL.
Product Certification
RIGOL guarantees that this product conforms to the national and industrial standards in China as well as
the ISO9001:2015 standard a nd the ISO14001:2015 standard. Other international standard conformance
certifications are in progress.
Contact Us
If you have any problem or requirement when using our products or this manual, please contact RIGOL.
E-mail: service@rigol.com
Website: www.rigol.com
RSA3000E Programming GuideI
RIGOL
Tip
For the latest version of this manual, download it from the official website of RIGOL (www.rigol.com).
Document Overview
This manual introduces how to program and control RIGOL RSA3000E series spectrum analyzer by using
SCPI commands through USB and LAN interface.
Main Topics in this Manual:
Chapter 1 Programming Overview
This chapter introduces how to set up remote communication between the spectrum analyzer and the PC,
the remote control methods, the syntax, symbols, parameters, and abbreviation rules of the SCPI
commands.
Chapter 2 Command Systems for GPSA and RTSA Modes
This chapter introduces the syntax, function, parameters, and usage of each command of RSA3000E series
in GPSA and RTSA modes.
Chapter 3 Command System for EMI Mode
This chapter introduces the commands of R SA3000E series in EMI mode.
Chapter 4 Command System for VSA Mode
This chapter introduces the commands of RSA3000E series in VSA mode.
Chapter 5 Programming Examples
This chapter illustrates how to control the RSA3000E series by programming in the development
environments such as Visual C++, Visual Basic, and LabVIEW.
Format Conventions in this Manual:
1. Keys:
The keys on the front panel are usually denoted by the format of "Key Name (Bold) + Text Box". For
example, FREQ denotes the FREQ key.
2. Menu keys:
The menu softkeys are usually denoted by the format of "Menu Word (Bold) + Character Shading". For
example, Center Freq denotes the center frequency menu item under the FREQ function key.
3. Connectors:
The connectors on the fron t or rear panel are usual ly denoted by the f ormat of "Connector Name (Bo ld)
+ Square Brackets (Bold)". For example, [Gen Output 50Ω].
4. Operation Procedures:
"" indicates the next step of operation. For example, FREQ Center Freq indicates pressing
FREQ on the front panel and then pressing the menu softkey Cent er Freq.
Content Conventions in this Manual:
The RSA3000E series spectrum analyzer includes the following models. Unless otherwise specified, this
manual takes RSA3030E-TG as an example to illustrate the usage of each command of RSA3000E series
spectrum analyzer.
II RSA3000E Programming Guide
RIGOL
Model
Frequency Range
Tracking Generator
RSA3030E
9 kHz to 3 GHz
None
RSA3015E
9 kHz to 1.5 GHz
None
RSA3030E-TG
9 kHz to 3 GHz
3 GHz
RSA3015E-TG
9 kHz to 1.5 GHz
1.5 GHz
RSA3000E Programming Guide III
RIGOLContents
Contents
Guaranty and Declaration .......................................................................................................... I
Document Overview ................................................................................................................. II
This chapter introduces how to set up remote communication between the spectrum analyzer and the PC,
the remote control methods, the syntax, symbols, parameters, and abbreviation rules of the SCPI
commands.
Contents in this chapter:
Build Remote Communication
Remote Control Method
SCPI Command Overview
RSA3000E Programming Guide 1-1
RIGOLChapter 1 Programming Overview
Build Remote Communicatio n
RSA3000E supports communication with PC via USB and LAN interface for remote control. This chapter
introduces in detai ls how to use Ultra Sigma to send comm ands through the USB interface to control the
analyzer.
Operation Procedures:
1. Install Ultra Sigma (PC) software.
You can download Ultra Sigma from the official website of RIGOL (www.rigol.com) and install the
software according to the installation wizard.
2. Connect the analyzer to the PC and configure the interface parameters for the instrument
RSA3000E supports three communication inte rfaces: USB and LAN.
USB DEVICE
LAN
Figure 1-1 RSA3000E Communication Interface
(1) Remote communication via USB:
Use the USB cable to connect the USB DEVICE interface on the rear panel of RSA3000E to the USB
HOST interface of the PC.
(2) Remote communication via LAN:
Make sure that your PC has been accessed to the local area network.
Check whether the local area network where your PC resides supports DHCP or auto IP mode.
If not, you need to obtain the available network interface parameters, including the IP
address, subnet mask, default gateway, and DNS.
Connect RSA3000E to the local area network by using a network cable.
Press System Interface LAN to configure the IP address, subnet mask, default
gateway, and DNS for the instrument.
3. Check whether the connection is successful.
Run Ultra Sigma, and then search for the resources and right-click the resource name. Select "SCPI
Panel Control" to open the SCPI command control panel. In the SCPI command control panel, input a
correct command. After that, click Send Command first and then click Read Response. Or you can
also directly click Send & Read to verify whether the connection works properly . The following figure
takes USB interface as an example to illustrate it.
1-2 RSA3000E Programming Guide
Chapter 1 Programming Overview RIGOL
Remote Control Method
1. User-defined programming
You can refer to the SCPI (Standard Commands for Programmable Instruments) commands listed in
Chapter 2 in this manual to control RSA3000E by programming in LabVIEW, Visual C++, and other
development environments. For details, refer to descriptions in Chapter 4 in this manual.
2. Send SCPI commands via the PC software
Yo u can use the PC so ftw are to sen d comman ds to c ontrol RSA3000E remotely. RIGOL Ultra Sigma is
recommended. You can download the software from RIGOL official website (www.rigol.com).
RSA3000E Programming Guide 1-3
RIGOLChapter 1 Programming Overview
SCPI Command Overview
SCPI (Standard Commands for Programmable Instruments) is a standardiz ed instrument programming
language that is built upon the existing standard IEEE 488.1 and IEEE 488.2 and conforms to various
standards, such as the floating point operation rule in IEEE 754 standard, ISO 646 7-bit coded character set
for information interchange (equivalent to ASCII programming). This chapter introduces the syntax,
symbols, parameters, and abbreviation rules of the SCPI commands.
Syntax
The SCPI commands provide a hierarchical tree structure, and consist of multiple subsystems. Each
command subsystem consis ts of one root keyword and one or more sub-keywords. The command line
usually starts with ":"; the keywords are separated by ":" and are followed by the parameter settings
available; "?" i s add ed at the en d of the comman d line to in dic ate a qu ery; the comman ds an d p ar ameters
are separated by spaces.
For example,
:CALCulate:BANDwidth:NDB <rel_ampl>
:CALCulate:BANDwidth:NDB?
CALCulate is the root keyword of the command. BANDwidth is the second-level keyword, and NDB is the
third-level keyword. The command line starts with ":", and a colon is also used to separate the
multiple-level keywords. <rel_ampl > r epres ents th e par ameter s a vailable fo r setting. "?" represent s qu ery.
The command :CALCulate:BANDwidth:NDB and the parameter <rel_ampl> are separated by a space.
In some commands with multiple parameters , "," is often us ed to separate these parameters. F or exampl e,
:SYSTem:DATE <yea r>,<month >, <da y >.
Symbol Description
The following four symbols are not part of the SCPI command, and they are not sent with the commands,
but taken as delimiters to better describe the parameters in the command.
1.Braces { }
The parameters enclosed in the b races are op tional. You do not hav e to set it, also you c an set for one
or more times.
2.Vertical Bar |
The vertical bar is used to separate multiple parameters. When using the command, you must select
one of the parameters. For example, in the command :CALCulate:MARKer<n>:LINes[:STATe]
OFF|ON|0|1, you can select any of the four available parameters: OFF, ON, 0, or 1.
3. Square Brackets [ ]
The content (command keyword) in the square brack ets can be omit ted. If a keyword is omitted, it will
be set to the default. F or example, for the [:SENSe]:POWer[:RF]:ATTenuation? command, sending any
of the four commands below can generate the same effect:
:POWer:ATTenuation?
:POWer:RF:ATTenuation?
:SENSe:POWer:ATTenuation?
:SENSe:POWer:RF:ATTenuation?
4.Angle Brackets < >
The parameter enclosed in the angle brackets must be replaced by an effective value. For example,
send the :SENSe:FREQuency:CENTer 1000 command in [:SENSe]:FREQuency:CENTer <freq>format.
1-4 RSA3000E Programming Guide
Chapter 1 Programming Overview RIGOL
Parameter Type
The command parameters introduced in this manual include 6 types: Bool, Keyword, Integer, Consecutive
Real Number, Discrete, and ASCII String.
1.Bool
The parameter can be set to OFF (0) or ON (1).
2.Keyword
The parameter can be any of the values listed.
3.Integer
Unless otherwise specified, the parameter can be any integer within the effective value range. Note:
Do not set the parameter to a decimal, otherwise, errors will occur.
4.Consecutive Real Number
Unless otherwise specified, the parameter could be any value within the effective value range
according to the accuracy requirement (by default, there are 9 digits after the decimal point).
5.Discrete
The parameter could only be one of the specified values and these values are discontin uous.
6.ASCII String
The parameter can be the combinations of ASCII characters.
Command Abb r eviation
All the commands are case-insensitive. T hey can all be written in upper case or in lower case. For
abbreviations, you only need to input all the upper-case letters in the command. For example,
:CALCulate:BANDwidth:NDB? can be abbreviated as :CALC:BAND:NDB? or :calc:band:ndb?
RSA3000E Programming Guide 1-5
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Chapter 2 Command Systems for GPSA and RTSA
Modes
This chapter introduces the commands of the RSA3000E series spectrum analyzer.
1. The commands concerning the advanced measurement are only available for the RSA3000E model
2. The commands related to the tracking generator are only available for RSA3030E-TG/RSA3015E-TG.
3. For the command set, unless otherwise specified, the query command returns "N/A" (without
4. This manual takes RSA3030E as an example to illustrate the range of the parameters in each
installed with relevant options. For details, refer to remarks for each command subsystem.
They are only available for GPSA mode.
quotations in its return format) if no specified option is installed. If the queried function is disabled or
improper type match is found, the query command will return "Error" (without quotations in its return
format).
command.
RSA3000E Programming Guide 2-1
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Sets the N value in N dB BW measurement.
Queries the N value in N dB BW measurement.
Parameter
Remarks
This command is invalid for the PvT measurement mode in RTSA.
Return Format
The query returns the N value in scientific notation.
Example
The following command sets N to -4.
:CALCulate:BANDwidth:NDB -4
:CALCulate:BWIDth:NDB -4
The following query returns -4.000000e+00.
:CALCulate:BANDwidth:NDB?
:CALCulate:BWIDth:NDB?
:CALCulate:BANDwidth|BWIDth:RESult?
Syntax
:CALCulate:BANDwidth|BWIDth:RESult?
Description
Queries the measurement results of the N dB band, and its unit is Hz.
Remarks
This command is invalid for the PvT measurement mode in RTSA.
Return Format
The query returns the bandwidth value in scientific notation (with Hz as the unit).
If the two points which are located at both sides of the current marker with N dB fall or rise in its peak
amplitude are not found, the query returns -1.000000000e+02.
2-4 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
OFF|0
:CALCulate:BANDwidth|BWIDth:RLEFt?
Syntax
:CALCulate:BANDwidth|BWIDth:RLEFt?
Description
Queries the frequency value of the frequency point that is located at the left side of the current marker with
N dB fall or rise in its peak amplitude.
Remarks
This command is invalid for the PvT measurement mode in RTSA.
Return Format
The query returns the frequency value in scientific notation (with Hz as the unit).
If the frequency point that is located at the left side of the current marker with N dB fall or rise in its peak
amplitude is not found, the query returns -1.000000000e+02.
:CALCulate:BANDwidth|BWIDth:RRIGht?
Syntax
:CALCulate:BANDwidth|BWIDth:RRIGht?
Description
Queries the frequency value of the frequency point that is located at the right side of the current marker
with N dB fall or rise in its peak amplitude.
Remarks
This command is invalid for the PvT measurement mode in RTSA.
Return Format
The query returns the frequency value in scientific notation (with Hz as the unit).
If the frequency point that is located at the right side of the current marker with N dB fall or rise in its peak
amplitude is not found, the query returns -1.000000000e+02.
Enables or disables the N dB bandwidth measurement function.
Queries the status of the N dB bandwidth measurement function.
Parameter
Remarks
This command is invalid for the PvT measurement mode in RTSA.
RSA3000E Programming Guide 2-5
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
ON|1
Return Format
The query returns 0 or 1.
Example
The following command enables the N dB BW measurement function.
:CALCulate:BANDwidth:STATe ON or :CALCulate:BANDwidth:STATe 1
:CALCulate:BWIDth:STATe ON or :CALCulate:BWIDth:STATe 1
The following query returns 1.
:CALCulate:BANDwidth:STATe?
:CALCulate:BWIDth:STATe?
Enables or disables the coupling functions between the selected limit line data points and the reference
level.
Queries the status of the coupling functions between the selected limit line data points and the reference
level.
Parameter
——
Remarks
OFF|0: disables the coupling function. That is, "Fixed" is selected under Y to Ref, and the amplitude of the
current limit line editing point is not affected by the reference level.
ON|1: enables the coupling function. That is, "Relative" is selected under Y to Ref, and the amplitude of
the current limit line editing point is the difference between the current point with the current reference
level. At this time, if th e ref eren c e level changes, the positio n of th e current editing point will move up and
down with it.
Return Format
The query returns 0 or 1.
Example
The following command disables the coupling functions between the selected limit line data points and the
reference level.
:CALCulate:LLINe2:AMPLitude:CMODe:RELative OFF or :CALCulate:LLINe2:AMPLitude:CMODe:RELative 0
The following query returns 0.
:CALCulate:LLINe2:AMPLitude:CMODe:RELative?
Edits one limit line, and marks it with n.
Queries the limit line data that you are editing currently.
Parameter
Remarks
<x>: indicates frequency.
<apml>: indicates the amplitude. By default, its unit is dBm. The same X value can be configured with at
most two amplitude values.
<connect>: can be configured with 0 or 1. When it is con fi gured with 1, it indicates that the current point
connects with the previous point to determine the limit line; when configured with 0, it indicates that the
current point is disconnected from the previous point. The <connect> value of the firs t point can be
configured with 0.
ReturnFormat
Queries the returned limit line data that you are editing currently.
Example
The following command edits a limit line that contains three points, and marks it Limit Line 2.
:CALCulate:LLINe 2: DATA 50,100,0,100,150,1, 20 0, 20 0, 1
2-8 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6
——
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6
1
——
Bool
OFF|ON|0|1
OFF|0
The following query returns 50,100,0,100,150,1,200,200,1.
:CALCulate:LLINe2:DATA?
:CALCulate:LLINe<n>:DELete
Syntax
:CALCulate:LLINe<n>:DELete
Description
Deletes the selected limit line.
Parameter
Example
The following command deletes Limit Line 2.
:CALCulate:LLINe2:DELete
Turns on or off the selected limit line.
Queries the status of the selected limit line.
Parameter
Return Format
The query returns 0 or 1.
Example
The following command turns on Limit Line 2.
:CALCulate:LLINe2:DISPlay ON or :CALCulate:LLINe2:DISPlay 1
The following query returns 1.
:CALCulate:LLINe2:DISPlay?
RSA3000E Programming Guide 2-9
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6
——
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6
——
——
Bool
OFF|ON|0|1
OFF|0
:CALCulate:LLINe<n>:FAIL?
Syntax
:CALCulate:LLINe<n>:FAIL?
Description
Queries the measurement results of the selected limit line and its associated trace.
Parameter
Remarks
If you enable the test for the displayed trace and its corresponding limit line, and each displayed trace has
its corresponding limit line enabled , then you can run the comm and to query whether the trace t est passes.
Return Format
The query returns 0 (pass) or 1 (fail).
Enables or disables the coupling functions between the selected limit line data points and the center
frequency.
Queries the status of the coupling functions between the selected limit line data points and the center
frequency.
Parameter
Remarks
OFF|0: disables the coupling function. That is, "Fixed" is selected under X to CF, and the frequency of the
current limit line editing point is not affected by the center frequency.
ON|1: enables the coupling function. That is, "Relative" is selected under X to CF, and the amplitude of the
current limit line editing point is the difference between th e current point with th e current center f requency.
At this time, if the center frequency changes, the position of the current editing point will move left and
right with it.
Return Format
The query returns 0 or 1.
Example
The following command disables the coupling functions between data points of Limit Line 2 and the center
frequency.
:CALCulate:LLINe2:FREQuency:C MODe:RELative OFF or :CALCulate:LLINe2:FREQuency:CMODe:RELative
0
The following query returns 0.
:CALCulate:LLINe2:FREQuency:CMODe:RELative?
2-10 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6
——
<rel_ampl>
Consecutive Real Number
-40 dB to 0 dB
0 dB
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6
——
——
Bool
OFF|ON|0|1
OFF|0
:CALCulate:LLINe<n>:MARGin
Syntax
:CALCulate:LL INe<n>:MARGin <r el _am p l>
:CALCulate:LLINe<n>:MARGin?
Description
Sets the margin for the selected limit line.
Queries the margin for the selected limit line.
Parameter
Return Format
The query returns the margin for the limit line in scientific notation.
Example
The following command sets the margin for Limit Line 2 to 1 dB.
:CALCulate:LLINe2:MARGin 1 dB
The following query returns 1.000000e+00.
:CALCulate:LLINe2:MARGin?
:CALCulate:LLINe<n>:MARGin:STATe
Syntax
:CALCulate:LL INe<n>:MAR G in:STATe OFF|ON|0|1
:CALCulate:LLINe<n>:MARGin:STATe?
Description
Enables or disables the margin for the selected limit line.
Queries the status of the margin for the selected limit line.
Parameter
Return Format
The query returns 0 or 1.
Example
The following command turns on the margin for Limit Line 2.
:CALCulate:LLINe2:MARGin:STATe ON or :CALCulate:LLINe2:MARGin:S TATe 1
The following query returns 1.
:CALCulate:LLINe2:MARGin:STATe?
RSA3000E Programming Guide 2-11
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Sets the peak search mode.
Queries the peak search mode.
Parameter
2-14 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
——
Keyword
FREQuency|AMPLitude
AMPLitude
Remarks
PARameter: ind icates parameter. If "parameter" is selected un der search mode, the system will search
for the peak of the specified parameter on the trace.
MAXimum: indicates maximum. If "maximum" is selected under search mode, the system will search
for the maximum value on the trace.
The command is only v alid for the peak s earch executed b y sending the
command. Other items under the peak search menu such as Next Peak, Next Peak Right, Next Peak Left,
and Minimum Peak are all searched based on "parameter".
Return Format
The query returns PAR or MAX.
Example
The following command sets the peak search mode to "parameter".
:CALCulate:MARKer:PEAK:SEARch:MODE PARameter
The following query returns PAR.
:CALCulate:MARKer:PEAK:SEARch:MODE?
Sets the sorting order of the data displayed in the peak table.
Queries the sorting order of the data displayed in the peak table.
Parameter
Remarks
FREQuency: lists the peaks in order of ascending frequency.
AMPLitude: lists the peaks in order of desce nding am p litude.
Return Format
The query returns FREQ or AMPL.
Example
The following command sets the data in the peak table to be sorted in descending amplitude.
:CALCulate:MARKer:PEAK:SORT AMPLitude
:TRACe:MATH:PEAK:SORT AMPLitude
The following query returns AMPL.
:CALCulate:MARKer:PEAK:SORT?
:TRACe:MATH:PEAK:SORT?
RSA3000E Programming Guide 2-15
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Sets the peak criteria that the displayed peak must meet.
Queries the peak criteria that the displayed peak must meet.
Parameter
—— Keyword
Remarks
ALL|NORMal: lists all the peaks defined by the peak criteria, and displays data based on the current sorting
order in the peak table.
GTDLine|DLMore: lists the peaks that are greater than the defined display line and that meet the peak
criteria.
LTDLine|DLLess: lists the peaks that are smaller than the defined display line and that meet the peak
criteria.
Return Format
The query returns ALL (NORM), GTDL (DLM), or LTDL (DLL).
Example
The following command lists all the peaks that are greater than the defined display line and that meet the
peak criteria.
:CALCulate:MARKer:PEAK:TABLe:READout GTDLine
:TRACe:MATH:PEAK:THReshold DLMore
The following query returns GTDL.
:CALCulate:MARKer:PEAK:TABLe:READout?
The following query returns DLM.
:TRACe:MATH:PEAK:THReshold?
Enables or disables the peak table.
Queries the status of the peak table.
2-16 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
OFF|0
Name
Type
Range
Default
<ampl>
Consecutive Real Number
-200 dBm to 0 dBm
-90 dBm
Parameter
Return Format
The query returns 0 or 1.
Example
The following command enables the peak table.
:CALCulate:MARKer:PEAK:TABLe:STATe ON or :CALCulate:MARKer:PEAK:TABLe:STATe 1
:TRACe:MATH:PEAK:TABLe:STATe ON or :TRACe:MATH:PEAK:TABLe:STATe 1
The following query returns 1.
:CALCulate:MARKer:PEAK:TABLe:STATe?
:TRACe:MATH:PEAK:TABLe:STATe?
Enables or disables the signal track.
Queries the status of the signal track.
Parameter
2-18 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
——
Bool
OFF|ON|0|1
OFF|0
Remarks
When the signal track is enabled, the instrument will execute a peak search after each sweep, and set the
frequency value at the current peak to the center frequency to keep the signal always displayed at the
center of the screen.
This command is only available for GPSA mode.
Return Format
The query returns 0 or 1.
Example
The following command enables the signal track.
:CALCulate:MARKer:TRCKing:STATe ON or :CALCulate:MARKer:TRCKing:STA Te 1
The following query returns 1.
:CALCulate:MARKer:TRCKing:STATe?
Enables or disables continuous peak search function, and ma r ks the peak value with n.
Queries the status of continuous peak search function.
Parameter
Return Format
The query returns 0 or 1.
Example
The following command performs the cont inuous peak search function, and marks with Marker 1.
:CALCulate:MARKer1:CPSeatch:STATe ON or :CALCulate:MARKer1:CPSeatch:STATe 1
The following query returns 1.
:CALCulate:MARKer1:CPSeatch:STATe?
RSA3000E Programming Guide 2-19
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Turns on or off the auto gate time for Marker n.
Queries the status of the auto gate time for Marker n.
Parameter
Remarks
This command is only available for GPSA mode.
Return Format
The query returns 1 or 0.
Example
The following command enables the auto gate time for Marker 2.
:CALCulate:MARKer2:FCOunt:GATetime:AUTO ON or :CALCulate:MARKer2:FCOunt:GATetime:AUTO 1
The following query returns 1.
:CALCulate:MARKer2:FCOunt:GATetime:AUTO?
2-20 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Enables or disables the frequency counter function of the specified marker.
Queries the status of the frequency counter function of the specified marker.
Parameter
Remarks
This command is only available for GPSA mode.
Return Format
The query returns 0 or 1.
Example
The following command enables the frequency counter function of Marker 2.
:CALCulate:MARKer2:FCOunt:STATe ON or :CALCulate:MARKer2:FCOunt:STATe 1
The following query returns 1.
:CALCulate:MARKer2:FCOunt:STATe?
:CALCulate:MARKer<n>:FCOunt:X?
Syntax
:CALCulate:MARKer<n>:FCOunt:X?
Description
Queries the readout of the frequency counter of the specified marker.
Parameter
Remarks
This command is only available for GPSA mode.
Return Format
The query returns the readout in integer. Its unit is Hz.
When the frequency counter function is disa bled, the command returns NAN.
RSA3000E Programming Guide 2-21
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Selects the special measurement type for the specified marker.
Queries the special measurement type of the specified marker.
Parameter
Remarks
NOISe: indicates the noise measurement.
BPOWer: indicates the bandwidth power.
BDENsity: indicates the bandwidth density.
OFF: disables the measurements.
Return Format
The query returns NOIS, BPOW, BDEN, or OFF.
Example
The following command sets the measurement type of Marker 1 to noise measurement.
:CALCulate:MARKer1:FUNCtion NOISe
The following query returns NOIS.
:CALCulate:MARKer1:FUNCtion?
:CALCulate:MARKer<n>:FUNCtion:BAND:LEFT
Syntax
:CALCulate:MAR Ker<n >: F U NCt io n :BAND:LEFT <fre q >
:CALCulate:MARKer<n>:FUNCtion:BAND:LEFT?
Description
Sets the left edge frequency or time of the signal involved in the calculation for the band function.
Queries the left edge frequency or time of the signal involved in the calculati on for the band function.
Parameter
<freq> Consecutive Real Number 0 to band right
Remarks
This command is only valid when the corresponding bandwidth function is enabled.
This command is used to set the lef t edge time when th e zero span is enabl ed in GPSA mod e or when in the
PvT view in RTSA mode.
Return Format
The query returns the left edge frequency or time of the signal in scientific notation.
2-22 RSA3000E Programming Guide
capture time/2-bandwidth/2 (PvT)
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
--
center frequency+bandwidth/2
sweep time/2+bandwidth/2 (zero span)
Example
The following comman d sets the lef t edge f requenc y of th e sign al in vol ved in the calc ulatio n fo r the Mar ker
1 band function to 2 M H z.
:CALCulate:MARKer1: FUNCtion:BAND:LE F T 20 00 00 0
The following query returns 2.000000000e+06.
:CALCulate:MARKer1:FUNCtion:BAND:LEFT?
:CALCulate:MARKer<n>:FUNCtion:BAND:RIGHt
Syntax
:CALCulate:MAR Ker<n >: F U NCt io n :BAND:RIGHt <fre q>
:CALCulate:MARKer<n>:FUNCtion:BAND:RIGHt?
Description
Sets the right edge frequency or time of the signal involved in the calculation for the band function.
Queries the right edge frequency or time of the signal involved in the calculation for the band function.
Parameter
<freq> Consecutive Real Number band left to +∞
Remarks
This command is only valid when the corresponding bandwidt h function is enabled.
This command is used to set the right edge time when the zero span is enabled in GPSA mode or when in
the PvT view in RTSA mode.
Return Format
The query returns the right edge frequency or time of the signal in scientific notation.
capture time/2+bandwidth/2 (PvT)
Example
The following command sets the right edge frequency of the signal involved in the calculation for the
Marker 1 band function to 4 GHz.
:CALCulate:MARKer1: F UNCtion:BAND:RIGHt 400000 0000
The following query returns 4.000000000e+09.
:CALCulate:MARKer1:FUNCtion:BAND:RIGHt?
RSA3000E Programming Guide 2-23
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Sets the bandwidth or the time span of the signal involved in the calculation for the band function.
Queries the bandwidth or the time span of the signal involved in the cal culation for the band function.
Parameter
<freq> Consecutive Real Number 0 to +∞
Remarks
This command is only valid when the corresponding bandwidth function is enabled.
This command is used to set the signal time when the zero span is enabl ed in GPSA mode or when in the
PvT view in RTSA mode.
Return Format
The query returns the bandwidth of the signal involved in the calculation for the band function in scientific
notation.
capture time/20 (PvT)
Example
The following command sets the bandwidth of the signal involved in the calculation for the Marker 1 band
function to 500 MHz.
:CALCulate:MARKer1: F UNCtion:BAND:SPAN 500000000
The following query returns 5.000000000e+08.
:CALCulate:MARKer1:FUNCtion:BAND:SPAN?
Enables or disables the band span auto function.
Queries the status of band span auto function.
Parameter
Remarks
This command is only valid when the corresponding bandwidth function is enabled.
2-24 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
OFF
Return Format
The query returns 1 or 0.
Example
The following command enables the band span auto function of Marker 1.
:CALCulate:MARKer1:FUNCtion:BAND:SPAN:AUTO ON
or :CALCulate:MARKer1:FUNCtion:BAND:SPAN:AUTO 1
The following query returns 1.
:CALCulate:MARKer1:FUNCtion:BAND:SPAN:AUTO?
Enables or disables the marker line of the specified marker.
Queries the status for the marker line of the specified marker.
Parameter
<n> Discrete 1|2|3|4|5|6|7|8 ——
Remarks
If the marker is not visible in the selec ted area, enable the mark er line function to extend th e marker line to
the display area for better observation.
The PvT only supports setting the marker on Trace 1.
Return Format
The query returns 0 or 1.
Example
The following command enables the marker line of Marker 1.
:CALCulate:MARKer1: LINes:STATe ON or :CALCulate:MARKer1:LINes:STATe 1
The following query returns 1.
:CALCulate:MARKer1:LINes:STATe?
:CALCulate:MARKer<n>:MAXimum:LEFT
Syntax
:CALCulate:MARKer<n>:MAXimum:LEFT
Description
Searches for and marks the nearest peak which is loc ated at the left side of the current peak and meets the
peak search condition.
RSA3000E Programming Guide 2-25
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
Parameter
Remarks
When no peak is found, a prompt message "No peak found" is displayed on the screen.
Example
The following command performs one left peak search, and marks with Marker 2.
:CALCulate:MARKer2:MAXimum:LEFT
:CALCulate:MARKer<n>:MAXimum[:MAX]
Syntax
:CALCulate:MARKer<n>:MAXimum[:MAX]
Description
Performs one peak search based on the search mode set by the :CALCulate:MARKer:PEAK:SEARch:MODE
command and marks it with the specified marker.
Parameter
Remarks
When no peak is found, a prompt message "No peak found" is displayed on the screen.
Example
The following command performs one peak search, and marks with Marker 2.
:CALCulate:MARKer2:MAXimum:MAX
:CALCulate:MARKer<n>:MAXimum:NEXT
Syntax
:CALCulate:MARKer<n>:MAXimum:NEXT
Description
Searches for and marks the peak whose amplitude on the trace is next to that of the current peak and
which meets the peak search condition.
Parameter
Remarks
When no peak is found, a prompt message "No peak found" is displayed on the screen.
Example
The following command performs one next peak search, and marks with Marker 2.
:CALCulate:MARKer2:MAXimum:NEXT
2-26 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
:CALCulate:MARKer<n>:MAXimum:RIGHt
Syntax
:CALCulate:MARKer<n>:MAXimum:RIGHt
Description
Searches for and marks the nearest peak which is located at the right side of the current peak and meets
the peak search condition.
Parameter
Remarks
When no peak is found, a prompt message "No peak found" is displayed on the screen.
Example
The following command performs one right peak search, and marks with Marker 2.
:CALCulate:MARKer2:MAXimum:RIGHt
:CALCulate:MARKer<n>:MINimum
Syntax
:CALCulate:MARKer<n>:MINimum
Description
Searches for and marks the peak wit h the minimum amplitude on the trace.
Parameter
Remarks
When no peak is found, a prompt message "No peak found" is displayed on the screen.
Example
The following command performs one minimum search, and marks it with Marker 2.
:CALCulate:MARKer2:MINimum
RSA3000E Programming Guide 2-27
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Sets the type of the specified marker.
Queries the type of the specified marker.
Parameter
Remarks
POSition: indicates the normal marker.
DELTa: indicates difference between two data points.
FIXed: indicates that the marker is fixed.
OFF: turns off the se lected marker.
The PvT only supports setting the marker on Trace 1.
Return Format
The query returns POS, DELT, FIX, or OFF.
Example
The following command sets the type o f Marker 1 to Position.
:CALCulate:MARKer1:MODE POSition
The following query returns POS.
:CALCulate:MARKer1:MODE?
:CALCulate:MARKer<n>:PTPeak
Syntax
:CALCulate:MARKer<n>:PTPeak
Description
Performs the peak-peak search and marks it with a specified marker.
Parameter
Remarks
After the command is executed, the marker mode of the specified mark er selects "Delta" automatic ally . The
peak search results will be marked b y the reference marker (by default, the next marker), and the minimum
search will be marked by the Delta marker.
Example
The following command performs the peak-peak search, and marks the peak-peak position with the
reference marker (Marker 2) and the Delta marker (Marker 1), respectively.
:CALCulate:MARKer1:PTPeak
2-28 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Sets the reference marker for the specified marker.
Queries the reference marker for the specified marker.
Parameter
<integer> Integer 1 to 8
Remarks
Each marker can have another marker to be its reference marker.
It the current marker is a Delta marker, the measurement result of the marker will be determined by the
reference marker.
Any marker cannot have itself to be the reference marker.
The PvT only supports setting the marker on Trace 1.
Example
The following command sets the reference marker for Marker 1 to 2.
:CALCulate:MARKer1:REFerence 2
The following query returns 2.
:CALCulate:MARKer1:REFerence?
following the specifi ed marker
is considered to be the
:CALCulate:MARKer<n>[:SET]:CENTer
Syntax
:CALCulate:MARKer<n>[:SET]:CENTer
Description
Sets the frequency of the specified marker to the center frequency of the analyzer.
Parameter
Remarks
If the marker mode of the specified marker is Position or Fixed, the center frequency will be set to the
frequency of the marker.
If the specified mark er mode is Del ta, the cent er freque ncy wil l be set to the f requen cy of the D elta marker.
This function is invalid in zero span.
This command is invalid for the PvT measurement mode in RTSA.
Example
The following command sets the frequency at Marker 1 (Position) to the center frequency.
:CALCulate:MARKer1:SET:CENTer
RSA3000E Programming Guide 2-29
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
:CALCulate:MARKer<n>[:SET]:DELTa:CENTer
Syntax
:CALCulate:MARKer<n>[:SET]:DELTa:CENTer
Description
Sets the frequency difference of the specified Delta marker to the center frequency of the analyzer.
Parameter
Remarks
It is only valid when the current marker mode is "Delta".
This function is invalid in zero span.
This command is invalid for the PvT measurement mode in RTSA.
Example
The following command sets th e f requ ency difference of the Delta Marker 1 to the center fr equ ency of the
analyzer.
:CALCulate:MARKer1:SET:DELTa:CENTer
:CALCulate:MARKer<n>[:SET]:DELTa:SPAN
Syntax
:CALCulate:MARKer<n>[:SET]:DELTa:SPAN
Description
Sets the frequency difference of the specified Delta marker to the span of the analyzer.
Parameter
Remarks
It is only valid when the current marker mode is "Delta".
This function is invalid in zero span.
This command is invalid for the PvT measurement mode in RTSA.
Example
The following command sets the frequency difference of the Delta Marker 1 to the span of the analyzer.
:CALCulate:MARKer1:SET:DELTa:SPAN
2-30 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
:CALCulate:MARKer<n>[:SET]:RLEVel
Syntax
:CALCulate:MARKer<n>[:SET]:RLEVel
Description
Sets the amplitude of the specified marker to the reference level of the analyzer.
Parameter
Remarks
If the marker mode of the specified marker is Position or Fixed, the reference level will be set to the
amplitude of the marker.
If the specified marker mode is Delta and the current marker is the reference marker, then the reference
level is set to the amplitude of the reference marker; if the current marker is the Delta marker, then the
reference level is set to the amplitude of the Delta marker.
Example
The following command sets the amplitude of Marker 2 (Position) to the reference level of the analyzer.
:CALCulate:MARKer2:SET:RLEVel
:CALCulate:MARKer<n>[:SET]:STARt
Syntax
:CALCulate:MARKer<n>[:SET]:STARt
Description
Sets the frequency of the specified marker to the start frequency of the analyzer.
Parameter
Remarks
If the marker mode of the specified marker is Position or Fixed, the start frequency will be set to the
frequency of the marker.
If the specified marker mode is Delta, the start frequency will be set to the frequency of the Delta marker.
This function is invalid in zero span.
This command is invalid for the PvT measurement mode in RTSA.
Example
The following command sets the frequency of Marker 3 (Position) to the start frequency of the analyzer.
:CALCulate:MARKer3:SET:STARt
RSA3000E Programming Guide 2-31
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
:CALCulate:MARKer<n>[:SET]:STEP
Syntax
:CALCulate:MARKer<n>[:SET]:STEP
Description
Sets the frequency of the specified marker to the center frequency step of the analyzer.
Parameter
Remarks
If the marker mode of the speci fied mark er is P o sition or Fi xed , the center frequ ency step will be set to th e
frequency of the marker.
If the specified marker mode is Delta, the center frequency step will be set to the frequency difference
between the Delta marker and the reference marker.
This function is invalid in zero span.
This command is invalid for the PvT measurement mode in RTSA.
Example
The following command sets the frequency of Marker 4 (Position) to the center frequency step of the
analyzer.
:CALCulate:MARKer4:SET:STEP
:CALCulate:MARKer<n>[:SET]:STOP
Syntax
:CALCulate:MARKer<n>[:SET]:STOP
Description
Sets the frequency of the specified marker to the stop frequency of the analyzer.
Parameter
Remarks
If the marker mode of the specified marker is Position or Fixed, the stop frequency will be set to the
frequency of the marker.
If the specified marker mode is Delta, the stop frequency will be set to the frequency of the Delta marker.
This function is invalid in zero span.
This command is invalid for the PvT measurement mode in RTSA.
Example
The following command sets the frequency of Marker 2 (Position) to the stop frequency of the analyzer.
:CALCulate:MARKer2:SET:STOP
2-32 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Enables or disables the specified marker.
Queries the status for the specified marker.
Parameter
Remarks
If the specified marker is disabled currently, by default, the marker mode is "Position" when you send the
command to enable the marker.
The PvT only supports setting the marker on Trace 1.
Return Format
The query returns 0 or 1.
Example
The following command enables Marker 1.
:CALCulate:MARKer1:STATe ON or :CALCulate:MARKer1:STATe 1
The following query returns 1.
:CALCulate:MARKer1:STATe?
Sets the marker trace for the specified marker.
Queries the marker trace for the specified marker.
Parameter
<integer> Discrete
Remarks
<integer> indicates the marker tr ac e, and i ts r ange is from Trace 1 to Trace 6. The selected trace must be
enabled.
You can also run the
specified marker to "Auto".
The PvT does not support this command.
RSA3000E Programming Guide 2-33
:CALCulate:MARKer<n>:TRACe:AUTO command to set the marker trace of the
1|2|3|4|5|6
1
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
——
Bool
OFF|ON|0|1
ON|1
Return Format
The query returns a ny integer from 1 to 6.
If the marker trace is set to "Auto", the query command returns a trace number on which the marker is
placed.
Example
The following command sets the marker trace of Marker 1 to Trace 2.
:CALCulate:MARKer1:TRACe 2
The following query returns 2.
:CALCulate:MARKer1:TRACe?
Enables or disables the auto trace marking of the specified marker.
Queries the status of the auto trace marking of the specified marker.
Parameter
Remarks
When you disable the auto marking of the trace, the currently enabled marker will stay on the
corresponding trace.
The PvT does not support this command.
Return Format
The query returns 0 or 1.
Example
The following command sets the marker trace of Marker 1 to Auto.
:CALCulate:MARKer1:TRACe:AUTO ON or :CALCulate:MARKer1:TRACe:AUTO 1
The following query returns 1.
:CALCulate:MARKer1:TRACe:AUTO?
2-34 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
<param>
Consecutive Real Number
Refer to "Remarks"
——
Name
Type
Range
Default
<n>
Discrete
1|2|3|4|5|6|7|8
——
Remarks
:CALCulate:MARKer<n>:X
Syntax
:CALCulate:MAR Ker<n >: X <pa ra m>
:CALCulate:MARKer<n>:X?
Description
Sets the X-axis value of the specified marker. Its default unit is Hz.
Queries the X-axis value of the specified marker.
Parameter
Remarks
If the readout mode is frequency, it cannot exceed the frequency range of the sweep and th e units available
are Hz (default), kHz, MHz, and GHz.
If the readout mode is time, it cannot exceed the time range of the sweep and the units available are s
(default), μs, ms, and ks.
<param> can be any value within the available range of the current X axis.
If the marker mode of the specified marker is Position or Fixed, this command sets the X value of the
marker.
If the specified marker mode is Delta, this command sets the X value of the delta marker relative to the
reference marker.
The PvT only supports setting the marker on Trace 1.
Return Format
The query returns the X-axis value of the marker in scientific notation.
Example
The following command sets the X-axis value of Marker 1 to 150 MHz (the readout mode is frequency).
:CALCulate:MARKer1: X 150000000
The following query returns 1.500000000e+08.
:CALCulate:MARKer1:X?
Sets the readout mode of the X axis of the specified marker.
Queries the readout mode of the X axis of the specified marker.
Parameter
—— Keyword FREQuency|TIME|ITIMe|PERiod Refer to "
RSA3000E Programming Guide 2-35
"
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
ON|1
Remarks
FREQuency: indicates frequency. It is the default readout mode in non-zero span mode.
TIME: indicates time. It is the default readout mode in zero span mode.
ITIMe: indicates the reciprocal of time. It is available only in zero span mode and a Delta marker is selected.
PERiod: indicates period. It is not available in zero span mode.
The PvT does not support this command.
Return Format
The query returns FREQ, TIME, ITIM, or PER.
Example
The following command sets the readout mode of the X axis of Marker 1 to "Time".
:CALCulate:MARKer1:X:READout TIME
The following query returns TIME.
:CALCulate:MARKer1:X:READout?
Enables or disables the auto readout mode of the specified marker.
Queries the auto readout mode of the specified marker.
Parameter
<n> Discrete 1|2|3|4|5|6|7|8 ——
Remarks
When the auto readout mode is enabled, if the marker trace changes, the readout mode will be
re-determined based on the destination trace.
The PvT does not support this command.
Return Format
The query returns 0 or 1.
Example
The following command enables the auto readout mode of Marker 1 in the X-axis.
:CALCulate:MARKer1:X:READout:AUTO ON or :CALCulate:MARKer1:X:READout:AUTO 1
The following query r eturns 1.
:CALCulate:MARKer1:X:READout:AUTO?
2-36 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Sets the Y-axis value of the specified fixed marker.
Queries the Y-axis value of the specified marker, and its default unit is dBm.
Parameter
Remarks
This setting command is only available when there is only one marker and it is a fixed marker.
If the marker mode of t he s pec if ied mark er is Pos itio n or Fix ed, th e qu ery co mmand qu eri es th e Y v alu e o f
the marker
If the marker mode of the specified marker is Delta, the query command queries the Y-axis difference
between the reference marker and the Delta marker.
The PvT only supports setting the marker on Trace 1.
Return Format
The query returns the Y-axis value in scientific notation .
Example
The following command sets the Y-axis value of Marker 1 is -59.6 dBm.
:CALCulate:MARKer1:Y -59.6
The following query returns -5.960000000e+01.
:CALCulate:MARKer1:Y?
Sets the trace number of the trace where the marker stays in the Spectrogram view.
Queries the trace number of the trace where the marker stays in the Spectrogram view.
Parameter
Remarks
Only when you sel ect t he Spec tro gr am view of the Spectrogram, Density Spectrogram or PvT Spectrogram
in RTSA mode, can this command be effective.
Return Format
The query returns the trace number in integer.
RSA3000E Programming Guide 2-37
——
RIGOL Chapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
TRACE1|TRACE2|TRACE3|TRACE4|TRACE
5|TRACE6
PDIFference|PSUM|LOFFset|LMOFFset|LD
IFference|OFF
TRACE1|TRACE2|TRACE3|TRACE4|TRACE
5|TRACE6
TRACE1|TRACE2|TRACE3|TRACE4|TRACE
5|TRACE6
Consecutive Real
Number
Consecutive Real
Number
Example
The following command sets the trace number of the trace where the marker1 stays in to 100.
:CALCulate:MARKer1:Z:POSition 100
The following query returns 100.
:CALCulate:MARKer1:Z:POSition?
Description
Sets mathematical operations between traces and, in some cases, user-defined offsets.
Queries the math operation function of the specified trace.
Parameter
<trace_destination> Keyword
<function_math> Keyword
<trace1_operation> Keyword
<trace2_operation> Keyword
<rel_offset>
<rel_reference>
Remarks
PDIFference: indicates the power difference between Operand 1 and Operand 2.
PSUM: indicates the power sum between Operand 1 and Operand 2.
LOFFset: indicates the sum between Operand 1 and the offset parameter <rel_offset>.
LMOFFset: indicates the difference between Operand 1 and the offset parameter <rel_offset>.
LDIFference: indicates that Operand 1 (Op1) minus Operand 2 (Op2), and t hen plus the reference
parameter value <rel_reference>.
OFF: disables the operation function.
<rel_offset> indicates the log offset, and its unit is dB; <rel_reference> indicates the log reference, and its
unit is dBm.
For certain oper ation, if some par ameters are irr elev ant in the oper ation, y ou can replace these par ameters
with ",," in the command. The returned parameters are s epar ated b y commas. The retur ned results of the
irrelevant parameters are undefined. The empty fields are replaced by ",,".
Return Format
The query returns the operation function of the specified trace, namely , PDIF, PSUM, LOFF, LMOFF, LDIF, or
OFF.
Example
The following command sets Trace 1 to the power difference math operation, an d sets Operand Trace 1 to
Trace 4 and Operand Trace 2 to Trace 5.
-100 dB to 100 dB 0 dB
-170 dBm to 30 dBm 0 dBm
——
OFF
TRACE5
TRACE6
2-38 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
OFF|0
:CALCulate:MATH TRACE1,PDIFference,TRACE4,TRACE5,,
The following query returns PDIFference.
Enables or disables the normalize function.
Queries the status of normalization.
Parameter
Remarks
This command is only available for RSA3030E-TG/RSA3015E-TG working in GPSA mode.
This command is only valid when the tracking generator function is enabled.
Return Format
The query returns 0 or 1.
Example
The following command enables normalization.
:CALCulate:NTData:STATe ON or :CALCulate:NTDa ta:STATe 1
The following query returns 1.
:CALCulate:NTData:STATe?
RSA3000E Programming Guide 2-39
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
OFF|0
:CALibration Commands
Command List:
:CALibration:[ALL]
:CALibration:AUTO
:CALibration:[ALL]
Syntax
:CALibration:[ALL]
Description
Executes self-calibration immediately.
Remarks
If the self-calibration succeeded, the co mmand :CALibration:[ALL]? ret urns 0; if failed, the
command :CALibration:[ALL]? returns 1.
Example
The following command executes the self-calibration immediately.
:CALibration:ALL
:CALibration:AUTO
Syntax
:CALibration:AUTO OFF|ON|0|1
:CALibration:AUTO?
Description
Enables or disables auto calibration.
Query the setting status of auto calibration.
Parameter
Return Format
The query returns 0 or 1.
Example
The following command enables auto calibration.
:CALibration:AUTO ON or :CALibration:AUTO 1
The following query returns 1.
:CALibration:AUTO?
2-40 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
The commands with * are only available for the RSA3000E series that has been installed with advanced
measurement kit option.
*
*
*
*
:CONFigure?
Syntax
:CONFigure?
Description
Queries the current measurement function.
Return Format
The query returns SAN, TPOW, ACP, MCHP, OBW, EBW, CNR, HARM, TOI, NORM, DENS, SPEC, DSPE, P VT,
PSP, or PSGR. The explanations for the return results are as follows: SAN (swept SA), TPOW (time-domain
power), ACP (adjacent power), MCHP (multi-channel power), OBW (occupied bandwidth), EBW (emission
bandwidth), CNR (carrier/noise ratio), HARM (harmonics distortion), TO I (third-order intercept), NORM
(Normal), DENS (Density), SPEC (Spectrogram), DSPE (Density Spectrogram), PVT (power versus time),
PSP (PvT Spectrum), PSGR (PvT Spectrogram).
RSA3000E Programming Guide 2-41
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
:CONFigure:ACPower
Syntax
:CONFigure:ACPower
Description
Sets the analyzer to be in the ACP measurement state.
Remarks
This command is only available for GPSA mode.
Running this command will discontinu e the current measurement and restore th e specified measurement of
the instrument to the default factory state.
After changing any measurement setup, running the
you do not have to set the measurement to the default.
:READ Commands will initialize the measurement, and
:CONFigure:CNRatio
Syntax
:CONFigure:CNRatio
Description
Sets the analyzer to be in the CNR measurement state.
Remarks
This command is only available for GPSA mode.
Running this command will discontinu e the current measurement and restore th e specified measurement of
the instrument to the default factory state.
After changing any measurement setup, running the
you do not have to set the measurement to the default.
:READ Commands will initialize the measurement, and
:CONFigure:DENSity
Syntax
:CONFigure:DENSity
Description
Sets the analyzer to be in the Density measurement state.
Remarks
This command is only available for RTSA mode.
Running this command will discontinu e the current measurement and restore th e specified measurement of
the instrument to the default factory state.
2-42 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
:CONFigure:DSPEctrogram
Syntax
:CONFigure:DSPEctrogram
Description
Sets the analyzer to be in the Density Spectr ogram measurement state.
Remarks
This command is only available for RTSA mode.
Running this command will discontinu e the current measurement and restore th e specified measurement of
the instrument to the default factory state.
:CONFigure:EBWidth
Syntax
:CONFigure:EBWidth
Description
Sets the analyzer to be in the EBW measurement state.
Remarks
This command is only available for GPSA mode.
Running this command will discontinue the current measurement and restore the specified measurement of
the instrument to the default factory state.
After changing any measurement setup, running the
you do not have to set the measurement to the default.
:READ Commands will initialize the measurement, and
:CONFigure:HDISt
Syntax
:CONFigure:HDISt
Description
Sets the analyzer to be in the harmonic distortion measurement state.
Remarks
This command is only available for GPSA mode.
Running this command will discontinue the current measurement and restore the specified measurement of
the instrument to the default factory state.
After changing any measurement setup, running the
you do not have to set the measurement to the default.
:READ Commands will initialize the measurement, and
:CONFigure:LPSTep
Syntax
:CONFigure:LPSTep
Description
Resets all the parameters in the current measurement mode.
RSA3000E Programming Guide 2-43
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
:CONFigure:MCHPower
Syntax
:CONFigure:MCHPower
Description
Sets the analyzer to be in the MCHP measurement state.
Remarks
This command is only available for GPSA mode.
Running this command will discontinu e the current measurement and restore th e specified measurement of
the instrument to the default factory state.
After changing any measurement s etup, running the
you do not have to set the measurement to the default.
:READ Commands will initialize the measurement, and
:CONFigure:NORMal
Syntax
:CONFigure:NORMal
Description
Sets the analyzer to be in the Normal measurement state.
Remarks
This command is only available for RTSA mode.
Running this command will discontinue the current measurement and restore the specified measurement of
the instrument to the default factory state.
:CONFigure:OBWidth
Syntax
:CONFigure:OBWidth
Description
Sets the analyzer to be in the OBW measurement state.
Remarks
This command is only available for GPSA mode.
Running this command will discontinu e the current measurement and restore th e specified measurement of
the instrument to the default factory state.
After changing any measurement setup, running the
you do not have to set the measurement to the default.
:READ Commands will initialize the measurement, and
2-44 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
:CONFigure:PSGRam
Syntax
:CONFigure:PSGRam
Description
Sets the analyzer to be in the PvT Spectrogram measurement state.
Remarks
This command is only available for RTSA mode.
Running this command will discontinue the current measurement and restore the specified measurement of
the instrument to the default factory state.
:CONFigure:PSPectrum
Syntax
:CONFigure:PSPectrum
Description
Sets the analyzer to be in the PvT Spectrum measurement state.
Remarks
This command is only available for RTSA mode.
Running this command will discon tinue the current measurement and resto re the specified measurement of
the instrument to the default factory state.
:CONFigure:PVT
Syntax
:CONFigure:PVT
Description
Sets the analyzer to be in the PvT measurement state.
Remarks
This command is only available for RTSA mode.
Running this command will discontinu e the current measurement and restore th e specified measurement of
the instrument to the default factory state.
:CONFigure:SANalyzer
Syntax
:CONFigure:SANalyzer
Description
This command is only available for GPSA mode.
This command will disable the currently ac tivated measurement function , and set the analyzer to the swept
SA mode.
RSA3000E Programming Guide 2-45
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
:CONFigure:SPECtrogram
Syntax
:CONFigure:SPECtrogram
Description
Sets the analyzer to be in the Spectrogram measurement state.
Remarks
This command is only available for RTSA mode.
Running this command will discontinu e the current measurement and restore th e specified measurement of
the instrument to the default factory state.
:CONFigure:TOI
Syntax
:CONFigure:TOI
Description
Sets the analyzer to be in the TOI measurement state.
Remarks
This command is only available for GPSA mode.
Running this command will discontinue the current measurement and restore the specified measurement of
the instrument to the default factory state.
After changing any measurement setup, running the
you do not have to set the measurement to the default.
:READ Commands will initialize the measurement, and
:CONFigure:TPOWer
Syntax
:CONFigure:TPOWer
Description
Sets the analyzer to be in the time-domain power measurement state.
Remarks
This command is only available for GPSA mode.
Running this command will discontinue the current measurement and restore the specified measurement of
the instrument to the default factory state.
After changing any measurement setup, running the
you do not have to set the measurement to the default.
:READ Commands will initialize the measurement, and
2-46 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
:COUPle Commands
Command List:
:COUPle
:COUPle
Syntax
:COUPle ALL
Description
Sets all the manual/auto settings in the current measurement mode to "Auto".
RSA3000E Programming Guide 2-47
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Enables or disables the auto scale function for the horizontal axis in the PvT view.
Queries the status of the auto scale function for the horizonta l axis in the PvT view.
Parameter
Remarks
This command is only valid when the PvT view in RTSA mode is selected.
Return Format
The query returns 1 or 0.
Example
The following command enables the auto scale function for the horizontal axis in the PvT view.
:DISPlay:PVTime:WINDow:TRA Ce:X:SCALe:COUPle ON
or :DISPlay:PVTime:WINDow:TRACe:X:SCALe:COUPle 1
The following query returns 1.
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:COUPle?
Sets the position of the reference time in the horizontal axis of the PvT view.
Queries the position of the reference time in the horizontal axis of the PvT view.
Parameter
Remarks
This command is only valid when the PvT view in RTSA mode is selected.
Return Format
The query returns LEFT, CENT, or RIGH.
Example
The following command sets the position of the reference time in the horizontal axis of the PvT view to
2-52 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
<time>
Consecutive Real Number
0.1 dB to 20 dB
10 dB
Name
Type
Range
Default
<n>
Discrete
1|2|3
1
<real>
Consecutive Real Number
-250 dBm to 250 dB m
0 dBm
"Left".
:DISPlay:PVTime : WIN Do w: TR AC e:X :SCALe:RPOSitio n LE F T
The following query returns LEFT.
:DISPlay:PVTime:WINDow:TRACe:X:SCALe:RPOSition?
:DISPlay:PVTime : WIN Do w: TR AC e:Y [: SCA Le] :RLE Vel <rea l>
:DISPlay:PVTime:WINDow:TRACe:Y[:SCALe]:RLEVel?
Description
Sets the reference level for the vertical axis in the PvT view.
Queries the reference level for the vertical axis in the PvT view.
Parameter
Remarks
This command is only valid when the PvT view in RTSA mode is selected.
RSA3000E Programming Guide 2-53
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
<real>
Consecutive Real Number
-100 to 100
75
Return Format
The query returns the reference level for the vertical axis in scienti fic notation.
Example
The following command sets the reference level for the vertical axis in the PvT view to 100 dBm.
:DISPlay:PVTime:WINDow:TRA Ce:Y:SCALe:RLEVel 100
The following query returns 1.000000000e+02.
:DISPlay:PVTime:WINDow2:TRACe:Y:SCALe:RLEVel?
:DISPlay:VIEW:DENSity:AADJust
Syntax
:DISPlay:VIEW:DENSity:AADJust
Description
Sets the highest density hue to the highes t density value found in the current bitmap; sets the lowest
density hue to the lowest non-zero density value found in the current bitmap.
Remarks
This command is only available for Density and Density Spectrogram in RTSA mode.
Sets the curve nonlinearity.
Queries the curve nonlinearity.
Parameter
Remarks
This command is only available for Density and Density Spectrogram in RTSA mode.
Within the range between the highest density hue and lowest density hue, setting the curve nonlinearity
can change the gradient among different density hues, making the displayed results move towards either
the higher or lower end of the gradient. Increasing the curve nonlinearity value will compress the colors
towards the higher end of the color bar, and decreasing the nonlinearity value will compress the colors
towards the lower end of the color bar.
Return Format
The query returns the curve nonlinearity value in scientific no tation.
Example
The following command sets the curve nonlinearity value to 50.
:DISPlay:VIEW:DENSity:CNONlinear 50
The following query returns 5.000000e+01.
:DISPlay:VIEW:DENSity:CNONlinear?
2-54 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Enables or disables the infinite mode of the persistence time.
Queries the status of the infinite mode of the persistence time.
Parameter
Remarks
This command is only available for Density and Density Spectrogram in RTSA mode.
Return Format
The query returns 0 or 1.
Example
The following command enables the infinite mode of the persistence time.
:DISPlay:VIEW:DENSity:PERSistence:INFinite ON or :DISPlay:VIEW:DENSity:PERSistence:INFinite 1
The following query returns 1.
:DISPlay:VIEW:DENSity:PERSistence:INFinite?
Sets the current display view.
Queries the current display view.
Parameter
—— Keyword
Remarks
NORMal: indicates the normal view.
SPECtrogram: indicates Spectrogram.
DENSity: indica tes Density.
DSPectrogram: indicates Density and Density Spectrogram.
PVT: indicates Power versus Time spectrum.
PVTSpectrum: indicates PvT Spectrum.
PSPectrogram: indicates PvT Spectrogram.
This command is only available for RTSA mode.
Return Format
The query returns NORM, SPEC, DENS, DSP, PVT, PVTS, or PSP.
RSA3000E Programming Guide 2-57
NORMal
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
<integer>
Integer
0 to min (90%, with th e referen ce positio n valu e -10%)
0
Example
The following commands sets the current view to Spectrogram .
:DISPlay:VIEW:SELect SPECtrogram
The following query returns SPEC.
:DISPlay:VIEW:SELect?
:DISPlay:VIEW:SPECtrogram:AADJust
Syntax
:DISPlay:VIEW:SPECtrogram:AADJust
Description
Auto adjusts the reference hue position and bottom hue position based on the highest amplitude value and
the lowest amplitude value found in the spectrogram, respectively.
Remarks
The reference hue position is set to the highest amplitude value, and the bottom hue position to the lowest
amplitude value.
This command is only available for Spectrogram in RTSA mode or the view that contains the spectrogram.
Sets the bottom hue position displayed in the graticule.
Queries the bottom hue position displayed in the graticule.
Parameter
Remarks
Any amplitudes lower than the bottom hue position ar e displayed as black.
This command is only available for Spectrogram in RTSA mode or the view that contains the spectrogram.
Return Format
Queries the bottom hue position displayed in the graticule in int eger.
Example
The following command sets the bottom hue position displayed in the graticule to 40.
:DISPlay:VIEW:SPECtrog ram:B OTTom 40
The following query returns 40.
:DISPlay:VIEW:SPECtrogram:BOTTom?
2-58 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Sets the reference hue.
Queries the reference hue.
Parameter
Remarks
The reference hue indicates the hue value at the top of the color bar in the spectrogram.
This command is only available for Spectrogram in RTSA mode or the view that contains the spectrogram.
Return Format
The query returns the reference hue value in scientific notation.
Example
The following command sets the reference hue value to 120.
:DISPlay:VIEW:SPECtrog ram:H UE 12 0
The following query returns 1.200000e+02.
:DISPlay:VIEW:SPECtrogram:HUE?
Sets the trace to be displayed in the spectrogram.
Queries the trace to be displayed in the spectrogram.
Parameter
Remarks
This command is only available for Spectrogram in RTSA mode or the view that contains the spectrogram.
In the trace window displayed in the spectrogram mode, you can determine the trace either by the trace
number or the trace time. Trace 1 indicates the latest trace. If you select the trac e by tr ac e time, the trac e
that is closest to the set time will be selected.
Return Format
The query returns the displayed trace number in integer.
Example
The following command sets the displayed trace number to 146.
:DISPlay:VIEW:SPECtrogram:POSition 146
RSA3000E Programming Guide 2-59
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
<integer>
Integer
Max (10%, bottom hue value +10%) to 100
100
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
OFF|0
The following query returns 146.
:DISPlay:VIEW:SPECtrogram:POSition?
Enables or disables coupling the marker to the trace.
Queries whether the marker is coupled to the trace.
Parameter
Remarks
When you select "Off", the command allows you to fix the current marker to the displayed trace that is
active when the marker is turned on.
When you select "On", the marker will stay on the selected trace and change with the trace.
This command is only available for Spectrogram in RTSA mode or the view that contains the spectrogram.
Return Format
The query returns 0 or 1.
2-60 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
——
Keyword
TIME|TNUMber
TNUMber
Example
The following command enables coupling the marker to the trace.
:DISPlay:VIEW:SPECtrogram:TRACe:COUPle ON or :DISPlay:VIEW:SPECtrogram:TRACe:COUPle 1
The following query returns 1.
:DISPlay:VIEW:SPECtrogram:TRACe:COUPle?
:DISPlay:VIEW:SPECtrogram:TRACe:SELection
Syntax
:DISPlay:VIEW:SPECtrog ram:TR AC e: SE Lec tion TIME|TNUMber
:DISPlay:VIEW:SPECtrogram:TRACe:SELection?
Description
Sets the selection method for the displayed trace.
Queries the selection method for the displayed trace.
Parameter
Remarks
TIME: indicates the trace time.
TNUMber: indicates the trace number.
Each trace is associated with a time value that represents the acquisition time. Th e formula is as follows:
Trace Time = Trace Number x Acquisition Time.
This command is only available for Spectrogram in RTSA mode or the view that contains the spectrogram.
Return Format
The query returns TIME or TNUM.
Example
The following command sets the selection method for the displayed trace to Time.
:DISPlay:VIEW:SPECtrog ram:TR AC e: SE Lec tion TIME
The following query returns TIME.
:DISPlay:VIEW:SPECtrogram:TRACe:SELection?
RSA3000E Programming Guide 2-61
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Sets the reference level of normalization.
Queries the reference level of normalization.
Parameter
Remarks
This command is only available for RSA3030E-TG/RSA3015E-TG working in GPSA mode.
This command is only valid when the tracking generator function is enabled.
Return Format
The query returns the reference level of normalization in scientific notation.
Example
The following command sets the reference level of normalization to -20 dB.
:DISPlay:WINDow:TRACe:Y:SCALe:NRLevel -20
The following query returns -2.000000e+01.
:DISPlay:WINDow:TRACe:Y:SCALe:NRLevel?
RSA3000E Programming Guide 2-63
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
<integer>
Integer
0% to 100%
100%
Name
Type
Range
Default
<rel_ampl>
Consecutive Real Number
0.1 dB to 20 dB
10 dB
:DISPlay:WINDow:TRACe:Y[:SCALe]:NRPosition
Syntax
:DISPlay:WINDow:TRACe:Y[:SCA Le]:NRPosition <integ e r>
:DISPlay:WINDow:TRACe:Y[:SCALe]:NRPosition?
Description
Sets the reference position of normalization.
Queries the reference position of normalization.
Parameter
Remarks
This command is only available for RSA3030E-TG/RSA3015E-TG working in GPSA mode.
This command is only valid when the tracking generator function is enabled.
Return Format
The query returns the reference position of normalization in integer.
Example
The following command sets the reference position of normalization to 50%.
:DISPlay:WINDow:TRACe:Y:SCALe:NRPosition 50
The following query returns 50.
:DISPlay:WINDow:TRACe:Y:SCALe:NRPosition?
Sets the reference level offset.
Queries the reference level offset.
Parameter
Remarks
The offset of the reference level only mo difies the reference level and amplitude readout of the marker, but
does not change t he position of the curve.
Return Format
The query returns the offset of the reference level in scientific notation.
Example
The following command sets the reference level offset to 10 dB.
:DISPlay:WINDow:TRACe:Y:SCALe:RLEVel:OFFSet 10
The following query returns 1.000000e+01.
:DISPlay:WINDow:TRACe:Y:SCALe:RLEVel:OFFSet?
RSA3000E Programming Guide 2-65
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
The :FETCh commands are only available for the RSA3000E serie s that has been installed with advanced
measurement kit (AMK) option.
RSA3000E Programming Guide 2-67
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
:FETCh:ACPower?
Syntax
:FETCh:ACPower?
Description
Queries the results of adjacent channel power measurement.
Remarks
This command is only valid when the adjacent channel power measurement in GPSA mode is enabled.
The power unit of the return value is consistent with the current Y-axis unit.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns 5 values (main ch annel po wer, u pp er chan n el power, the power dif f erence b etween the
upper channel and the main c h annel (i n dBc), t he l ower ch ann el power, the po wer di ff erenc e between th e
lower channel and the main channel (in dBc)) in scientific notation, and the values are se parated by
commas.
Queries the lower channel power of the adjacent channel power measurement.
Remarks
This command is only valid when the adja cent channel power measurement in GPSA mode is enabled.
The power unit of the return value is consistent with the current Y-axis unit.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the lower channel power in scientific notation.
Example
The following query returns -5.142665000e+01.
:FETCh:ACPower:LOWer?
2-68 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
:FETCh:ACPower:MAIN?
Syntax
:FETCh:ACPower:MAIN?
Description
Queries the main channel power of the adjacent channel power measurement.
Remarks
This command is only valid when the adjacent channel power measurement in GPSA mode is enabled.
The power unit of the return value is consistent with the current Y-axis unit.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the main channel power in scientific notation.
Example
The following query returns -5.150423000e+01.
:FETCh:ACPower:MAIN?
:FETCh:ACPower:UPPer?
Syntax
:FETCh:ACPower:UPPer?
Description
Queries the upper channel power of the adjacent channel power measurement.
Remarks
This command is only valid when the adjacent channel power measurement in GPSA mode is enabled.
The power unit of the return value is consistent with the current Y-axis unit.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the upper channel power in scientific notation.
Example
The following query returns -5.173441000e+01.
:FETCh:ACPower:UPPer?
RSA3000E Programming Guide 2-69
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
:FETCh:CNRatio?
Syntax
:FETCh:CNRatio?
Description
Queries the results of C/N ratio measurement.
Remarks
This command is only valid when the C/N ratio measurement in GPSA mode is enable d .
The power unit of the return value is consistent with the current Y-axis unit.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the carrier power, noise power, and C/N ratio (in dB) in scientific notation. They are
separated by commas.
Example
The following query returns -6.048788000e+01,-6.186192000e+01,1.374039000e+00.
:FETCh:CNRatio?
:FETCh:CNRatio:CARRier?
Syntax
:FETCh:CNRatio:CARRier?
Description
Queries the carrier power.
Remarks
This command is only valid when the C/N ratio measurement in GPSA mode is enabled.
The power unit of the return value is consistent with the current Y-axis unit.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the carrier power in scientific notation.
Example
The following query returns -1.484203000e+01.
:FETCh:CNRatio:CARRier?
2-70 RSA3000E Programming Guide
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
:FETCh:CNRatio:CNRatio?
Syntax
:FETCh:CNRatio:CNRatio?
Description
Queries the results of C/N ratio measurement.
Remarks
This command is only valid when the C/N ratio measurement in GPSA mode is enabled.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the C/N ratio in scientific notation.
Example
The following query returns 8.956909000e-02.
:FETCh:CNRatio:CNRatio?
:FETCh:CNRatio:NOISe?
Syntax
:FETCh:CNRatio:NOISe?
Description
Queries the noise power.
Remarks
This command is only valid when the C/N ratio measurement in GPSA mode is enabled.
The power unit of the return value is consistent with the current Y-axis unit.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the noise power in scientific not ation.
Example
The following query returns -1.442294000e+01.
:FETCh:CNRatio:NOISe?
RSA3000E Programming Guide 2-71
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
:FETCh:EBWidth?
Syntax
:FETCh:EBWidth?
Description
Queries the result of the emission bandwidth measurement.
Remarks
This command is only valid when the emission bandwidth measurement in GPSA mode is enabled.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the emission bandwidth in integer, and its unit is Hz.
Example
The following query returns 5.000000000e+04.
:FETCh:EBWidth?
:FETCh:HARMonics:AMPLitude:ALL?
Syntax
:FETCh:HARMonics:AMPLitude:ALL?
Description
Queries the amplitudes of the first 10 harmonics. The first harmonic is the fundamental waveform.
Remarks
This command is only valid when the harmonic distortion measurement in GPSA mode is enabled.
The amplitude unit of the return value is consistent with the current Y-axis unit.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the amplitudes of the first 10 harmonics in scientific notation (separated by commas).
If the number of harmonics under measurement is less than 10, the harmonics that are not measured do
not have return values.
Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
Name
Type
Range
Default
<n>
Integer
1 to 10
——
:FETCh:HARMonics:AMPLitude? <n>
Syntax
:FETCh:HARMonics :A MP Lit ud e? <n >
Description
Queries the amplitude of the specified harmonic.
Parameter
Remarks
This command is only valid when the harmonic distortion measurement in GPSA mode is enabled.
The amplitude unit of the return value is consistent with the current Y-axis unit.
The query returns --- when the harmonic read does not have data.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the amplitude of the specified harmonic in scientific no tation.
Example
The following query returns -1.692102000e+01.
:FETCh:HARMonics:AMPLitude? 1
:FETCh:HARMonics[:DISTortion]?
Syntax
:FETCh:HARMonics[:DISTortion]?
Description
Queries the percentage of the total harmonic distortion.
Remarks
This command is only valid when the harmonic distortion measurement in GPSA mode is enabled.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the percentage of the total harmonic distortion in scientific notation.
Example
The following query returns 1.510000000e-02.
:FETCh:HARMonics:DISTortion?
RSA3000E Programming Guide 2-73
RIGOLChapter 2 Command Systems for GPSA and RTSA Modes
Name
Type
Range
Default
<n>
Integer
1 to 10
——
:FETCh:HARMonics:FREQuency:ALL?
Syntax
:FETCh:HARMonics:FREQuency:ALL?
Description
Queries the frequencies of the first 10 harmonics. The first harmonic is the fundamental waveform.
Remarks
This command is only valid when the harmonic distortion measurement in GPSA mode is enabled.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the frequencies of the first 10 harmonics in scientific notation (separated by commas).
The unit is Hz.
If the number of harmonics under measurement is less than 10, the harmonics that are not measured do
not have return values.
This command is only valid when the harmonic distortion measurement in GPSA mode is enabled.
The query returns --- when the harmonic read does not have data.
This command will select data from the latest measurement results, and then transmit the data to the
output buffer.
Return Format
The query returns the frequency of the specified harm onic in scientific notation. The unit is Hz.
Example
The following query returns 4.550000000e+07.
:FETCh:HARMonics:FREQuency? 1
2-74 RSA3000E Programming Guide
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.