The Holzworth HA7701B phase noise analyzer is controlled remotely with SCPI commands. TestFlow's instrument library holds 70 commands for it, 35 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 HA7701B on a real bench.
Describe the test; TestFlow's agent uses this command set to drive your Holzworth HA7701B 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 Holzworth HA7701B's VISA address
# Paste the address of your Holzworth HA7701B (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(":CALC:PN:DATA:CARR?")) # Read DUT Frequency
inst.close()Describe the test; TestFlow's agent uses this command set to drive your Holzworth HA7701B and writes the report from the measured results.
Describe the test in a sentence, for example “set dut supply voltage on the HA7701B, then read dut frequency 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.
70 commands in 11 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.
| Command | What it does | Arguments |
|---|---|---|
| :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:MARK?<Offset> | Read Spot Noise. Returns the offset frequency and phase noise value at the given offset (Hz unless kHz/MHz specified). | Number |
| :CALC:PN:TRAC:INTERP:ON | Marker Interpolation On. Turns marker data linear interpolation on. | None |
| :CALC:PN:TRAC:INTERP:OFF | Marker Interpolation Off. Turns marker data linear interpolation off. | None |
| :CALC:PN:TRAC:INTERP? | Read Marker Interpolation. Queries the marker interpolation status. | None |
| :CALC:PN:TRAC:SMO:STAT:ON | Smoothing On. Turns trace smoothing on. | None |
| :CALC:PN:TRAC:SMO:STAT:OFF | Smoothing 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:ON | Spur Removal On. Turns spur removal on. | None |
| :CALC:PN:TRAC:SPUR:OMIS:OFF | Spur 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 |
| Command | What it does | Arguments |
|---|---|---|
| :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 |
| Command | What it does | Arguments |
|---|---|---|
| :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 |
| Command | What it does | Arguments |
|---|---|---|
| :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:ON | GPIB EOI Last Char On. Turns GPIB EOI with last character on. | None |
| :GPIB:EOIWLC:OFF | GPIB 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:ON | GPIB Always Respond On. Turns GPIB response to every command on. | None |
| :GPIB:RESPOND:OFF | GPIB 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 |
| Command | What it does | Arguments |
|---|---|---|
| :INIT:PN:IMM | Start Measurement. Begins the measurement. | None |
| Command | What it does | Arguments |
|---|---|---|
| :STAT:OPER:COND? | Read Instrument Status. Returns the instrument status (Instrument Busy or Instrument Ready). | None |
| Command | What it does | Arguments |
|---|---|---|
| :IDN? | Identify. Returns the instrument model number, serial number and comm module firmware version. | 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 |
|---|---|---|
| *SAV | Save State. Saves the current instrument state to memory. | None |
| *RCL | Recall State. Recalls the saved analyzer state from memory. | None |
| *RST | Reset. Returns the instrument to the factory default state. | None |
This reference is generated from TestFlow's instrument library, which is drafted from Holzworth's programming documentation for the HA7701B 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.
Yes. The Holzworth HA7701B accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 70 SCPI commands for it: 35 queries that read values or state, and 35 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?, :SENS:PN:DUT:VSUPPLY:0 and :CALC:PN:DATA:CARR?.
:CALC:PN:DATA:CARR? (read dut frequency). Reads back the DUT frequency in Hz of the last measurement. 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 Holzworth HA7701B 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.