VOLTCRAFT SpectrumAnalyzer ProgrammingManual [ml]

Spectrum Analyzer
Programming Manual
Contents
Contents
SCPI Introduction
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
Description
Queries the manufacturer, model number, serial number, and firmware version of the instrument.
Query Syntax

*IDN?

Return parameter
<string>
Returns the instrument identification as a string in the following format: <Manufacturer>,<Model Number>,<Serial Number>,<Firmware Version>
Description
perform a factory reset.
Syntax

*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

Description
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.
Syntax Query Syntax
:CALCulate:BWIDth|BANDwidth:NDB <rel_ampl> :CALCulate:BWIDth|BANDwidth:NDB?
Parameter
<rel_ampl>
<NR2> 1 dB to 60 dB
Return parameter
<NR3>
Example
:CALC:BAND:NDB 5
Description
Returns the NdB bandwidth measurement.
Query Syntax

:CALCulate:BWIDth|BANDwidth:RESult?

Return parameter
<NR1>
NdB bandwidth in Hz.
Example
:CALC:BAND:RES? returns 26000
Description
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.
Syntax Query Syntax
:CALCulate:BWIDth|BANDwidth[:STATe] {OFF|ON|0|1} :CALCulate:BWIDth|BANDwidth[:STATe]?
Parameter
0 1 OFF ON
Turns NdB BW off. Turns NdB BW on. Turns NdB BW off. Turns NdB BW on.
Return parameter
01NdB BW is off. NdB BW is on.
Example
:CALC:BAND ON
:CALCulate:BWIDth|BANDwidth:NDB
:CALCulate:BWIDth|BANDwidth:RESult?
:CALCulate:BWIDth|BANDwidth[:STATe]
5

:CALCulate:MARKer:AOFF

Description
Turns all the markers off.
Syntax
:CALCulate:MARKer:AOFF
Example
:CALC:MARK:AOFF
Description
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.
Syntax Query Syntax
:CALCulate:MARKer<n>:CPEak[:STATe] {OFF|ON|0|1} :CALCulate:MARKer<n>:CPEak[:STATe]?
Parameter
<n> 0 1 OFF ON
<NR1> Marker number 1 to 5 Turns continuous peaking off. Turns continuous peaking on. Turns continuous peaking off. Turns continuous peaking on.
Return parameter
01Continuous peaking is off. Continuous peaking is on.
Example
:CALC:MARK1:CPE ON
Description
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.
Syntax

:CALCulate:MARKer<n>:DELTa[:SET]:CENTer

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:DELT:CENT
Description
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.
Syntax

:CALCulate:MARKer<n>:DELTa[:SET]:SPAN

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:DELT:SPAN

:CALCulate:MARKer<n>:CPEak[:STATe]

:CALCulate:MARKer<n>:DELTa[:SET]:CENTer
:CALCulate:MARKer<n>:DELTa[:SET]:SPAN
6
SCPI Introduction
Description
Sets or queries the frequency counter resolution in Hz.
Syntax Query Syntax
:CALCulate:MARKer:FCOunt:RESolution <freq> :CALCulate:MARKer:FCOunt:RESolution?
Parameter
<freq>
Frequency resolution in Hz Only 1000, 100, 10, 1 Hz are meaningful.
Return parameter
<freq>
Frequency resolution in Hz
Example
:CALC:MARK:FCO:RES 1
Description
Sets or queries the state of the marker frequency counter function.
Syntax Query Syntax
:CALCulate:MARKer<n>:FCOunt[:STATe] {OFF|ON|0|1} :CALCulate:MARKer<n>:FCOunt[:STATe]?
Parameter
<n> 0 1 OFF ON
<NR1> Marker number 1 to 5. Turns frequency counter off. Turns frequency counter on. Turns frequency counter off. Turns frequency counter on.
Return parameter
01Frequency counter is off. Frequency counter is on.
Example
:CALC:MARKer1:FCO 1
Description
Returns the counter frequency of the selected marker in Hz.
Query Syntax

:CALCulate:MARKer<n>:FCOunt:X?

Parameter
<n>
<NR1> Marker number 1 to 5.
Return parameter
<freq>
<NR1> Frequency in Hz.
Example
:CALC:MARK1:FCO:X? returns 230580000
Description
Turns off the opened noise markers or NdB BW measurements, but not the markers themselves.
Syntax

:CALCulate:MARKer:FUNCtion:AOFF

Example
:CALC:MARK:FUNC:AOFF

:CALCulate:MARKer:FCOunt:RESolution

:CALCulate:MARKer<n>:FCOunt[:STATe]

:CALCulate:MARKer<n>:FCOunt:X?
:CALCulate:MARKer:FUNCtion:AOFF
7
SCPI Introduction
Description
Performs peak search and places a marker on the highest peak.
Syntax

:CALCulate:MARKer<n>:MAXimum

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:MAX
Description
Places the selected marker on the next highest signal peak to the left of the current marked peak.
Syntax

:CALCulate:MARKer<n>:MAXimum:LEFT

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:MAX:LEFT
Description
Places the selected marker on the next highest signal peak from the current marked peak.
Syntax

:CALCulate:MARKer<n>:MAXimum:NEXT

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:MAX:NEXT
Description
Places the selected marker on the next highest signal peak to the right of the current marked peak.
Syntax

:CALCulate:MARKer<n>:MAXimum:RIGHt

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:MAX:RIGH
Description
Places the selected marker on the lowest point on the trace that is assigned to that particular marker number.
Syntax

:CALCulate:MARKer<n>:MINimum

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:MIN
: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
Description
Sets or queries the marker type.
Syntax Query Syntax
:CALCulate:MARKer<n>:MODE {NORMal|DELTa} :CALCulate:MARKer<n>:MODE?
Parameter/ Return parameter
<n> <NORMal> <DELTa>
<NR1> Marker number 1 to 5. Normal marker Delta marker
Example
:CALC:MARK1:MODE NORM
Description
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.
Syntax Query Syntax
:CALCulate:MARKer<n>:PHNoise[:STATe] {OFF|ON|0|1} :CALCulate:MARKer<n>:PHNoise[:STATe]?
Parameter
<n> 0 1 OFF ON
<NR1> Marker number 1 to 5. Turns Marker Noise off. Turns Marker Noise on. Turns Marker Noise off. Turns Marker Noise on.
Return parameter
01Marker Noise is off. Marker Noise is on.
Example
:CALC:MARK1:PHN ON
Description
Returns the normalized noise level over a BW of 1Hz from the marker position.
Query Syntax

:CALCulate:MARKer:PHNoise:Y?

Return parameter
<NR2>
Normalized noise level in dBm.
Example
:CALC:MARK:PHN:Y? returns
127.8

:CALCulate:MARKer<n>:MODE

:CALCulate:MARKer<n>:PHNoise[:STATe]

:CALCulate:MARKer:PHNoise:Y?
9
SCPI Command Set
Description
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.
Syntax

:CALCulate:MARKer<n>[:SET]:CENTer

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:CENT
Description
Sets the reference level to the specified marker amplitude. In delta marker mode, the reference level is set to the delta marker amplitude.
Syntax

:CALCulate:MARKer<n>[:SET]:RLEVel

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:RLEV
Description
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.
Syntax

:CALCulate:MARKer<n>[:SET]:STARt

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:STAR
Description
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.
Syntax

:CALCulate:MARKer<n>[:SET]:STEP

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:STEP
:CALCulate:MARKer<n>[:SET]:CENTer
:CALCulate:MARKer<n>[:SET]:RLEVel
:CALCulate:MARKer<n>[:SET]:STARt
:CALCulate:MARKer<n>[:SET]:STEP
10
SCPI Command Set
Description
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.
Syntax

:CALCulate:MARKer<n>[:SET]:STOP

Parameter
<n>
<NR1> Marker number 1 to 5
Example
:CALC:MARK1:STOP
Description
Sets or queries the state of the selected marker.
Syntax Query Syntax
:CALCulate:MARKer<n>:STATe {OFF|ON|0|1} :CALCulate:MARKer<n>:STATe?
Parameter
<n> 0 1 OFF ON
<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.
Return parameter
01The selected marker is off. The selected marker is on.
Example
:CALC:MARK1:STAT ON
Description
Sets or queries the state of the marker table.
Syntax Query Syntax
:CALCulate:MARKer:TABLe:STATe {OFF|ON|0|1} :CALCulate:MARKer:TABLe:STATe?
Parameter
0 1 OFF ON
Turns the table off. Turns the table on. Turns the table off. Turns the table on.
Return parameter
01The table is off. The table is on.
Example
:CALC:MARK:TABL:STAT ON
:CALCulate:MARKer<n>[:SET]:STOP

:CALCulate:MARKer<n>:STATe

:CALCulate:MARKer:TABLe:STATe

11
SCPI Command Set
Description
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.
Syntax Query Syntax
:CALCulate:MARKer<n>:TRACe <integer> :CALCulate:MARKer<n>:TRACe?
Parameter/ Return parameter
<n> <integer>
<NR1> Marker number 1 to 5 The number of the trace: (1, 2, 3, 4, 5)
Example
:CALC:MARK1:TRAC 2
Description
Returns the reference marker position of delta marker.
Query Syntax

:CALCulate:MARKer<n>:DELTa:X?

Parameter
<n>
<NR1> Marker number 1 to 5
Return parameter
<freq>
Frequency in Hz.
Example
:CALC:MARK3:DELT:X? returns 300000000Hz
Description
Returns the reference marker's vertical position of delta marker.
Query Syntax

:CALCulate:MARKer<n>:DELTa:Y?

Parameter
<n>
<NR1> Marker number 1 to 5
Return parameter
<ampl>
Power or voltage. If the specified marker is not active, returns ERR.
Example
:CALC:MARK3:DELT:Y? returns
9.8dBm
Description
Sets or returns the marker position. In delta marker mode, this command returns the frequency difference between the markers.
Syntax Query Syntax
: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
Parameter
<n> <freq>
<NR1> Marker number 1 to 5 Frequency in GHz, MHz, kHz, Hz. The default unit is Hz.
Return parameter
<freq>
Frequency in Hz. If the specified marker is not active, returns ERR.
Example
:CALC:MARK2:X 300MHz query :CALC:MARK2:X? returns 300000000Hz

:CALCulate:MARKer<n>:Y?

Description
Returns the marker’s vertical position. In delta marker mode, this command returns the amplitude difference between the markers.
Query Syntax
:CALCulate:MARKer<n>:Y?
Parameter
<n>
<NR1> Marker number 1 to 5
Return parameter
<ampl>
Power or voltage. If the specified marker is not active, returns ERR.
Example
:CALC:MARK3:Y? returns
9.8dBm
Description
Sets or queries the network measurement output power level.
Syntax Query Syntax
:CALCulate:NETMeasure:POWer <ampl> :CALCulate:NETMeasure:POWer?
Parameter
<ampl>
<NRf> Power or voltage, -30dBm to 0dbm
Return parameter
<NR2>
Example
:CALC:NETM:POW -10
Description
Turns the tracking generator normalization on/off or queries its state.
Syntax Query Syntax
:CALCulate:NTDate:NORMalize {OFF|ON|0|1} :CALCulate:NTDate:NORMalize?
SCPI Command Set

:CALCulate:NETMeasure:POWer

:CALCulate:NTDate:NORMalize

13
Loading...
+ 43 hidden pages