Holzworth instrument command references

Remote-control command sets for 6 Holzworth instruments from TestFlow's instrument library, each with its arguments and a working PyVISA example.

The library covers 6 phase noise analyzers from Holzworth: 351 commands in total, 174 of them queries that read a value or a setting back. These are the commands TestFlow's agent sends when it automates a test on Holzworth hardware, so every entry is one that drives a real instrument.

Holzworth phase noise analyzers

Commands shared across Holzworth instruments

These commands appear on more than one Holzworth instrument in the library, so a script that uses them carries over between models.

CommandWhat it doesModels
*RCLRecalls the saved analyzer state from memory.3 of 4
*RSTReturns the instrument to the factory default state.3 of 4
*SAVSaves the current instrument state to memory.3 of 4

Control a Holzworth instrument from Python

The pattern is the same for every Holzworth instrument here: open it through VISA, identify it, then write settings and query values. This example uses the Holzworth HA7062C; the full HA7062C reference has every command.

import pyvisa

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

# Paste the address of your Holzworth HA7062C (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:FREQ:CNTR:0.01S")  # Set Freq Counter Interval
print(inst.query(":SENS:PN:MEAS:TYPE?"))  # Read Measurement Type

inst.close()

Related guides

Frequently asked questions

Which Holzworth instruments have a command reference here?

6 Holzworth models (phase noise analyzer): HA7062C, HA7162C, HA7062D, HA7162D, HA7701A, HA7701B. Each page lists every remote-control command TestFlow's agent uses for that instrument, with its arguments.

Do Holzworth instruments use SCPI?

Yes. Every Holzworth model in TestFlow's library is programmed with SCPI commands over its remote interfaces, including the IEEE 488.2 common commands such as *IDN? and *RST.

How do I control a Holzworth instrument from Python?

Install PyVISA and a VISA backend, list the connected instruments with ResourceManager().list_resources(), open the Holzworth instrument by its VISA address (USB, LAN or GPIB), then send commands with write() and read values with query(). Each model page has a working example.

Can I automate Holzworth instruments 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 your Holzworth instruments 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.