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.
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.
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()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.
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.
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.
| Command | What it does | Arguments |
|---|---|---|
| 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:EXECute | Measure 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:EXECute | Detect DUT Frequency. Executes a DUT frequency detection. | None |
| SENSe:FREQuency:AUTO ON | Auto Frequency On. Turns automatic DUT frequency detection on. | None |
| SENSe:FREQuency:AUTO OFF | Auto 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:EXECute | Detect DUT Power. Executes a DUT power detection. | None |
| SENSe:POWer:AUTO ON | Auto Power On. Turns automatic DUT power detection on. | None |
| SENSe:POWer:AUTO OFF | Auto 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 ON | Auto KPhi On. Turns automatic KPhi determination on. | None |
| SENSe:PN:KPHI:AUTO OFF | Auto 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 ON | Auto PLL Bandwidth On. Turns automatic PLL bandwidth selection on. | None |
| :SENSe:PN:LOBandwidth:AUTO OFF | Auto 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 ON | Auto Attenuation On. Turns automatic step attenuator setting on. | Text: PN,BB |
| SENSe:<Meas>:ATTenuation:AUTO OFF | Auto 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 ON | Auto IF Gain On. Turns automatic IF gain setting on. | Text: PN,BB |
| SENSe:<Meas>:IFGain:AUTO OFF | Auto 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 ON | Spur Detection On. Turns spurious detection on. | Text: PN,BB |
| SENSe:<Meas>:SPURious OFF | Spur Detection Off. Turns spurious detection off. | Text: PN,BB |
| SENSe:<Meas>:SPURious:OMISsion ON | Spur Omission On. Turns omission of spurs from the trace on. | Text: PN,BB |
| SENSe:<Meas>:SPURious:OMISsion OFF | Spur Omission Off. Turns omission of spurs from the trace off. | Text: PN,BB |
| SENSe:<Meas>:SMOothing:STATe ON | Trace Smoothing On. Turns trace smoothing on. | Text: PN,BB |
| SENSe:<Meas>:SMOothing:STATe OFF | Trace 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:INIT | Init 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 |
| Command | What it does | Arguments |
|---|---|---|
| :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 |
| Command | What it does | Arguments |
|---|---|---|
| :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:RESTart | Restart LAN. Restarts the network to apply LAN setting changes. | None |
| :SYSTem:COMMunicate:LAN:DEFaults | LAN 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:PRESet | Preset. Resets most instrument functions to factory-defined conditions (similar to *RST). | None |
| Command | What it does | Arguments |
|---|---|---|
| :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:PRESet | Preset Status. Disables all status events and resets the transition filters. | None |
| Command | What it does | Arguments |
|---|---|---|
| :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 |
| Command | What it does | Arguments |
|---|---|---|
| :INITiate:CONTinuous OFF | Single Measurement. Disables continuous rearming of the trigger system (single measurement). | None |
| :INITiate:CONTinuous ON | Continuous Measurement. Continuously rearms the trigger system after completion of a triggered sweep. | None |
| :INITiate:IMMediate | Start Measurement. Sets the trigger system to the armed state and starts a measurement. | None |
| Command | What it does | Arguments |
|---|---|---|
| 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 |
| Command | What it does | Arguments |
|---|---|---|
| :ABORt | Abort Measurement. Aborts the measurement or sweep in progress. | None |
| Command | What it does | Arguments |
|---|---|---|
| <Output Variable>=<Equation> | Math. Variable equals an equation like (${Var_name}= ${Var_name}/2) | Number; Text |
| Command | What it does | Arguments |
|---|---|---|
| wait(<ms>) | Wait. Waits for number of milliseconds | Number |
| Command | What it does | Arguments |
|---|---|---|
| save2var <Variable_name> | Save2Variable. Saves last measurement to a variable | Text |
| Command | What it does | Arguments |
|---|---|---|
| *OPT? | Read Options. Returns a comma-separated list of installed options. | None |
| *IDN? | Identify. Returns the instrument identification string (manufacturer, model, serial, firmware). | None |
| *RST | Reset. Resets the instrument to its default state. | None |
| *CLS | Clear 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 |
| *WAI | Wait To Continue. Waits until all pending operations are complete before continuing. | None |
| *TRG | Trigger Bus. Triggers the device if BUS (LAN) is the selected trigger source. | None |
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.
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.
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?.
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.
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.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.