Vector Signal Generator · SCPI command comparison

Rohde & Schwarz SMBV100A vs SMBV100B: SCPI commands and remote control compared

In TestFlow's instrument library, the Rohde & Schwarz SMBV100A takes 418 SCPI commands, 112 of them queries, and the Rohde & Schwarz SMBV100B takes 124 SCPI commands, 53 of them queries. That is 294 more on the SMBV100A. Counting distinct command headers (the command path without its arguments), 51 are accepted by both, 357 exist only on the SMBV100A, and 59 only on the SMBV100B. 12% of the SMBV100A's command headers also exist on the SMBV100B.

Both libraries have commands under SOURce, OUTPut, SYSTem, and TRIGger. Only the SMBV100A has BB, BERT, SENSe, BLER, STATus, and CLOCk and 3 more.

Both libraries synchronise with *OPC?. Both libraries read errors with SYSTem:ERRor?.

SMBV100A commands
418
SMBV100B commands
124
Shared headers
51
Unique headers
416

Run this on your bench

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

Get started

SMBV100A vs SMBV100B 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.

Rohde & Schwarz SMBV100ARohde & Schwarz SMBV100B
Commands in TestFlow's library418124
Queries (read a value or state)11253
Settings and actions30671
Subsystems148
Distinct command headers408110
Headers the other lacks35759
Command languageSCPISCPI
Operation complete*OPC?*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command setSMBV100ASMBV100B

Commands both accept

51 command headers are in both libraries. Here are 12, taken across subsystems. Where the SMBV100B library writes the command differently, its form is shown under the SMBV100A's.

CommandWhat it does
SOURce:FREQuency:CW <Fixed>SMBV100B: SOURce:FREQuency:CW <Freq>Set RF Frequency. Sets the frequency of the RF output signal in CW mode.
OUTPut1:STATe <State>SMBV100B: OUTPut:STATe ONSet RF Output State. Switches the RF output on or off.
SYSTem:ERRor:ALL?Query All Errors. Queries and removes all entries in the error queue.
*IDN?Identify Instrument. Queries the instrument identification string.
SOURce:FREQuency:CENTer <Center>SMBV100B: SOURce:FREQuency:CENTer <Freq>Set Center Frequency. Sets the center frequency of the RF sweep range.
OUTPut:STATe:PON <Pon>Set RF Output Power-On State. Selects the RF output state applied when the instrument is switched on.
SYSTem:ERRor:COUNt?Query Error Count. Queries the number of entries in the error queue.
*RSTReset Instrument. Resets the instrument settings to their default values.
SOURce:FREQuency:STARt <Start>SMBV100B: SOURce:FREQuency:STARt <Freq>Set Start Frequency. Sets the start frequency of the RF sweep.
OUTPut:AMODe <AMode>SMBV100B: OUTPut:AMODe FIXedSet Attenuator Mode. Selects the RF attenuator mode, automatic switching or fixed position.
*CLSClear Status. Clears the instrument status reporting.
SOURce:FREQuency:STOP <Stop>SMBV100B: SOURce:FREQuency:STOP <Freq>Set Stop Frequency. Sets the stop frequency of the RF sweep.

Only on the Rohde & Schwarz SMBV100A

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

SOURce (203 only on the SMBV100A)

CommandWhat it does
SOURce:BB:MCCW:TRIGger:SOURce <Source>Set Trigger Source. Selects the trigger source, internal manual trigger or external TRIG connector.
SOURce:BB:MCCW:TRIGger:EXTernal:DELay <Delay>Set External Trigger Delay. Sets the external trigger delay in samples.
SOURce:BB:MCCW:TRIGger:EXTernal:INHibit <Inhibit>Set External Trigger Inhibit. Sets the number of samples for which restart is inhibited after an external trigger.
SOURce:BB:MCCW:TRIGger:SEQuence <Sequence>Set Trigger Mode. Selects the trigger mode of the multi carrier signal.

BB (72 only on the SMBV100A)

CommandWhat it does
BB:ARB:WAV:SEL <Filename>Select Waveform File. Selects and loads a waveform file.
BB:ARB:WAV:CAT?Waveform Catalog. Reads the waveform file names in the default directory.
BB:ARB:WAV:CAT:LEN?Waveform Catalog Length. Returns the number of waveform files in the default directory.
BB:ARB:WAV:POIN?Waveform Points. Returns the number of I/Q sample pairs in the selected waveform file.

BERT (28 only on the SMBV100A)

CommandWhat it does
BERT:STATe <State>Set BERT Measurement State. Switches the bit error rate measurement on or off.
BERT:STATe?Query BERT Measurement State. Returns whether the bit error rate measurement is on.
BERT:STARtStart BERT Measurement. Starts a continuous bit error rate measurement.
BERT:STOPStop BERT Measurement. Stops an ongoing bit error rate measurement.

SENSe (16 only on the SMBV100A)

CommandWhat it does
SENSe:UNIT <Power>Set Sensor Measurement Unit. Selects the unit of the power measurement result returned by READ.
SENSe1:POWer:APERture:TIMe <ApTime>Set Sensor Aperture Time. Defines the aperture time of the sensor acquisition interval.
SENSe1:POWer:APERture:DEFault:STATe <UseDefAp>Set Use Default Aperture Time. Enables or disables the default aperture time of the sensor.
SENSe1:POWer:FILTer:TYPE <Type>Set Sensor Filter Type. Selects the power sensor filter mode.

BLER (9 only on the SMBV100A)

CommandWhat it does
BLER:STARtStart BLER Measurement. Starts a continuous block error rate measurement.
BLER:STOPStop BLER Measurement. Stops an ongoing block error rate measurement.
BLER:STATe <State>Set BLER Measurement State. Switches the block error rate measurement on or off.
BLER:STATe?Query BLER Measurement State. Returns whether the block error rate measurement is on.

IEEE 488.2 common (*) (7 only on the SMBV100A)

CommandWhat it does
*ESR?Read Event Status Register. Returns and clears the standard event status register.
*ESE <Value>Set Event Status Enable. Sets the event status enable register.
*ESE?Query Event Status Enable. Returns the event status enable register.
*SRE <Contents>Set Service Request Enable. Sets the service request enable register.

Only on the Rohde & Schwarz SMBV100B

59 command headers in the SMBV100B library have no match in the SMBV100A library. Below are 10 of them from the 4 largest subsystems; the full list is in the Rohde & Schwarz SMBV100B command reference.

SOURce (53 only on the SMBV100B)

CommandWhat it does
SOURce:FREQuency:CW?Read Frequency. Reads the current CW/fixed RF output frequency in Hz.
SOURce:FREQuency:MODE?Read Frequency Mode. Reads the current frequency entry mode.
SOURce:FREQuency:CENTer?Read Frequency Center. Reads the center frequency of the RF sweep range.
SOURce:FREQuency:STARt?Read Frequency Start. Reads the start frequency of the RF frequency sweep range.

OUTPut (3 only on the SMBV100B)

CommandWhat it does
OUTPut:STATe?Read RF Output State. Reads whether the RF output is currently ON or OFF.
OUTPut:STATe:PON?Read Power On Output State. Reads the configured RF output state used at power-on.
OUTPut:AMODe?Read Attenuator Mode. Reads the current RF output attenuator mode.

TRIGger (2 only on the SMBV100B)

CommandWhat it does
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).
TRIGger:FSWeep:SOURce?Read Frequency Sweep Trigger Source. Reads the current RF frequency sweep trigger source.

IEEE 488.2 common (*) (1 only on the SMBV100B)

CommandWhat it does
*TRGTrigger Bus. Generates a bus trigger when the instrument is in wait-for-trigger state.

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, both libraries hold SOURce:FREQuency:MODE (set frequency mode); the SMBV100B library writes it as SOURce:FREQuency:MODE CW. For the reading, both libraries hold SOURce:LFOutput:FREQuency? (query lf output frequency), and the same line runs on each. 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_SMBV100A_ADDRESS")  # Rohde & Schwarz SMBV100A
b = rm.open_resource("PASTE_SMBV100B_ADDRESS")  # Rohde & Schwarz SMBV100B
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

# The same setting on both: Set Frequency Mode
a.write("SOURce:FREQuency:MODE CW | FIXed | SWEep | LIST")
b.write("SOURce:FREQuency:MODE CW")

# The same reading on both: Query LF Output Frequency
print(a.query("SOURce:LFOutput:FREQuency?"))
print(b.query("SOURce:LFOutput:FREQuency?"))

a.close()
b.close()

Run this on your bench

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

Get started

Frequently asked questions

What is the difference between the Rohde & Schwarz SMBV100A and the Rohde & Schwarz SMBV100B for remote control?

In TestFlow's library the SMBV100A has 418 SCPI commands and the SMBV100B has 124 SCPI commands. 51 command headers are common to both, 357 are only on the SMBV100A (mostly SOURce and BB), and 59 are only on the SMBV100B (mostly SOURce and OUTPut).

Can I use the same SCPI code for the Rohde & Schwarz SMBV100A and the Rohde & Schwarz SMBV100B?

Partly. 51 command headers are accepted by both, including SOURce:FREQuency:CW, OUTPut1:STATe, and SYSTem:ERRor:ALL?. 416 are not, for example SOURce:BB:MCCW:TRIGger:SOURce on the SMBV100A and SOURce:FREQuency:CW? on the SMBV100B, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the SMBV100A or the SMBV100B?

The SMBV100A: 418 commands for the SMBV100A against 124 for the SMBV100B in TestFlow's library. Of those, 112 on the SMBV100A and 53 on the SMBV100B are queries that read a value or state, and the library splits them into 14 and 8 subsystems.

How do the SMBV100A and SMBV100B signal operation complete and report errors?

Both libraries synchronise with *OPC?. Both libraries read errors with SYSTem:ERRor?. 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.