The Rohde & Schwarz SMM100A vector signal generator is controlled remotely with SCPI commands. TestFlow's instrument library holds 128 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 SMM100A on a real bench.
Describe the test; TestFlow's agent uses this command set to drive your Rohde & Schwarz SMM100A and writes the report from the measured results.
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 SMM100A's VISA address
# Paste the address of your Rohde & Schwarz SMM100A (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()Describe the test; TestFlow's agent uses this command set to drive your Rohde & Schwarz SMM100A and writes the report from the measured results.
Describe the test in a sentence, for example “turn on rf output on the SMM100A, 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.
128 commands in 8 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.
| Command | What it does | Arguments |
|---|---|---|
| SOURce:FREQuency:CW <Freq> | Set Frequency. Sets the frequency of the RF output signal in CW/fixed mode in Hz (100 kHz to 44 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 (100 kHz to 44 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 (100 kHz to 44 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 ON | Turn On ALC. Activates the internal automatic level control (ALC) permanently. | None |
| SOURce:POWer:ALC:STATe OFF | Turn 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:POWer:ATTenuation <Atten> | Set Attenuation. Sets the RF output attenuation value in dB when the attenuator is in manual mode (set via OUTPut:AMODe MANual). | Number |
| SOURce:POWer:ATTenuation? | Read Attenuation. Reads the current RF output attenuation value in dB. | 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 ON | Turn On LF Output. Activates the LF (low frequency) generator signal output. | None |
| SOURce:LFOutput:STATe OFF | Turn 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 SWEep | Turn On Frequency Sweep. Activates RF frequency sweep mode. | None |
| SOURce:FREQuency:MODE CW | Turn 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 ON | Turn 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 OFF | Turn 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:EXECute | Execute 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 ON | Turn 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 OFF | Turn 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:EXECute | Execute Power Sweep. Executes a single RF power sweep manually; only effective in manual sweep mode. | None |
| SOURce:SWEep:RESet:ALL | Reset All Sweeps. Resets all active RF sweeps (frequency, power, LF) back to their starting point. | None |
| SOURce:LIST:MODE AUTO | Turn 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 ON | Turn On ARB. Activates the ARB (arbitrary waveform) generator baseband signal. | None |
| SOURce:BB:ARBitrary:STATe OFF | Turn 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:EXECute | Execute ARB Trigger. Manually triggers ARB waveform generation for an internal trigger event. | None |
| SOURce:BB:ARBitrary:PRESet | Preset ARB. Resets all ARB generator parameters to their default state. | None |
| SOURce:IQ:STATe ON | Turn On IQ Modulation. Enables the I/Q modulation of the RF output signal. | None |
| SOURce:IQ:STATe OFF | Turn 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 ON | Turn On All Modulations. Activates all modulations that were active before they were last switched off together. | None |
| SOURce:MODulation:ALL:STATe OFF | Turn 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 |
| Command | What it does | Arguments |
|---|---|---|
| OUTPut:STATe ON | Turn On RF Output. Activates the RF output signal. | None |
| OUTPut:STATe OFF | Turn 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:ALL:STATe ON | Turn On All RF Outputs. Enables all RF output signals of the instrument (all installed paths). | None |
| OUTPut:ALL:STATe OFF | Turn Off All RF Outputs. Disables all RF output signals of the instrument (all installed paths). | None |
| OUTPut:AMODe MANual | Set Attenuator Mode Manual. Sets the RF output attenuator to manual mode so the attenuation value can be fixed. | None |
| OUTPut:AMODe AUTO | Set 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 |
| Command | What it does | Arguments |
|---|---|---|
| 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 |
| Command | What it does | Arguments |
|---|---|---|
| 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 |
| Command | What it does | Arguments |
|---|---|---|
| <Output Variable>=<Equation> | Math. Variable equals an equation like (${Var_name}= ${Var_name}/2) | Number; Text |
| Command | What it does | Arguments |
|---|---|---|
| wait(<ms>) | Wait. Waits for number of milliseconds | Number |
| Command | What it does | Arguments |
|---|---|---|
| save2var <Variable_name> | Save2Variable. Saves last measurement to a variable | Text |
| Command | What it does | Arguments |
|---|---|---|
| *IDN? | Identify. Returns the instrument identification string (manufacturer, model, serial, firmware). | None |
| *RST | Reset. Resets the instrument to its default state. | None |
| *CLS | Clear 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 |
| *WAI | Wait To Continue. Waits until all pending operations are complete before continuing. | None |
| *TRG | Trigger Bus. Generates a bus trigger when the instrument is in wait-for-trigger state. | None |
This reference is generated from TestFlow's instrument library, which is drafted from Rohde & Schwarz's programming documentation for the SMM100A 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.
Yes. The Rohde & Schwarz SMM100A accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 128 SCPI commands for it: 54 queries that read values or state, and 74 settings and actions.
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?.
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.
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 SMM100A through the TestFlow desktop app, and writes the report from the measured results.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.