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

COM

SA Setup... SA Tab

Sweep Type

SENSe:SWEep:TYPE

SourceSweepType

SourceSweepType2

Start

SENSe:FREQuency:STARt

chan.StartFrequency

Stop

SENSe:FREQuency:STOP

chan.StopFrequency

Center

SENSe:FREQuency:CENTer

chan.CenterFrequency

Span

SENSe:FREQuency:SPAN

SENSe:FREQuency:SPAN:FULL

chan.FrequencySpan

FrequencySpanFull

Number of Points

SENSe:SWEep:POINts

chan.NumberOfPoints

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

ResBWList

ResolutionBW

ResolutionBWMode

ResolutionBWMin

ResolutionBWMax

Video Bandwidth

SENSe:SA:BANDwidth:VIDeo

SENSe:SA:BANDwidth:VIDeo:AUTO

SENSe:SA:BANDwidth:VIDeo MIN

SENSe:SA:BANDwidth:VIDeo MAX

VideoBW

VideoBWMode

VideoBWMin

VideoBWMax

Detector Type

SENSe:SA:DETector:FUNCtion

DetectorFunction

Detector Bypass

SENSe:SA:DETector:BYPass:[STATe]

EnableDetectorBypass

Averaging Type

SENSe:SA:BANDwidth:VIDeo:AVER:TYPE

VideoAveragingType

 

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

VideoAveragingCount

Receiver Attenuators

SENSe:POWer:ATTenuator

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

Receiver Attenuator

Source Tab

Power On (All Channels)

SOURce:POWer:MODE

SourcePortMode

Port Powers Coupled

SOURce:POWer:COUPle

CouplePorts

State

SOURce:PULSe[:STATe]

SOURce:PULSe:EXISts?

None

None

Type

SENSe:SA:SOURce:SWEep:TYPE

SourceSweepType

SourceSweepType2

Frequency

SENSe:SA:SOURce:FREQuency:STARt

SENSe:SA:SOURce:FREQuency:STOP

SourceStartFrequency

SourceStopFrequency

Power

SENSe:SA:SOURce:POWer:STARt

SENSe:SA:SOURce:POWer:STOP

SENSe:SA:SOURce:POWer[:VALue]

SourceStartPower

SourceStopPower

SourcePower

Phase

SOURce:PHASe:FIXed

FixedPhase

Pulse Setup...

 

 

IQMod - Modulation settings dialog

Enable Modulation

SOURce:MODulation[:STATe]

None

Modulation Filename

SOURce:MODulation:LOAD

None

Show File Properties

 

 

Modulation File Name

SOURce:MODulation:FILE?

None

Source Name

SOURce:CATalog?

SourcePortNames

Sample Rate

SOURce:MODulation:FILE:SIGNal:SRATe?

SOURce:MODulation:ARB:CLOCk:SRATe?

None

None

Number of Samples

None

None

Modulation Type

SOURce:MODulation:FILE:TYPE?

None

Signal Span

SOURce:MODulation:FILE:SIGNal:SPAN?

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

None

None

None

Equivalent Continuous Span

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

BandpowerSpan

Tone Spacing

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

None

Waveform Period

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

None

Number of Tones

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

None

Peak-to-Avg

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

None

Carrier Offset

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

None

DAC Scaling

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

None

Phase Type

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

None

Random Phase Seed

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

None

Number of Notches

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

None

Notch Location

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

None

Notch1 Span

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

None

Notch1 Offset

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

None

Receiver RBW

None

None

Measurement Time

None

None

Create/Edit Mod File...

 

 

Autoset Frequencies and Coherence for current modulation

SOURce:MODulation:AUTO:SA[:STATe]

None

Immediate Autoset

SOURce:MODulation:AUTO:IMMediate

None

Autoset NPR Markers

SOURce:MODulation:AUTO:NPR[:STATe]

None

NPR Band Guard

SOURce:MODulation:AUTO:NPR:GBANd

None

Autoset ACPR Markers

SOURce:MODulation:AUTO:ACPR[:STATe]

None

ACPR Band Guard

SOURce:MODulation:AUTO:ACPR:GBANd

None

Enable Modulation Correction

SOURce:MODulation:CORRection[:STATe]

None

Calibrate Modulation...

 

 

Source Power

SENSe:SA:SOURce:POWer[:VALue]

None

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]

SourceSweepFirstDimension

Path Configuration...

SENSe:PATH:CONFig:ELEMent[:STATe]

Element

Power and Attenuator...

 

 

External Devices...

 

 

Coherence Tab

Enable multitone

SENSe:SA:COHerence:MULTitone[:STATe]

MultiToneEnable

Tone Spacing

SENSe:SA:COHerence:MULTitone:SPACing

MultiToneSpacing

Waveform Period

SENSe:SA:COHerence:MULTitone:PERiod

MultiTonePeriod

Reference Tone

SENSe:SA:COHerence:MULTitone:REFerence

MultiToneReference

Reject up to harmonic

SENSe:SA:COHerence:MULTitone:HREJect

MultiToneHarmonicRejection

Nyquist protect order

SENSe:SA:COHerence:MULTitone:NYQReject

MultiToneNyquistProtection

Vector averaging

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

SENSe:SA:COHerence:VECTor:AVERage:VALue

VectorAverageEnable

VectorAverageValue

VectorAverageValueMax

Data Display

SENSe:SA:COHerence:MULTitone:DATA

MultiToneDataDisplay

Multitone settings are valid

SENSe:SA:COHerence:MULTitone:VALid

MultiToneSettingsValid

Compute Phases

SENSe:SA:COHerence:PHASe[:STATe]

PhaseProcessState

Display Phases if Tone Power >

SENSe:SA:COHerence:PHASe:DISPlay:LEVel

PhaseDisplayMinLevel

Enable Phase Stitching from HW timestamps

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

None

Enable Phase Stitching from overlapped areas

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

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

None

None

Stitch Phases if Tone Power >

SENSe:SA:COHerence:PHASe:STITching:LEVel

None

Receiver for Stitching

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

None

Auto

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

None

Compute time domain IQ

SENSe:SA:DATA:IQ[:STATe]

SENSe:SA:DATA:IQ:GET?

None

None

Auto Fill IQ settings

SENSe:SA:DATA:IQ:AUTofill

None

Receivers

SENSe:VSA:DATA:SA:RECievers

None

IQ keeps aligned with SA center, span, coherence

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

None

VSA Setup...

Connect VSA

SENSe:VSA:CONNect[:STATe]

None

Enable Digital Trigger

SENSe:VSA:DTRigger[:STATe]

None

Autotune Spectrum

SENSe:VSA:SPECtrum:AUTOtune

None

Show VSA

SENSe:VSA:SHOW

None

Stream Data to VSA

SENSe:VSA:DATA:STReam[:STATe]

None

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)

None

None

None

None

Saved State Includes VSA state ( all channels)

SENSe:VSA:SAVe:INCLude[STATe]

None

VSA Status...

SENSe:VSA:STAtus:REPort?

None

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

TriggerADCLevelState

    ADC Level SENSe:SA:TRIGer:LEVel[:STATe] SENSe:SA:TRIGer:LEVel:VALue

TriggerADCLevelState

TriggerADCLevelValue

    Periodic Counter SENSe:SA:TRIGer:PERCounter[:STATe] SENSe:SA:TRIGer:PERCounter:VALue

TriggerPeriodicCounterState

TriggerPeriodicCounterValue

Trigger...    
Pulse Gen Config...    
Advanced Tab
RBW Shape SENSe:SA:BANDwidth:SHAPe

BandwidthShape

Image Reject Type SENSe:SA:IMAGe:REJect

ImageRejectMethod

Image Reject Strength SENSe:SA:IMAGe:STRENgth

ImageRejectStrength

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

ResolutionBWVideoBWRatio

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

SpanResolutionBWRatio

CF Step Size

SENSe:FREQuency:CENTer:STEP:SIZE

SENSe:FREQuency:CENTer:STEP:AUTO

CenterFrequencyStepSize

CenterFrequencyStepSizeMode

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

SearchOccupiedBWMinFreq

Enable DC Outputs SOURce:DC:ENABle

EnableAllOutput

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

DCSourceSweepState

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

DCSourcePointCount

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

DCSourceSweepFirstDimension

  SENSe:SA:FREQuency:TUNE:IMMediate

FrequencyAutoTune

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

None

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

None

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

None

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

None

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

None

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

None

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

None

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

None

DC Sources...  

 

Embedded LO  

 

IF Tab
ADC Filter SENSe:SA:ADC:FILTer

ADCFilter

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

EnableADCFilterAuto

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

AutoBandwidth

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

BandwidthNarrowMin

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

BandwidthNarrowMax

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

BandwidthWideMin

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

BandwidthWideMax

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

Element

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

Element

Processing Tab
DFT Type SENSe:SA:DFT:TYPE

Type

None

None

None

None

None

None

None

IQ Carrier Frequency

SENSe:SA:DATA:IQ:CARRier:FREQuency

None

IQ Sample Rate

SENSe:SA:DATA:IQ:SAMPle:RATE

None

Number of IQ Pairs

SENSe:SA:DATA:IQ:SAMPle:COUNt

None

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

AcquisitionTime

Span LOs count SENSe:SA:LO:COUNt?

LOCount

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

SpanBinsCount

DFT resolution SENSe:SA:DFT:RESolution?

Resolution

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

RecordSize

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

ForceADCRecordSize

IQ record duration

SENSe:SA:DATA:IQ:DURation?

None

VSA IQ pairs count

 

None

Valid IQ Settings

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

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

None

None

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

EnableImageRejectTraces

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

ADCSampleRate

EnableADCSampleRateAuto

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

ADCEnableFIRFor25Mhz

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

EnableADCDither

Overrange warning percent

SENSe:SA:ADC:OVERload:PERCent

SENSe:SA:ADC:OVERload:COUNt?

SENSe:SA:ADC:OVERload:LIST?

None

None

None

Show ADC Ranges...

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

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

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

None

None

None

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?

ADCRecordSize

ForceADCRecordSize

EnableForceADCRecordSize

ADCRecordSizeMax

ADCRecordSizeMin

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

ADCStacking

ADCStackingState

ADCStackingMax

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

ADCMultRecState

    Chunk size SENSe:SA:ADC:MREC:SIZE

ADCMultRecSize

    Chunk period SENSe:SA:ADC:MREC:PERiod

ADCMultRecPeriod

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

EnableRandomizedLO

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

None

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 EnableForce LOToFrequency ForceLOToFrequency None None None
Data Tab
Data Format SENSe:SA:DATA:TYPE

DataFormat

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

ExportReceiverSetList

ExportReceiverList

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

DataLevelThresholdEnabled

DataLevelThreshold

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

DataBinCount

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

ExportReceiverCount

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

BinaryFileEnabled

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

TextFileEnabled

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

FileVerboseEnabled

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

FileEraseEachSweep

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

FilePrefix

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

DataByteSize

DataBytesPerBin

DataByteSizeLOW

DataByteSizeHIGH

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

DataExportMarkersEnabled

Export all markers to a single file None

None

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

FIFOEnabled

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

MemShareEnabled

Share name SENSe:SA:DATA:SHARed:NAME

MemShareName

  SENSe:SA:DATA:STARt?

DataFirstRFBin

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

CreateCustomMeasurementEx

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

CreateSParameterEx

Balanced CALCulate:MEASure:PARameter

BalSMeasurement

BBalMeasurement

SBalMeasurement

SSBMeasurement

Other CALCulate:MEASure:PARameter

CreateSParameterEx

Layout Tab Commands
Softkey Sub-item SCPI

COM

New Trace   DISPlay:WINDow:TRACe[:STATe]

View

New Channel   None

chans.Add

New Window   DISPlay:WINDow[:STATe]

Add

New Sheet   DISPlay:SHEet:STATe

None

Delete TrN DISPlay:WINDow:TRACe:DELete

None

ChN SYSTem:CHANnels:DELete

RemoveChannelNumber

WinN DISPlay:WINDow[:STATe]

Add

Select TrN DISPlay:WINDow:TRACe:SELect

None

ChN None

None

WinN

DISPlay:WINDow:TRACe:SELect

None

Measure...

 

CALCulate:MEASure:PARameter

CreateSParameterEx

Meas Class...   CALCulate:MEASure:DEFine

CreateCustomMeasurementEx