Phase Noise Analyzer · SCPI command reference

Holzworth HA7701A SCPI commands

The Holzworth HA7701A phase noise analyzer is controlled remotely with SCPI commands. TestFlow's instrument library holds 64 commands for it, 33 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 HA7701A on a real bench.

Commands
64
Queries
33
Subsystems
9
Models covered
1

Run this on your bench

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

Get started

Control the Holzworth HA7701A 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 Holzworth HA7701A's VISA address

# Paste the address of your Holzworth HA7701A (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(":SENS:PN:DUT:VSUPPLY:0")  # Set DUT Supply Voltage
print(inst.query(":SENS:PN:MEAS:TYPE?"))  # Read Measurement Type

inst.close()

Run this on your bench

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

Get started

Run a HA7701A test without writing code

Describe the test in a sentence, for example “set dut supply voltage on the HA7701A, then read measurement type 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

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

Sense (SENSe) (24)

CommandWhat it doesArguments
:SENS:PN:MEAS:TYPE:<Type>Set Measurement Type. Sets the measurement type to be performed (Absolute / Additive).Text: ABSOLUTE,ADDITIVE
:SENS:PN:MEAS:TYPE?Read Measurement Type. Reads back the measurement type.None
:SENS:PN:HA7701:DATA:CARR:<Frequency>Set DUT Frequency. Sets the DUT (carrier) frequency (2 GHz to 20 GHz; Hz or MHz/GHz suffix).Number
:SENS:PN:CORR:COUN:<Count>Set Correlations. Sets the number of cross correlations.Number
:SENS:PN:CORR:COUN?Read Correlations. Reads back the number of cross correlations.None
:SENS:PN:FREQ:STAR:<Frequency>Set Offset Start. Sets the frequency offset start (how close to the carrier to measure) in Hz (kHz/MHz suffix accepted).Number
:SENS:PN:FREQ:STAR?Read Offset Start. Queries the measurement offset start frequency in Hz.None
:SENS:PN:FREQ:STOP:<Frequency>Set Offset Stop. Sets the frequency offset stop (how far from the carrier to measure) in Hz (kHz/MHz suffix accepted).Number
:SENS:PN:FREQ:STOP?Read Offset Stop. Queries the measurement offset stop frequency in Hz.None
:SENS:PN:MODE:<Mode>Set Trigger Type. Sets the trigger type for the measurement.Text: SINGLE,EACH,CONTINUOUS,PERSIST
:SENS:PN:MODE?Read Trigger Type. Queries the trigger type.None
:SENS:PN:SAMPLES:COUN:<Samples>Set Data Resolution. Sets the data resolution (number of samples) for the measurement.Number: 64,128,256,512,1024
:SENS:PN:SAMPLES:COUN?Read Data Resolution. Queries the data resolution.None
:SENS:PN:DUT:VSUPPLY:<Voltage>Set DUT Supply Voltage. Sets the DC voltage of the DUT supply in V (0.000 to 12.000).Number: 0,12
:SENS:PN:DUT:VSUPPLY?Read DUT Supply Voltage. Queries the DUT supply voltage.None
:SENS:PN:DUT:ILIMIT:<Current>Set DUT Current Limit. Sets the DUT supply current limit in A.Number
:SENS:PN:DUT:ILIMIT?Read DUT Current Limit. Queries the DUT supply current limit.None
:SENS:PN:DUT:VTUNE:<Voltage>Set DUT Tune Voltage. Sets the DUT tune voltage in V (0.000 to 20.000).Number: 0,20
:SENS:PN:DUT:VTUNE?Read DUT Tune Voltage. Queries the DUT tune voltage.None
:SENS:PN:CORE:STATUS?Read Measurement Status. Queries measurement status (Measurement initialized or Data not ready).None
:SENS:PN:CORE:ERROR?Read Measurement Error. Checks for measurement error messages.None
:SENS:PN:CORE:DEBUG?Read Debug Info. Reads back debug information for support.None
:SENS:PN:SWE:POIN?Read Number Of Points. Returns the number of measurement points.None
:SENS:PN:SWE:SPUR:POIN?Read Spur Count. Reads back the number of spurs found above the threshold.None

Calculate (CALCulate) (19)

CommandWhat it doesArguments
:CALC:PN:DATA:CARR?Read DUT Frequency. Reads back the DUT frequency in Hz of the last measurement.None
:CALC:PN:DATA:FDAT?Read Amplitude Data. Returns the amplitude data (dBc/Hz) as a comma separated string (smoothed / spur removed if enabled).None
:CALC:PN:DATA:XDAT?Read Frequency Data. Returns the offset frequency data (Hz) as a comma separated string.None
:CALC:PN:TRAC:SMO:STAT:ONSmoothing On. Turns trace smoothing on.None
:CALC:PN:TRAC:SMO:STAT:OFFSmoothing Off. Turns trace smoothing off.None
:CALC:PN:TRAC:SMO:STAT?Read Smoothing State. Queries the smoothing status.None
:CALC:PN:TRAC:SMO:PNTS:<Points>Set Smoothing Points. Sets the number of smoothing points (3 to 99).Number: 3,99
:CALC:PN:TRAC:SMO:PNTS?Read Smoothing Points. Queries the number of smoothing points.None
:CALC:PN:TRAC:BDM:X:STAR:<Frequency>Set Jitter Start. Sets the jitter integration start offset frequency in Hz.Number
:CALC:PN:TRAC:BDM:X:STAR?Read Jitter Start. Queries the jitter integration start frequency.None
:CALC:PN:TRAC:BDM:X:STOP:<Frequency>Set Jitter Stop. Sets the jitter integration stop offset frequency in Hz.Number
:CALC:PN:TRAC:BDM:X:STOP?Read Jitter Stop. Queries the jitter integration stop frequency.None
:CALC:PN:TRAC:FUNC:INT:DATA?Read Jitter Data. Reads back jitter data: frequency range, RMS noise (degrees), RMS jitter (s).None
:CALC:PN:TRAC:SPUR:OMIS:ONSpur Removal On. Turns spur removal on.None
:CALC:PN:TRAC:SPUR:OMIS:OFFSpur Removal Off. Turns spur removal off.None
:CALC:PN:TRAC:SPUR:OMIS?Read Spur Removal. Queries the spur removal status.None
:CALC:PN:TRAC:SPUR:THR:<Threshold>Set Spur Threshold. Sets the spur removal threshold in dB (0 to 99).Number: 0,99
:CALC:PN:TRAC:SPUR:THR?Read Spur Threshold. Queries the spur removal threshold.None
:CALC:PN:DATA:SDAT?Read Spur Data. Reads back spur frequency and amplitude (dBc) pairs.None

IP subsystem (8)

CommandWhat it doesArguments
:IP:STATUS:<Mode>Set IP Mode. Sets the IP status to static IP or DHCP (restart required).Text: STATIC,DHCP
:IP:STATUS?Read IP Mode. Queries the IP status.None
:IP:ADDR:<Address>Set Static IP. Sets the static IP address.Text
:IP:ADDR?Read Static IP. Queries the static IP address (not DHCP-assigned addresses).None
:IP:GATEWAY:<Address>Set Gateway. Sets the gateway IP address for static IP.Text
:IP:GATEWAY?Read Gateway. Queries the gateway address.None
:IP:SUBNET:<Address>Set Subnet. Sets the subnet mask for static IP.Text
:IP:SUBNET?Read Subnet. Queries the subnet mask.None

GPIB subsystem (8)

CommandWhat it doesArguments
:GPIB:ADDR:<Address>Set GPIB Address. Sets the instrument GPIB address (0 to 30).Number: 0,30
:GPIB:ADDR?Read GPIB Address. Queries the GPIB address.None
:GPIB:EOIWLC:ONGPIB EOI Last Char On. Turns GPIB EOI with last character on.None
:GPIB:EOIWLC:OFFGPIB EOI Last Char Off. Turns GPIB EOI with last character off.None
:GPIB:EOIWLC?Read GPIB EOI Last Char. Queries the GPIB EOI with last character setting.None
:GPIB:RESPOND:ONGPIB Always Respond On. Turns GPIB response to every command on.None
:GPIB:RESPOND:OFFGPIB Always Respond Off. Turns GPIB response to every command off (responds to queries only).None
:GPIB:RESPOND?Read GPIB Always Respond. Queries the GPIB response setting.None

Initiate (INITiate) (1)

CommandWhat it doesArguments
:INIT:PN:IMMStart Measurement. Begins the measurement.None

Status (STATus) (1)

CommandWhat it doesArguments
:STAT:OPER:COND?Read Instrument Status. Returns the instrument status (Instrument Busy or Instrument Ready).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

Where these commands come from

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

Frequently asked questions

Does the Holzworth HA7701A support SCPI remote control?

Yes. The Holzworth HA7701A accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 64 SCPI commands for it: 33 queries that read values or state, and 31 settings and actions.

How do I control the Holzworth HA7701A 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?, :SENS:PN:DUT:VSUPPLY:0 and :SENS:PN:MEAS:TYPE?.

Which command reads a value from the Holzworth HA7701A?

:SENS:PN:MEAS:TYPE? (read measurement type). Reads back the measurement type. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Holzworth HA7701A 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 Holzworth HA7701A 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.