Phase Noise Analyzer · SCPI command reference

Keysight E5505A SCPI commands

The Keysight E5505A phase noise analyzer is controlled remotely with SCPI commands. TestFlow's instrument library holds 138 commands for it, 28 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the E5505A on a real bench.

Commands
138
Queries
28
Subsystems
16
Models covered
1

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Keysight E5505A and writes the report from the measured results.

Get started

Control the Keysight E5505A from Python

With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find the Keysight E5505A's VISA address

# Paste the address of your Keysight E5505A (USB, LAN or GPIB).
inst = rm.open_resource("PASTE_VISA_ADDRESS_HERE")
inst.timeout = 5000  # ms

print(inst.query("*IDN?"))  # identify the instrument
inst.write("SENSe:TSET:ATTenuator:AUTO ON")  # Auto Attenuation On
print(inst.query("SENSe:RANGe:OFFSet?"))  # Read Offset Range

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Keysight E5505A and writes the report from the measured results.

Get started

Run a E5505A test without writing code

Describe the test in a sentence, for example “auto attenuation on on the E5505A, then read offset range and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.

Get started

SCPI command reference

138 commands in 16 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.

Sense (SENSe) (37)

CommandWhat it doesArguments
SENSe:NOISe:MEAStype <Type>Set Measurement Type. Selects the measurement type (absolute / residual / FM discriminator / AM / baseband / not set).Text: ABSolute,RESidual,FMDiscriminator,AM,BBANd,NOTSet
SENSe:RANGe:OFFSet <Start>,<Stop>Set Offset Range. Sets the start and stop offset frequencies in Hz of the measurement range.Number; Number
SENSe:RANGe:OFFSet?Read Offset Range. Returns the start and stop offset frequencies of the measurement range.None
SENSe:RANGe:FFT:SEGTable <Quality>Set FFT Segment Table. Selects the FFT segment table used for the range.Text: NORMal,FAST,HRESolution,CUSTom
SENSe:RANGe:SWEPt:SEGTable <Quality>Set Swept Segment Table. Selects the swept segment table used for the range.Text: NORMal,FAST,HRESolution,CUSTom
SENSe:RANGe:FFT:AVERage:MINimum <Count>Set Min FFT Averages. Sets the minimum number of FFT averages for the measurement range.Number
SENSe:NOISe:PULSed ONPulsed Mode On. Turns the source signal pulsed mode on.None
SENSe:NOISe:PULSed OFFPulsed Mode Off. Turns the source signal pulsed mode off.None
SENSe:NOISe:FFT <Mode>Set FFT Mode. Selects extended or multiple time samples for the FFT analyzer.Text: EXTended,MULTiple
SENSe:NOISe:QUADrature <Method>Set Quadrature Method. Selects the quadrature method for residual measurements.Text: PSHifter,SOURce
SENSe:NOISe:BBGain <Gain>Set Baseband Gain. Sets the compensation in dB for an external amplifier gain.Number
SENSe:DETector:SELect <Detector>Set Detector Input. Selects the detector input.Text: AUTO,EXTernal,LFRequency,HFRequency,UWAVe,TAM,TINoise,DCAM
SENSe:DETector:FREQuency <Frequency>Set Detector Frequency. Sets the detector input frequency in Hz.Number
SENSe:FFT:INPut:COUPling <Coupling>Set FFT Coupling. Selects AC or DC coupling of the FFT analyzer input.Text: AC,DC
SENSe:TSET:ATTenuator <Attenuation>Set Input Attenuation. Sets the test set input attenuation in dB (0 to 35 in 5 dB steps).Number: 0,5,10,15,20,25,30,35
SENSe:TSET:ATTenuator:AUTO ONAuto Attenuation On. Turns automatic autoranging of the test set input attenuator on.None
SENSe:TSET:ATTenuator:AUTO OFFAuto Attenuation Off. Turns automatic autoranging of the test set input attenuator off.None
SENSe:TSET:LNAGain <Gain>Set LNA Gain. Sets the nominal test set LNA gain in dB.Number: 14,28,42,56
SENSe:TSET:LNAGain:METHod <Method>Set LNA Gain Method. Selects the method for applying LNA gain.Text: AUTO,FIXed,PAUSe
SENSe:TSET:DCBLock ONDC Block On. Turns the test set DC high-pass filter (DC block) on.None
SENSe:TSET:DCBLock OFFDC Block Off. Turns the test set DC high-pass filter (DC block) off.None
SENSe:TSET:LPF <Frequency>Set Input LPF. Sets the test set input LPF cutoff in Hz (20 kHz / 200 kHz / 2 MHz / 20 MHz / 100 MHz).Number: 20000,200000,2000000,20000000,100000000
SENSe:TSET:LPF:AUTO ONInput LPF Auto On. Turns automatic selection of the test set LPF on.None
SENSe:TSET:LPF:AUTO OFFInput LPF Auto Off. Turns automatic selection of the test set LPF off.None
SENSe:TSET:PLL:UNLock:IGNore ONIgnore PLL Unlock On. Turns ignoring of PLL unlocked errors on.None
SENSe:TSET:PLL:UNLock:IGNore OFFIgnore PLL Unlock Off. Turns ignoring of PLL unlocked errors off.None
SENSe:TVCO <Destination>Set Tune Voltage Destination. Selects where the tune voltage output is connected.Text: REFerence,CARRier,DCONverter,INTernal
SENSe:DCONverter:FREQuency <Frequency>Set Downconverter Frequency. Sets the downconverter input frequency in Hz.Number
SENSe:DCONverter:ATTenuator <Attenuation>Set Downconverter Attenuation. Sets the downconverter attenuation in dB (0 to 35 in 5 dB steps).Number: 0,5,10,15,20,25,30,35
SENSe:DCONverter:ATTenuator:AUTO ONDownconverter Auto Attenuation On. Turns automatic downconverter attenuation on.None
SENSe:DCONverter:ATTenuator:AUTO OFFDownconverter Auto Attenuation Off. Turns automatic downconverter attenuation off.None
SENSe:DCONverter:IFGain <Gain>Set Downconverter IF Gain. Sets the downconverter IF gain in dB (-10 to 45 in 5 dB steps).Number: -10,45
SENSe:DCONverter:IFGain:AUTO ONDownconverter Auto IF Gain On. Turns automatic downconverter IF gain on.None
SENSe:DCONverter:IFGain:AUTO OFFDownconverter Auto IF Gain Off. Turns automatic downconverter IF gain off.None
SENSe:DCONverter:BAND <Band>Set Downconverter Band. Selects the downconverter band.Text: UWAVe,A,K,Q,U,V,W
SENSe:DATA:HEADer:POINts?Read Data Points. Returns the number of points returned by SENSe:DATA?.None
SENSe:DATA?Read Raw Data. Returns frequency, amplitude (dB/Hz) and spur flag triples of the raw S-phi data.None

Calculate (CALCulate) (37)

CommandWhat it doesArguments
CALCulate:VIEW:XYDataCalc View XY Data. Sets CALCulate:DATA? to return frequency, amplitude and spur flag per point.None
CALCulate:VIEW:SPURtableCalc View Spur Table. Sets CALCulate:DATA? to return frequency and amplitude per spur.None
CALCulate:VIEW:TRACe <Start>,<Stop>,<Points>,LOGCalc View Trace Log. Sets CALCulate:DATA? to return the trace interpolated over the offset range in Hz with log point distribution.Number; Number; Number
CALCulate:DATA:HEADer:POINts?Read Calc Points. Returns the number of points returned by CALCulate:DATA?.None
CALCulate:DATA?Read Calc Data. Returns the processed data as selected by CALCulate:VIEW.None
CALCulate:TRANsform <Transform>Set Calc Transform. Selects the graph type transform for CALCulate:DATA? (L(f) / Sphi / Sv / Sy / 2-port NF / AM / baseband).Text: SSBNoise,SDPF,SDFF,SFFF,NF2Port,AMNoise,BBAND
CALCulate:SELect <Data>Set Calc Select. Selects which data set (noise / spurs / both) is returned and processed.Text: BOTH,NOISe,SPURs
CALCulate:SMOothing <Value>Set Calc Smoothing. Sets the degree of smoothing applied to returned data.Number
CALCulate:YSHift <Value>Set Calc Y Shift. Sets an amplitude shift in dB applied to CALCulate:DATA?.Number
CALCulate:CFSCale <Value>Set Carrier Scale. Sets the carrier frequency scale multiplier.Number
CALCulate:DIPower <Power>Set DUT Input Power. Sets the DUT input power adjustment.Number
CALCulate:PBWidth <Value>Set Power Bandwidth. Sets the power bandwidth adjustment.Number
CALCulate:INTegral? <Start>,<Stop>Measure Integral. Returns the trace integration between start and stop offset in Hz.Number; Number
CALCulate:INTegral:TYPE <Type>Set Integral Type. Selects normal or CCITT (ITU-T O.41) weighted integration.Text: NORMal,CCITt
CALCulate:AVARiance? <Tau>,<Offset>Measure Allan Variance. Returns the Allan variance for tau in s and the upper offset in Hz.Number; Number
CALCulate:TVARiance? <Tau>,<Offset>Measure Jitter. Returns the jitter (time variance) for tau in s and the upper offset in Hz.Number; Number
CALCulate:ACCumulated? <Tau>,<Start>,<Stop>Measure Accumulated Phase. Returns the accumulated phase noise integration (licensed option).Number; Number; Number
CALCulate:LIMit:NOISe:MAXimum:DISPlay ONNoise Max Limit Display On. Turns the display of the noise maximum limit line segments on.None
CALCulate:LIMit:NOISe:MAXimum:DISPlay OFFNoise Max Limit Display Off. Turns the display of the noise maximum limit line segments off.None
CALCulate:LIMit:NOISe:MAXimum:FAIL:ALL?Read Noise Max Limit Fail. Returns 1 if noise data exceeds the maximum limit in any segment (0 = pass).None
CALCulate:LIMit:NOISe:MAXimum:FAIL? <Segment>Read Noise Max Segment Fail. Returns the noise maximum limit result of one segment (0 = pass and 1 = fail).Number: 1,100
CALCulate:LIMit:NOISe:MAXimum:DELete:ALLDelete Noise Max Limits. Deletes all noise maximum limit line segments.None
CALCulate:LIMit:NOISe:MINimum:DISPlay ONNoise Min Limit Display On. Turns the display of the noise minimum limit line segments on.None
CALCulate:LIMit:NOISe:MINimum:DISPlay OFFNoise Min Limit Display Off. Turns the display of the noise minimum limit line segments off.None
CALCulate:LIMit:NOISe:MINimum:FAIL:ALL?Read Noise Min Limit Fail. Returns 1 if noise data exceeds the minimum limit in any segment (0 = pass).None
CALCulate:LIMit:NOISe:MINimum:FAIL? <Segment>Read Noise Min Segment Fail. Returns the noise minimum limit result of one segment (0 = pass and 1 = fail).Number: 1,100
CALCulate:LIMit:NOISe:MINimum:DELete:ALLDelete Noise Min Limits. Deletes all noise minimum limit line segments.None
CALCulate:LIMit:SPUR:MAXimum:DISPlay ONSpur Max Limit Display On. Turns the display of the spur maximum limit line segments on.None
CALCulate:LIMit:SPUR:MAXimum:DISPlay OFFSpur Max Limit Display Off. Turns the display of the spur maximum limit line segments off.None
CALCulate:LIMit:SPUR:MAXimum:FAIL:ALL?Read Spur Max Limit Fail. Returns 1 if spur data exceeds the maximum limit in any segment (0 = pass).None
CALCulate:LIMit:SPUR:MAXimum:FAIL? <Segment>Read Spur Max Segment Fail. Returns the spur maximum limit result of one segment (0 = pass and 1 = fail).Number: 1,100
CALCulate:LIMit:SPUR:MAXimum:DELete:ALLDelete Spur Max Limits. Deletes all spur maximum limit line segments.None
CALCulate:LIMit:SPUR:MINimum:DISPlay ONSpur Min Limit Display On. Turns the display of the spur minimum limit line segments on.None
CALCulate:LIMit:SPUR:MINimum:DISPlay OFFSpur Min Limit Display Off. Turns the display of the spur minimum limit line segments off.None
CALCulate:LIMit:SPUR:MINimum:FAIL:ALL?Read Spur Min Limit Fail. Returns 1 if spur data exceeds the minimum limit in any segment (0 = pass).None
CALCulate:LIMit:SPUR:MINimum:FAIL? <Segment>Read Spur Min Segment Fail. Returns the spur minimum limit result of one segment (0 = pass and 1 = fail).Number: 1,100
CALCulate:LIMit:SPUR:MINimum:DELete:ALLDelete Spur Min Limits. Deletes all spur minimum limit line segments.None

CAL subsystem (12)

CommandWhat it doesArguments
CALibrate:DETector:CONStant:METHod <Method>Set Detector Constant Method. Selects the method used to measure the phase detector constant.Text: BEATnote,DCPeak,SSPur,DSPur,FMDeviation,AMINternal,PSHift,NONE
CALibrate:DETector:CONStant <Constant>Set Detector Constant. Sets the phase detector constant in V/rad.Number
CALibrate:DETector:CONStant?Read Detector Constant. Returns the phase detector constant in V/rad.None
CALibrate:VCO:PLLSuppress ONPLL Suppression Verify On. Turns PLL suppression verification on.None
CALibrate:VCO:PLLSuppress OFFPLL Suppression Verify Off. Turns PLL suppression verification off.None
CALibrate:VCO:PLLSuppress:ERRor:ACTion <Action>Set PLL Error Action. Selects which PLL suppression curve is used when verification fails.Text: THEoretical,ADJusted,PAUSe
CALibrate:VCO:TCONstant:METHod <Method>Set Tune Constant Method. Selects the method used to determine the VCO tune constant.Text: CURRent,MEASure,CALCulate
CALibrate:VCO:TCONstant:NOMinal <Constant>Set Nominal Tune Constant. Sets the nominal VCO tune constant in Hz/V.Number
CALibrate:VCO:TCONstant?Read Tune Constant. Returns the VCO tune constant in Hz determined by calibration.None
CALibrate:VCO:VCENter <Voltage>Set VCO Center Voltage. Sets the VCO center tune voltage in V.Number
CALibrate:VCO:VRANge <Voltage>Set VCO Voltage Range. Sets the VCO tuning voltage range in V.Number
CALibrate:VCO:PLLSuppress:CBWidth?Read PLL Bandwidth. Returns the predicted phase lock loop bandwidth in Hz.None

Source (SOURce) (10)

CommandWhat it doesArguments
SOURce:CARRier:FREQuency <Frequency>Set Carrier Frequency. Sets the carrier source frequency in Hz.Number
SOURce:CARRier:FREQuency?Read Carrier Frequency. Returns the carrier source frequency in Hz.None
SOURce:CARRier:POWer <Power>Set Carrier Power. Sets the carrier source power in dBm.Number
SOURce:REFerence:POWer <Power>Set Reference Power. Sets the reference source power in dBm.Number
SOURce:REFerence:FREQuency:MULTiplier <Value>Set Reference Multiplier. Sets the reference source frequency multiplier.Number
SOURce:REFerence:FREQuency:DIVisor <Value>Set Reference Divisor. Sets the reference source frequency divisor.Number
SOURce:RESidual:FREQuency <Frequency>Set Residual Frequency. Sets the residual source frequency in Hz.Number
SOURce:RESidual:POWer <Power>Set Residual Power. Sets the residual source power in dBm.Number
SOURce:CALibration:FREQuency <Frequency>Set Cal Source Frequency. Sets the calibration source frequency in Hz.Number
SOURce:CALibration:POWer <Power>Set Cal Source Power. Sets the calibration source power in dBm.Number

System (SYSTem) (10)

CommandWhat it doesArguments
SYSTem:GUI:REMote ONGUI Remote On. Turns remote mode of the measurement client GUI on.None
SYSTem:GUI:REMote OFFGUI Remote Off. Turns remote mode of the measurement client GUI off.None
SYSTem:GUI:LLOCkoutGUI Local Lockout. Disables the local menu function of the measurement client GUI.None
SYSTem:PATH:CARRier <Port>Set Carrier Path. Selects the input port the carrier signal is connected to.Text: TSET,DCONverter
SYSTem:ASSet:CARRier <Asset>Set Carrier Source Asset. Selects the carrier source asset ('None' or asset name in quotes).Text
SYSTem:ASSet:REFerence <Asset>Set Reference Source Asset. Selects the reference source asset ('None' or asset name in quotes).Text
SYSTem:ASSet:FFT <Asset>Set FFT Analyzer Asset. Selects the FFT analyzer asset ('None' or asset name in quotes).Text
SYSTem:ASSet:TSET <Asset>Set Test Set Asset. Selects the test set asset ('None' or asset name in quotes).Text
SYSTem:ERRor?Read Error. Returns the next error number and message from the error queue.None
SYSTem:VERSion?Read SCPI Version. Returns the SCPI version the system complies with.None

PAUS subsystem (6)

CommandWhat it doesArguments
PAUSe:ABORt:AUTO ONPause Auto Abort On. Turns automatic abort at pause points on.None
PAUSe:ABORt:AUTO OFFPause Auto Abort Off. Turns automatic abort at pause points off.None
PAUSe:CONNect ONConnect Diagram On. Turns presentation of the connect diagram on.None
PAUSe:CONNect OFFConnect Diagram Off. Turns presentation of the connect diagram off.None
PAUSe:CONTinuePause Continue. Continues from a pause point.None
PAUSe:RETRyPause Retry. Retries the last operation prior to a pause point.None

Display (DISPlay) (6)

CommandWhat it doesArguments
DISPlay:GRAPh:TRANsform <Transform>Set Graph Transform. Selects the transform used to display data on the graph.Text: SSBNoise,SDPF,SDFF,SFFF,NF2Port,AMNoise,BBAND
DISPlay:GRAPh:BOUNds:FREQuency <Min>,<Max>Set Graph Frequency Bounds. Sets the graph x-axis offset frequency bounds in Hz.Number; Number
DISPlay:GRAPh:BOUNds:AMPLitude <Transform>,<Min>,<Max>Set Graph Amplitude Bounds. Sets the graph y-axis bounds for the given transform.Text: SSBNoise,SDPF,SDFF,SFFF,NF2Port,AMNoise,BBAND; Number; Number
DISPlay:GRAPh:SMOothing <Value>Set Graph Smoothing. Sets the smoothing of the displayed graph.Number
DISPlay:TEXT:TITLe <Title>Set Graph Title. Sets the graph title (string in quotes).Text
DISPlay:MEASurement:TIMe?Read Measurement Time. Returns the date, start time and stop time of the current measurement.None

Status (STATus) (4)

CommandWhat it doesArguments
STATus:ADVise:ENABle ONAdvise Messages On. Turns reporting of server status messages in the error queue on.None
STATus:ADVise:ENABle OFFAdvise Messages Off. Turns reporting of server status messages in the error queue off.None
STATus:OPERation:CONDition?Read Operation Condition. Returns the operation condition register (measurement state).None
STATus:PRESetStatus Preset. Presets all SCPI status enable and transition registers.None

Initiate (INITiate) (3)

CommandWhat it doesArguments
INITiate:IMMediate:ALLStart Cal And Measure. Initiates a system calibration and measurement (use *OPC/STATus:OPERation:CONDition? to detect completion).None
INITiate:IMMediate:CALibrateStart Calibration. Initiates a system calibration only.None
INITiate:IMMediate:MEASureStart Measurement. Initiates a measurement without calibration (repeat measurements).None

Mass memory (MMEMory) (2)

CommandWhat it doesArguments
MMEMory:LOAD <FileName>Load Measurement File. Loads a measurement definition and data file (.pnm path string in quotes).Text
MMEMory:STORe <FileName>Save Measurement File. Stores the current measurement definition and data to a .pnm file (string in quotes).Text

Abort (1)

CommandWhat it doesArguments
ABORtAbort Measurement. Aborts the measurement in progress.None

FORM subsystem (1)

CommandWhat it doesArguments
FORMat:DATA ASCii,<Digits>Set Data Format. Selects ASCII transfer with the given number of significant digits.Number

Other subsystem (1)

CommandWhat it doesArguments
<Output Variable>=<Equation>Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)Number; Text

WAIT subsystem (1)

CommandWhat it doesArguments
wait(<ms>)Wait. Waits for number of millisecondsNumber

SAVE subsystem (1)

CommandWhat it doesArguments
save2var <Variable_name>Save2Variable. Saves last measurement to a variableText

IEEE 488.2 common commands (6)

CommandWhat it doesArguments
*IDN?Identify. Returns the system identification string.None
*RSTReset. Resets the measurement definition to defaults (equivalent to File > New).None
*CLSClear Status. Clears all event registers and the error queue.None
*TST?Self Test. Runs the self-test and returns the result.None
*OPC?Operation Complete. Returns 1 when pending INITiate operations are complete.None
*WAIWait To Continue. Waits until pending INITiate operations are complete before continuing.None

Where these commands come from

This reference is generated from TestFlow's instrument library, which is drafted from Keysight's programming documentation for the E5505A and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Keysight's programming manual: check it before you rely on an edge case. Last updated September 26, 2026.

Frequently asked questions

Does the Keysight E5505A support SCPI remote control?

Yes. The Keysight E5505A accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 138 SCPI commands for it: 28 queries that read values or state, and 110 settings and actions.

How do I control the Keysight E5505A from Python?

Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, SENSe:TSET:ATTenuator:AUTO ON and SENSe:RANGe:OFFSet?.

Which command reads a value from the Keysight E5505A?

SENSe:RANGe:OFFSet? (read offset range). Returns the start and stop offset frequencies of the measurement range. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Keysight E5505A without writing code?

Yes. TestFlow is an AI agent for electronics testing: you describe the test, and it builds the automation from this command library, runs it on the Keysight E5505A through the TestFlow desktop app, and writes the report from the measured results.

Your next test, automated today

Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.