Phase Noise Analyzer · SCPI command reference

Berkeley Nucleonics 7070, 7300, and 7340 SCPI commands

The Berkeley Nucleonics 7070, 7300, and 7340 phase noise analyzer is controlled remotely with SCPI commands. TestFlow's instrument library holds 106 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 7070 on a real bench.

Commands
106
Queries
28
Subsystems
12
Models covered
3

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Berkeley Nucleonics 7070, 7300, or 7340 and writes the report from the measured results.

Get started

Control the Berkeley Nucleonics 7070 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 Berkeley Nucleonics 7070's VISA address

# Paste the address of your Berkeley Nucleonics 7070 (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:FREQuency:EXECute")  # Detect DUT Frequency
print(inst.query("SENSe:PN:FREQuency:STARt?"))  # Read Start Offset

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Berkeley Nucleonics 7070, 7300, or 7340 and writes the report from the measured results.

Get started

Run a 7070 test without writing code

Describe the test in a sentence, for example “detect dut frequency on the 7070, then read start offset 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

106 commands in 12 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The 7070, 7300, and 7340 share this command set in TestFlow's library.

Sense (SENSe) (55)

CommandWhat it doesArguments
SENSe:MODe <Mode>Set Measurement Mode. Sets the active measurement mode (PN = phase noise, TRAN = transient, BB = baseband/FFT analyzer).Text: PN,TRAN,BB
:SENSe:PATH <Path>Set Signal Path. Switches the internal signal path (AM = amplitude noise, BB = baseband noise, PN = phase noise, MUX = time domain).Text: AM,BB,PN,MUX
SENSe:PN:METHod <Method>Set PN Method. Sets the phase noise measurement configuration (single, DUT or cross-correlation); affects measurements with external references.Text: SINGle,DUT,CC
SENSe:BB:METHod <Method>Set BB Method. Sets the baseband noise measurement configuration (single channel or cross-correlation).Text: SINGle,CC
:SENSe:PN:REFerences <Reference>Set PN Reference. Selects internal or external reference sources for the phase noise measurement.Text: INT,EXT
:SENSe:PN:REFerences:SENS <Sensitivity>Set Ext Reference Tuning Sens. Sets the tuning sensitivity of the external reference in Hz/V.Number
:SENSe:PN:REFerences:SENS:EXECuteMeasure Ext Reference Tuning Sens. Executes the measurement of the external reference tuning sensitivity.None
SENSe:FREQuency <Frequency>Set DUT Frequency. Sets the DUT (carrier) frequency in Hz.Number
SENSe:FREQuency:EXECuteDetect DUT Frequency. Executes a DUT frequency detection.None
SENSe:FREQuency:AUTO ONAuto Frequency On. Turns automatic DUT frequency detection on.None
SENSe:FREQuency:AUTO OFFAuto Frequency Off. Turns automatic DUT frequency detection off.None
SENSe:FREQuency:DETect <Mode>Set Frequency Detect Mode. Sets when the DUT frequency is detected (always, once or never).Text: ALWays,ONCe,NEVer
SENSe:POWer <Power>Set DUT Power. Sets the DUT power level.Number
SENSe:POWer:EXECuteDetect DUT Power. Executes a DUT power detection.None
SENSe:POWer:AUTO ONAuto Power On. Turns automatic DUT power detection on.None
SENSe:POWer:AUTO OFFAuto Power Off. Turns automatic DUT power detection off.None
SENSe:POWer:DETect <Mode>Set Power Detect Mode. Sets when the DUT power is detected (always, once or never).Text: ALWays,ONCe,NEVer
SENSe:PN:KPHI <KPhi>Set KPhi. Sets the phase detector constant KPhi in rad/V.Number
SENSe:PN:KPHI:AUTO ONAuto KPhi On. Turns automatic KPhi determination on.None
SENSe:PN:KPHI:AUTO OFFAuto KPhi Off. Turns automatic KPhi determination off.None
SENSe:PN:KPHI:DETect <Mode>Set KPhi Detect Mode. Sets when KPhi is determined (always, once or never).Text: ALWays,ONCe,NEVer
:SENSe:PN:LOBandwidth <Bandwidth>Set PLL Bandwidth. Sets the PLL (lock) bandwidth in Hz for the selected channel (0.1 to 10k).Number: 0.1,10000
:SENSe:PN:LOBandwidth?Read PLL Bandwidth. Returns the PLL (lock) bandwidth in Hz.None
:SENSe:PN:LOBandwidth:AUTO ONAuto PLL Bandwidth On. Turns automatic PLL bandwidth selection on.None
:SENSe:PN:LOBandwidth:AUTO OFFAuto PLL Bandwidth Off. Turns automatic PLL bandwidth selection off.None
SENSe:<Meas>:FREQuency:STARt <Frequency>Set Start Offset. Sets the start offset frequency in Hz of the PN or BB measurement.Text: PN,BB; Number: 0.1,0.5,1,10,100,1000,10000,100000
SENSe:<Meas>:FREQuency:STARt?Read Start Offset. Returns the start offset frequency in Hz.Text: PN,BB
SENSe:<Meas>:FREQuency:STOP <Frequency>Set Stop Offset. Sets the stop offset frequency in Hz of the PN or BB measurement.Text: PN,BB; Number: 1000,10000,100000,1000000,10000000,50000000
SENSe:<Meas>:FREQuency:STOP?Read Stop Offset. Returns the stop offset frequency in Hz.Text: PN,BB
SENSe:<Meas>:FREQuency:SPOT <Frequency>Set Spot Offset. Sets the offset frequency in Hz for a spot noise measurement (1 to 10M).Text: PN,BB; Number: 1,10000000
SENSe:<Meas>:AVERage:COUNt <Count>Set Average Count. Sets the average count.Text: PN,BB; Number: 1,9999
SENSe:<Meas>:AVERage:COUNt?Read Average Count. Returns the average count.Text: PN,BB
SENSe:<Meas>:POINTs <Points>Set Trace Points. Sets the number of points per trace (1 to 9999).Text: PN,BB; Number: 1,9999
SENSe:<Meas>:POINTs?Read Trace Points. Returns the number of points per trace.Text: PN,BB
SENSe:<Meas>:PPD <Points>Set Points Per Decade. Sets the number of points per decade for the trace (1 to 999).Text: PN,BB; Number: 1,999
SENSe:<Meas>:ATTenuation <Attenuation>Set Attenuation. Sets the RF step attenuator in dB (1 to 30).Text: PN,BB; Number: 1,30
SENSe:<Meas>:ATTenuation:AUTO ONAuto Attenuation On. Turns automatic step attenuator setting on.Text: PN,BB
SENSe:<Meas>:ATTenuation:AUTO OFFAuto Attenuation Off. Turns automatic step attenuator setting off.Text: PN,BB
SENSe:<Meas>:ATTenuation:DETect <Mode>Set Attenuation Detect Mode. Sets when the attenuation is determined (always, once or never).Text: PN,BB; Text: ALWays,ONCe,NEVer
SENSe:<Meas>:IFGain <Gain>Set IF Gain. Sets the IF gain.Text: PN,BB; Number
SENSe:<Meas>:IFGain:AUTO ONAuto IF Gain On. Turns automatic IF gain setting on.Text: PN,BB
SENSe:<Meas>:IFGain:AUTO OFFAuto IF Gain Off. Turns automatic IF gain setting off.Text: PN,BB
SENSe:<Meas>:IFGain:DETect <Mode>Set IF Gain Detect Mode. Sets when the IF gain is determined (always, once or never).Text: PN,BB; Text: ALWays,ONCe,NEVer
SENSe:<Meas>:SPURious ONSpur Detection On. Turns spurious detection on.Text: PN,BB
SENSe:<Meas>:SPURious OFFSpur Detection Off. Turns spurious detection off.Text: PN,BB
SENSe:<Meas>:SPURious:OMISsion ONSpur Omission On. Turns omission of spurs from the trace on.Text: PN,BB
SENSe:<Meas>:SPURious:OMISsion OFFSpur Omission Off. Turns omission of spurs from the trace off.Text: PN,BB
SENSe:<Meas>:SMOothing:STATe ONTrace Smoothing On. Turns trace smoothing on.Text: PN,BB
SENSe:<Meas>:SMOothing:STATe OFFTrace Smoothing Off. Turns trace smoothing off.Text: PN,BB
SENSe:<Meas>:SMOothing:APERture <Aperture>Set Smoothing Aperture. Sets the trace smoothing aperture in percent (0.05 to 20).Text: PN,BB; Number: 0.05,20
SENSe:PN:INTegrate:STARt <Frequency>Set Integration Start. Sets the start offset in Hz of the integration range (integrated noise / jitter).Number
SENSe:PN:INTegrate:STOP <Frequency>Set Integration Stop. Sets the stop offset in Hz of the integration range (integrated noise / jitter).Number
:SENSe:PN:INITInit Spot Measurement. Initializes the spot noise measurement (DUT and reference must be connected and configured).None
:SENSe:PN:INIT?Read Init Status. Returns 0 if the measurement setup/measurement was successful or a negative value on failure.None
:SENSe:PN:MEAS:SPOT?Measure Spot Phase Noise. Returns the single phase noise value at the predefined offset frequency.None

Calculate (CALCulate) (12)

CommandWhat it doesArguments
:CALCulate:<Meas>:SPOT?Measure Spot Noise. Returns the single spot noise value (dBc/Hz) for the active trace.Text: PN,BB
:CALCulate:FREQuency?Measure Frequency. Reads the internal frequency counter and returns the detected DUT frequency in Hz.None
:CALCulate:POWer?Measure Power. Reads the internal power meter and returns the detected DUT power in dBm.None
:CALCulate:PN:TRACe:FREQuency?Read PN Offsets. Returns the list of offset frequency points in Hz of the phase noise measurement.None
:CALCulate:PN:TRACe:SPECtrum?Read PN Trace. Returns the list of phase noise spectrum points in dBc/Hz.None
:CALCulate:BB:TRACe:NOIse?Read BB Noise Trace. Returns the list of baseband noise power spectrum points in dBV/Hz.None
:CALCulate:PN:TRACe:SPURious:FREQuency?Read Spur Frequencies. Returns the spurious offset frequencies of the active trace.None
:CALCulate:PN:TRACe:SPURious:POWer?Read Spur Powers. Returns the spurious levels in dBc of the active trace.None
:CALCulate:PN:TRACe:FUNCtion:AVARiance?Read Allan Variance. Returns the Allan variance data of the active trace.None
:CALCulate:PN:INTegral?Measure Integrated Noise. Returns the integrated phase noise of the active trace.None
:CALCulate:PN:JITter?Measure RMS Jitter. Returns the total RMS jitter of the active trace.None
:CALCulate:PN:TRACe:HOLD <Hold>Set Trace Hold. Sets the trace hold mode (off, max hold or min hold).Text: OFF,MAX,MIN

System (SYSTem) (10)

CommandWhat it doesArguments
:SYSTem:COMMunicate:LAN:CONFig <Mode>Set LAN Config. Sets how the IP address is assigned.Text: DHCP,MANual,AUTO
:SYSTem:COMMunicate:LAN:IP <IP>Set LAN IP. Sets the LAN IP address (string).Text
:SYSTem:COMMunicate:LAN:SUBNet <Subnet>Set LAN Subnet. Sets the LAN subnet mask (string).Text
:SYSTem:COMMunicate:LAN:GATeway <Gateway>Set LAN Gateway. Sets the LAN gateway address (string).Text
:SYSTem:COMMunicate:LAN:HOSTname <Hostname>Set LAN Hostname. Sets the LAN hostname (max 29 characters).Text
:SYSTem:COMMunicate:LAN:RESTartRestart LAN. Restarts the network to apply LAN setting changes.None
:SYSTem:COMMunicate:LAN:DEFaultsLAN Defaults. Restores the factory default LAN settings.None
:SYSTem:ERRor:NEXT?Read Error. Returns the next entry in the error queue.None
:SYSTem:VERSion?Read SCPI Version. Returns the SCPI version the instrument complies with.None
:SYSTem:PRESetPreset. Resets most instrument functions to factory-defined conditions (similar to *RST).None

Status (STATus) (7)

CommandWhat it doesArguments
:STATus:OPERation:EVENt?Read Operation Status. Returns and clears the operation status event register.None
:STATus:OPERation:CONDition?Read Operation Condition. Returns the operation status condition register.None
:STATus:OPERation:ENABle <Value>Set Operation Enable. Sets the enable mask of the operation status event register.Number
:STATus:QUEStionable:EVENt?Read Questionable Status. Returns and clears the questionable status event register.None
:STATus:QUEStionable:CONDition?Read Questionable Condition. Returns the questionable status condition register.None
:STATus:QUEStionable:ENABle <Value>Set Questionable Enable. Sets the enable mask of the questionable status event register.Number
:STATus:PRESetPreset Status. Disables all status events and resets the transition filters.None

Trigger (TRIGger) (4)

CommandWhat it doesArguments
:TRIGger:TYPE <Type>Set Trigger Type. Sets the trigger type.Text: NORMal,GATE,POINT
:TRIGger:TYPE:GATE <Polarity>Set Gate Polarity. Selects the active state of the gate in gated trigger mode.Text: LOW,HIGH
:TRIGger:SOURce <Source>Set Trigger Source. Sets the trigger source (BUS = *TRG over LAN).Text: IMMediate,EXTernal,BUS
:TRIGger:SLOPe <Slope>Set Trigger Slope. Sets the polarity of the external trigger signal.Text: POSitive,NEGative

Initiate (INITiate) (3)

CommandWhat it doesArguments
:INITiate:CONTinuous OFFSingle Measurement. Disables continuous rearming of the trigger system (single measurement).None
:INITiate:CONTinuous ONContinuous Measurement. Continuously rearms the trigger system after completion of a triggered sweep.None
:INITiate:IMMediateStart Measurement. Sets the trigger system to the armed state and starts a measurement.None

UNIT subsystem (3)

CommandWhat it doesArguments
UNIT:POWer <Unit>Set Power Unit. Sets the power unit.Text: W,V,DBM,DBC/HZ,UV/SQHZ
UNIT:FREQuency <Unit>Set Frequency Unit. Sets the frequency unit.Text: HZ,MHZ,GHZ
UNIT:NOISe <Unit>Set Noise Unit. Sets the baseband noise unit.Text: NVSQHZ,DBMHZ

Abort (1)

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

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 (8)

CommandWhat it doesArguments
*OPT?Read Options. Returns a comma-separated list of installed options.None
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).None
*RSTReset. Resets the instrument to its default state.None
*CLSClear Status. Clears all event registers and the error queue.None
*TST?Self Test. Runs the self-test and returns 0 for pass or 1 for failure.None
*OPC?Operation Complete. Returns 1 when all pending operations are complete.None
*WAIWait To Continue. Waits until all pending operations are complete before continuing.None
*TRGTrigger Bus. Triggers the device if BUS (LAN) is the selected trigger source.None

Where these commands come from

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

Frequently asked questions

Does the Berkeley Nucleonics 7070 support SCPI remote control?

Yes. The Berkeley Nucleonics 7070 accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 106 SCPI commands for it: 28 queries that read values or state, and 78 settings and actions.

How do I control the Berkeley Nucleonics 7070 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:FREQuency:EXECute and SENSe:PN:FREQuency:STARt?.

Which command reads a value from the Berkeley Nucleonics 7070?

SENSe:PN:FREQuency:STARt? (read start offset). Returns the start offset frequency in Hz. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Berkeley Nucleonics 7070 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 Berkeley Nucleonics 7070 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.