Setup Commands - Spectrum Analyzer Measurement Class

Only the Main and Layout Setup commands corresponding to the Spectrum Analyzer measurement class are documented here. All other commands are identical to the Setup commands for the Standard measurement class and can be accessed by clicking here or by clicking on the softtabs on the graphic below.

Click here to view links to Setup commands for all Measurement Classes.

Main

Layout

System
Setup

Internal
Hardware

External
Hardware

Main Tab Commands

Softkey

Sub-item

SCPI

 

SA Setup... SA Tab

Sweep Type

SENSe:SWEep:TYPE

 

Start

SENSe:FREQuency:STARt

 

Stop

SENSe:FREQuency:STOP

 

Center

SENSe:FREQuency:CENTer

 

Span

SENSe:FREQuency:SPAN

SENSe:FREQuency:SPAN:FULL

 

Number of Points

SENSe:SWEep:POINts

 

Resolution Bandwidth

SENSe:SA:BANDwidth:RESolution:CATalog?

SENSe:SA:BANDwidth:[RESolution]

SENSe:SA:BANDwidth:[RESolution]:AUTO

SENSe:SA:BANDwidth:RESolution MIN

SENSe:SA:BANDwidth:RESolution MAX

 

Video Bandwidth

SENSe:SA:BANDwidth:VIDeo

SENSe:SA:BANDwidth:VIDeo:AUTO

SENSe:SA:BANDwidth:VIDeo MIN

SENSe:SA:BANDwidth:VIDeo MAX

 

Detector Type

SENSe:SA:DETector:FUNCtion

 

Detector Bypass

SENSe:SA:DETector:BYPass:[STATe]

 

Averaging Type

SENSe:SA:BANDwidth:VIDeo:AVER:TYPE

 

 

SENSe:SA:BANDwidth:VIDEO:AVERage:COUNt?

 

Receiver Attenuators

SENSe:POWer:ATTenuator

SOURce:POWer:ATTenuation:RECeiver:TEST (Spectrum Analysis for M980xA, P50xxA/B)

 

Source Tab

Power On (All Channels)

SOURce:POWer:MODE

 

Port Powers Coupled

SOURce:POWer:COUPle

 

State

SOURce:PULSe[:STATe]

SOURce:PULSe:EXISts?

 

Type

SENSe:SA:SOURce:SWEep:TYPE

 

Frequency

SENSe:SA:SOURce:FREQuency:STARt

SENSe:SA:SOURce:FREQuency:STOP

 

Power

SENSe:SA:SOURce:POWer:STARt

SENSe:SA:SOURce:POWer:STOP

SENSe:SA:SOURce:POWer[:VALue]

 

Phase

SOURce:PHASe:FIXed

 

Pulse Setup...

 

 

IQMod - Modulation settings dialog

Enable Modulation

SOURce:MODulation[:STATe]

 

Modulation Filename

SOURce:MODulation:LOAD

 

Show File Properties

 

 

Modulation File Name

SOURce:MODulation:FILE?

 

Source Name

SOURce:CATalog?

 

Sample Rate

SOURce:MODulation:FILE:SIGNal:SRATe?

SOURce:MODulation:ARB:CLOCk:SRATe?

 

Number of Samples

None

 

Modulation Type

SOURce:MODulation:FILE:TYPE?

 

Signal Span

SOURce:MODulation:FILE:SIGNal:SPAN?

SOURce:MODulation:FILE:SIGNal:SPAN:CALCulated?
SOURce:MODulation:FILE:SIGNal:SPAN:PRIority?

 

Equivalent Continuous Span

CALCulate:MEASure:SA:MARKer:BPOWer:SPAN?

 

Tone Spacing

SOURce:MODulation:FILE:SIGNal:OPTimize:MAX:TONE:SPacing?

 

Waveform Period

SOURce:MODulation:FILE:SIGNal:OPTimize:MIN:WAVeform:PERiod?

 

Number of Tones

SOURce:MODulation:FILE:SIGNal:OPTimize:MIN:TONE:NUMBer?

 

Peak-to-Avg

SOURce:MODulation:FILE:SIGNal:PAVG:CALCulated?

 

Carrier Offset

SOURce:MODulation:FILE:SIGNal:CARRier:OFFSet?

 

DAC Scaling

SOURce:MODulation:FILE:SIGNal:DAC:SCALing?

 

Phase Type

SOURce:MODulation:FILE:SIGNal:PHASe:TYPE?

 

Random Phase Seed

SOURce:MODulation:FILE:SIGNal:PHASe:RANDom:SEED?

 

Number of Notches

SOURce:MODulation:FILE:SIGNal:NPR:NOTCh:NUMBer?

 

Notch Location

SOURce:MODulation:FILE:SIGNal:NPR:NOTCh:LOCation?

 

Notch1 Span

SOURce:MODulation:FILE:SIGNal:NPR:NOTCh:SPAN?

 

Notch1 Offset

SOURce:MODulation:FILE:SIGNal:NPR:NOTCh:OFFSet?

 

Receiver RBW

None

 

Measurement Time

None

 

Create/Edit Mod File...

 

 

Autoset Frequencies and Coherence for current modulation

SOURce:MODulation:AUTO:SA[:STATe]

 

Immediate Autoset

SOURce:MODulation:AUTO:IMMediate

 

Autoset NPR Markers

SOURce:MODulation:AUTO:NPR[:STATe]

 

NPR Band Guard

SOURce:MODulation:AUTO:NPR:GBANd

 

Autoset ACPR Markers

SOURce:MODulation:AUTO:ACPR[:STATe]

 

ACPR Band Guard

SOURce:MODulation:AUTO:ACPR:GBANd

 

Enable Modulation Correction

SOURce:MODulation:CORRection[:STATe]

 

Calibrate Modulation...

 

 

Source Power

SENSe:SA:SOURce:POWer[:VALue]

 

Source Path Amplification (= Power Offset)

 

 

For SA Analysis Marker commands for getting measurement data, refer to SA Analysis Tab Commands.

 

 

RF source sweep order

SENSe:SA:SOURce:SWEep:FIRst[:DIMension]

 

Path Configuration...

SENSe:PATH:CONFig:ELEMent[:STATe]

 

Power and Attenuator...

 

 

External Devices...

 

 

Coherence Tab

Enable multitone

SENSe:SA:COHerence:MULTitone[:STATe]

 

Tone Spacing

SENSe:SA:COHerence:MULTitone:SPACing

 

Waveform Period

SENSe:SA:COHerence:MULTitone:PERiod

 

Reference Tone

SENSe:SA:COHerence:MULTitone:REFerence

 

Reject up to harmonic

SENSe:SA:COHerence:MULTitone:HREJect

 

Nyquist protect order

SENSe:SA:COHerence:MULTitone:NYQReject

 

Vector averaging

SENSe:SA:COHerence:VECTor:AVERage[:STATe]

SENSe:SA:COHerence:VECTor:AVERage:VALue

 

Data Display

SENSe:SA:COHerence:MULTitone:DATA

 

Multitone settings are valid

SENSe:SA:COHerence:MULTitone:VALid

 

Compute Phases

SENSe:SA:COHerence:PHASe[:STATe]

 

Display Phases if Tone Power >

SENSe:SA:COHerence:PHASe:DISPlay:LEVel

 

Enable Phase Stitching from HW timestamps

SENSe:SA:COHerence:PHASe:STITching:HWTStamp[:STATe]

 

Enable Phase Stitching from overlapped areas

SENSe:SA:COHerence:PHASe:STITching[:STATe]

SENSe:SA:COHerence:PHASe:STITching:COMmon[:STATe]

 

Stitch Phases if Tone Power >

SENSe:SA:COHerence:PHASe:STITching:LEVel

 

Receiver for Stitching

SENSe:SA:COHerence:PHASe:STITching:RECeiver:NAME

 

Auto

SENSe:SA:COHerence:PHASe:STITching:RECeiver:AUTO[:STATe]

 

Compute time domain IQ

SENSe:SA:DATA:IQ[:STATe]

SENSe:SA:DATA:IQ:GET?

 

Auto Fill IQ settings

SENSe:SA:DATA:IQ:AUTofill

 

Receivers

SENSe:VSA:DATA:SA:RECievers

 

IQ keeps aligned with SA center, span, coherence

SENSe:SA:DATA:IQ:ALIgned[:STATe]

 

VSA Setup...

Connect VSA

SENSe:VSA:CONNect[:STATe]

 

Enable Digital Trigger

SENSe:VSA:DTRigger[:STATe]

 

Autotune Spectrum

SENSe:VSA:SPECtrum:AUTOtune

 

Show VSA

SENSe:VSA:SHOW

 

Stream Data to VSA

SENSe:VSA:DATA:STReam[:STATe]

 

Select Data

SENSe:VSA:DATA:SA:RECievers  (SA channels only)

SENSe:VSA:DATA:MOD:PIN1[:STATe]  (MOD/MODX channels only)

SENSe:VSA:DATA:MOD:POU2[:STATe]  (MOD/MODX channels only)

SENse:VSA:DATA:MOD:PINWav[:STATe] (MOD/MODX channels only)

 

Saved State Includes VSA state ( all channels)

SENSe:VSA:SAVe:INCLude[STATe]

 

VSA Status...

SENSe:VSA:STAtus:REPort?

 

Trig. & Pulse Tab
Advanced Trigger Mode SENSe:SA:TRIGer:LEVel[:STATe]

 

    ADC Level SENSe:SA:TRIGer:LEVel[:STATe]
SENSe:SA:TRIGer:LEVel:VALue
    Periodic Counter SENSe:SA:TRIGer:PERCounter[:STATe]
SENSe:SA:TRIGer:PERCounter:VALue
Trigger...    
Pulse Gen Config...    
Advanced Tab
RBW Shape SENSe:SA:BANDwidth:SHAPe

 

Image Reject Type SENSe:SA:IMAGe:REJect

 

Image Reject Strength SENSe:SA:IMAGe:STRENgth

 

RBW/VBW SENSe:SA:BANDwidth:VIDeo:RATio

 

Span/RBW SENSe:SA:FREQuency:SPAN:BANDwidth[:RESolution]:RATio

 

CF Step Size

SENSe:FREQuency:CENTer:STEP:SIZE

SENSe:FREQuency:CENTer:STEP:AUTO

 

Occupied BW search min SENSe:SA:BANDwidth:SEARch:OCCupied:MIN

 

Enable DC Outputs SOURce:DC:ENABle

 

Enable DC Sweep SENSe:SA:SOURce:DC:SWEep[:STATe]

 

Number of DC levels SENSe:SA:SOURce:DC:SWEep:POINt

 

Sweep Order SENSe:SA:SOURce:DC:SWEep:FIRst[:DIMension]

 

  SENSe:SA:FREQuency:TUNE:IMMediate

 

Enable Frequency Converter Configuration SENSe:SA:FREQuency:CONVerter[:STATe]

 

Source SENSe:SA:FREQuency:CONVerter:INPut:SOURce

 

Port (input) SENSe:SA:FREQuency:CONVerter:INPut:PORT

 

Center (input) SENSe:SA:FREQuency:CONVerter:INPut:CENTer

 

Inverted SENSe:SA:FREQuency:CONVerter:OUTPut:INVerted

 

Port (output) SENSe:SA:FREQuency:CONVerter:OUTPut:PORT

 

Center (output) SENSe:SA:FREQuency:CONVerter:OUTPut:CENTer

 

Output center offset SENSe:SA:FREQuency:CONVerter:OUTPut:OFFSet

 

DC Sources...  

 

Embedded LO  

 

IF Tab
ADC Filter SENSe:SA:ADC:FILTer

 

ADC Filter Auto SENSe:SA:ADC:FILTer:AUTO

 

DFT Bandwidth Auto SENSe:SA:DFT:BANDwidth:AUTO

 

Narrow - DFT Min SENSe:SA:DFT:BANDwidth:NARRow:MIN

 

Narrow - DFT Max SENSe:SA:DFT:BANDwidth:NARRow:MAX

 

Wide - DFT Min SENSe:SA:DFT:BANDwidth:WIDE:MIN

 

Wide - DFT Max SENSe:SA:DFT:BANDwidth:WIDE:MAX

 

IF Gain SENSe:PATH:CONFig:ELEMent[:STATe]

 

IF Config... SENSe:PATH:CONFig:ELEMent[:STATe]

 

Processing Tab
DFT Type SENSe:SA:DFT:TYPE

 

End of Sweep Processing

SENSe:SA:DATA:KEEP:FREQuencies:COUNt?

SENSe:SA:DATA:KEEP:RECeivers:COUNt?

SENSe:SA:DATA:KEEP:RECeivers[:CURRent]

SENSe:SA:DATA:KEEP:RECeivers:LIST

SENSe:SA:DATA:KEEP:SCALar:GET?

SENSe:SA:DATA:KEEP[:STATe]

SENSe:SA:DATA:KEEP:VECTor:GET?

 

IQ Carrier Frequency

SENSe:SA:DATA:IQ:CARRier:FREQuency

 

IQ Sample Rate

SENSe:SA:DATA:IQ:SAMPle:RATE

 

Number of IQ Pairs

SENSe:SA:DATA:IQ:SAMPle:COUNt

 

Acq. Time for 1 LO SENSe:SA:ADC:ACQTime?

 

Span LOs count SENSe:SA:LO:COUNt?

 

Span bins count SENSe:SA:SPAN:BINS:COUNt?

 

DFT resolution SENSe:SA:DFT:RESolution?

 

DFT record size SENSe:SA:DFT:RECord:SIZE?

 

ADC record size SENSe:SA:ADC:RECord:SIZE:VALue?

 

IQ record duration

SENSe:SA:DATA:IQ:DURation?

 

VSA IQ pairs count

 

 

Valid IQ Settings

SENSe:SA:DATA:IQ:ERRor:TEXT?

SENSe:SA:DATA:IQ:ERRor[:CODE]?

 

Display image reject traces SENSe:SA:TRACe:IMAGe[:STATe]

 

ADC & LO Tab
Sample Frequency SENSe:SA:ADC:SAMPle:RATE
SENSe:SA:ADC:SAMPle:RATE:AUTO

 

Enable FIR for 25 MHz SENSe:SA:ADC:SAMPle:DECimation:FIR

 

Dithering SENSe:SA:ADC:DITHer:[STATe]

 

Overrange warning percent

SENSe:SA:ADC:OVERload:PERCent

SENSe:SA:ADC:OVERload:COUNt?

SENSe:SA:ADC:OVERload:LIST?

 

Show ADC Ranges...

SENSe:SA:ADC:RANGe:PERCent[:MAXimum]?

SENSe:SA:ADC:RANGe:PERCent:MINimum?

SENSe:SA:ADC:RANGe:PERCent:RECeiver?

 

Force ADC record size SENSe:SA:ADC:RECord:SIZE:VALue?
SENSe:SA:ADC:RECord:SIZE:FORCe:VALue
SENSe:SA:ADC:RECord:SIZE:FORCe[:STATe]
SENSe:SA:ADC:RECord:SIZE:MAX?
SENSe:SA:ADC:RECord:SIZE:MIN?

 

Stacking SENSe:SA:ADC:STACking:VALue
SENSe:SA:ADC:STACking:STATe
 

 

Multiple Recording SENSe:SA:ADC:MREC[:STATe]

 

    Chunk size SENSe:SA:ADC:MREC:SIZE

 

    Chunk period SENSe:SA:ADC:MREC:PERiod

 

Randomize LO SENSe:SA:LO:RANDom[:STATe]

 

Enable baseband X-axis mode (LO independent sweep) SENSe:SA:LO:BASeband[:STATe]

 

Force LO to frequency SENSe:SA:LO:FREQ:FORCe
SENSe:SA:LO:FREQ:VALue
SENSe:SA:LO:FORCe:OFFSet:DIVider
SENSe:SA:LO:FORCe:OFFSet:MULtiplier
SENSe:SA:LO:FORCe:OFFSet:SOURce

 

Data Tab
Data Format SENSe:SA:DATA:TYPE

 

Export receivers SENSe:SA:DATA:RECeivers:LIST
SENSe:SA:DATA:RECeivers?

 

Don't save data below threshold SENSe:SA:DATA:THReshold[:STATe]
SENSe:SA:DATA:THReshold:VALue

 

DFT bins count SENSe:SA:DATA:BINs:COUNt?

 

Receivers count SENSe:SA:DATA:RECeivers:COUNt?

 

Export to binary file SENSe:SA:DATA:FILE:BINary[:STATe]

 

Export to text file SENSe:SA:DATA:FILE:TEXT[:STATe]

 

Verbose mode SENSe:SA:DATA:FILE:TEXT:VERBose[:STATe]

 

Erase files each new sweep SENSe:SA:DATA:FILE:ERASe[:STATe]

 

File name prefix SENSe:SA:DATA:FILE:PREFix

 

Record size (bytes) SENSe:SA:DATA:SIZE?
SENSe:SA:DATA:SIZE:BIN?
SENSe:SA:DATA:SIZE:LOW?
SENSe:SA:DATA:SIZE:HIGH?

 

Export markers with data files SENSe:SA:DATA:FILE:TEXT:MARKers[:STATe]

 

Export all markers to a single file None

 

Export to FIFO buffer SENSe:SA:DATA:FIFO[:STATe]

 

Export to shared memory SENSe:SA:DATA:SHARed[:STATe]

 

Share name SENSe:SA:DATA:SHARed:NAME

 

  SENSe:SA:DATA:STARt?

 

Export to binary file

SENSe:SA:DATA:IQ:FILE:BINary[:STATe]

None

Export to text file

SENSe:SA:DATA:IQ:FILE:TEXT[:STATe]

None

Meas Class...

  CALCulate:MEASure:DEFine

 

Quick Start... S-Param CALCulate:MEASure:PARameter

 

Balanced CALCulate:MEASure:PARameter

 

Other CALCulate:MEASure:PARameter

 

Layout Tab Commands
Softkey Sub-item SCPI

 

New Trace   DISPlay:WINDow:TRACe[:STATe]

 

New Channel   None

 

New Window   DISPlay:WINDow[:STATe]

 

New Sheet   DISPlay:SHEet:STATe

 

Delete TrN DISPlay:WINDow:TRACe:DELete

 

ChN SYSTem:CHANnels:DELete

 

WinN DISPlay:WINDow[:STATe]

 

Select TrN DISPlay:WINDow:TRACe:SELect

 

ChN None

 

WinN

DISPlay:WINDow:TRACe:SELect

 

Measure...

 

CALCulate:MEASure:PARameter

 

Meas Class...   CALCulate:MEASure:DEFine