Radio Test Set · SCPI command reference

Rohde & Schwarz CMU200 SCPI commands

The Rohde & Schwarz CMU200 radio test set is controlled remotely with SCPI commands. TestFlow's instrument library holds 115 commands for it, 54 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 CMU200 on a real bench.

Commands
115
Queries
54
Subsystems
16
Models covered
1

Run this on your bench

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

Get started

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

# Paste the address of your Rohde & Schwarz CMU200 (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("SOURce:RFGenerator:PULSe:STATe ON")  # Turn On RF Generator Pulse
print(inst.query("READ:RFANalyzer:POWer?"))  # Measure Analyzer Power

inst.close()

Run this on your bench

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

Get started

Run a CMU200 test without writing code

Describe the test in a sentence, for example “turn on rf generator pulse on the CMU200, then measure analyzer power 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

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

Sense (SENSe) (35)

CommandWhat it doesArguments
SENSe:CORRection:LOSS:INPut<Connector_Nr> <Atten>Set Input External Attenuation. Sets the external attenuation of RF input connector RF<nr> (1, 2 or 4 = RF4 IN) in dB (-50 to +90).Number: 1,2,4; Number: -50,90
SENSe:CORRection:LOSS:INPut<Connector_Nr>?Read Input External Attenuation. Reads the external attenuation of RF input connector RF<nr> in dB.Number: 1,2,4
SENSe:LEVel:MODE <Mode>Set Max Input Level Mode. Selects manual setting or automatic setting (from average signal power) of the maximum input level.Text: MANual,AUTomatic
SENSe:LEVel:MODE?Read Max Input Level Mode. Reads the selection: manual setting or automatic setting (from average signal power) of the maximum input level.None
SENSe:LEVel:MAXimum <Level>Set Max Input Level. Sets the maximum expected input level in dBm (RF1 -40 to +53, RF2 -54 to +39, RF4 IN -77 to 0).Number
SENSe:LEVel:MAXimum?Read Max Input Level. Reads the maximum expected input level in dBm (RF1 -40 to +53, RF2 -54 to +39, RF4 IN -77 to 0).None
SENSe:LEVel:ATTenuation <Mode>Set Input Attenuation Mode. Selects normal, low noise or low distortion setting of the input path.Text: NORMal,LNOise,LDIStortion
SENSe:LEVel:ATTenuation?Read Input Attenuation Mode. Reads the selection: normal, low noise or low distortion setting of the input path.None
SENSe:RFANalyzer:FREQuency <Frequency>Set Analyzer Frequency. Sets the analyzer frequency in Hz (50 kHz to 2.7 GHz).Number: 50E3,2.7E9
SENSe:RFANalyzer:FREQuency?Read Analyzer Frequency. Reads the analyzer frequency in Hz (50 kHz to 2.7 GHz).None
SENSe:RFANalyzer:BANDwidth <Bandwidth>Set Analyzer Bandwidth. Sets the analyzer bandwidth: 10 Hz to 1 MHz (1-2-3-5 steps) or WIDE.Text
SENSe:RFANalyzer:BANDwidth?Read Analyzer Bandwidth. Reads the analyzer bandwidth: 10 Hz to 1 MHz (1-2-3-5 steps) or WIDE.None
SENSe:NPOWer:BWIDth <Bandwidth>Set NPower Bandwidth. Sets the narrow-band power measurement bandwidth: 10 Hz to 1 MHz, TDMA or CDMA filter.Text
SENSe:NPOWer:BWIDth?Read NPower Bandwidth. Reads the narrow-band power measurement bandwidth: 10 Hz to 1 MHz, TDMA or CDMA filter.None
SENSe:POWer:FREQuency:CENTer <Frequency>Set Power Center Frequency. Sets the center frequency of the power vs time measurement in Hz.Number
SENSe:POWer:FREQuency:CENTer?Read Power Center Frequency. Reads the center frequency of the power vs time measurement in Hz.None
SENSe:POWer:FREQuency:BANDwidth <Bandwidth>Set Power Bandwidth. Sets the resolution bandwidth of the power vs time measurement in Hz.Number: 10,1E6
SENSe:POWer:FREQuency:BANDwidth?Read Power Bandwidth. Reads the resolution bandwidth of the power vs time measurement in Hz.None
SENSe:POWer:TIME:SPAN <Span>Set Power Time Span. Sets the span (total evaluation time) of the power measurement in s.Number
SENSe:POWer:TIME:SPAN?Read Power Time Span. Reads the span (total evaluation time) of the power measurement in s.None
SENSe:POWer:TIME:DELay <Delay>Set Power Time Delay. Sets the trigger delay of the power measurement in s.Number
SENSe:POWer:TIME:DELay?Read Power Time Delay. Reads the trigger delay of the power measurement in s.None
SENSe:SPECtrum:FREQuency:CENTer <Frequency>Set Spectrum Center Frequency. Sets the spectrum center frequency in Hz.Number: 10E6,2.7E9
SENSe:SPECtrum:FREQuency:CENTer?Read Spectrum Center Frequency. Reads the spectrum center frequency in Hz.None
SENSe:SPECtrum:FREQuency:SPAN <Span>Set Spectrum Span. Sets the spectrum frequency span in Hz.Number
SENSe:SPECtrum:FREQuency:SPAN?Read Spectrum Span. Reads the spectrum frequency span in Hz.None
SENSe:SPECtrum:FREQuency:STARt <Frequency>Set Spectrum Start Frequency. Sets the spectrum start frequency in Hz.Number
SENSe:SPECtrum:FREQuency:STARt?Read Spectrum Start Frequency. Reads the spectrum start frequency in Hz.None
SENSe:SPECtrum:FREQuency:STOP <Frequency>Set Spectrum Stop Frequency. Sets the spectrum stop frequency in Hz.Number
SENSe:SPECtrum:FREQuency:STOP?Read Spectrum Stop Frequency. Reads the spectrum stop frequency in Hz.None
SENSe:SPECtrum:FREQuency:BANDwidth <Bandwidth>Set Spectrum RBW. Sets the spectrum resolution bandwidth: 10 Hz to 1 MHz or AUTO.Text
SENSe:SPECtrum:FREQuency:BANDwidth?Read Spectrum RBW. Reads the spectrum resolution bandwidth: 10 Hz to 1 MHz or AUTO.None
SENSe:SPECtrum:DETector <Detector>Set Spectrum Detector. Selects the peak or RMS detector for the spectrum trace.Text: PEAK,RMS
SENSe:SPECtrum:DETector?Read Spectrum Detector. Reads the selected peak or RMS detector for the spectrum trace.None
SENSe:SYNChronize:FREQuency:REFerence:LOCKed?Read Reference Locked. Queries whether the instrument is locked to the reference frequency.None

Source (SOURce) (19)

CommandWhat it doesArguments
SOURce:CORRection:LOSS:OUTPut<Connector_Nr> <Atten>Set Output External Attenuation. Sets the external attenuation of RF output connector RF<nr> (1, 2 or 3 = RF3 OUT) in dB (-50 to +90).Number: 1,2,3; Number: -50,90
SOURce:CORRection:LOSS:OUTPut<Connector_Nr>?Read Output External Attenuation. Reads the external attenuation of RF output connector RF<nr> in dB.Number: 1,2,3
SOURce:RFGenerator:FREQuency <Frequency>Set RF Generator Frequency. Sets the RF generator output frequency in Hz (100 kHz to 2.7 GHz).Number: 100E3,2.7E9
SOURce:RFGenerator:FREQuency?Read RF Generator Frequency. Reads the RF generator output frequency in Hz (100 kHz to 2.7 GHz).None
SOURce:RFGenerator:LEVel <Level>Set RF Generator Level. Sets the RF generator level in dBm (RF1 -137 to -27, RF2 -137 to -10, RF3 OUT -90 to +13).Number: -137,13
SOURce:RFGenerator:LEVel?Read RF Generator Level. Reads the RF generator level in dBm (RF1 -137 to -27, RF2 -137 to -10, RF3 OUT -90 to +13).None
SOURce:RFGenerator:MODulation <Modulation>Set RF Generator Modulation. Selects the RF generator modulation: none (CW), SSB frequency shift, AM or FM.Text: OFF,SSB,AM,FM
SOURce:RFGenerator:MODulation?Read RF Generator Modulation. Reads the selected RF generator modulation: none (CW), SSB frequency shift, AM or FM.None
SOURce:RFGenerator:MODulation:AM:INDex <Index>Set AM Modulation Index. Sets the AM modulation index in % (0 to 100).Number: 0,100
SOURce:RFGenerator:MODulation:AM:INDex?Read AM Modulation Index. Reads the AM modulation index in % (0 to 100).None
SOURce:RFGenerator:MODulation:FM:DEViation <Deviation>Set FM Deviation. Sets the FM deviation in Hz (0 to 500 kHz).Number: 0,500000
SOURce:RFGenerator:MODulation:FM:DEViation?Read FM Deviation. Reads the FM deviation in Hz (0 to 500 kHz).None
SOURce:RFGenerator:MODulation:FM:FREQuency <Frequency>Set FM Modulation Frequency. Sets the FM modulation frequency in Hz (1 Hz to 50 kHz).Number: 1,50000
SOURce:RFGenerator:MODulation:FM:FREQuency?Read FM Modulation Frequency. Reads the FM modulation frequency in Hz (1 Hz to 50 kHz).None
SOURce:RFGenerator:MODulation:SSB:FREQuency <Offset>Set SSB Frequency Offset. Sets the SSB frequency offset in Hz (-300 kHz to +300 kHz).Number: -300000,300000
SOURce:RFGenerator:MODulation:SSB:FREQuency?Read SSB Frequency Offset. Reads the SSB frequency offset in Hz (-300 kHz to +300 kHz).None
SOURce:RFGenerator:PULSe:STATe ONTurn On RF Generator Pulse. Switches to a pulsed signal with 577 us burst length.None
SOURce:RFGenerator:PULSe:STATe OFFTurn Off RF Generator Pulse. Switches to a CW (unpulsed) signal.None
SOURce:RFGenerator:PULSe:STATe?Read RF Generator Pulse. Reads the RF generator pulse state.None

Fetch (FETCh) (11)

CommandWhat it doesArguments
FETCh:RFGenerator:STATus?Read RF Generator Status. Returns the RF generator status: OFF, RUN or ERR.None
FETCh:RFANalyzer:STATus?Read Analyzer Status. Returns the measurement status (OFF, RUN, STOP, ERR, STEP, RDY) and counters.None
FETCh:RFANalyzer:POWer?Fetch Analyzer Power. Reads the last RMS power result in dBm (unsynchronized).None
FETCh:NPOWer:STATus?Read NPower Status. Returns the narrow-band power measurement status.None
FETCh:NPOWer?Fetch NPower. Reads the narrow-band power results (unsynchronized).None
FETCh:POWer:STATus?Read Power Status. Returns the power measurement status.None
FETCh:ARRay:POWer:CURRent?Fetch Power Trace Current. Reads the current power vs time trace in dBm.None
FETCh:ARRay:POWer:MAXimum?Fetch Power Trace Maximum. Reads the maximum power vs time trace in dBm.None
FETCh:SPECtrum:STATus?Read Spectrum Status. Returns the spectrum measurement status.None
FETCh:ARRay:SPECtrum:AVERage?Fetch Spectrum Trace Average. Reads the average spectrum trace in dBm.None
FETCh:SPECtrum:MARKer:PEAK?Fetch Spectrum Peak. Returns the frequency and level of the spectrum peak.None

System (SYSTem) (6)

CommandWhat it doesArguments
SYSTem:REMote:ADDRess:SECondary <Address>, "<Function_Group>"Map Secondary Address. Base system (secondary address 0): assigns a GPIB secondary address 1 to 29 to a function group, e.g. 1,"RF_NSig".Number: 1,29; Text: RF_NSig,BASE
SYSTem:RESet:CURRentReset Function Group. Sets all parameters of the current function group and test mode to default values.None
SYSTem:RESet:ALLReset All. Resets the base system and all function groups.None
SYSTem:ERRor?Read Error. Returns the oldest entry of the error queue.None
SYSTem:VERSion?Read SCPI Version. Returns the SCPI version of the instrument.None
SYSTem:OPTions?Read Options. Returns the installed hardware/software options and firmware versions.None

Configure (CONFigure) (6)

CommandWhat it doesArguments
CONFigure:RFANalyzer:CONTrol:REPetition <Repetition>, <Stop_Condition>, <Step_Mode>Set Analyzer Repetition. Sets repetition (CONTinuous, SINGleshot or 1 to 10000 cycles), stop condition and step mode of the analyzer power measurement.Text: CONTinuous,SINGleshot; Text: SONerror,NONE; Text: STEP,NONE
CONFigure:NPOWer:CONTrol:REPetition <Repetition>, <Stop_Condition>, <Step_Mode>Set NPower Repetition. Sets repetition, stop condition and step mode of the narrow-band power measurement.Text: CONTinuous,SINGleshot; Text: SONerror,NONE; Text: STEP,NONE
CONFigure:POWer:CONTrol:REPetition <Repetition>, <Stop_Condition>, <Step_Mode>Set Power Repetition. Sets repetition, stop condition and step mode of the power vs time measurement.Text: CONTinuous,SINGleshot; Text: SONerror,NONE; Text: STEP,NONE
CONFigure:SPECtrum:CONTrol:REPetition <Repetition>, <Stop_Condition>, <Step_Mode>Set Spectrum Repetition. Sets repetition, stop condition and step mode of the spectrum measurement.Text: CONTinuous,SINGleshot; Text: SONerror,NONE; Text: STEP,NONE
CONFigure:SYNChronize:FREQuency:REFerence:MODE <Mode>Set Reference Frequency Mode. Selects the internal or external reference frequency.Text: INTernal,EXTernal
CONFigure:SYNChronize:FREQuency:REFerence:MODE?Read Reference Frequency Mode. Reads the selected internal or external reference frequency.None

Initiate (INITiate) (5)

CommandWhat it doesArguments
INITiate:RFGeneratorStart RF Generator. Starts the RF generator (Tx signal) and reserves resources.None
INITiate:RFANalyzerStart Analyzer Power. Starts the analyzer power measurement.None
INITiate:NPOWerStart NPower. Starts the narrow-band power measurement.None
INITiate:POWerStart Power. Starts the power vs time measurement.None
INITiate:SPECtrumStart Spectrum. Starts the spectrum measurement.None

Abort (5)

CommandWhat it doesArguments
ABORt:RFGeneratorStop RF Generator. Switches the RF generator off and releases resources.None
ABORt:RFANalyzerAbort Analyzer Power. Aborts the analyzer power measurement and releases resources.None
ABORt:NPOWerAbort NPower. Aborts the narrow-band power measurement.None
ABORt:POWerAbort Power. Aborts the power vs time measurement.None
ABORt:SPECtrumAbort Spectrum. Aborts the spectrum measurement.None

Run control (4)

CommandWhat it doesArguments
STOP:RFANalyzerStop Analyzer Power. Stops the analyzer power measurement.None
STOP:NPOWerStop NPower. Stops the narrow-band power measurement.None
STOP:POWerStop Power. Stops the power vs time measurement.None
STOP:SPECtrumStop Spectrum. Stops the spectrum measurement.None

Read (READ) (4)

CommandWhat it doesArguments
READ:RFANalyzer:POWer?Measure Analyzer Power. Starts a single-shot measurement and returns the RMS power of the RF input signal in dBm.None
READ:NPOWer?Measure NPower. Starts a single shot and returns avg/min/max power results in dBm and the frequency.None
READ:ARRay:POWer:AVERage?Measure Power Trace Average. Starts a single shot and returns the average power vs time trace in dBm.None
READ:ARRay:SPECtrum:CURRent?Measure Spectrum Trace. Starts a single shot and returns the current spectrum trace (560 values in dBm).None

INP subsystem (2)

CommandWhat it doesArguments
INPut:STATe <Connector>Set RF Input. Selects the RF input connector: RF1, RF2 or RF4 IN (RF function group).Text: RF1,RF2,RF4
INPut:STATe?Read RF Input. Reads the selected RF input connector: RF1, RF2 or RF4 IN (RF function group).None

Output (OUTPut) (2)

CommandWhat it doesArguments
OUTPut:STATe <Connector>Set RF Output. Selects the RF output connector: RF1, RF2 or RF3 OUT (RF function group).Text: RF1,RF2,RF3
OUTPut:STATe?Read RF Output. Reads the selected RF output connector: RF1, RF2 or RF3 OUT (RF function group).None

DEF subsystem (1)

CommandWhat it doesArguments
DEFault:RFGenerator ONDefault RF Generator. Sets all RF generator parameters to default values.None

Other subsystem (1)

CommandWhat it doesArguments
<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 measurement to a variableText

IEEE 488.2 common commands (12)

CommandWhat it doesArguments
*IDN?Identify. Returns the instrument identification string.None
*RSTReset. Resets the instrument (addressed function group) to its default state.None
*CLSClear Status. Clears the status byte, event registers and output buffer.None
*ESR?Read Event Status Register. Returns and clears the standard event status register (0 to 255).None
*ESE <Mask>Set Event Status Enable. Sets the event status enable register (0 to 255).Number: 0,255
*STB?Read Status Byte. Returns the status byte in decimal form.None
*SRE <Mask>Set Service Request Enable. Sets the service request enable register (0 to 255).Number: 0,255
*OPT?Read Installed Options. Returns the installed options.None
*TST?Self Test. Runs the instrument self-test and returns the result.None
*OPCSet Operation Complete Bit. Sets bit 0 of the event status register when all preceding commands are executed.None
*OPC?Operation Complete. Returns 1 when all pending operations are complete.None
*WAIWait To Continue. Waits until all pending operations are complete before continuing.None

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 CMU200 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 12, 2026.

Frequently asked questions

Does the Rohde & Schwarz CMU200 support SCPI remote control?

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

How do I control the Rohde & Schwarz CMU200 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?, SOURce:RFGenerator:PULSe:STATe ON and READ:RFANalyzer:POWer?.

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

READ:RFANalyzer:POWer? (measure analyzer power). Starts a single-shot measurement and returns the RMS power of the RF input signal in dBm. The full list of queries is in the command reference on this page, grouped by subsystem.

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