Phase Noise Analyzer · SCPI command comparison

Holzworth HA7062C vs Rohde & Schwarz FSWP: SCPI commands and remote control compared

In TestFlow's instrument library, the Holzworth HA7062C takes 109 SCPI commands, 53 of them queries, and the Rohde & Schwarz FSWP takes 213 SCPI commands, 48 of them queries. That is 104 more on the FSWP. Counting distinct command headers (the command path without its arguments), 1 are accepted by both, 105 exist only on the HA7062C, and 170 only on the FSWP. 1% of the HA7062C's command headers also exist on the FSWP.

Both libraries have commands under SENS, CALC, SOUR, MMEM, and INIT. Only the HA7062C has IP, GPIB, STAT, and IDN. Only the FSWP has DISPlay, INPut, FETCh, SYSTem, CONFigure, and TRACe and 5 more.

Only the FSWP library has an operation-complete command (*OPC?); the HA7062C library has none. Only the FSWP library has an error-queue read (SYSTem:ERRor?); the HA7062C library has none.

TestFlow's library gives the HA7162C the same command set as the HA7062C, so the HA7062C column applies to it too. TestFlow's library gives the FSWP26, FSWP50, and FSWP8 the same command set as the FSWP, so the FSWP column applies to them too.

HA7062C commands
109
FSWP commands
213
Shared headers
1
Unique headers
275

Run this on your bench

Describe the test; TestFlow's agent uses these command sets to drive your Holzworth HA7062C or Rohde & Schwarz FSWP and writes the report from the measured results.

Get started

HA7062C vs FSWP at a glance

Counts come from TestFlow's instrument library, the command sets its AI agent uses to drive each instrument. A distinct command header is the command path without its arguments, so :OUTPut ON and :OUTPut OFF count once.

Holzworth HA7062CRohde & Schwarz FSWP
Commands in TestFlow's library109213
Queries (read a value or state)5348
Settings and actions56165
Subsystems1320
Distinct command headers106171
Headers the other lacks105170
Command languageSCPISCPI
Operation completeNot in library*OPC?
Error queueNot in librarySYSTem:ERRor?
Models on this command setHA7062C, HA7162CFSWP, FSWP26, FSWP50, FSWP8

Commands both accept

1 command header is in both libraries.

CommandWhat it does
*RSTReset. Returns the instrument to the factory default state.

Only on the Holzworth HA7062C

105 command headers in the HA7062C library have no match in the FSWP library. Below are 23 of them from the 6 largest subsystems; the full list is in the Holzworth HA7062C command reference.

SENS (51 only on the HA7062C)

CommandWhat it does
:SENS:PN:MEAS:TYPE:<Type>Set Measurement Type. Sets the measurement type to be performed (Absolute / Additive / AM Noise / Baseband).
:SENS:PN:MEAS:TYPE?Read Measurement Type. Reads back the measurement type.
:SENS:PN:CORR:COUN:<Count>Set Correlations. Sets the number of cross correlations.
:SENS:PN:CORR:COUN?Read Correlations. Reads back the number of cross correlations.

CALC (25 only on the HA7062C)

CommandWhat it does
:CALC:FP:DATA:CARR:<Channel>?Read DUT Input. Queries the DUT input frequency (Hz) and power level (dBm) for the channel.
:CALC:FP:DATA:<LO>?Read LO Input. Queries the LO input frequency (Hz) and power level (dBm).
:CALC:PN:TRACE:HOLDCancel LO Calibration. Stops the LO calibration routine.
:CALC:PN:DATA:FDAT?Read Amplitude Data. Returns the amplitude data (dBc/Hz) as a comma separated string (smoothed / spur removed if enabled).

GPIB (8 only on the HA7062C)

CommandWhat it does
:GPIB:ADDR:<Address>Set GPIB Address. Sets the instrument GPIB address (0 to 30).
:GPIB:ADDR?Read GPIB Address. Queries the GPIB address.
:GPIB:EOIWLC:ONGPIB EOI Last Char On. Turns GPIB EOI with last character on.
:GPIB:EOIWLC:OFFGPIB EOI Last Char Off. Turns GPIB EOI with last character off.

IP (8 only on the HA7062C)

CommandWhat it does
:IP:STATUS:<Mode>Set IP Mode. Sets the IP status to static IP or DHCP (restart required).
:IP:STATUS?Read IP Mode. Queries the IP status.
:IP:ADDR:<Address>Set Static IP. Sets the static IP address.
:IP:ADDR?Read Static IP. Queries the static IP address (not DHCP-assigned addresses).

SOUR (4 only on the HA7062C)

CommandWhat it does
:SOUR:<LO>:FREQ:<Frequency>Set LO Frequency. Sets the frequency of the internal LO (9.765625 MHz to 6.001 GHz; Hz or MHz/GHz suffix).
:SOUR:<LO>:FREQ?Read LO Frequency. Queries the internal LO frequency.
:SOUR:<LO>:PWR:<Power>Set LO Power. Sets the power level of the internal LO in dBm (0.00 to 10.00).
:SOUR:<LO>:PWR?Read LO Power. Queries the internal LO power level in dBm.

MMEM (3 only on the HA7062C)

CommandWhat it does
:MMEM:PN:CAL:HX5100:CH<Channel>:DATA:<Data>Load HX5100 Cal Line. Loads one line of the HX5100 calibration file for the channel (send each line in file order).
:MMEM:PN:CAL:HX5100:VALID?Read HX5100 Cal Valid. Checks whether all HX5100 calibration data was loaded successfully.
:MMEM:PN:<LO>:OCXO:CAL?Read LO Calibration. Reads back the LO calibration table (point, Vtune, freq, power per point).

Only on the Rohde & Schwarz FSWP

170 command headers in the FSWP library have no match in the HA7062C library. Below are 24 of them from the 6 largest subsystems; the full list is in the Rohde & Schwarz FSWP command reference.

SENSe (40 only on the FSWP)

CommandWhat it does
SENSe:SWEep:COUNt <Count>Set Average Count. Sets the number of measurements used to average traces (0 to 200000; 0 or 1 = single measurement).
SENSe:SWEep:TIME?Read Measurement Time. Returns the estimated measurement time in s.
SENSe:SWEep:TIME:REMaining?Read Remaining Time. Returns the remaining measurement time in s.
SENSe:SWEep:FSEGmentSkip Half Decade. Stops the measurement in the current half decade and resumes with the next half decade.

CALCulate (31 only on the FSWP)

CommandWhat it does
CALCulate:RANGe<Range>:EVALuation:STATe ONIntegrate Full Range On. Turns integration over the complete measurement range for residual calculations (OFF = custom range) on.
CALCulate:RANGe<Range>:EVALuation:STARt <Frequency>Set Integration Start. Sets the start offset frequency in Hz of a custom integration range.
CALCulate:RANGe<Range>:EVALuation:STOP <Frequency>Set Integration Stop. Sets the stop offset frequency in Hz of a custom integration range.
CALCulate:RANGe<Range>:EVALuation:TRACe <Trace>Set Integration Trace. Selects the trace used for residual calculation in an integration range (NONE turns it off).

SOURce (20 only on the FSWP)

CommandWhat it does
SOURce:VOLTage:STATe ONDC Outputs On. Turns the DC power sources in general on.
SOURce:VOLTage:POWer:LEVel:STATe ONVsupply On. Turns the supply voltage source (Vsupply) on.
SOURce:VOLTage:POWer:LEVel:MODE <Mode>Set Vsupply Mode. Selects whether Vsupply is controlled in terms of voltage or current.
SOURce:VOLTage:POWer:LEVel:AMPLitude <Value>Set Vsupply Level. Sets the Vsupply output in V (0 to 16) or A (0 to 2) depending on the mode.

DISPlay (18 only on the FSWP)

CommandWhat it does
DISPlay:XGINdicator:STATe ONXCorr Gain Indicator On. Turns the cross-correlation gain indicator (gray area) on.
DISPlay:SNINfo:STATe ONSpot Noise Info Display On. Turns the display of spot noise information in the diagram on.
DISPlay:SNINfo:TRACe <Trace>Set Spot Noise Trace. Selects the trace for which spot noise information is evaluated (1 to 6).
DISPlay:WINDow<Window>:TRACe<Trace>:SPURs:SUPPress ONSpur Removal On. Turns spur removal for the trace on.

FETCh (11 only on the FSWP)

CommandWhat it does
FETCh:RANGe<Range>:PNOise<Trace>:IPN?Measure Integrated Phase Noise. Returns the integrated phase noise in dBc for the integration range and trace.
FETCh:RANGe<Range>:PNOise<Trace>:RPM?Measure Residual PM. Returns the residual PM in degrees for the integration range and trace.
FETCh:RANGe<Range>:PNOise<Trace>:RFM?Measure Residual FM. Returns the residual FM in Hz for the integration range and trace.
FETCh:RANGe<Range>:PNOise<Trace>:RMS?Measure RMS Jitter. Returns the RMS jitter in s for the integration range and trace.

INPut (9 only on the FSWP)

CommandWhat it does
INPut:ATTenuation <Attenuation>Set Attenuation. Sets the RF attenuation in dB in 5 dB steps (auto attenuation must be off).
INPut:ATTenuation:AUTO ONAuto Attenuation On. Turns automatic attenuation on.
INPut:GAIN:STATe ONPreamplifier On. Turns the internal preamplifier (option) on.
INPut:GAIN:VALue <Gain>Set Preamp Gain. Sets the preamplifier gain in dB (15 or 30 depending on model).

Control both from Python

With PyVISA and any VISA backend, this opens both instruments, identifies them, sends one setting, and reads one value from each. For the setting, the two libraries have no common command with a worked example on both, so each instrument uses its own: :SENS:PN:FREQ:CNTR:0.01S on the HA7062C and CONFigure:VCO:MEASurement:STATe ON on the FSWP. For the reading, the two libraries have no common command with a worked example on both, so each instrument uses its own: :SENS:PN:MEAS:TYPE? on the HA7062C and FETCh:PNOise1:SPURs? on the FSWP. For the basics, see the PyVISA tutorial.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find both VISA addresses

a = rm.open_resource("PASTE_HA7062C_ADDRESS")  # Holzworth HA7062C
b = rm.open_resource("PASTE_FSWP_ADDRESS")  # Rohde & Schwarz FSWP
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

# No shared setting with an example on both, so each uses its own command
a.write(":SENS:PN:FREQ:CNTR:0.01S")  # Set Freq Counter Interval
b.write("CONFigure:VCO:MEASurement:STATe ON")  # VCO Measurement On

# No shared reading with an example on both, so each uses its own command
print(a.query(":SENS:PN:MEAS:TYPE?"))  # Read Measurement Type
print(b.query("FETCh:PNOise1:SPURs?"))  # Measure Spurs

a.close()
b.close()

Run this on your bench

Describe the test; TestFlow's agent uses these command sets to drive your Holzworth HA7062C or Rohde & Schwarz FSWP and writes the report from the measured results.

Get started

Frequently asked questions

What is the difference between the Holzworth HA7062C and the Rohde & Schwarz FSWP for remote control?

In TestFlow's library the HA7062C has 109 SCPI commands and the FSWP has 213 SCPI commands. 1 command headers are common to both, 105 are only on the HA7062C (mostly SENS and CALC), and 170 are only on the FSWP (mostly SENSe and CALCulate).

Can I use the same SCPI code for the Holzworth HA7062C and the Rohde & Schwarz FSWP?

Partly. 1 command headers are accepted by both. 275 are not, for example :SENS:PN:MEAS:TYPE:<Type> on the HA7062C and SENSe:SWEep:COUNt on the FSWP, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the HA7062C or the FSWP?

The FSWP: 109 commands for the HA7062C against 213 for the FSWP in TestFlow's library. Of those, 53 on the HA7062C and 48 on the FSWP are queries that read a value or state, and the library splits them into 13 and 20 subsystems.

How do the HA7062C and FSWP signal operation complete and report errors?

Only the FSWP library has an operation-complete command (*OPC?); the HA7062C library has none. Only the FSWP library has an error-queue read (SYSTem:ERRor?); the HA7062C library has none. Each command named here is listed in the tables on this page and on each instrument's command reference.

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.