Radio Test Set · SCPI command comparison

Keysight E5515C vs Rohde & Schwarz CMW270: SCPI commands and remote control compared

In TestFlow's instrument library, the Keysight E5515C takes 172 SCPI commands, 96 of them queries, and the Rohde & Schwarz CMW270 takes 318 SCPI commands, 167 of them queries. That is 146 more on the CMW270. Counting distinct command headers (the command path without its arguments), 6 are accepted by both, 154 exist only on the E5515C, and 301 only on the CMW270. 4% of the E5515C's command headers also exist on the CMW270.

Both libraries have commands under CALL, SYSTem, FETCh, READ, INITiate, and ABORt. Only the E5515C has SETup, RFANalyzer, RFGenerator, DISPlay, and STATus. Only the CMW270 has CONFigure, SOURce, ROUTe, SENSe, STOP, and CALCulate.

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

TestFlow's library gives the E5515E the same command set as the E5515C, so the E5515C column applies to it too.

E5515C commands
172
CMW270 commands
318
Shared headers
6
Unique headers
455

Run this on your bench

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

Get started

E5515C vs CMW270 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 E5515CRohde & Schwarz CMW270
Commands in TestFlow's library172318
Queries (read a value or state)96167
Settings and actions76151
Subsystems1516
Distinct command headers160307
Headers the other lacks154301
Command languageSCPISCPI
Operation complete*OPC?*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command setE5515C, E5515ECMW270

Commands both accept

6 command headers are in both libraries.

CommandWhat it does
*IDN?Identify. Returns the identification string (manufacturer, model, serial number, 0).
*RSTReset. Resets the test set to its default state.
*CLSClear Status. Clears the status registers and closes the error message screen.
*ESR?Read Event Status. Reads and clears the standard event status register.
*OPC?Operation Complete. Returns 1 when all pending operations are complete.
*WAIWait To Continue. Waits until all pending operations are complete before continuing.

Only on the Keysight E5515C

154 command headers in the E5515C library have no match in the CMW270 library. Below are 24 of them from the 6 largest subsystems; the full list is in the Keysight E5515C command reference.

CALL (61 only on the E5515C)

CommandWhat it does
CALL:OPERating:MODE <Mode>Set Operating Mode. Sets the test set operating mode: Active Cell (CALL), GSM BCH or BCH+TCH test mode, GPRS BCH or BCH+PDTCH test mode, continuous wave (CW) or OFF.
CALL:OPERating:MODE?Read Operating Mode. Reads the test set operating mode: Active Cell (CALL), GSM BCH or BCH+TCH test mode, GPRS BCH or BCH+PDTCH test mode, continuous wave (CW) or OFF.
CALL:CELL:BAND <Band>Set Cell Band. Sets the band in which the broadcast channel (BCH) is transmitted.
CALL:CELL:BAND?Read Cell Band. Reads the band in which the broadcast channel (BCH) is transmitted.

SYSTem (28 only on the E5515C)

CommandWhat it does
SYSTem:APPLication:SELect:NAME '<Application>'Select Test Application. Selects the test application to run after reboot (name as shown in the Test Application Setup menu); the test set reboots in about 1 minute.
SYSTem:APPLication:SELect:NAME?Read Selected Test Application. Reads the test application that is selected and will run after the next reboot.
SYSTem:APPLication:CURRent:NAME?Read Current Application Name. Reads the name of the test application currently running.
SYSTem:APPLication:CURRent:REVision?Read Current Application Revision. Reads the revision of the test application currently running.

SETup (26 only on the E5515C)

CommandWhat it does
SETup:ALL:CONTinuous ONTurn On All Continuous Trigger. Sets the trigger arm of all measurements to continuous.
SETup:TXPower:CONTinuous ONTurn On TX Power Continuous. Sets the TX power measurement trigger arm to continuous.
SETup:TXPower:COUNt <Count>Set TX Power Count. Sets the TX power multi-measurement count (1 to 999) and turns the count state on.
SETup:TXPower:COUNt?Read TX Power Count. Reads the TX power multi-measurement count (1 to 999).

FETCh (15 only on the E5515C)

CommandWhat it does
FETCh:TXPower?Fetch TX Power. Fetches the integrity indicator and average transmit power in dBm.
FETCh:TXPower:POWer:AVERage?Fetch TX Power Average. Fetches the average TX power result in dBm.
FETCh:TXPower:POWer:MAXimum?Fetch TX Power Maximum. Fetches the maximum TX power result in dBm.
FETCh:TXPower:POWer:MINimum?Fetch TX Power Minimum. Fetches the minimum TX power result in dBm.

RFANalyzer (8 only on the E5515C)

CommandWhat it does
RFANalyzer:CONTrol:POWer:AUTO ONTurn On Analyzer Auto Power. Sets the receiver expected power control to automatic.
RFANalyzer:CONTrol:POWer:AUTO?Read Analyzer Auto Power State. Reads the on/off state set by Turn_On_Analyzer_Auto_Power / Turn_Off_Analyzer_Auto_Power.
RFANalyzer:CW:EXPected:POWer <Level>Set CW Expected Power. Sets the power level in dBm the mobile is expected to transmit in CW mode (-60 to +53 dBm).
RFANalyzer:CW:EXPected:POWer?Read CW Expected Power. Reads the power level in dBm the mobile is expected to transmit in CW mode (-60 to +53 dBm).

READ (5 only on the E5515C)

CommandWhat it does
READ:TXPower?Read TX Power. Initiates and fetches one TX power measurement (integrity indicator and average TX power in dBm).
READ:PFERror?Read PFER. Initiates and fetches one phase/frequency error measurement (integrity, RMS phase, peak phase, worst frequency error).
READ:PVTime?Read PVT. Initiates and fetches one power versus time measurement.
READ:ORFSpectrum?Read ORFS. Initiates and fetches one output RF spectrum measurement.

Only on the Rohde & Schwarz CMW270

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

CONFigure (162 only on the CMW270)

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 (37 only on the CMW270)

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 (34 only on the CMW270)

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 (15 only on the CMW270)

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.

ROUTe (10 only on the CMW270)

CommandWhat it does
ROUTe:GPRF:GENerator1:SCENario:SALone <Connector>,<Converter>Route Generator Standalone. Selects the RF output connector and TX module used for the generated RF signal.
ROUTe:GPRF:GENerator1:SCENario?Read Generator Scenario. Reads the active routing scenario of the GPRF generator.
ROUTe:GPRF:MEASurement1:SCENario:SALone <Connector>,<Converter>Route Measurement Standalone. Activates the standalone scenario and selects the RF input connector and RX module for the GPRF measurement.
ROUTe:GPRF:MEASurement1:SCENario:CSPath <Master>Route Measurement Combined Path. Activates the combined signal path scenario and selects the controlling signaling application, for example 'LTE Sig1'.

SENSe (9 only on the CMW270)

CommandWhat it does
SENSe:WLAN:SIGNaling1:STA1:UECapability:MAC:ADDRess?Read WLAN DUT MAC Address. Returns the MAC address of the associated DUT (station 1).
SENSe:WLAN:SIGNaling1:STA1:UESinfo:RXBPower?Read WLAN DUT Burst Power. Returns the average power of the last burst received from the DUT in dBm.
SENSe:WLAN:SIGNaling1:STA1:UESinfo:DRATe?Read WLAN DUT Data Rate. Returns data rate information of the DUT signal.
SENSe:WLAN:SIGNaling1:UESinfo:APSSid?Read WLAN Associated AP SSID. Returns the SSID of the associated access point (operation mode Station).

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: RFANalyzer:CONTrol:POWer:AUTO ON on the E5515C and SOURce:GPRF:GENerator1:STATe ON on the CMW270. For the reading, the two libraries have no common command with a worked example on both, so each instrument uses its own: RFANalyzer:CONTrol:MEASurement:FREQuency:AUTO? on the E5515C and CONFigure:GPRF:MEASurement1:RFSettings:FREQuency? on the CMW270. 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_E5515C_ADDRESS")  # Keysight E5515C
b = rm.open_resource("PASTE_CMW270_ADDRESS")  # Rohde & Schwarz CMW270
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("RFANalyzer:CONTrol:POWer:AUTO ON")  # Turn On Analyzer Auto Power
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("RFANalyzer:CONTrol:MEASurement:FREQuency:AUTO?"))  # Read Analyzer Auto Frequency 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 E5515C or Rohde & Schwarz CMW270 and writes the report from the measured results.

Get started

Frequently asked questions

What is the difference between the Keysight E5515C and the Rohde & Schwarz CMW270 for remote control?

In TestFlow's library the E5515C has 172 SCPI commands and the CMW270 has 318 SCPI commands. 6 command headers are common to both, 154 are only on the E5515C (mostly CALL and SYSTem), and 301 are only on the CMW270 (mostly CONFigure and SOURce).

Can I use the same SCPI code for the Keysight E5515C and the Rohde & Schwarz CMW270?

Partly. 6 command headers are accepted by both. 455 are not, for example CALL:OPERating:MODE on the E5515C and CONFigure:GPRF:MEASurement1:RFSettings:FREQuency on the CMW270, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the E5515C or the CMW270?

The CMW270: 172 commands for the E5515C against 318 for the CMW270 in TestFlow's library. Of those, 96 on the E5515C and 167 on the CMW270 are queries that read a value or state, and the library splits them into 15 and 16 subsystems.

How do the E5515C and CMW270 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.