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?.
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.
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 SMBV100A | Rohde & Schwarz SMBV100B | |
|---|---|---|
| Commands in TestFlow's library | 418 | 124 |
| Queries (read a value or state) | 112 | 53 |
| Settings and actions | 306 | 71 |
| Subsystems | 14 | 8 |
| Distinct command headers | 408 | 110 |
| Headers the other lacks | 357 | 59 |
| Command language | SCPI | SCPI |
| Operation complete | *OPC? | *OPC? |
| Error queue | SYSTem:ERRor? | SYSTem:ERRor? |
| Models on this command set | SMBV100A | SMBV100B |
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.
| Command | What 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 ON | Set 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. |
| *RST | Reset 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 FIXed | Set Attenuator Mode. Selects the RF attenuator mode, automatic switching or fixed position. |
| *CLS | Clear 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. |
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.
| Command | What 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. |
| Command | What 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. |
| Command | What 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:STARt | Start BERT Measurement. Starts a continuous bit error rate measurement. |
| BERT:STOP | Stop BERT Measurement. Stops an ongoing bit error rate measurement. |
| Command | What 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. |
| Command | What it does |
|---|---|
| BLER:STARt | Start BLER Measurement. Starts a continuous block error rate measurement. |
| BLER:STOP | Stop 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. |
| Command | What 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. |
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.
| Command | What 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. |
| Command | What 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. |
| Command | What 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. |
| Command | What it does |
|---|---|
| *TRG | Trigger Bus. Generates a bus trigger when the instrument is in wait-for-trigger state. |
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()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.
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).
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.
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.
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.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.