VOLTCRAFT SpectrumAnalyzer ProgrammingManual [ml]

Spectrum Analyzer

Programming Manual

Contents

 

Contents

 

SCPI Introduction...........................................................................................................................

1

Command Format.....................................................................................................................

1

Symbol Description...................................................................................................................

1

Parameter Type.........................................................................................................................

2

Command abbreviation............................................................................................................

3

Third-party programming entrance.......................................................................................

3

SCPI Command Set.......................................................................................................................

4

IEEE 488.2 Common Commands...........................................................................................

4

*IDN?...................................................................................................................................

4

*RST.....................................................................................................................................

4

CALCulate Commands..............................................................................................................

5

:CALCulate:BWIDth|BANDwidth:NDB................................................................................

5

:CALCulate:BWIDth|BANDwidth:RESult?...........................................................................

5

:CALCulate:BWIDth|BANDwidth[:STATe]............................................................................

5

:CALCulate:MARKer:AOFF...................................................................................................

6

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

6

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

6

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

6

:CALCulate:MARKer:FCOunt:RESolution.............................................................................

7

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

7

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

7

:CALCulate:MARKer:FUNCtion:AOFF..................................................................................

7

:CALCulate:MARKer<n>:MAXimum....................................................................................

8

:CALCulate:MARKer<n>:MAXimum:LEFT............................................................................

8

:CALCulate:MARKer<n>:MAXimum:NEXT..........................................................................

8

:CALCulate:MARKer<n>:MAXimum:RIGHt.........................................................................

8

:CALCulate:MARKer<n>:MINimum.....................................................................................

8

:CALCulate:MARKer<n>:MODE...........................................................................................

9

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

9

:CALCulate:MARKer:PHNoise:Y?.........................................................................................

9

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

10

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

10

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

10

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

10

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

11

:CALCulate:MARKer<n>:STATe..........................................................................................

11

:CALCulate:MARKer:TABLe:STATe.....................................................................................

11

:CALCulate:MARKer<n>:TRACe.........................................................................................

12

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

12

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

12

:CALCulate:MARKer<n>:X.................................................................................................

12

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

13

i

Contents

:CALCulate:NETMeasure:POWer......................................................................................

13

:CALCulate:NTDate:NORMalize.........................................................................................

13

:CALCulate:TUNE:AUTO....................................................................................................

14

CALibration Commands..........................................................................................................

15

:CALibration[:ALL].............................................................................................................

15

:CALibration:RESTore.........................................................................................................

15

CONFigure Commands...........................................................................................................

16

:CONFigure:ACPower........................................................................................................

16

:CONFigure:CHPower........................................................................................................

16

:CONFigure:OBWidth........................................................................................................

16

:CONFigure:SANalyzer.......................................................................................................

16

:CONFigure:SATime...........................................................................................................

16

DISPlay Commands................................................................................................................

17

:DISPlay:ANNotation:CLOCk:DATE:FORMat......................................................................

17

:DISPlay:ANNotation:CLOCk[:STATe].................................................................................

17

:DISPlay:FORMat:ZOOM...................................................................................................

17

:DISPlay:MENU:STATe........................................................................................................

18

:DISPlay:WINdow:GRID.....................................................................................................

18

:DISPlay:WINdow:LABEl....................................................................................................

18

:DISPlay:WINdow:TRACe:X[:SCALe]:OFFSet.....................................................................

19

:DISPlay:WINdow:TRACe:Y:DLINe.....................................................................................

19

:DISPlay:WINdow:TRACe:Y:DLINe:STATe...........................................................................

19

:DISPlay:WINdow:TRACe:Y[:SCALe]:GAUge......................................................................

19

:DISPlay:WINdow:TRACe:Y[:SCALe]:PDIVision.................................................................

20

:DISPlay:WINdow:TRACe:Y[:SCALe]:RLEVel......................................................................

20

:DISPlay:WINdow:TRACe:Y[:SCALe]:RLEVel:OFFSet.........................................................

20

:DISPlay:WINdow:TRACe:Y[:SCALe]:SPACing....................................................................

20

HCOPy Commands..................................................................................................................

22

:HCOPy:IMAGe:COLor[:STATe]..........................................................................................

22

:HCOPy:IMAGe:TYPe.........................................................................................................

22

:HCOPy:PAGE:ORIentation................................................................................................

22

:HCOPy:PAGE:PRINts.........................................................................................................

22

:HCOPy:PAGE:SIZE.............................................................................................................

23

:HCOPy:SCReen.................................................................................................................

23

:HCOPy:TRACe...................................................................................................................

23

INITiate Commands...............................................................................................................

24

:INITiate:CONTinuous........................................................................................................

24

MMEMory Commands.............................................................................................................

25

:MMEMory:CATalog?........................................................................................................

25

:MMEMory:COPY:SCReen.................................................................................................

25

:MMEMory:COPY:TRACe...................................................................................................

25

:MMEMory:DELete:ALL.....................................................................................................

25

:MMEMory:DELete:SCReen..............................................................................................

25

:MMEMory:DELete:SCReen:ALL.......................................................................................

26

ii

Contents

:MMEMory:DELete:TRACe................................................................................................

26

:MMEMory:DELete:TRACe:ALL.........................................................................................

26

:MMEMory:DISK:INFormation..........................................................................................

26

:MMEMory:LOAD:SCReen.................................................................................................

26

:MMEMory:LOAD:TRACe..................................................................................................

26

:MMEMory:STORe:QUICK:SAVE.......................................................................................

27

:MMEMory:STORe:SCReen...............................................................................................

27

:MMEMory:STORe:STATe..................................................................................................

27

:MMEMory:STORe:TRACe.................................................................................................

27

OUTPut Commands................................................................................................................

28

:OUTPut:TRACk[:STATe].....................................................................................................

28

SENSe Commands..................................................................................................................

29

[:SENSe]:ACPower:BANDwidth:ACHannel:COUNt...........................................................

29

[:SENSe]:ACPower:BANDwidth:INTegration.....................................................................

29

[:SENSe]:ACPower:CSPacing.............................................................................................

29

[:SENSe]:AVERage:COUNt.................................................................................................

29

[:SENSe]:AVERage[:STATe].................................................................................................

30

[:SENSe]:BANDwidth|BWIDth[:RESolution].....................................................................

30

[:SENSe]:BANDwidth|BWIDth[:RESolution]:AUTO...........................................................

30

[:SENSe]:BANDwidth|BWIDth[:RESolution]:STEP:MODE................................................

31

[:SENSe]:BANDwidth|BWIDth:VIDeo...............................................................................

31

[:SENSe]:BANDwidth|BWIDth:VIDeo:AUTO.....................................................................

31

[:SENSe]:BANDwidth:EMC................................................................................................

32

[:SENSe]:BANDwidth:EMC:STATe......................................................................................

32

[:SENSe]:DEMod:AM[:CARRier]:FREQuency.....................................................................

32

[:SENSe]:DEMod:AM:IFBW...............................................................................................

32

[:SENSe]:DEMod:AM:IFBW:AUTO.....................................................................................

33

[:SENSe]:DEMod:AM:STATe...............................................................................................

33

[:SENSe]:DEMod:FM[:CARRier]:FREQuency.....................................................................

33

[:SENSe]:DEMod:FM:IFBW................................................................................................

34

[:SENSe]:DEMod:FM:IFBW:AUTO.....................................................................................

34

[:SENSe]:DEMod:FM:STATe...............................................................................................

34

[:SENSe]:DEMod:FREQuency............................................................................................

34

[:SENSe]:DEMod:MODE....................................................................................................

35

[:SENSe]:DEMod:STATe......................................................................................................

35

[:SENSe]:DETector[:FUNCtion]..........................................................................................

35

[:SENSe]:FREQuency:CENTer.............................................................................................

36

[:SENSe]:FREQuency:CENTer:STEP:AUTO.........................................................................

36

[:SENSe]:FREQuency:CENTer:STEP[:INCRement].............................................................

36

[:SENSe]:FREQuency:REFerence.......................................................................................

37

[:SENSe]:FREQuency:SPAN................................................................................................

37

[:SENSe]:FREQuency:SPAN:FULL.......................................................................................

37

[:SENSe]:FREQuency:SPAN:PREVious...............................................................................

37

[:SENSe]:FREQuency:SPAN:ZERO......................................................................................

37

iii

Contents

[:SENSe]:FREQuency:STARt...............................................................................................

38

[:SENSe]:FREQuency:STOP................................................................................................

38

[:SENSe]:OBWidth:PERCent..............................................................................................

38

[:SENSe]:PASSFAIL:LINELimit:LOWer:CLEar......................................................................

38

[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:DELete...................................................

39

[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:X.............................................................

39

[:SENSe]:PASSFAIL:LINELimit:LOWer:POINt<n>:Y.............................................................

39

[:SENSe]:PASSFAIL:LINELimit:LOWer:STATe......................................................................

39

[:SENSe]:PASSFAIL:LINELimit:MARKer<n>:STATe?............................................................

40

[:SENSe]:PASSFAIL:LINELimit:STATe...................................................................................

40

[:SENSe]:PASSFAIL:LINELimit:UPper:CLEar.......................................................................

40

[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:DELete....................................................

40

[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:X.............................................................

41

[:SENSe]:PASSFAIL:LINELimit:UPper:POINt<n>:Y..............................................................

41

[:SENSe]:PASSFAIL:LINELimit:UPPer:STATe.......................................................................

41

[:SENSe]:PASSFAIL:LINELimit:X:OFFSET............................................................................

41

[:SENSe]:PASSFAIL:LINELimit:Y:OFFSET.............................................................................

42

[:SENSe]:PASSFAIL:WINdow:AMPl:LOWer........................................................................

42

[:SENSe]:PASSFAIL:WINdow:AMPl:UPper.........................................................................

42

[:SENSe]:PASSFAIL:WINdow:AMPt:STATe.........................................................................

42

[:SENSe]:PASSFAIL:WINdow:FREQuency:END..................................................................

43

[:SENSe]:PASSFAIL:WINdow:FREQuency:STARt................................................................

43

[:SENSe]:PASSFAIL:WINdow:FREQuency:STATe................................................................

43

[:SENSe]:PASSFAIL:WINdow:MARKer<n>:STATe?.............................................................

44

[:SENSe]:PASSFAIL:WINdow:STATe....................................................................................

44

[:SENSe]:PASSFAIL:WINdow:SWEEP:STATe.......................................................................

44

[:SENSe]:POWer[:RF]:ATTenuation...................................................................................

45

[:SENSe]:POWer[:RF]:ATTenuation:AUTO.........................................................................

45

[:SENSe]:POWer[:RF]:GAIN[:STATe]:AUTO........................................................................

45

[:SENSe]:SWEep:POINts....................................................................................................

46

[:SENSe]:SWEep:TIME.......................................................................................................

46

[:SENSe]:SWEep:TIME:AUTO............................................................................................

46

SOURce Commands................................................................................................................

47

:SOURce:POWer:TRACk[:POWer].....................................................................................

47

SYSTem Commands................................................................................................................

48

:SYSTem:COMMunicate:LAN:DHCP..................................................................................

48

:SYSTem:COMMunicate:LAN:GATE...................................................................................

48

:SYSTem:COMMunicate:LAN:IP:ADDRess.........................................................................

48

:SYSTem:COMMunicate:LAN:MASK..................................................................................

48

:SYSTem:CONFigure:FIRMwareupdate.............................................................................

49

:SYSTem:CONFigure:information?....................................................................................

49

:SYSTem:DATE....................................................................................................................

49

:SYSTem:LANGuage...........................................................................................................

50

:SYSTem:PON:TYPE............................................................................................................

50

iv

Contents

:SYSTem:PRESet:TYPE........................................................................................................

50

:SYSTem:SPEaker:VOLume................................................................................................

50

:SYSTem:TIME....................................................................................................................

51

TRACe Commands..................................................................................................................

52

:TRACe[:DATA]?.................................................................................................................

52

:TRACe:SOCKdata?............................................................................................................

52

:TRACe<n>:MODE.............................................................................................................

52

Trigger Commands.................................................................................................................

54

:TRIGger:SEQuence:SOURce.............................................................................................

54

:TRIGger:SEQuence:SOURce:VIDeo:POWer.....................................................................

54

UDISk Commands...................................................................................................................

55

:UDISk:STORe:SCReen.......................................................................................................

55

:UDISk:STORe:TRACe.........................................................................................................

55

UNIT Commands.....................................................................................................................

56

:UNIT:POWer.....................................................................................................................

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

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?

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>

 

 

 

*RST

Description

perform a factory reset.

 

 

Syntax

*RST

 

 

4

CALCulate Commands

:CALCulate:BWIDth|BANDwidth:NDB

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

:CALCulate:BWIDth|BANDwidth:NDB <rel_ampl>

Query Syntax

:CALCulate:BWIDth|BANDwidth:NDB?

 

 

 

Parameter

<rel_ampl>

<NR2> 1 dB to 60 dB

 

 

 

Return parameter

<NR3>

 

 

 

Example

:CALC:BAND:NDB 5

 

 

 

:CALCulate:BWIDth|BANDwidth:RESult?

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

 

 

 

 

:CALCulate:BWIDth|BANDwidth[:STATe]

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

:CALCulate:BWIDth|BANDwidth[:STATe] {OFF|ON|0|1}

Query Syntax

:CALCulate:BWIDth|BANDwidth[:STATe]?

 

 

 

Parameter

0

Turns NdB BW off.

 

1

Turns NdB BW on.

 

OFF

Turns NdB BW off.

 

ON

Turns NdB BW on.

 

 

 

Return parameter

0

NdB BW is off.

 

1

NdB BW is on.

 

 

Example

:CALC:BAND ON

 

 

 

5

VOLTCRAFT SpectrumAnalyzer ProgrammingManual

:CALCulate:MARKer:AOFF

Description

Turns all the markers off.

 

 

Syntax

:CALCulate:MARKer:AOFF

 

 

Example

:CALC:MARK:AOFF

 

 

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

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

:CALCulate:MARKer<n>:CPEak[:STATe] {OFF|ON|0|1}

Query Syntax

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

 

 

 

Parameter

<n>

<NR1> Marker number 1 to 5

 

0

Turns continuous peaking off.

 

1

Turns continuous peaking on.

 

OFF

Turns continuous peaking off.

 

ON

Turns continuous peaking on.

 

 

 

Return parameter

0

Continuous peaking is off.

 

1

Continuous peaking is on.

 

 

Example

:CALC:MARK1:CPE ON

 

 

 

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

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

 

 

 

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

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

 

 

 

6

 

 

SCPI Introduction

:CALCulate:MARKer:FCOunt:RESolution

 

 

Description

Sets or queries the frequency counter resolution in Hz.

 

 

Syntax

:CALCulate:MARKer:FCOunt:RESolution <freq>

Query Syntax

: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

 

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

 

 

Description

Sets or queries the state of the marker frequency counter function.

 

 

Syntax

:CALCulate:MARKer<n>:FCOunt[:STATe] {OFF|ON|0|1}

Query Syntax

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

 

 

 

Parameter

<n>

<NR1> Marker number 1 to 5.

 

0

Turns frequency counter off.

 

1

Turns frequency counter on.

 

OFF

Turns frequency counter off.

 

ON

Turns frequency counter on.

 

 

 

Return parameter

0

Frequency counter is off.

 

1

Frequency counter is on.

 

 

Example

:CALC:MARKer1:FCO 1

 

 

 

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

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

 

 

 

:CALCulate:MARKer:FUNCtion:AOFF

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

 

 

7

 

 

SCPI Introduction

:CALCulate:MARKer<n>:MAXimum

 

 

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

 

:CALCulate:MARKer<n>:MAXimum:LEFT

 

 

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

 

:CALCulate:MARKer<n>:MAXimum:NEXT

 

 

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

 

:CALCulate:MARKer<n>:MAXimum:RIGHt

 

 

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

 

:CALCulate:MARKer<n>:MINimum

 

 

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

 

 

 

8

 

 

 

SCPI Introduction

:CALCulate:MARKer<n>:MODE

 

 

Description

Sets or queries the marker type.

 

 

Syntax

:CALCulate:MARKer<n>:MODE {NORMal|DELTa}

Query Syntax

:CALCulate:MARKer<n>:MODE?

 

 

 

 

Parameter/

<n>

 

<NR1> Marker number 1 to 5.

Return parameter

<NORMal>

Normal marker

 

<DELTa>

Delta marker

 

 

Example

:CALC:MARK1:MODE NORM

 

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

 

 

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

:CALCulate:MARKer<n>:PHNoise[:STATe] {OFF|ON|0|1}

Query Syntax

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

 

 

 

Parameter

<n>

<NR1> Marker number 1 to 5.

 

0

Turns Marker Noise off.

 

1

Turns Marker Noise on.

 

OFF

Turns Marker Noise off.

 

ON

Turns Marker Noise on.

 

 

 

Return parameter

0

Marker Noise is off.

 

1

Marker Noise is on.

 

 

Example

:CALC:MARK1:PHN ON

 

 

 

 

:CALCulate:MARKer:PHNoise:Y?

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

 

 

9

 

 

SCPI Command Set

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

 

 

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

 

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

 

 

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

 

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

 

 

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

 

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

 

 

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

 

 

 

10

 

 

SCPI Command Set

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

 

 

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

 

:CALCulate:MARKer<n>:STATe

 

 

Description

Sets or queries the state of the selected marker.

 

 

Syntax

:CALCulate:MARKer<n>:STATe {OFF|ON|0|1}

Query Syntax

:CALCulate:MARKer<n>:STATe?

 

 

 

Parameter

<n>

<NR1> Marker number 1 to 5.

 

0

Turns the selected marker off.

 

1

Turns the selected marker on.

 

OFF

Turns the selected marker off.

 

ON

Turns the selected marker on.

 

 

 

Return parameter

0

The selected marker is off.

 

1

The selected marker is on.

 

 

Example

:CALC:MARK1:STAT ON

 

 

 

:CALCulate:MARKer:TABLe:STATe

Description

Sets or queries the state of the marker table.

 

 

Syntax

:CALCulate:MARKer:TABLe:STATe {OFF|ON|0|1}

Query Syntax

:CALCulate:MARKer:TABLe:STATe?

 

 

 

Parameter

0

Turns the table off.

 

1

Turns the table on.

 

OFF

Turns the table off.

 

ON

Turns the table on.

 

 

 

Return parameter

0

The table is off.

 

1

The table is on.

 

 

Example

:CALC:MARK:TABL:STAT ON

 

 

 

11

 

 

SCPI Command Set

:CALCulate:MARKer<n>:TRACe

 

 

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

:CALCulate:MARKer<n>:TRACe <integer>

Query Syntax

:CALCulate:MARKer<n>:TRACe?

 

 

 

Parameter/

<n>

<NR1> Marker number 1 to 5

Return parameter

<integer>

The number of the trace: (1, 2, 3, 4, 5)

 

 

Example

:CALC:MARK1:TRAC 2

 

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

 

 

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

 

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

 

 

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

 

 

:CALCulate:MARKer<n>:X

 

 

Description

Sets or returns the marker position. In delta marker mode, this command returns

 

the frequency difference between the markers.

 

 

Syntax

:CALCulate:MARKer<n>:X <freq>

Query Syntax

:CALCulate:MARKer<n>:X?

 

 

 

12

 

 

SCPI Command Set

Parameter

<n>

<NR1> Marker number 1 to 5

 

<freq>

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

 

 

 

 

:CALCulate:NETMeasure:POWer

Description

Sets or queries the network measurement output power level.

 

 

Syntax

:CALCulate:NETMeasure:POWer <ampl>

Query Syntax

:CALCulate:NETMeasure:POWer?

 

 

Parameter

<ampl> <NRf> Power or voltage, -30dBm to 0dbm

 

 

Return parameter

<NR2>

 

 

Example

:CALC:NETM:POW -10

 

 

:CALCulate:NTDate:NORMalize

Description

Turns the tracking generator normalization on/off or queries its state.

 

 

Syntax

:CALCulate:NTDate:NORMalize {OFF|ON|0|1}

Query Syntax

:CALCulate:NTDate:NORMalize?

 

 

13

Loading...
+ 43 hidden pages