Radio Test Set · SCPI command comparison

Keysight E7515B vs Rohde & Schwarz CMW500: SCPI commands and remote control compared

In TestFlow's instrument library, the Keysight E7515B takes 109 SCPI commands, 15 of them queries, and the Rohde & Schwarz CMW500 takes 300 SCPI commands, 157 of them queries. That is 191 more on the CMW500. Counting distinct command headers (the command path without its arguments), 2 are accepted by both, 93 exist only on the E7515B, and 283 only on the CMW500. 2% of the E7515B's command headers also exist on the CMW500.

Both libraries have commands under SYSTem. Only the E7515B has BSE and DISPlay. Only the CMW500 has CONFigure, SOURce, FETCh, READ, ROUTe, and INITiate and 5 more.

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

TestFlow's library gives the E7515P and E7515R the same command set as the E7515B, so the E7515B column applies to them too.

E7515B commands
109
CMW500 commands
300
Shared headers
2
Unique headers
376

Run this on your bench

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

Get started

E7515B vs CMW500 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.

Keysight E7515BRohde & Schwarz CMW500
Commands in TestFlow's library109300
Queries (read a value or state)15157
Settings and actions94143
Subsystems716
Distinct command headers95285
Headers the other lacks93283
Command languageSCPISCPI
Operation complete*OPC?*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command setE7515B, E7515P, E7515RCMW500

Commands both accept

2 command headers are in both libraries.

CommandWhat it does
*IDN?Identify. Returns the test application identification string.
*OPC?Operation Complete. Returns 1 when all pending operations are complete.

Only on the Keysight E7515B

93 command headers in the E7515B library have no match in the CMW500 library. Below are 9 of them from the 3 largest subsystems; the full list is in the Keysight E7515B command reference.

BSE (87 only on the E7515B)

CommandWhat it does
BSE:SELected:CELL <RAT>,<Cell>Select Cell. Selects the active cell shown/controlled in the test application.
BSE:CONFig:<RAT>:CELL:COUNt?Read Cell Count. Returns the number of LTE or NR cells supported by the current configuration.
BSE:CONFig:<RAT>:<Cell>:ACTive:STATe 1Turn On Cell. Turns the selected LTE or NR cell on.
BSE:CONFig:<RAT>:<Cell>:ACTive:STATe?Read Cell Active State. Returns 1 if the cell is on, 0 if off.

SYSTem (5 only on the E7515B)

CommandWhat it does
SYSTem:PRESet:FULLFull Preset. Performs a full preset of the UXM 5G test application settings.
SYSTem:SCPI:IMPort '<File>'Import SCPI File. Imports and runs a saved SCPI configuration file in the test application.
SYSTem:SCPI:IMPort:STATus?Read SCPI Import Status. Returns 1 while a SCPI file import is still in progress, 0 when finished.
SYSTem:IMS:SERVer:UE:DERegisterIMS Deregister UE. De-registers the UE from the internal IMS server.

DISPlay (1 only on the E7515B)

CommandWhat it does
DISPlay:<RAT> <Tab>,<Subtab>Select Display Tab. Selects the display tab and sub-tab (e.g. PHY,PDSCH or BTHR,SUMMARY) for the selected cell.

Only on the Rohde & Schwarz CMW500

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

CONFigure (150 only on the CMW500)

CommandWhat it does
CONFigure:GPRF:MEASurement1:RFSettings:FREQuency <Freq>Set Analyzer Frequency. Sets the center frequency of the RF analyzer in Hz.
CONFigure:GPRF:MEASurement1:RFSettings:FREQuency?Read Analyzer Frequency. Reads the center frequency of the RF analyzer in Hz.
CONFigure:GPRF:MEASurement1:RFSettings:ENPower <Power>Set Analyzer Expected Power. Sets the expected nominal power of the measured RF signal in dBm.
CONFigure:GPRF:MEASurement1:RFSettings:ENPower?Read Analyzer Expected Power. Reads the expected nominal power of the measured RF signal in dBm.

SOURce (47 only on the CMW500)

CommandWhat it does
SOURce:GPRF:GENerator1:STATe ONTurn On Generator. Turns the GPRF RF generator on.
SOURce:GPRF:GENerator1:STATe?Read Generator State. Reads the generator state (OFF / PENDing / ON / RDY).
SOURce:GPRF:GENerator1:STATe:ALL?Read Generator State All. Reads detailed generator state information including the main state and the synchronization state.
SOURce:GPRF:GENerator1:BBMode <Mode>Set Generator Baseband Mode. Selects the baseband mode of the generator signal: unmodulated CW, dual tone, or ARB waveform playback.

FETCh (29 only on the CMW500)

CommandWhat it does
FETCh:GPRF:MEASurement1:POWer:STATe?Read Power Measurement State. Reads the main state of the power measurement (OFF / RUN / RDY).
FETCh:GPRF:MEASurement1:POWer:STATe:ALL?Read Power Measurement State All. Reads the detailed power measurement state including the main state and the synchronization state.
FETCh:GPRF:MEASurement1:POWer:CURRent?Fetch Power Current. Fetches the current power results of all measured segments in dBm without restarting the measurement.
FETCh:GPRF:MEASurement1:POWer:CURRent:RMS?Fetch Power Current RMS. Fetches the current RMS power results in dBm.

SYSTem (11 only on the CMW500)

CommandWhat it does
SYSTem:BASE:REFerence:FREQuency:SOURce <Source>Set Reference Frequency Source. Selects the internal or an external reference frequency source for the instrument.
SYSTem:BASE:REFerence:FREQuency:SOURce?Read Reference Frequency Source. Reads the selected reference frequency source.
SYSTem:BASE:REFerence:FREQuency <Freq>Set External Reference Frequency. Sets the expected external reference frequency in Hz when the external reference source is selected.
SYSTem:BASE:REFerence:FREQuency?Read External Reference Frequency. Reads the expected external reference frequency in Hz.

READ (8 only on the CMW500)

CommandWhat it does
READ:GPRF:MEASurement1:POWer:CURRent?Read Power Current. Starts the measurement and returns the current power results of all measured segments in dBm.
READ:GPRF:MEASurement1:POWer:CURRent:RMS?Read Power Current RMS. Starts the measurement and returns the current RMS power results in dBm.
READ:GPRF:MEASurement1:POWer:AVERage?Read Power Average. Starts the measurement and returns the average power results of all measured segments in dBm.
READ:GPRF:MEASurement1:POWer:SDEViation?Read Power Standard Deviation. Starts the measurement and returns the standard deviation of the power results in dB.

ABORt (7 only on the CMW500)

CommandWhat it does
ABORt:GPRF:MEASurement1:POWerAbort Power Measurement. Halts the power measurement and puts it into the OFF state; all results are set to NAV.
ABORt:GPRF:MEASurement1:FFTSanalyzerAbort FFT Measurement. Halts the FFT measurement and clears all results.
ABORt:GPRF:MEASurement1:SPECtrumAbort Spectrum Measurement. Halts the spectrum measurement and clears all results.
ABORt:GPRF:MEASurement1:IQVSlotAbort IQVSlot Measurement. Halts the I/Q vs slot measurement and clears all results.

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, the two libraries have no common command with a worked example on both, so each instrument uses its own: BSE:CONFig:NR5G:PHY:OPTimize:CONTiguous:STATe 1 on the E7515B and SOURce:GPRF:GENerator1:STATe ON on the CMW500. For the reading, the two libraries have no common command with a worked example on both, so each instrument uses its own: BSE:MEASure:NR5G:CELL1:L1:RSRPower:STATe? on the E7515B and CONFigure:GPRF:MEASurement1:RFSettings:FREQuency? on the CMW500. 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_E7515B_ADDRESS")  # Keysight E7515B
b = rm.open_resource("PASTE_CMW500_ADDRESS")  # Rohde & Schwarz CMW500
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

# No shared setting with an example on both, so each uses its own command
a.write("BSE:CONFig:NR5G:PHY:OPTimize:CONTiguous:STATe 1")  # Turn On NR Contiguous Optimization
b.write("SOURce:GPRF:GENerator1:STATe ON")  # Turn On Generator

# No shared reading with an example on both, so each uses its own command
print(a.query("BSE:MEASure:NR5G:CELL1:L1:RSRPower:STATe?"))  # Read NR RSRP Measurement State
print(b.query("CONFigure:GPRF:MEASurement1:RFSettings:FREQuency?"))  # Read Analyzer Frequency

a.close()
b.close()

Run this on your bench

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

Get started

Frequently asked questions

What is the difference between the Keysight E7515B and the Rohde & Schwarz CMW500 for remote control?

In TestFlow's library the E7515B has 109 SCPI commands and the CMW500 has 300 SCPI commands. 2 command headers are common to both, 93 are only on the E7515B (mostly BSE and SYSTem), and 283 are only on the CMW500 (mostly CONFigure and SOURce).

Can I use the same SCPI code for the Keysight E7515B and the Rohde & Schwarz CMW500?

Partly. 2 command headers are accepted by both. 376 are not, for example BSE:SELected:CELL on the E7515B and CONFigure:GPRF:MEASurement1:RFSettings:FREQuency on the CMW500, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the E7515B or the CMW500?

The CMW500: 109 commands for the E7515B against 300 for the CMW500 in TestFlow's library. Of those, 15 on the E7515B and 157 on the CMW500 are queries that read a value or state, and the library splits them into 7 and 16 subsystems.

How do the E7515B and CMW500 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.