Vector Signal Generator · SCPI command reference

Rohde & Schwarz SMBV100B SCPI commands

The Rohde & Schwarz SMBV100B vector signal generator is controlled remotely with SCPI commands. TestFlow's instrument library holds 124 commands for it, 53 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 SMBV100B on a real bench.

Commands
124
Queries
53
Subsystems
8
Models covered
1

Run this on your bench

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

Get started

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

# Paste the address of your Rohde & Schwarz SMBV100B (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("OUTPut:STATe ON")  # Turn On RF Output
print(inst.query("OUTPut:STATe?"))  # Read RF Output State

inst.close()

Run this on your bench

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

Get started

Run a SMBV100B test without writing code

Describe the test in a sentence, for example “turn on rf output on the SMBV100B, then read rf output state 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

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

Source (SOURce) (102)

CommandWhat it doesArguments
SOURce:FREQuency:CW <Freq>Set Frequency. Sets the frequency of the RF output signal in CW/fixed mode in Hz (8 kHz to 6 GHz depending on installed options).Number
SOURce:FREQuency:CW?Read Frequency. Reads the current CW/fixed RF output frequency in Hz.None
SOURce:FREQuency:MODE <Mode>Set Frequency Mode. Sets the mode used to enter the RF frequency (fixed CW value, frequency sweep, or list mode).Text: CW,FIXed,SWEep,LIST
SOURce:FREQuency:MODE?Read Frequency Mode. Reads the current frequency entry mode.None
SOURce:FREQuency:CENTer <Freq>Set Frequency Center. Sets the center frequency of the RF sweep range in Hz.Number
SOURce:FREQuency:CENTer?Read Frequency Center. Reads the center frequency of the RF sweep range.None
SOURce:FREQuency:STARt <Freq>Set Frequency Start. Sets the start frequency of the RF frequency sweep range in Hz (8 kHz to 6 GHz depending on installed options).Number
SOURce:FREQuency:STARt?Read Frequency Start. Reads the start frequency of the RF frequency sweep range.None
SOURce:FREQuency:STOP <Freq>Set Frequency Stop. Sets the stop frequency of the RF frequency sweep range in Hz (8 kHz to 6 GHz depending on installed options).Number
SOURce:FREQuency:STOP?Read Frequency Stop. Reads the stop frequency of the RF frequency sweep range.None
SOURce:FREQuency:SPAN <Freq>Set Frequency Span. Sets the span of the RF frequency sweep range in Hz.Number
SOURce:FREQuency:SPAN?Read Frequency Span. Reads the span of the RF frequency sweep range.None
SOURce:FREQuency:OFFSet <Freq>Set Frequency Offset. Sets a frequency offset value added to the displayed/programmed RF frequency to account for external mixers etc.Number
SOURce:FREQuency:OFFSet?Read Frequency Offset. Reads the current RF frequency offset value in Hz.None
SOURce:FREQuency:MULTiplier <Mult>Set Frequency Multiplier. Sets a multiplication factor for the RF frequency to account for an external multiplier (-10000 to 10000).Number: -1,000,010,000
SOURce:FREQuency:MULTiplier?Read Frequency Multiplier. Reads the frequency multiplier factor.None
SOURce:POWer:LEVel:IMMediate:AMPLitude <Power>Set Power Level. Sets the RF output level (power) applied to the DUT, in dBm.Number
SOURce:POWer:LEVel:IMMediate:AMPLitude?Read Power Level. Reads the current RF output level in dBm.None
SOURce:POWer:MODE <Mode>Set Power Mode. Sets the mode used to enter/vary the RF output level (fixed CW value or power sweep).Text: CW,FIXed,SWEep
SOURce:POWer:MODE?Read Power Mode. Reads the current RF power entry mode.None
SOURce:POWer:STARt <Power>Set Power Start. Sets the start level of the RF power sweep range in dBm.Number
SOURce:POWer:STARt?Read Power Start. Reads the start level of the RF power sweep range.None
SOURce:POWer:STOP <Power>Set Power Stop. Sets the stop level of the RF power sweep range in dBm.Number
SOURce:POWer:STOP?Read Power Stop. Reads the stop level of the RF power sweep range.None
SOURce:POWer:ALC:STATe ONTurn On ALC. Activates the internal automatic level control (ALC) permanently.None
SOURce:POWer:ALC:STATe OFFTurn Off ALC. Deactivates the automatic level control; the instrument operates in Sample and Hold mode.None
SOURce:POWer:ALC:STATe?Read ALC State. Reads the current ALC (automatic level control) state.None
SOURce:ROSCillator:SOURce <Source>Set Reference Oscillator Source. Selects between the internal or an external reference oscillator frequency.Text: INTernal,EXTernal
SOURce:ROSCillator:SOURce?Read Reference Oscillator Source. Reads whether the internal or external reference oscillator is selected.None
SOURce:ROSCillator:EXTernal:FREQuency <Freq>Set External Reference Frequency. Selects the expected frequency of the external reference input signal (10 MHz, 5 MHz, 13 MHz, or a variable/user-defined value).Text: 10MHZ,100MHZ,1GHZ,VARiable
SOURce:ROSCillator:EXTernal:FREQuency?Read External Reference Frequency. Reads the configured external reference input frequency setting.None
SOURce:ROSCillator:EXTernal:FREQuency:VARiable <Freq>Set External Reference Variable Frequency. Sets the user-defined external reference frequency in Hz (1 MHz to 100 MHz) when the external frequency is set to VARiable.Number
SOURce:ROSCillator:EXTernal:FREQuency:VARiable?Read External Reference Variable Frequency. Reads the user-defined external reference frequency setting in Hz.None
SOURce:ROSCillator:OUTPut:FREQuency:MODE <Mode>Set Reference Output Frequency Mode. Selects the mode for determining and outputting the reference frequency at the reference output connector (derived 10 MHz, or same as the reference input/source).Text: DER10M,OFF,LOOPthrough
SOURce:ROSCillator:OUTPut:FREQuency:MODE?Read Reference Output Frequency Mode. Reads the current reference output frequency mode.None
SOURce:PHASe <Phase>Set Phase. Sets the phase variation of the RF output signal relative to the current phase, in degrees (-720 to 720).Number: -720,720
SOURce:PHASe?Read Phase. Reads the current RF phase variation setting in degrees.None
SOURce:LFOutput:STATe ONTurn On LF Output. Activates the LF (low frequency) generator signal output.None
SOURce:LFOutput:STATe OFFTurn Off LF Output. Deactivates the LF (low frequency) generator signal output.None
SOURce:LFOutput:STATe?Read LF Output State. Reads whether the LF generator output is currently ON or OFF.None
SOURce:LFOutput:FREQuency <Freq>Set LF Frequency. Sets the frequency of the LF generator signal in Hz (from 0.1 Hz, CW/Fixed mode).Number
SOURce:LFOutput:FREQuency?Read LF Frequency. Reads the current LF generator frequency in Hz.None
SOURce:LFOutput:FREQuency:MODE <Mode>Set LF Frequency Mode. Selects the mode for entering the LF generator frequency (fixed value or LF sweep).Text: CW,FIXed,SWEep
SOURce:LFOutput:SHAPe <Shape>Set LF Shape. Selects the waveform shape of the LF generator signal.Text: SINE,SQUare,PULSe,TRIangle,TRAPeze
SOURce:LFOutput:SHAPe?Read LF Shape. Reads the current LF generator waveform shape.None
SOURce:LFOutput:VOLTage <Volt>Set LF Output Voltage. Sets the output voltage (level) of the LF generator signal in V.Number
SOURce:LFOutput:VOLTage?Read LF Output Voltage. Reads the current LF generator output voltage.None
SOURce:LFOutput:SOURce <Source>Set LF Output Source. Selects the internal signal source routed to the LF output/monitoring connector.Text: LF1,LF2,NOISe,AM,FMPM,EXT1
SOURce:LFOutput:SOURce?Read LF Output Source. Reads the currently selected LF output source.None
SOURce:FREQuency:MODE SWEepTurn On Frequency Sweep. Activates RF frequency sweep mode.None
SOURce:FREQuency:MODE CWTurn Off Frequency Sweep. Deactivates RF frequency sweep mode and returns to fixed CW frequency mode.None
SOURce:SWEep:FREQuency:MODE <Mode>Set Frequency Sweep Mode. Sets the way the RF frequency sweep is triggered and cycled (automatic, manual, or single step).Text: AUTO,MANual,STEP
SOURce:SWEep:FREQuency:MODE?Read Frequency Sweep Mode. Reads the current RF frequency sweep mode.None
SOURce:SWEep:FREQuency:SPACing <Spacing>Set Frequency Sweep Spacing. Selects linear or logarithmic step spacing for the RF frequency sweep.Text: LINear,LOGarithmic
SOURce:SWEep:FREQuency:SPACing?Read Frequency Sweep Spacing. Reads the current RF frequency sweep step spacing.None
SOURce:SWEep:FREQuency:SHAPe <Shape>Set Frequency Sweep Shape. Selects the cycle mode (shape) of the RF frequency sweep.Text: SAWTooth,TRIangle
SOURce:SWEep:FREQuency:SHAPe?Read Frequency Sweep Shape. Reads the current RF frequency sweep shape.None
SOURce:SWEep:FREQuency:DWELl <Sec>Set Frequency Sweep Dwell Time. Sets the dwell time per step of the RF frequency sweep in seconds (0.001 to 100).Number: 0.001,100
SOURce:SWEep:FREQuency:DWELl?Read Frequency Sweep Dwell Time. Reads the RF frequency sweep dwell time.None
SOURce:SWEep:FREQuency:POINts <N>Set Frequency Sweep Points. Sets the number of steps within the RF frequency sweep range.Number
SOURce:SWEep:FREQuency:POINts?Read Frequency Sweep Points. Reads the number of steps in the RF frequency sweep.None
SOURce:SWEep:FREQuency:RETRace ONTurn On Frequency Sweep Retrace. Activates retrace so the RF signal returns to the start frequency at the end of each sweep run while waiting for the next trigger.None
SOURce:SWEep:FREQuency:RETRace OFFTurn Off Frequency Sweep Retrace. Deactivates retrace for the RF frequency sweep.None
SOURce:SWEep:FREQuency:RUNNing?Read Frequency Sweep Running. Reads whether an RF frequency sweep is currently running.None
SOURce:SWEep:FREQuency:EXECuteExecute Frequency Sweep. Executes a single RF frequency sweep manually; only effective in manual sweep mode.None
SOURce:SWEep:POWer:MODE <Mode>Set Power Sweep Mode. Sets the way the RF power sweep is triggered and cycled (automatic, manual, or single step).Text: AUTO,MANual,STEP
SOURce:SWEep:POWer:MODE?Read Power Sweep Mode. Reads the current RF power sweep mode.None
SOURce:SWEep:POWer:SHAPe <Shape>Set Power Sweep Shape. Selects the cycle mode (shape) of the RF power sweep.Text: SAWTooth,TRIangle
SOURce:SWEep:POWer:SHAPe?Read Power Sweep Shape. Reads the current RF power sweep shape.None
SOURce:SWEep:POWer:DWELl <Sec>Set Power Sweep Dwell Time. Sets the dwell time per step of the RF power sweep in seconds (0.001 to 100).Number: 0.001,100
SOURce:SWEep:POWer:DWELl?Read Power Sweep Dwell Time. Reads the RF power sweep dwell time.None
SOURce:SWEep:POWer:POINts <N>Set Power Sweep Points. Sets the number of steps within the RF power sweep range.Number
SOURce:SWEep:POWer:POINts?Read Power Sweep Points. Reads the number of steps in the RF power sweep.None
SOURce:SWEep:POWer:RETRace ONTurn On Power Sweep Retrace. Activates retrace so the RF level returns to the start level at the end of each sweep run while waiting for the next trigger.None
SOURce:SWEep:POWer:RETRace OFFTurn Off Power Sweep Retrace. Deactivates retrace for the RF power sweep.None
SOURce:SWEep:POWer:RUNNing?Read Power Sweep Running. Reads whether an RF power sweep is currently running.None
SOURce:SWEep:POWer:EXECuteExecute Power Sweep. Executes a single RF power sweep manually; only effective in manual sweep mode.None
SOURce:SWEep:RESet:ALLReset All Sweeps. Resets all active RF sweeps (frequency, power, LF) back to their starting point.None
SOURce:LIST:MODE AUTOTurn On List Mode. Sets the list mode processing to automatic (list mode active, auto-advance through entries).None
SOURce:LIST:MODE?Read List Mode. Reads the current list mode processing setting (AUTO, STEP, or INDEX).None
SOURce:LIST:SELect <Name>Select List. Selects the list file to be used for list mode operation.Text
SOURce:LIST:SELect?Read Selected List. Reads the name of the currently selected list file.None
SOURce:LIST:DWELl <Sec>Set List Dwell Time. Sets the global dwell time for each list entry in seconds (0.5 ms to 100 s).Number: 0.0005,100
SOURce:LIST:DWELl?Read List Dwell Time. Reads the global list mode dwell time.None
SOURce:LIST:TRIGger:SOURce <Source>Set List Trigger Source. Selects the trigger source for processing the list (free-running, single/bus-triggered once, or external).Text: AUTO,SINGle,EXTernal
SOURce:LIST:TRIGger:SOURce?Read List Trigger Source. Reads the current list mode trigger source.None
SOURce:LIST:RUNNing?Read List Running. Reads whether list mode processing is currently running.None
SOURce:BB:ARBitrary:STATe ONTurn On ARB. Activates the ARB (arbitrary waveform) generator baseband signal.None
SOURce:BB:ARBitrary:STATe OFFTurn Off ARB. Deactivates the ARB (arbitrary waveform) generator baseband signal.None
SOURce:BB:ARBitrary:STATe?Read ARB State. Reads whether the ARB generator is currently ON or OFF.None
SOURce:BB:ARBitrary:WAVeform:SELect <Name>Load ARB Waveform. Selects/loads a waveform file from the default directory for the ARB generator (file extension can be omitted).Text
SOURce:BB:ARBitrary:WAVeform:SELect?Read ARB Waveform. Reads the name of the currently selected ARB waveform file.None
SOURce:BB:ARBitrary:TRIGger:SOURce <Source>Set ARB Trigger Source. Selects the trigger source that starts the ARB waveform (internal, external, other baseband, external baseband connector, or baseband synchronization).Text: INTernal,EXTernal,OBASeband,BEXTernal,BBSY
SOURce:BB:ARBitrary:TRIGger:SOURce?Read ARB Trigger Source. Reads the current ARB trigger source.None
SOURce:BB:ARBitrary:TRIGger:EXECuteExecute ARB Trigger. Manually triggers ARB waveform generation for an internal trigger event.None
SOURce:BB:ARBitrary:PRESetPreset ARB. Resets all ARB generator parameters to their default state.None
SOURce:IQ:STATe ONTurn On IQ Modulation. Enables the I/Q modulation of the RF output signal.None
SOURce:IQ:STATe OFFTurn Off IQ Modulation. Disables the I/Q modulation of the RF output signal.None
SOURce:IQ:STATe?Read IQ Modulation State. Reads whether I/Q modulation is currently enabled.None
SOURce:MODulation:ALL:STATe ONTurn On All Modulations. Activates all modulations that were active before they were last switched off together.None
SOURce:MODulation:ALL:STATe OFFTurn Off All Modulations. Deactivates all active modulations of the RF output signal at once.None
SOURce:MODulation:ALL:STATe?Read All Modulations State. Reads whether any modulation is currently active.None

Output (OUTPut) (8)

CommandWhat it doesArguments
OUTPut:STATe ONTurn On RF Output. Activates the RF output signal.None
OUTPut:STATe OFFTurn Off RF Output. Deactivates the RF output signal.None
OUTPut:STATe?Read RF Output State. Reads whether the RF output is currently ON or OFF.None
OUTPut:STATe:PON <Pon>Set Power On Output State. Defines the state of the RF output signal when the instrument is switched on.Text: OFF,UNCHanged
OUTPut:STATe:PON?Read Power On Output State. Reads the configured RF output state used at power-on.None
OUTPut:AMODe FIXedSet Attenuator Mode Manual. Sets the RF output attenuator to manual mode so the attenuation value can be fixed.None
OUTPut:AMODe AUTOSet Attenuator Mode Auto. Sets the RF output attenuator to automatic mode (attenuation follows level setting).None
OUTPut:AMODe?Read Attenuator Mode. Reads the current RF output attenuator mode.None

Trigger (TRIGger) (2)

CommandWhat it doesArguments
TRIGger:FSWeep:SOURce <Source>Set Frequency Sweep Trigger Source. Selects the trigger source for the RF frequency sweep (free-running, single/bus, external, or external-auto).Text: AUTO,SINGle,EXTernal,EAUTo
TRIGger:FSWeep:SOURce?Read Frequency Sweep Trigger Source. Reads the current RF frequency sweep trigger source.None

System (SYSTem) (2)

CommandWhat it doesArguments
SYSTem:ERRor:ALL?Read Error Queue. Queries and clears all unread entries from the error/event queue; returns 0,'No error' if the queue is empty.None
SYSTem:ERRor:COUNt?Read Error Count. Reads the number of entries currently in the error/event queue.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 (7)

CommandWhat it doesArguments
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).None
*RSTReset. Resets the instrument to its default state.None
*CLSClear Status. Clears all event registers and the error queue.None
*TST?Self Test. Runs the self-test and returns 0 for pass or 1 for failure.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
*TRGTrigger Bus. Generates a bus trigger when the instrument is in wait-for-trigger state.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 SMBV100B 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 SMBV100B support SCPI remote control?

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

How do I control the Rohde & Schwarz SMBV100B 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?, OUTPut:STATe ON and OUTPut:STATe?.

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

OUTPut:STATe? (read rf output state). Reads whether the RF output is currently ON or OFF. The full list of queries is in the command reference on this page, grouped by subsystem.

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