Spectrum Analyzer
Programming Manual
Contents
Contents
SCPI Introduction
Command Format
Symbol Description
Parameter Type
Command abbreviation
Third-party programming entrance
SCPI Command Set
IEEE 488.2 Common Commands
*IDN?
*RST
CALCulate Commands
:CALCulate:BWIDth|BANDwidth:NDB
:CALCulate:BWIDth|BANDwidth:RESult?
:CALCulate:BWIDth|BANDwidth[:STATe]
:CALCulate:MARKer:AOFF
:CALCulate:MARKer<n>:CPEak[:STATe]
:CALCulate:MARKer<n>:DELTa[:SET]:CENTer
:CALCulate:MARKer<n>:DELTa[:SET]:SPAN
:CALCulate:MARKer:FCOunt:RESolution
:CALCulate:MARKer<n>:FCOunt[:STATe]
:CALCulate:MARKer<n>:FCOunt:X?
:CALCulate:MARKer:FUNCtion:AOFF
:CALCulate:MARKer<n>:MAXimum
:CALCulate:MARKer<n>:MAXimum:LEFT
:CALCulate:MARKer<n>:MAXimum:NEXT
:CALCulate:MARKer<n>:MAXimum:RIGHt
:CALCulate:MARKer<n>:MINimum
:CALCulate:MARKer<n>:MODE
:CALCulate:MARKer<n>:PHNoise[:STATe]
:CALCulate:MARKer:PHNoise:Y?
:CALCulate:MARKer<n>[:SET]:CENTer
:CALCulate:MARKer<n>[:SET]:RLEVel
:CALCulate:MARKer<n>[:SET]:STARt
:CALCulate:MARKer<n>[:SET]:STEP
:CALCulate:MARKer<n>[:SET]:STOP
:CALCulate:MARKer<n>:STATe
:CALCulate:MARKer:TABLe:STATe
:CALCulate:MARKer<n>:TRACe
:CALCulate:MARKer<n>:DELTa:X?
:CALCulate:MARKer<n>:DELTa:Y?
:CALCulate:MARKer<n>:X
:CALCulate:MARKer<n>:Y?
...........................................................................................................................
.....................................................................................................................
...................................................................................................................
.........................................................................................................................
............................................................................................................
.......................................................................................................................
...................................................................................................................................
.....................................................................................................................................
..............................................................................................................
.......................................................................................
...........................................................................................
................................................................................
...........................................................................
............................................................................
...................................................................................................
...............................................................................
......................................................................
.........................................................................
.............................................................................
.............................................................................
....................................................................................
..................................................................................
....................................................................................
............................................................................
..........................................................................
.........................................................................
.....................................................................................
...........................................................................................
...........................................................................
.........................................................................................
..............................................................................
...............................................................................
.................................................................................
..................................................................................
..................................................................................
..........................................................................................
.....................................................................................
.........................................................................................
.....................................................................................
.....................................................................................
.................................................................................................
................................................................................................
1
1
1
2
3
3
4
4
4
4
5
5
5
5
6
6
6
6
7
7
7
7
8
8
8
8
8
9
9
9
10
10
10
10
11
11
11
12
12
12
12
13
i
Contents
:CALCulate:NETMeasure:POWer
:CALCulate:NTDate:NORMalize
:CALCulate:TUNE:AUTO
CALibration Commands
:CALibration[:ALL]
:CALibration:RESTore
CONFigure Commands
:CONFigure:ACPower
:CONFigure:CHPower
:CONFigure:OBWidth
:CONFigure:SANalyzer
:CONFigure:SATime
DISPlay Commands
:DISPlay:ANNotation:CLOCk:DATE:FORMat
:DISPlay:ANNotation:CLOCk[:STATe]
:DISPlay:FORMat:ZOOM
:DISPlay:MENU:STATe
:DISPlay:WINdow:GRID
:DISPlay:WINdow:LABEl
:DISPlay:WINdow:TRACe:X[:SCALe]:OFFSet
:DISPlay:WINdow:TRACe:Y:DLINe
:DISPlay:WINdow:TRACe:Y:DLINe:STATe
:DISPlay:WINdow:TRACe:Y[:SCALe]:GAUge
:DISPlay:WINdow:TRACe:Y[:SCALe]:PDIVision
:DISPlay:WINdow:TRACe:Y[:SCALe]:RLEVel
:DISPlay:WINdow:TRACe:Y[:SCALe]:RLEVel:OFFSet
:DISPlay:WINdow:TRACe:Y[:SCALe]:SPACing
HCOPy Commands
:HCOPy:IMAGe:COLor[:STATe]
:HCOPy:IMAGe:TYPe
:HCOPy:PAGE:ORIentation
:HCOPy:PAGE:PRINts
:HCOPy:PAGE:SIZE
:HCOPy:SCReen
:HCOPy:TRACe
INITiate Commands
:INITiate:CONTinuous
MMEMory Commands
:MMEMory:CATalog?
:MMEMory:COPY:SCReen
:MMEMory:COPY:TRACe
:MMEMory:DELete:ALL
:MMEMory:DELete:SCReen
:MMEMory:DELete:SCReen:ALL
................................................................................................................
..................................................................................................................
.................................................................................................................
...................................................................................................................
....................................................................................................
..........................................................................................................
.............................................................................................................
.........................................................................................................
...........................................................................................................
........................................................................................................
........................................................................................................
........................................................................................................
.......................................................................................................
...........................................................................................................
...................................................................................................
........................................................................................................
.....................................................................................................
....................................................................................................
.........................................................................................................
.........................................................................................................
.............................................................................................................
...............................................................................................................
........................................................................................................
.............................................................................................................
........................................................................................................
...................................................................................................
.....................................................................................................
......................................................................................
.........................................................................................
.................................................................................
.....................................................................................
..........................................................................................
................................................................................................
.................................................................................................
..............................................................................................
.......................................................................................
......................................................................
.....................................................................
...........................................................................
......................................................................
.................................................................
......................................................................
.........................................................
....................................................................
13
13
14
15
15
15
16
16
16
16
16
16
17
17
17
17
18
18
18
19
19
19
19
20
20
20
20
22
22
22
22
22
23
23
23
24
24
25
25
25
25
25
25
26
ii
Contents
:MMEMory:DELete:TRACe
:MMEMory:DELete:TRACe:ALL
:MMEMory:DISK:INFormation
:MMEMory:LOAD:SCReen
:MMEMory:LOAD:TRACe
:MMEMory:STORe:QUICK:SAVE
:MMEMory:STORe:SCReen
:MMEMory:STORe:STATe
:MMEMory:STORe:TRACe
OUTPut Commands
:OUTPut:TRACk[:STATe]
SENSe Commands
[:SENSe]:ACPower:BANDwidth:ACHannel:COUNt
[:SENSe]:ACPower:BANDwidth:INTegration
[:SENSe]:ACPower:CSPacing
[:SENSe]:AVERage:COUNt
[:SENSe]:AVERage[:STATe]
[:SENSe]:BANDwidth|BWIDth[:RESolution]
[:SENSe]:BANDwidth|BWIDth[:RESolution]:AUTO
[:SENSe]:BANDwidth|BWIDth[:RESolution]:STEP:MODE
[:SENSe]:BANDwidth|BWIDth:VIDeo
[:SENSe]:BANDwidth|BWIDth:VIDeo:AUTO
[:SENSe]:BANDwidth:EMC
[:SENSe]:BANDwidth:EMC:STATe
[:SENSe]:DEMod:AM[:CARRier]:FREQuency
[:SENSe]:DEMod:AM:IFBW
[:SENSe]:DEMod:AM:IFBW:AUTO
[:SENSe]:DEMod:AM:STATe
[:SENSe]:DEMod:FM[:CARRier]:FREQuency
[:SENSe]:DEMod:FM:IFBW
[:SENSe]:DEMod:FM:IFBW:AUTO
[:SENSe]:DEMod:FM:STATe
[:SENSe]:DEMod:FREQuency
[:SENSe]:DEMod:MODE
[:SENSe]:DEMod:STATe
[:SENSe]:DETector[:FUNCtion]
[:SENSe]:FREQuency:CENTer
[:SENSe]:FREQuency:CENTer:STEP:AUTO
[:SENSe]:FREQuency:CENTer:STEP[:INCRement]
[:SENSe]:FREQuency:REFerence
[:SENSe]:FREQuency:SPAN
[:SENSe]:FREQuency:SPAN:FULL
[:SENSe]:FREQuency:SPAN:PREVious
[:SENSe]:FREQuency:SPAN:ZERO
................................................................................................................
..................................................................................................................
................................................................................................
.........................................................................................
..........................................................................................
.................................................................................................
..................................................................................................
.......................................................................................
...............................................................................................
..................................................................................................
.................................................................................................
.....................................................................................................
.....................................................................
.............................................................................................
.................................................................................................
.................................................................................................
.....................................................................
...............................................................................
.....................................................................
................................................................................................
......................................................................................
.....................................................................
...............................................................................................
.....................................................................................
...............................................................................................
.....................................................................
................................................................................................
.....................................................................................
...............................................................................................
............................................................................................
....................................................................................................
......................................................................................................
..........................................................................................
.............................................................................................
.........................................................................
.......................................................................................
................................................................................................
.......................................................................................
...............................................................................
......................................................................................
...........................................................
...........................................................
................................................
.............................................................
26
26
26
26
26
27
27
27
27
28
28
29
29
29
29
29
30
30
30
31
31
31
32
32
32
32
33
33
33
34
34
34
34
35
35
35
36
36
36
37
37
37
37
37
iii
Contents
[:SENSe]:FREQuency:STARt
[:SENSe]:FREQuency:STOP
[:SENSe]:OBWidth:PERCent
[:SENSe]:PASSFAIL:LINELimit:LOWer:CLEar
[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:DELete
[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:X
[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:Y
[:SENSe]:PASSFAIL:LINELimit:LOWer:STATe
[:SENSe]:PASSFAIL:LINELimit:MARKer<n>:STATe?
[:SENSe]:PASSFAIL:LINELimit:STATe
[:SENSe]:PASSFAIL:LINELimit:UPper:CLEar
[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:DELete
[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:X
[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:Y
[:SENSe]:PASSFAIL:LINELimit:UPPer:STATe
[:SENSe]:PASSFAIL:LINELimit:X:OFFSET
[:SENSe]:PASSFAIL:LINELimit:Y:OFFSET
[:SENSe]:PASSFAIL:WINdow:AMPl:LOWer
[:SENSe]:PASSFAIL:WINdow:AMPl:UPper
[:SENSe]:PASSFAIL:WINdow:AMPt:STATe
[:SENSe]:PASSFAIL:WINdow:FREQuency:END
[:SENSe]:PASSFAIL:WINdow:FREQuency:STARt
[:SENSe]:PASSFAIL:WINdow:FREQuency:STATe
[:SENSe]:PASSFAIL:WINdow:MARKer<n>:STATe?
[:SENSe]:PASSFAIL:WINdow:STATe
[:SENSe]:PASSFAIL:WINdow:SWEEP:STATe
[:SENSe]:POWer[:RF]:ATTenuation
[:SENSe]:POWer[:RF]:ATTenuation:AUTO
[:SENSe]:POWer[:RF]:GAIN[:STATe]:AUTO
[:SENSe]:SWEep:POINts
[:SENSe]:SWEep:TIME
[:SENSe]:SWEep:TIME:AUTO
SOURce Commands
:SOURce:POWer:TRACk[:POWer]
SYSTem Commands
:SYSTem:COMMunicate:LAN:DHCP
:SYSTem:COMMunicate:LAN:GATE
:SYSTem:COMMunicate:LAN:IP:ADDRess
:SYSTem:COMMunicate:LAN:MASK
:SYSTem:CONFigure:FIRMwareupdate
:SYSTem:CONFigure:information?
:SYSTem:DATE
:SYSTem:LANGuage
:SYSTem:PON:TYPE
................................................................................................................
................................................................................................................
....................................................................................................................
...........................................................................................................
............................................................................................................
...............................................................................................
................................................................................................
..............................................................................................
......................................................................
......................................................................
...................................................................................
.......................................................................
.......................................................................
............................................................................
.............................................................................
........................................................................
.........................................................................
.........................................................................
....................................................................................
.......................................................................
...................................................................................
.........................................................................
........................................................................
....................................................................................................
.......................................................................................................
............................................................................................
.....................................................................................
..................................................................................
...................................................................................
.........................................................................
..................................................................................
.............................................................................
....................................................................................
...................................................
.............................................................
.............................................................
............................................................
....................................................
.............................................................
..............................................................
..................................................................
................................................................
................................................................
.............................................................
38
38
38
38
39
39
39
39
40
40
40
40
41
41
41
41
42
42
42
42
43
43
43
44
44
44
45
45
45
46
46
46
47
47
48
48
48
48
48
49
49
49
50
50
iv
Contents
:SYSTem:PRESet:TYPE
:SYSTem:SPEaker:VOLume
:SYSTem:TIME
TRACe Commands
:TRACe[:DATA]?
:TRACe:SOCKdata?
:TRACe<n>:MODE
Trigger Commands
:TRIGger:SEQuence:SOURce
:TRIGger:SEQuence:SOURce:VIDeo:POWer
UDISk Commands
:UDISk:STORe:SCReen
:UDISk:STORe:TRACe
UNIT Commands
:UNIT:POWer
....................................................................................................................
.....................................................................................................................
.....................................................................................................................
........................................................................................................
................................................................................................
..................................................................................................................
.................................................................................................................
............................................................................................................
.............................................................................................................
.................................................................................................................
.............................................................................................
...................................................................................................................
.......................................................................................................
.........................................................................................................
.....................................................................
50
50
51
52
52
52
52
54
54
54
55
55
55
56
56
v
SCPI Introduction
SCPI (Standard Commands for Programmable Instrument) is a standard instruction set for programmable
devices under IEEE 488.2. SCPI commands are divided into two parts: IEEE 488.2 Common Commands
and SCPI Instrument Specific Control Commands.
Common commands are commands that the instrument specified in IEEE 488.2 must support. Its syntax
and semantics follow IEEE 488.2. Common commands are independent from the measurement and are
used to control reset, self-test and status inspection. For an introduction of SCPI common commands,
refer to the relative chapter below.
SCPI instrument-specific control commands are used to measure, read data, and toggle switches,
including all measurement functions and specific functions.。
Command Format
The SCPI command is a tree hierarchy that includes multiple subsystems, each consisting of a root key
and one or more level keys. The command line usually begins with a colon ":"; the keywords are
separated by the colon ":" followed by the optional parameter settings; the question mark "?" is added
after the command line to query this function; the commands and parameters separate with "space".
E.g
:CALCulate:BANDwidth:NDB <rel_ampl>
:CALCulate:BANDwidth:NDB?
CALCulate is the root keyword of the command, BANDwidth and NDB are the second level, third level
keywords. The command line starts with a colon ":" and at the same time separates keywords at all levels,
<rel_ampl> indicates configurable parameters; the question mark "?" indicates a query; the command:
CALCulate:BANDwidth:NDB and parameter <rel_ampl> "separate.
In some commands with parameters, it is common to use commas "," to separate the parameters, for
example:
:SYSTem:DATE <year>,<month>,<day>
Symbol Description
The following four symbols are not part of the SCPI command, but are usually used to assist in specifying
the parameters in the command.。
Brace { }
Parameters in brace are optional and can be set one or more times or even don’t set them. E.g:
1
The frequency and magnitude of {, <freq>, <rel_ampl>} in the command [:SENSe]:CORRection:CSET
<n>:DATA <freq>, <rel ampl> {, <freq>, <rel ampl>} can be omitted, or to set one or more pairs of
frequency and amplitude parameters.
Vertical bar |
Vertical bars are used to separate multiple parameter options, one of which must be selected when
sending commands. E.g,
In DISPlay:MENU:STATe OFF | ON | 0 | 1 command, the parameters that can be selected are "OFF", "ON",
"0" or "1".
Square bracket [ ]
The contents of the square bracket (command key) are optional and are executed regardless of whether
they are omitted. E.g
[:SENSe]:CORRection:OFFSet[:MAGNitude]?
The effect of sending the following three commands is the same:
:CORRection:OFFSet?
:CORRection:OFFSet:MAGNitude?
:SENSe:CORRection:OFFSet?
Triangle bracket < >
The parameters in the triangle brackets must be replaced with a valid value. E.g:
:DISPlay:BRIGtness <integer>
:DISPlay:BRIGtness 10
Parameter Type
The commands contain 8 kinds of parameters, different parameters have different setting methods.
(1) arbitrary block
A specified length of arbitrary data, for example,
#6377512xxxxx . . . where
6 indicates that the following 6 digits (377512) specify the length of the data in bytes; xxxxx ...
indicates the data or #0xxxxx...<LF><&EOI>
(2) boolean
Boolean numbers or values, for example,
ON or ≠ 0
OFF or 0
(3) discrete
A list of specific values, for example,
MIN, MAX
(4) NR1 numeric
2
Integers, for example,
0, 2, 30, -5
(5) NR2 numeric
Decimal numbers, for example,
0.6, 3.1415926, -2.6
(6) NR3 numeric
Floating point numbers, for example,
3.1415E-7, -8.2E3
(7) NRf numeric
Flexible decimal number that may be type NR1, NR2 or NR3
See NR1, NR2, and NR3 examples
(8) string
Alphanumeric characters (must be within quotation marks)
"Model, 123456"
Command abbreviation
All commands are not case sensitive, you can use all uppercase or lowercase. However, if you want to
abbreviate, you must enter all capital letters in the command format, for example:
:CALCulate:BANDwidth:NDB? can be abbreviated into:CALC:BAND:NDB?
Third-party programming entrance
The analyzer and the computer can communicate through the following interfaces: LAN interface and
USB interface. please refer to the product's user manual for the use of various communication interface.
When using commands to program, all command words are sent and recognized as ASCII strings for
operation and secondary development.
You can implement the following actions by programming:
Set the analyzer
Implement the measurement
Get data from the spectrum analyzer (instrument working status and measurement data results)
3
SCPI Command Set
Queries the manufacturer, model number, serial number, and firmware version
of the instrument.
*IDN?
Returns the instrument identification as a string in the following
format:
<Manufacturer>,<Model Number>,<Serial Number>,<Firmware
Version>
*RST
In this command set, unless otherwise specified, the query function returns "N/A" (without the quotes)
when the function is optional and not installed.And when the query function is not turned on or the type
does not match, it returns "ERR" (without quotes).
IEEE 488.2 Common Commands
The IEEE standard defines some common commands for querying basic information about the instrument
or performing common basic operations. The commands usually start with "*" and the command
keyword is three characters in length.
*IDN?
*RST
4
CALCulate Commands
Sets the power level, below the peak of the signal, at which the signal bandwidth
will be measured by the markers.
:CALCulate:BWIDth|BANDwidth[:STATe]
must be ON.
:CALCulate:BWIDth|BANDwidth:NDB <rel_ampl>
:CALCulate:BWIDth|BANDwidth:NDB?
Returns the NdB bandwidth measurement.
:CALCulate:BWIDth|BANDwidth:RESult?
:CALC:BAND:RES?
returns
26000
Sets or queries the state of the NdB bandwidth measurement function. The
function measures the bandwidth, at the number of dB down specified
in
:CALCulate:BWIDth|BANDwidth:NDB
, of the maximum signal on the display.
:CALCulate:BWIDth|BANDwidth[:STATe] {OFF|ON|0|1}
:CALCulate:BWIDth|BANDwidth[:STATe]?
Turns NdB BW off.
Turns NdB BW on.
Turns NdB BW off.
Turns NdB BW on.
01NdB BW is off.
NdB BW is on.
:CALCulate:BWIDth|BANDwidth:NDB
:CALCulate:BWIDth|BANDwidth:RESult?
:CALCulate:BWIDth|BANDwidth[:STATe]
5
:CALCulate:MARKer:AOFF
Turns all the markers off.
Sets or queries the state of continuous peaking. It continuously puts the selected
marker on the highest displayed signal peak. This function is intended to
maintain the marker on signals with a frequency that is changing, and an
amplitude that is not changing.
:CALCulate:MARKer<n>:CPEak[:STATe] {OFF|ON|0|1}
:CALCulate:MARKer<n>:CPEak[:STATe]?
<NR1> Marker number 1 to 5
Turns continuous peaking off.
Turns continuous peaking on.
Turns continuous peaking off.
Turns continuous peaking on.
01Continuous peaking is off.
Continuous peaking is on.
Changes the center frequency of the analyzer to the frequency difference
between the two markers. This command is not available if the delta marker is
off.
:CALCulate:MARKer<n>:DELTa[:SET]:CENTer
<NR1> Marker number 1 to 5
Changes the span of the analyzer to the frequency difference between the two
markers. This command is not available if the delta marker is off.
:CALCulate:MARKer<n>:DELTa[:SET]:SPAN
<NR1> Marker number 1 to 5
:CALCulate:MARKer<n>:CPEak[:STATe]
:CALCulate:MARKer<n>:DELTa[:SET]:CENTer
:CALCulate:MARKer<n>:DELTa[:SET]:SPAN
6
SCPI Introduction
Sets or queries the frequency counter resolution in Hz.
:CALCulate:MARKer:FCOunt:RESolution <freq>
:CALCulate:MARKer:FCOunt:RESolution?
Frequency resolution in Hz
Only 1000, 100, 10, 1 Hz are meaningful.
Frequency resolution in Hz
Sets or queries the state of the marker frequency counter function.
:CALCulate:MARKer<n>:FCOunt[:STATe] {OFF|ON|0|1}
:CALCulate:MARKer<n>:FCOunt[:STATe]?
<NR1> Marker number 1 to 5.
Turns frequency counter off.
Turns frequency counter on.
Turns frequency counter off.
Turns frequency counter on.
01Frequency counter is off.
Frequency counter is on.
Returns the counter frequency of the selected marker in Hz.
:CALCulate:MARKer<n>:FCOunt:X?
<NR1> Marker number 1 to 5.
:CALC:MARK1:FCO:X?
returns
230580000
Turns off the opened noise markers or NdB BW measurements, but not the
markers themselves.
:CALCulate:MARKer:FUNCtion:AOFF
:CALCulate:MARKer:FCOunt:RESolution
:CALCulate:MARKer<n>:FCOunt[:STATe]
:CALCulate:MARKer<n>:FCOunt:X?
:CALCulate:MARKer:FUNCtion:AOFF
7
SCPI Introduction
Performs peak search and places a marker on the highest peak.
:CALCulate:MARKer<n>:MAXimum
<NR1> Marker number 1 to 5
Places the selected marker on the next highest signal peak to the left of the
current marked peak.
:CALCulate:MARKer<n>:MAXimum:LEFT
<NR1> Marker number 1 to 5
Places the selected marker on the next highest signal peak from the current
marked peak.
:CALCulate:MARKer<n>:MAXimum:NEXT
<NR1> Marker number 1 to 5
Places the selected marker on the next highest signal peak to the right of the
current marked peak.
:CALCulate:MARKer<n>:MAXimum:RIGHt
<NR1> Marker number 1 to 5
Places the selected marker on the lowest point on the trace that is assigned to
that particular marker number.
:CALCulate:MARKer<n>:MINimum
<NR1> Marker number 1 to 5
:CALCulate:MARKer<n>:MAXimum
:CALCulate:MARKer<n>:MAXimum:LEFT
:CALCulate:MARKer<n>:MAXimum:NEXT
:CALCulate:MARKer<n>:MAXimum:RIGHt
:CALCulate:MARKer<n>:MINimum
8
SCPI Introduction
Sets or queries the marker type.
:CALCulate:MARKer<n>:MODE {NORMal|DELTa}
:CALCulate:MARKer<n>:MODE?
Parameter/
Return parameter
<NR1> Marker number 1 to 5.
Normal marker
Delta marker
Sets or queries the state of the Marker Noise function for the specified marker.
This function measures the average noise level at the marked point and then
normalize this value to 1 Hz bandwidth.
:CALCulate:MARKer<n>:PHNoise[:STATe] {OFF|ON|0|1}
:CALCulate:MARKer<n>:PHNoise[:STATe]?
<NR1> Marker number 1 to 5.
Turns Marker Noise off.
Turns Marker Noise on.
Turns Marker Noise off.
Turns Marker Noise on.
01Marker Noise is off.
Marker Noise is on.
Returns the normalized noise level over a BW of 1Hz from the marker position.
:CALCulate:MARKer:PHNoise:Y?
Normalized noise level in dBm.
:CALC:MARK:PHN:Y?
returns
127.8
:CALCulate:MARKer<n>:MODE
:CALCulate:MARKer<n>:PHNoise[:STATe]
:CALCulate:MARKer:PHNoise:Y?
9
SCPI Command Set
Sets the center frequency equal to the specified marker frequency, which moves
the marker to the center of the screen. In delta marker mode, the center
frequency is set to the delta marker frequency. This command is not available in
zero span.
:CALCulate:MARKer<n>[:SET]:CENTer
<NR1> Marker number 1 to 5
Sets the reference level to the specified marker amplitude. In delta marker mode,
the reference level is set to the delta marker amplitude.
:CALCulate:MARKer<n>[:SET]:RLEVel
<NR1> Marker number 1 to 5
Sets the start frequency to the value of the specified marker frequency. In delta
marker mode, the start frequency is set to the delta marker frequency. This
command is not available in zero span.
:CALCulate:MARKer<n>[:SET]:STARt
<NR1> Marker number 1 to 5
Sets the center frequency step size equal to the specified marker frequency. In
delta marker mode, the center frequency step size is set to the delta marker
frequency. This command is not available in zero span.
:CALCulate:MARKer<n>[:SET]:STEP
<NR1> Marker number 1 to 5
:CALCulate:MARKer<n>[:SET]:CENTer
:CALCulate:MARKer<n>[:SET]:RLEVel
:CALCulate:MARKer<n>[:SET]:STARt
:CALCulate:MARKer<n>[:SET]:STEP
10
SCPI Command Set
Sets the stop frequency to the value of the specified marker frequency. In delta
marker mode, the stop frequency is set to the delta marker frequency. This
command is not available in zero span.
:CALCulate:MARKer<n>[:SET]:STOP
<NR1> Marker number 1 to 5
Sets or queries the state of the selected marker.
:CALCulate:MARKer<n>:STATe {OFF|ON|0|1}
:CALCulate:MARKer<n>:STATe?
<NR1> Marker number 1 to 5.
Turns the selected marker off.
Turns the selected marker on.
Turns the selected marker off.
Turns the selected marker on.
01The selected marker is off.
The selected marker is on.
Sets or queries the state of the marker table.
:CALCulate:MARKer:TABLe:STATe {OFF|ON|0|1}
:CALCulate:MARKer:TABLe:STATe?
Turns the table off.
Turns the table on.
Turns the table off.
Turns the table on.
01The table is off.
The table is on.
:CALCulate:MARKer<n>[:SET]:STOP
:CALCulate:MARKer<n>:STATe
:CALCulate:MARKer:TABLe:STATe
11
SCPI Command Set
Sets or queries the state of continuous peaking. It continuously puts the selected
marker on the highest displayed signal peak. This function is intended to
maintain the marker on signals with a frequency that is changing, and an
amplitude that is not changing.
:CALCulate:MARKer<n>:TRACe <integer>
:CALCulate:MARKer<n>:TRACe?
Parameter/
Return parameter
<NR1> Marker number 1 to 5
The number of the trace: (1, 2, 3, 4, 5)
Returns the reference marker position of delta marker.
:CALCulate:MARKer<n>:DELTa:X?
<NR1> Marker number 1 to 5
:CALC:MARK3:DELT:X?
returns
300000000Hz
Returns the reference marker's vertical position of delta marker.
:CALCulate:MARKer<n>:DELTa:Y?
<NR1> Marker number 1 to 5
Power or voltage.
If the specified marker is not active, returns ERR.
:CALC:MARK3:DELT:Y?
returns
9.8dBm
Sets or returns the marker position. In delta marker mode, this command returns
the frequency difference between the markers.
:CALCulate:MARKer<n>:X <freq>
:CALCulate:MARKer<n>:X?
:CALCulate:MARKer<n>:TRACe
:CALCulate:MARKer<n>:DELTa:X?
:CALCulate:MARKer<n>:DELTa:Y?
:CALCulate:MARKer<n>:X
12
<NR1> Marker number 1 to 5
Frequency in GHz, MHz, kHz, Hz. The default unit is Hz.
Frequency in Hz.
If the specified marker is not active, returns ERR.
:CALC:MARK2:X 300MHz
query
:CALC:MARK2:X?
returns
300000000Hz
:CALCulate:MARKer<n>:Y?
Returns the marker’s vertical position. In delta marker mode, this command
returns the amplitude difference between the markers.
<NR1> Marker number 1 to 5
Power or voltage.
If the specified marker is not active, returns ERR.
:CALC:MARK3:Y?
returns
9.8dBm
Sets or queries the network measurement output power level.
:CALCulate:NETMeasure:POWer <ampl>
:CALCulate:NETMeasure:POWer?
<NRf> Power or voltage, -30dBm to 0dbm
Turns the tracking generator normalization on/off or queries its state.
:CALCulate:NTDate:NORMalize {OFF|ON|0|1}
:CALCulate:NTDate:NORMalize?
SCPI Command Set
:CALCulate:NETMeasure:POWer
:CALCulate:NTDate:NORMalize
13
Turns the normalization off.
Turns the normalization on.
Turns the normalization off.
Turns the normalization on.
01The normalization is off.
The normalization is on.
:CALCulate:TUNE:AUTO
Runs the auto tune function.
SCPI Command Set
14
CALibration Commands
After connecting the calibration signal to front panel RF Input connector,
execute :CAL to perform the calibration.
:CALibration[:ALL]
:CALibration[:ALL]?
The calibration is successful.
Restores the calibration settings originally set at the factory.
:CALibration:RESTore
:CALibration[:ALL]
:CALibration:RESTore
SCPI Command Set
15
CONFigure Commands
This command places the analyzer in Adjacent Channel Power measurement
state.
:CONFigure:ACPower
This command places the analyzer in Channel Power measurement state.
:CONFigure:CHPower
This command places the analyzer in Occupied Bandwidth measurement state.
:CONFigure:OBWidth
Directly exit the currently running measurement function.
:CONFigure:SANalyzer
Turns on or off time spectrum measure mode.
:CONFigure:SATime
:CONFigure:ACPower
:CONFigure:CHPower
SCPI Command Set
:CONFigure:OBWidth
:CONFigure:SANalyzer
:CONFigure:SATime
16
SCPI Command Set
Sets or queries the display format of date&time.
:DISPlay:ANNotation:CLOCk:DATE:FORMat {YMDhms|HMSymd}
:DISPlay:ANNotation:CLOCk:DATE:FORMat?
Parameter/
Return parameter
Set the display format of date&time to YYYY-MM-DD HH:MM:SS.
Set the display format of date&time to HH:MM:SS YYYY-MM-DD.
:DISP:ANN:CLOC:DATE:FORM YMDhms
Turns the on-screen date&time display on/off or queries its state.
:DISPlay:ANNotation:CLOCk[:STATe] {OFF|ON|0|1}
:DISPlay:ANNotation:CLOCk[:STATe]?
Turns the date&time display off.
Turns the date&time display on.
Turns the date&time display off.
Turns the date&time display on.
01The date&time display is off.
The date&time display is on.
Turns the zoom-in window on/off or queries its state. The zoomed window
centers on the center frequency, and its span is 1/10 of the previous span.
:DISPlay:FORMat:ZOOM {OFF|ON|0|1}
:DISPlay:FORMat:ZOOM?
Turns the zoom-in window off.
Turns the zoom-in window on.
Turns the zoom-in window off.
Turns the zoom-in window on.
01The zoom-in window is off.
The zoom-in window is on.
DISPlay Commands
:DISPlay:ANNotation:CLOCk:DATE:FORMat
:DISPlay:ANNotation:CLOCk[:STATe]
:DISPlay:FORMat:ZOOM
17
:DISPlay:MENU:STATe
Turns the full screen display mode on/off or queries its state.
:DISPlay:MENU:STATe {OFF|ON|0|1}
:DISPlay:MENU:STATe?
Turns the full screen display mode off.
Turns the full screen display mode on.
Turns the full screen display mode off.
Turns the full screen display mode on.
01The full screen display mode is off.
The full screen display mode is on.
Turns the on-screen grid on/off or queries its state.
:DISPlay:WINdow:GRID {OFF|ON|0|1}
:DISPlay:WINdow:GRID?
Turns the grid off.
Turns the grid on.
Turns the grid off.
Turns the grid on.
01The grid is off.
The grid is on.
Turns the on-screen label on/off or queries its state.
:DISPlay:WINdow:LABEl {OFF|ON|0|1}
:DISPlay:WINdow:LABEl?
Turns the label off.
Turns the label on.
Turns the label off.
Turns the label on.
01The label is off.
The label is on.
:DISPlay:WINdow:GRID
SCPI Command Set
:DISPlay:WINdow:LABEl
18
SCPI Command Set
Sets or queries the X-axis frequency offset.
:DISPlay:WINdow:TRACe:X[:SCALe]:OFFSet <freq>
:DISPlay:WINdow:TRACe:X[:SCALe]:OFFSet?
:DISP:WIN:TRAC:X:OFFS 1000
Sets or queries the display line amplitude level.
:DISPlay:WINdow:TRACe:Y:DLINe <ampl>
:DISPlay:WINdow:TRACe:Y:DLINe?
<NRf> power or voltage in the current Y-axis unit.
:DISP:WIN:TRAC:Y:DLIN -5.0e+1
Turns the display line on/off or queries its state.
:DISPlay:WINdow:TRACe:Y:DLINe:STATe {OFF|ON|0|1}
:DISPlay:WINdow:TRACe:Y:DLINe:STATe?
Turns the display line off.
Turns the display line on.
Turns the display line off.
Turns the display line on.
01The display line is off.
The display line is on.
:DISP:WIN:TRAC:Y:DLIN:STAT ON
Turns the on-screen scale on/off or queries its state.
:DISPlay:WINdow:TRACe:Y[:SCALe]:GAUge {OFF|ON|0|1}
:DISPlay:WINdow:TRACe:Y[:SCALe]:GAUge?
01Turns the scale off.
Turns the scale on.
:DISPlay:WINdow:TRACe:X[:SCALe]:OFFSet
:DISPlay:WINdow:TRACe:Y:DLINe
:DISPlay:WINdow:TRACe:Y:DLINe:STATe
:DISPlay:WINdow:TRACe:Y[:SCALe]:GAUge
19
SCPI Command Set
OFFONTurns the scale off.
Turns the scale on.
01The scale is off.
The scale is on.
Sets or queries the Y-axis scale/div when the amplitude scale is logarithmic.
:DISPlay:WINdow:TRACe:Y[:SCALe]:PDIVision <rel_ampl>
:DISPlay:WINdow:TRACe:Y[:SCALe]:PDIVision?
Parameter/
Return parameter
<NR1> 1 dB to 255 dB
Example
Sets or queries the Y-axis reference level. The units depend on the scale type
(logarithmic/linear).
:DISPlay:WINdow:TRACe:Y[:SCALe]:RLEVel <ampl>
:DISPlay:WINdow:TRACe:Y[:SCALe]:RLEVel?
Parameter/
Return parameter
<NRf> in current active unit
:DISP:WIN:TRAC:Y:RLEV -10
Sets or queries the Y-axis reference level offset.
:DISPlay:WINdow:TRACe:Y[:SCALe]:RLEVel:OFFSet <rel_ampl>
:DISPlay:WINdow:TRACe:Y[:SCALe]:RLEVel:OFFSet?
:DISP:WIN:TRAC:Y:RLEV:OFFS -5.0e+1 dB
Sets or queries the type of scale: logarithmic or linear.
:DISPlay:WINdow:TRACe:Y[:SCALe]:SPACing {LINear|LOGarithmic}
:DISPlay:WINdow:TRACe:Y[:SCALe]:PDIVision
:DISPlay:WINdow:TRACe:Y[:SCALe]:RLEVel
:DISPlay:WINdow:TRACe:Y[:SCALe]:RLEVel:OFFSet
:DISPlay:WINdow:TRACe:Y[:SCALe]:SPACing
20
SCPI Command Set
:DISPlay:WINdow:TRACe:Y[:SCALe]:SPACing?
Parameter/
Return parameter
Linear scale
Logarithmic scale
:DISP:WIN:TRAC:Y:SPAC LOG
21
HCOPy Commands
Turns the color printing on/off or queries its state.
:HCOPy:IMAGe:COLor[:STATe] {OFF|ON|0|1}
:HCOPy:IMAGe:COLor[:STATe]?
Turns the color printing off.
Turns the color printing on.
Turns the color printing off.
Turns the color printing on.
01The color printing is off.
The color printing is on.
Sets or queries the language for printing. The default is PCL.
:HCOPy:IMAGe:TYPe {PCL|ESC}
:HCOPy:IMAGe:TYPe?
Parameter/
Return parameter
Set the language to PCL.
Set the language to ESC.
Sets or queries the page orientation for printing.
:HCOPy:PAGE:ORIentation {LANDscape|PORTrait}
:HCOPy:PAGE:ORIentation?
Parameter/
Return parameter
Set the page orientation to landscape.
Set the page orientation to portrait.
Sets or queries the number of print copies.
:HCOPy:PAGE:PRINts <number>
:HCOPy:IMAGe:COLor[:STATe]
SCPI Command Set
:HCOPy:IMAGe:TYPe
:HCOPy:PAGE:ORIentation
:HCOPy:PAGE:PRINts
22
:HCOPy:PAGE:SIZE
Sets or queries the page size for printing. The default is A4.
:HCOPy:PAGE:SIZE {DEFault|A4|A3|B5|C5|LETTer}
:HCOPy:PAGE:SIZE?
Parameter/
Return parameter
DEFault|A4
A3
B5
C5
LETTer
Set the page size to A4.
Set the page size to A3.
Set the page size to B5.
Set the page size to C5.
Set the page size to LETTer.
:HCOPy:SCReen
:HCOPy:TRACe
SCPI Command Set
:HCOPy:SCReen
:HCOPy:TRACe
23
INITiate Commands
Sets the sweep mode to continuous or single mode or queries its state.
:INITiate:CONTinuous {OFF|ON|0|1}
:INITiate:CONTinuous?
Sets the sweep mode to single.
Sets the sweep mode to continuous.
Sets the sweep mode to single.
Sets the sweep mode to continuous.
01The sweep mode is single.
The sweep mode is continuous.
:INITiate:CONTinuous
SCPI Command Set
24
MMEMory Commands
Returns a list of all the files that have been saved to the local memory.
:MMEMory:CATalog?
:MMEM:CAT?
returns
20171010_155852.csv,20171107_145956.png,20171107_150136.png,………
Exports the screen file to PC software.
:MMEMory:COPY:SCReen <file_name>
:MMEM:COPY:SCR 20171107_145956.png
Exports the trace file to PC software.
:MMEMory:COPY:TRACe <file_name>
:MMEM:COPY:TRAC 20171010_155852.csv
:MMEMory:DELete:ALL
Deletes the selected screen file from the current directory.
:MMEMory:DELete:SCReen <file_name>
:MMEM:DEL:SCR 20171107_145956.png
:MMEMory:CATalog?
:MMEMory:COPY:SCReen
SCPI Command Set
:MMEMory:COPY:TRACe
:MMEMory:DELete:ALL
:MMEMory:DELete:SCReen
25
SCPI Command Set
Deletes all screen files.
:MMEMory:DELete:SCReen:ALL
Deletes the selected trace file from the current directory.
:MMEMory:DELete:TRACe <file_name>
:MMEM:DEL:TRAC 20171010_155852.csv
:MMEMory:DELete:TRACe:ALL
Returns the information of USB storage device.
:MMEMory:DISK:INFormation?
Loads screen data from a file to the internal memory.
:MMEMory:LOAD:SCReen <file_name>
:MMEM:LOAD:SCR 20171107_145956.png
Loads trace data from a file to TRACE1.
:MMEMory:LOAD:TRACe <file_name>
:MMEMory:DELete:SCReen:ALL
:MMEMory:DELete:TRACe
:MMEMory:DELete:TRACe:ALL
:MMEMory:DISK:INFormation
:MMEMory:LOAD:SCReen
:MMEMory:LOAD:TRACe
26
SCPI Command Set
:MMEM:LOAD:TRAC 20171010_155852.csv
Quick save the screenshot. When a USB flash drive is inserted, the image is saved
into the USB flash drive, otherwise saved into the internal memory.
:MMEMory:STORe:QUICK:SAVE
Saves the current screen-shot to the internal memory. The file is named based on
date/time, the format is png.
:MMEMory:STORe:SCReen <file_name>
:MMEM:STOR:SCR 20171107_145956.png
Saves the instrument state as a user self-defined configuration, which is used to
set the analyzer power on parameters or preset parameters.
:MMEMory:STORe:STATe
Saves the trace data to a file from the internal memory. The file is named based
on date/time, the format is cvs.
:MMEMory:STORe:TRACe <file_name>
:MMEM:STOR:TRAC 20171010_155852.csv
:MMEMory:STORe:QUICK:SAVE
:MMEMory:STORe:SCReen
:MMEMory:STORe:STATe
:MMEMory:STORe:TRACe
27
OUTPut Commands
Turns the tracking generator output on/off or queries its state.
:OUTPut:TRACk[:STATe] {OFF|ON|0|1}
:OUTPut:TRACk[:STATe]?
Turns TG output off.
Turns TG output on.
Turns TG output off.
Turns TG output on.
01TG output is off.
TG output is on.
:OUTPut:TRACk[:STATe]
SCPI Command Set
28
SCPI Command Set
Sets or queries the number of upper and lower adjacent channels measured by
adjacent channel power.
[:SENSe]:ACPower:BANDwidth:ACHannel:COUNt <integer>
[:SENSe]:ACPower:BANDwidth:ACHannel:COUNt?
Parameter/
Return parameter
<NR1> Adjacent channels number
Example
Sets or queries the range of integration used in calculating the power in the main
channel.
[:SENSe]:ACPower:BANDwidth:INTegration <freq>
[:SENSe]:ACPower:BANDwidth:INTegration?
Sets or queries the channel spacing between the main channels.
[:SENSe]:ACPower:CSPacing <freq>
[:SENSe]:ACPower:CSPacing?
Sets or queries the number of traces that are used with the average function.
[:SENSe]:AVERage:COUNt <integer>
[:SENSe]:AVERage:COUNt?
SENSe Commands
[:SENSe]:ACPower:BANDwidth:ACHannel:COUNt
[:SENSe]:ACPower:BANDwidth:INTegration
[:SENSe]:ACPower:CSPacing
[:SENSe]:AVERage:COUNt
29
Parameter/
Return parameter
[:SENSe]:AVERage[:STATe]
Turns the Average function on/off or queries its state.
[:SENSe]:AVERage[:STATe] {OFF|ON|0|1}
[:SENSe]:AVERage[:STATe]?
Turns the Average function off.
Turns the Average function on.
Turns the Average function off.
Turns the Average function on.
01The Average function is off.
The Average function is on.
Sets or queries the resolution bandwidth (RBW).
[:SENSe]:BANDwidth|BWIDth[:RESolution] <freq>
[:SENSe]:BANDwidth|BWIDth[:RESolution]?
Sets the RBW to auto (on) or manual (off) or queries its state.
[:SENSe]:BANDwidth|BWIDth[:RESolution]:AUTO {OFF|ON|0|1}
[:SENSe]:BANDwidth|BWIDth[:RESolution]:AUTO?
Sets RBW to manual (off).
Sets RBW to automatic (on).
Sets RBW to manual (off).
Sets RBW to automatic (on).
01RBW is set to manual (off).
RBW is set to automatic (on).
SCPI Command Set
[:SENSe]:BANDwidth|BWIDth[:RESolution]
[:SENSe]:BANDwidth|BWIDth[:RESolution]:AUTO
30
SCPI Command Set
Sets or queries the resolution bandwidth step mode (default or continuous).
[:SENSe]:BANDwidth|BWIDth[:RESolution]:STEP:MODE
{DEFault|CONTinuous|0|1}
[:SENSe]:BANDwidth|BWIDth[:RESolution]:STEP:MODE?
Sets the resolution bandwidth step to default mode (step at 1,3,5).
Sets the resolution bandwidth step to continuous mode.
Sets the resolution bandwidth step to default mode (step at 1,3,5).
Sets the resolution bandwidth step to continuous mode.
01The resolution bandwidth step mode is default.
The resolution bandwidth step mode is continuous.
Sets or queries the video bandwidth (VBW).
[:SENSe]:BANDwidth|BWIDth:VIDeo <freq>
[:SENSe]:BANDwidth|BWIDth:VIDeo?
Sets the VBW to auto (on) or manual (off) or queries its state.
[:SENSe]:BANDwidth|BWIDth:VIDeo:AUTO {OFF|ON|0|1}
[:SENSe]:BANDwidth|BWIDth:VIDeo:AUTO?
Sets VBW to manual (off).
Sets VBW to automatic (on).
Sets VBW to manual (off).
Sets VBW to automatic (on).
01VBW is set to manual (off).
VBW is set to automatic (on).
[:SENSe]:BANDwidth|BWIDth[:RESolution]:STEP:MODE
[:SENSe]:BANDwidth|BWIDth:VIDeo
[:SENSe]:BANDwidth|BWIDth:VIDeo:AUTO
31
SCPI Command Set
Sets the EMI filter bandwidth (must be set to the exact bandwidth).
[:SENSe]:BANDwidth:EMC <freq>
[:SENSe]:BANDwidth:EMC?
<NRf>
(Only 200Hz, 9kHz, 120kHz, 1MHz are valid settings)
Turns the EMI filter on/off or queries its state.
[:SENSe]:BANDwidth:EMC:STATe {OFF|ON|0|1}
[:SENSe]:BANDwidth:EMC:STATe?
Turns the EMI filter off.
Turns the EMI filter on.
Turns the EMI filter off.
Turns the EMI filter on.
01The EMI filter is off.
The EMI filter is on.
Sets or queries the carrier frequency for AM demodulation.
[:SENSe]:DEMod:AM[:CARRier]:FREQuency <freq>
[:SENSe]:DEMod:AM[:CARRier]:FREQuency?
Sets or queries the IF bandwidth for AM demodulation.
[:SENSe]:DEMod:AM:IFBW <freq>
[:SENSe]:DEMod:AM:IFBW?
[:SENSe]:BANDwidth:EMC
[:SENSe]:BANDwidth:EMC:STATe
[:SENSe]:DEMod:AM[:CARRier]:FREQuency
[:SENSe]:DEMod:AM:IFBW
32
SCPI Command Set
Sets or queries the state of auto IF bandwidth for AM demodulation.
[:SENSe]:DEMod:AM:IFBW:AUTO {OFF|ON|0|1}
[:SENSe]:DEMod:AM:IFBW:AUTO?
Set IF bandwidth for AM demodulation to Manual.
Set IF bandwidth for AM demodulation to Auto.
Set IF bandwidth for AM demodulation to Manual.
Set IF bandwidth for AM demodulation to Auto.
01IF bandwidth for AM demodulation is Manual.
IF bandwidth for AM demodulation is Auto.
Sets or queries the state of AM demodulation.
[:SENSe]:DEMod:AM:STATe {OFF|ON|0|1}
[:SENSe]:DEMod:AM:STATe?
Turns AM demodulation off.
Turns AM demodulation on.
Turns AM demodulation off.
Turns AM demodulation on.
01AM demodulation is off.
AM demodulation is on.
Sets or queries the carrier frequency for FM demodulation.
[:SENSe]:DEMod:FM[:CARRier]:FREQuency <freq>
[:SENSe]:DEMod:FM[:CARRier]:FREQuency?
[:SENSe]:DEMod:AM:IFBW:AUTO
[:SENSe]:DEMod:AM:STATe
[:SENSe]:DEMod:FM[:CARRier]:FREQuency
33
SCPI Command Set
Sets or queries the IF bandwidth for FM demodulation.
[:SENSe]:DEMod:FM:IFBW <freq>
[:SENSe]:DEMod:FM:IFBW?
Sets or queries the state of auto IF bandwidth for FM demodulation.
[:SENSe]:DEMod:FM:IFBW:AUTO {OFF|ON|0|1}
[:SENSe]:DEMod:FM:IFBW:AUTO?
Set IF bandwidth for FM demodulation to Manual.
Set IF bandwidth for FM demodulation to Auto.
Set IF bandwidth for FM demodulation to Manual.
Set IF bandwidth for FM demodulation to Auto.
01IF bandwidth for FM demodulation is Manual.
IF bandwidth for FM demodulation is Auto.
Sets or queries the state of FM demodulation.
[:SENSe]:DEMod:FM:STATe {OFF|ON|0|1}
[:SENSe]:DEMod:FM:STATe?
Turns FM demodulation off.
Turns FM demodulation on.
Turns FM demodulation off.
Turns FM demodulation on.
01FM demodulation is off.
FM demodulation is on.
Sets or queries the radio frequency for the audio demodulation function.
[:SENSe]:DEMod:FREQuency RADIO<n>,<freq>
[:SENSe]:DEMod:FM:IFBW
[:SENSe]:DEMod:FM:IFBW:AUTO
[:SENSe]:DEMod:FM:STATe
[:SENSe]:DEMod:FREQuency
34
[:SENSe]:DEMod:FREQuency? RADIO<n>
<NR1> Radio sequence number 1 to 6
<NRf>
:DEM:FREQ RADIO1,87.6 mhz
[:SENSe]:DEMod:MODE
Sets or queries the demodulation type for the audio demodulation function.
[:SENSe]:DEMod:MODE {FMW|FM|AM|USB|LSB}
[:SENSe]:DEMod:MODE?
Parameter/
Return parameter
FMWdemodulation
FM demodulation
AM demodulation
USBdemodulation
LSB demodulation
Turns the audio demodulation on/off or queries its state.
[:SENSe]:DEMod:STATe {OFF|ON|0|1}
[:SENSe]:DEMod:STATe?
Turns the audio demodulation off.
Turns the audio demodulation on.
Turns the audio demodulation off.
Turns the audio demodulation on.
01The audio demodulation is off.
The audio demodulation is on.
Sets or queries the trace detection mode.
[:SENSe]:DETector[:FUNCtion] {AUTO|NORMal|POSitive|NEGative|SAMPle}
[:SENSe]:DETector[:FUNCtion]?
SCPI Command Set
[:SENSe]:DEMod:STATe
[:SENSe]:DETector[:FUNCtion]
35
Parameter/
Return parameter
AUTO
NORMal
POSitive
NEGative
SAMPle
Sets the detector mode to Auto.
Sets the detector mode to Normal.
Sets the detector mode to Peak+.
Sets the detector mode to Peak-.
Sets the detector mode to Sample.
[:SENSe]:FREQuency:CENTer
Sets or queries the center frequency.
[:SENSe]:FREQuency:CENTer <freq>
[:SENSe]:FREQuency:CENTer?
Sets the center frequency step size to auto (on) or manual (off) or queries its
state.
[:SENSe]:FREQuency:CENTer:STEP:AUTO {OFF|ON|0|1}
[:SENSe]:FREQuency:CENTer:STEP:AUTO?
Turn center frequency step to manual (off).
Turn center frequency step to auto (on).
Turn center frequency step to manual (off).
Turn center frequency step to auto (on).
01Center frequency step is set to manual.
Center frequency step is set to automatic.
Sets or queries the center frequency step frequency.
[:SENSe]:FREQuency:CENTer:STEP[:INCRement] <freq>
[:SENSe]:FREQuency:CENTer:STEP[:INCRement]?
SCPI Command Set
[:SENSe]:FREQuency:CENTer:STEP:AUTO
[:SENSe]:FREQuency:CENTer:STEP[:INCRement]
36
SCPI Command Set
Sets or queries the frequency reference to internal or external.
[:SENSe]:FREQuency:REFerence {INTernal|EXTernal}
[:SENSe]:FREQuency:REFerence?
Parameter/
Return parameter
Internal reference
External reference
Sets or queries the frequency span. Setting the span to 0 Hz puts the analyzer
into zero span.
[:SENSe]:FREQuency:SPAN <freq>
[:SENSe]:FREQuency:SPAN?
Sets the frequency span to full scale.
[:SENSe]:FREQuency:SPAN:FULL
Sets the frequency span to the previous span setting.
[:SENSe]:FREQuency:SPAN:PREVious
Sets the frequency span to zero span.
[:SENSe]:FREQuency:SPAN:ZERO
[:SENSe]:FREQuency:REFerence
[:SENSe]:FREQuency:SPAN
[:SENSe]:FREQuency:SPAN:FULL
[:SENSe]:FREQuency:SPAN:PREVious
[:SENSe]:FREQuency:SPAN:ZERO
37
[:SENSe]:FREQuency:STARt
Sets or queries the start frequency.
[:SENSe]:FREQuency:STARt <freq>
[:SENSe]:FREQuency:STARt?
Sets or queries the stop frequency.
[:SENSe]:FREQuency:STOP <freq>
[:SENSe]:FREQuency:STOP?
Sets or queries the percentage of signal power used when determining the
occupied bandwidth (OBW).
[:SENSe]:OBWidth:PERCent <percent>
[:SENSe]:OBWidth:PERCent?
Clears all points of the lower limit line.
[:SENSe]:PASSFAIL:LINELimit:LOWer:CLEar
[:SENSe]:FREQuency:STOP
SCPI Command Set
[:SENSe]:OBWidth:PERCent
[:SENSe]:PASSFAIL:LINELimit:LOWer:CLEar
38
SCPI Command Set
Deletes the specified point in the lower limit line.
[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:DELete
:PASSFAIL:LINEL:LOW:POIN1:DEL
Sets or queries the frequency limit of the specified point in the lower limit line.
[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:X <freq>
[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:X?
<NR1> Point number
<NRf> Frequency in Hz.
:PASSFAIL:LINEL:LOW:POIN1:X 2e+8
Sets or queries the amplitude limit of the specified point in the lower limit line.
[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:Y <ampl>
[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:Y?
<NR1> Point number
Amplitude in dBm
:PASSFAIL:LINEL:LOW:POIN1:Y -20
Turns the lower limit line on/off or queries its state.
[:SENSe]:PASSFAIL:LINELimit:LOWer:STATe {OFF|ON|0|1}
[:SENSe]:PASSFAIL:LINELimit:LOWer:STATe?
Turns the lower limit line off.
Turns the lower limit line on.
Turns the lower limit line off.
Turns the lower limit line on.
01The lower limit line is off.
The lower limit line is on.
[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:DELete
[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:X
[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:Y
[:SENSe]:PASSFAIL:LINELimit:LOWer:STATe
39
SCPI Command Set
:PASSFAIL:LINEL:LOW:STAT 1
Returns the Pass/Fail judgment of limit line testing.
[:SENSe]:PASSFAIL:LINELimit:MARKer<n>:STATe?
:PASSFAIL:LINEL:MARK1:STAT?
returns
1
Turns limit line testing of pass/fail measurement function on/off.
[:SENSe]:PASSFAIL:LINELimit:STATe {OFF|ON|0|1}
[:SENSe]:PASSFAIL:LINELimitSTATe?
Turns limit line testing off.
Turns limit line testing on.
Turns limit line testing off.
Turns limit line testing on.
01Limit line testing is off.
Limit line testing is on.
Clears all points of the upper limit line.
[:SENSe]:PASSFAIL:LINELimit:UPper:CLEar
Deletes the specified point in the upper limit line.
[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:DELete
[:SENSe]:PASSFAIL:LINELimit:MARKer<n>:STATe?
[:SENSe]:PASSFAIL:LINELimit:STATe
[:SENSe]:PASSFAIL:LINELimit:UPper:CLEar
[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:DELete
40
SCPI Command Set
:PASSFAIL:LINEL:UP:POIN1:DEL
Sets or queries the frequency limit of the specified point in the upper limit line.
[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:X <freq>
[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:X?
<NR1> Point number
<NRf> Frequency in Hz.
:PASSFAIL:LINEL:UP:POIN1:X 9e+8
Sets or queries the amplitude limit of the specified point in the upper limit line.
[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:Y <ampl>
[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:Y?
<NR1> Point number
Amplitude in dBm
:PASSFAIL:LINEL:UP:POIN1:Y -10
Turns the upper limit line on/off or queries its state.
[:SENSe]:PASSFAIL:LINELimit:UPPer:STATe {OFF|ON|0|1}
[:SENSe]:PASSFAIL:LINELimit:UPPer:STATe?
Turns the upper limit line off.
Turns the upper limit line on.
Turns the upper limit line off.
Turns the upper limit line on.
01The upper limit line is off.
The upper limit line is on.
:PASSFAIL:LINEL:UPP:STAT 1
Sets or queries the frequency offset (Shift X) of the upper and lower limit line.
[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:X
[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:Y
[:SENSe]:PASSFAIL:LINELimit:UPPer:STATe
[:SENSe]:PASSFAIL:LINELimit:X:OFFSET
41
SCPI Command Set
[:SENSe]:PASSFAIL:LINELimit:X:OFFSET <freq>
[:SENSe]:PASSFAIL:LINELimit:X:OFFSET?
:PASSFAIL:LINEL:X:OFFSET 1.0e+6
Sets or queries the amplitude offset (Shift Y) of the upper and lower limit line.
[:SENSe]:PASSFAIL:LINELimit:Y:OFFSET <ampl>
[:SENSe]:PASSFAIL:LINELimit:Y:OFFSET?
:PASSFAIL:LINEL:Y:OFFSET -15
Sets or queries the lower amplitude of amplitude line in window testing.
[:SENSe]:PASSFAIL:WINdow:AMPl:LOWer <ampl>
[:SENSe]:PASSFAIL:WINdow:AMPl:LOWer?
:PASSFAIL:WIN:AMPl:LOW -20
Sets or queries the upper amplitude of amplitude line in window testing.
[:SENSe]:PASSFAIL:WINdow:AMPl:UPper <ampl>
[:SENSe]:PASSFAIL:WINdow:AMPl:UPper?
:PASSFAIL:WIN:AMPl:UP -10
Turns the amplitude line of window testing on/off or queries its state.
[:SENSe]:PASSFAIL:WINdow:AMPt:STATe {OFF|ON|0|1}
[:SENSe]:PASSFAIL:LINELimit:Y:OFFSET
[:SENSe]:PASSFAIL:WINdow:AMPl:LOWer
[:SENSe]:PASSFAIL:WINdow:AMPl:UPper
[:SENSe]:PASSFAIL:WINdow:AMPt:STATe
42
SCPI Command Set
[:SENSe]:PASSFAIL:WINdow:AMPt:STATe?
Turns the amplitude line off.
Turns the amplitude line on.
Turns the amplitude line off.
Turns the amplitude line on.
01The amplitude line is off.
The amplitude line is on.
Sets or queries the stop frequency of frequency line in window testing.
[:SENSe]:PASSFAIL:WINdow:FREQuency:END<freq>
[:SENSe]:PASSFAIL:WINdow:FREQuency:END?
:PASSFAIL:WIN:FREQ:END 8e+8
Sets or queries the start frequency of frequency line in window testing.
[:SENSe]:PASSFAIL:WINdow:FREQuency:STARt <freq>
[:SENSe]:PASSFAIL:WINdow:FREQuency:STARt?
:PASSFAIL:WIN:FREQ:STAR 6e+8
Turns the frequency line of window testing on/off or queries its state.
[:SENSe]:PASSFAIL:WINdow:FREQuency:STATe {OFF|ON|0|1}
[:SENSe]:PASSFAIL:WINdow:FREQuency:STATe?
Turns the frequency line off.
Turns the frequency line on.
Turns the frequency line off.
Turns the frequency line on.
01The frequency line is off.
The frequency line is on.
[:SENSe]:PASSFAIL:WINdow:FREQuency:END
[:SENSe]:PASSFAIL:WINdow:FREQuency:STARt
[:SENSe]:PASSFAIL:WINdow:FREQuency:STATe
43
SCPI Command Set
:PASSFAIL:WIN:FREQ:STAT 1
Returns the Pass/Fail judgment of window testing.
[:SENSe]:PASSFAIL:WINdow:MARKer<n>:STATe?
:PASSFAIL:WIN:MARK1:STAT?
returns
1
Turns window testing of pass/fail measurement function on/off.
[:SENSe]:PASSFAIL:WINdow:STATe {OFF|ON|0|1}
[:SENSe]:PASSFAIL:WINdow:STATe?
Turns window testing off.
Turns window testing on.
Turns window testing off.
Turns window testing on.
01Window testing is off.
Window testing is on.
Turns window sweep on/off or queries its state.
When the window sweep is on, only the window formed by the intersection of the
amplitude line and the frequency line is swept, the peripheral stops sweeping;
the full frequency is swept when it is off.
[:SENSe]:PASSFAIL:WINdow:SWEEP:STATe {OFF|ON|0|1}
[:SENSe]:PASSFAIL:WINdow:SWEEP:STATe?
Turns window sweep off.
Turns window sweep on.
Turns window sweep off.
Turns window sweep on.
[:SENSe]:PASSFAIL:WINdow:MARKer<n>:STATe?
[:SENSe]:PASSFAIL:WINdow:STATe
[:SENSe]:PASSFAIL:WINdow:SWEEP:STATe
44
SCPI Command Set
:PASSFAIL:WIN:SWEEP:STAT 1
Sets or queries the input attenuation.
[:SENSe]:POWer[:RF]:ATTenuation <rel_ampl>
[:SENSe]:POWer[:RF]:ATTenuation?
Parameter/
Return parameter
Sets or queries whether the automatic input attenuation is on/off.
[:SENSe]:POWer[:RF]:ATTenuation:AUTO {OFF|ON|0|1}
[:SENSe]:POWer[:RF]:ATTenuation:AUTO?
Turns automatic input attenuation off.
Turns automatic input attenuation on.
Turns automatic input attenuation off.
Turns automatic input attenuation on.
01Automatic input attenuation is off.
Automatic input attenuation is on.
Turns the preamplifier on/off or queries its state.
[:SENSe]:POWer[:RF]:GAIN[:STATe]:AUTO {OFF|ON|0|1}
[:SENSe]:POWer[:RF]:GAIN[:STATe]:AUTO?
Turns the preamplifier off.
Turns the preamplifier on.
Turns the preamplifier off.
Turns the preamplifier on.
01The preamplifier is off.
The preamplifier is on.
[:SENSe]:POWer[:RF]:ATTenuation
[:SENSe]:POWer[:RF]:ATTenuation:AUTO
[:SENSe]:POWer[:RF]:GAIN[:STATe]:AUTO
45
[:SENSe]:SWEep:POINts
Sets or queries the sweep points.
[:SENSe]:SWEep:POINts <number>
[:SENSe]:SWEep:POINts?
Sets or queries the sweep time.
[:SENSe]:SWEep:TIME <time>
[:SENSe]:SWEep:TIME?
Sweep time in s, ms, us, ns. The default unit is ns.
Sweep time in millisecond.
Sets the Sweep time setting to auto (on) or manual (off).
[:SENSe]:SWEep:TIME:AUTO {OFF|ON|0|1}
[:SENSe]:SWEep:TIME:AUTO?
Sets sweep time to manual (off).
Sets sweep time to auto (on).
Sets sweep time to manual (off).
Sets sweep time to auto (on).
01Sweep time is set to manual.
Sweep time is set to automatic.
[:SENSe]:SWEep:TIME
SCPI Command Set
[:SENSe]:SWEep:TIME:AUTO
46
SCPI Command Set
Sets or queries the tracking generator output power level.
:SOURce:POWer:TRACk[:POWer] <ampl>
:SOURce:POWer:TRACk[:POWer]?
<NRf> Power or voltage, -30 dBm to 0 dBm
SOURce Commands
:SOURce:POWer:TRACk[:POWer]
47
SCPI Command Set
Turns the DHCP on/off or queries its state.
:SYSTem:COMMunicate:LAN:DHCP {OFF|ON|0|1}
:SYSTem:COMMunicate:LAN:DHCP?
Turns the DHCP off.
Turns the DHCP on.
Turns the DHCP off.
Turns the DHCP on.
01The DHCP is off.
The DHCP is on.
Sets or queries the gateway address. Gate (gateway address) should match with
IP address.
:SYSTem:COMMunicate:LAN:GATE <gate>
:SYSTem:COMMunicate:LAN:GATE?
:SYST:COMM:LAN:GATE 192.168.1.1
Sets or queries the device IP address.
:SYSTem:COMMunicate:LAN:IP:ADDRess <ip address>
:SYSTem:COMMunicate:LAN:IP:ADDRess?
:SYST:COMM:LAN:IP:ADDR 192.168.1.72
Sets or queries the device subnet mask address. Mask (subnet mask address)
SYSTem Commands
:SYSTem:COMMunicate:LAN:DHCP
:SYSTem:COMMunicate:LAN:GATE
:SYSTem:COMMunicate:LAN:IP:ADDRess
:SYSTem:COMMunicate:LAN:MASK
48
SCPI Command Set
should match with IP address.
:SYSTem:COMMunicate:LAN:MASK <mask>
:SYSTem:COMMunicate:LAN:MASK?
:SYST:COMM:LAN:MASK 255.255.255.0
Updates the system with new firmware from files located on an external USB
drive.
:SYSTem:CONFigure:FIRMwareupdate
Queries the system information, such as the serial number, hardware version,
and temperature of the instrument.
:SYSTem:CONFigure:INFomation?
Returns the system information as a string in the following format:
Serial Number = GSP XXXXXX, Hardware Version = X.X.X.X,
temperature = X℃
:SYSTem:CONFigure:INFomation?
returns
Serial Number = GSP183201, Hardware Version = 3.0.0.0, temperature =
52.50℃
Sets or queries the system date.
:SYSTem:DATE <year>,<month>,<day>
:SYSTem:DATE?
Parameter
Return parameter
<NR1> Year, a 4-digit integer 2000 to 2100.
<NR1> Month, a 2-digit integer 01 to 12.
<NR1> Day, a 2-digit integer 01 to 31.
:SYSTem:CONFigure:FIRMwareupdate
:SYSTem:CONFigure:information?
:SYSTem:DATE
49
:SYSTem:LANGuage
Sets or queries the language that the instrument uses to display on the screen.
:SYSTem:LANGuage {ENGLish|CHINese}
:SYSTem:LANGuage?
Parameter/
Return parameter
The instrument displays in English.
The instrument displays in Chinese.
Sets the power-on type between user-defined and factory default.
:SYSTem:PON:TYPE {FACTory|USER}
:SYSTem:PON:TYPE?
Parameter/
Return parameter
Factory default
User defined preset
Sets the preset type between user-defined and factory default.
:SYSTem:PRESet:TYPE {FACTory|USER}
:SYSTem:PRESet:TYPE?
Parameter/
Return parameter
Factory default
User defined preset
Sets or queries the volume setting for the demodulation function.
:SYSTem:SPEaker:VOLume <integer>
:SYSTem:SPEaker:VOLume?
Parameter/
Return parameter
:SYSTem:PON:TYPE
SCPI Command Set
:SYSTem:PRESet:TYPE
:SYSTem:SPEaker:VOLume
50
:SYSTem:TIME
Sets or queries the system time.
:SYSTem:TIME <hour>,<minute>,<second>
:SYSTem:TIME?
Parameter
Return parameter
<NR1> Hour, a 2-digit integer 00 to 23.
<NR1> Minute, a 2-digit integer 00 to 59.
<NR1> Second, a 2-digit integer 00 to 59.
SCPI Command Set
51
TRACe Commands
Returns the trace data for the selected trace.
:TRACe[:DATA]? TRACE1|TRACE2|TRACE3|TRACE4|TRACE5
TRACE1
TRACE2
TRACE3
TRACE4
TRACE5
Start with #9, the following 9 digits specify the length of the data.
Trace data is separated by a comma "," and each data length is
fixed at 7 bits.
:TRAC? TRACE1
returns
#9000004807,64.7301,-68.163, …, -36.195,-57.951
Returns the trace data for the selected trace as a stream of bytes.
:TRACe[:DATA]? TRACE1|TRACE2|TRACE3|TRACE4|TRACE5
TRACE1
TRACE2
TRACE3
TRACE4
TRACE5
Byte stream of trace data, start with #9, the following 9 digits
specify the length of the data in bytes; and each data length is
fixed at 4 bytes.
:TRAC:SOCK? TRACE1
returns
#9000002406\C1\13\F5z\C1\13\EF\F0\C1\14\18\B5\C1\13\FD\9E\C1\13\F
7(\C1\14\04L\C1\13\F1\AD\C1\14\15\81\C1\13\FA\17\C1\13\F9\D1\C1\1
3\FA\F5\C1\13\F5\BF\...
Sets or queries the operation mode of the selected trace.
:TRACe[:DATA]?
SCPI Command Set
:TRACe:SOCKdata?
:TRACe<n>:MODE
52
SCPI Command Set
:TRACe<n>:MODE {WRITe|MAXHold|MINHold|BLANk|VIEW}
:TRACe<n>:MODE?
Parameter/
Return parameter
<n>
WRITe
MAXHold
MINHold
BLANk
VIEW
<NR1> Trace number 1 to 5.
Clear and Write
Hold the maximum points from each sweep
Hold the minimum points from each sweep
Clear the trace
Hold the last trace
53
SCPI Command Set
Sets or queries the triggering source.
:TRIGger:SEQuence:SOURce {RUN|VIDeo|POSitive|NEGative}
:TRIGger:SEQuence:SOURce?
Parameter/
Return parameter
RUN
VIDeo
POSitive
NEGative
Run trigger
Video trigger
Positive trigger
Negative trigger
Sets or queries the video trigger power.
:TRIGger:SEQuence:SOURce:VIDeo:POWer <ampl>
:TRIGger:SEQuence:SOURce:VIDeo:POWer?
:TRIG:SEQ:SOUR:VID:POW 10
Trigger Commands
:TRIGger:SEQuence:SOURce
:TRIGger:SEQuence:SOURce:VIDeo:POWer
54
UDISk Commands
Saves the current screen-shot to a folder named "spectrum" (created
automatically) in USB storage device, the file is named based on date/time, the
format is png.
:UDISk:STORe:SCReen
Saves the trace data to a folder named "spectrum" (created automatically) in USB
storage device, the file is named based on date/time, the format is cvs.
:UDISk:STORe:TRACe
:UDISk:STORe:SCReen
:UDISk:STORe:TRACe
SCPI Command Set
55
UNIT Commands
:UNIT:POWer {DBM|DBUW|DBPW|DBMV|DBUV|W|V}
:UNIT:POWer?
Parameter/
Return parameter
DBM
DBUW
DBPW
DBMV
DBUV
W
V
Decibels
Decibels relative to one microwatt
Decibels relative to one picowatt
Decibels relative to one millivolt
Decibels relative to one microvolt
Watt
Volt
:UNIT:POWer
SCPI Command Set
*Specifications subject to change without notice.
56