Spectrum Analyzer · SCPI command reference

Rohde & Schwarz FPC1000 SCPI commands

The Rohde & Schwarz FPC1000 spectrum analyzer is controlled remotely with SCPI commands. TestFlow's instrument library holds 40 commands for it, 11 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 FPC1000 on a real bench.

Commands
40
Queries
11
Subsystems
9
Models covered
1

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Rohde & Schwarz FPC1000 and writes the report from the measured results.

Get started

Control the Rohde & Schwarz FPC1000 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 Rohde & Schwarz FPC1000's VISA address

# Paste the address of your Rohde & Schwarz FPC1000 (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("INPut:ATTenuation:AUTO ON")  # Set Input Attenuation Auto
print(inst.query("FREQuency:CENTer?"))  # Read Center Frequency

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Rohde & Schwarz FPC1000 and writes the report from the measured results.

Get started

Run a FPC1000 test without writing code

Describe the test in a sentence, for example “set input attenuation auto on the FPC1000, then read center 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.

Get started

SCPI command reference

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

Frequency (FREQuency) (8)

CommandWhat it doesArguments
FREQuency:CENTer <Hz>Set Center Frequency. Sets the center frequency in Hz.Number
FREQuency:CENTer?Read Center Frequency. Queries the current center frequency.None
FREQuency:SPAN <Hz>Set Span. Sets the frequency span in Hz.Number
FREQuency:SPAN?Read Span. Queries the current frequency span.None
FREQuency:STARt <Hz>Set Start Frequency. Sets the start frequency in Hz.Number
FREQuency:STOP <Hz>Set Stop Frequency. Sets the stop frequency in Hz.Number
FREQuency:STARt?Read Start Frequency. Queries the current start frequency.None
FREQuency:STOP?Read Stop Frequency. Queries the current stop frequency.None

BAND subsystem (8)

CommandWhat it doesArguments
BANDwidth:RESolution <Hz>Set RBW. Sets the resolution bandwidth in Hz.Number
BANDwidth:RESolution?Read RBW. Queries the current resolution bandwidth.None
BANDwidth:RESolution:AUTO ONSet RBW Auto. Enables automatic resolution bandwidth selection.None
BANDwidth:RESolution:AUTO OFFSet RBW Manual. Disables automatic resolution bandwidth selection.None
BANDwidth:VIDeo <Hz>Set VBW. Sets the video bandwidth in Hz.Number
BANDwidth:VIDeo?Read VBW. Queries the current video bandwidth.None
BANDwidth:VIDeo:AUTO ONSet VBW Auto. Enables automatic video bandwidth selection.None
BANDwidth:VIDeo:AUTO OFFSet VBW Manual. Disables automatic video bandwidth selection.None

INP subsystem (7)

CommandWhat it doesArguments
INPut:ATTenuation <dB>Set Input Attenuation. Sets the input attenuation in dB.Number
INPut:ATTenuation?Read Input Attenuation. Queries the current input attenuation.None
INPut:ATTenuation:AUTO ONSet Input Attenuation Auto. Enables automatic input attenuation control.None
INPut:ATTenuation:AUTO OFFSet Input Attenuation Manual. Disables automatic input attenuation control.None
INPut:GAIN:STATe ONPreamp On. Enables the input preamplifier.None
INPut:GAIN:STATe OFFPreamp Off. Disables the input preamplifier.None
INPut:GAIN:STATe?Read Preamp. Queries the preamplifier state.None

Display (DISPlay) (5)

CommandWhat it doesArguments
DISPlay:WINDow:TRACe:Y:SCALe:RLEVel <dBm>Set Reference Level. Sets the display reference level in dBm.Number
DISPlay:WINDow:TRACe:Y:SCALe:RLEVel?Read Reference Level. Queries the current display reference level.None
DISPlay:WINDow:TRACe:MODE AVERageAverage On. Enables sweep averaging.None
DISPlay:WINDow:TRACe:MODE WRITeAverage Off. Disables sweep averaging.None
DISPlay:WINDow:TRACe:MODE?Read Average State. Queries whether sweep averaging is enabled.None

Sweep (SWEep) (5)

CommandWhat it doesArguments
SWEep:TIME <Sec>Set Sweep Time. Sets the sweep time in seconds.Number
SWEep:TIME?Read Sweep Time. Queries the current sweep time.None
SWEep:TIME:AUTO ONSet Sweep Time Auto. Enables automatic sweep time calculation.None
SWEep:TIME:AUTO OFFSet Sweep Time Manual. Disables automatic sweep time calculation.None
SWEep:COUNt <N>Set Average Count. Sets the number of sweep averages.Number: 0-999

Initiate (INITiate) (3)

CommandWhat it doesArguments
INITiate:IMMediateSingle Sweep. Starts a single sweep measurement.None
INITiate:CONTinuous ONContinuous Sweep. Enables continuous sweep mode.None
INITiate:CONTinuous OFFStop Sweep. Stops continuous sweep mode.None

Other subsystem (2)

CommandWhat it doesArguments
<SCPI>SCPI. Sends a custom SCPI command with optional parameters.Text
<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 mearurment to a variableText

Where these commands come from

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

Frequently asked questions

Does the Rohde & Schwarz FPC1000 support SCPI remote control?

Yes. The Rohde & Schwarz FPC1000 accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 40 SCPI commands for it: 11 queries that read values or state, and 29 settings and actions.

How do I control the Rohde & Schwarz FPC1000 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?, INPut:ATTenuation:AUTO ON and FREQuency:CENTer?.

Which command reads a value from the Rohde & Schwarz FPC1000?

FREQuency:CENTer? (read center frequency). Queries the current center frequency. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Rohde & Schwarz FPC1000 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 Rohde & Schwarz FPC1000 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.