Signal Hound instrument command references

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

The library covers 1 phase noise analyzer from Signal Hound: 106 commands in total, 29 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 Signal Hound hardware, so every entry is one that drives a real instrument.

Signal Hound phase noise analyzers

Commands shared across Signal Hound instruments

The standard commands this Signal Hound instrument accepts.

CommandWhat it does
*IDN?Returns the serial number and name of the active device.
*OPC?Returns 1 when all pending operations are complete.
*RCLLoads preset 1 to 9.
*RSTPresets the software/device (same as SYSTem:PRESet).
*SAVSaves the settings to preset 1 to 9.

Control a Signal Hound instrument from Python

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

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find the Signal Hound PN400's VISA address

# Paste the address of your Signal Hound PN400 (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:PNoise:VCO:VOLTage:STATe ON")  # VCO Voltages On
print(inst.query(":SENSe:PNoise:XCORr:MEAS:PROGress?"))  # Read XCorr Progress

inst.close()

Related guides

Frequently asked questions

Which Signal Hound instruments have a command reference here?

1 Signal Hound models (phase noise analyzer): PN400. Each page lists every remote-control command TestFlow's agent uses for that instrument, with its arguments.

Do Signal Hound instruments use SCPI?

Yes. Every Signal Hound 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 Signal Hound instrument from Python?

Install PyVISA and a VISA backend, list the connected instruments with ResourceManager().list_resources(), open the Signal Hound 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 Signal Hound 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 Signal Hound 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.