Radio Test Set · SCPI command comparison

Anritsu MT8820C vs Keysight E5515C: SCPI commands and remote control compared

In TestFlow's instrument library, the Anritsu MT8820C takes 191 SCPI commands, 48 of them queries, and the Keysight E5515C takes 172 SCPI commands, 96 of them queries. That is 19 more on the MT8820C. Counting distinct command headers (the command path without its arguments), 1 are accepted by both, 110 exist only on the MT8820C, and 159 only on the E5515C. 1% of the MT8820C's command headers also exist on the E5515C.

Both libraries have commands under CALLPROC. Only the MT8820C has TPUT_MEAS, DLIMCS, TP_MAXPWR_UL, TP_MAXPWR_LL, TP_MINPWR_UL, and TP_OFFPWR_UL and 100 more. Only the E5515C has SYSTem, SETup, FETCh, RFANalyzer, READ, and INITiate and 4 more.

Only the E5515C library has an operation-complete command (*OPC?); the MT8820C library has none. Only the E5515C library has an error-queue read (SYSTem:ERRor?); the MT8820C library has none.

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

MT8820C commands
191
E5515C commands
172
Shared headers
1
Unique headers
269

Run this on your bench

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

Get started

MT8820C vs E5515C 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.

Anritsu MT8820CKeysight E5515C
Commands in TestFlow's library191172
Queries (read a value or state)4896
Settings and actions14376
Subsystems11815
Distinct command headers111160
Headers the other lacks110159
Command languageSCPISCPI
Operation completeNot in library*OPC?
Error queueNot in librarySYSTem:ERRor?
Models on this command setMT8820CE5515C, E5515E

Commands both accept

1 command header is in both libraries.

CommandWhat it does
*RSTReset. Resets the instrument to its default state.

Only on the Anritsu MT8820C

110 command headers in the MT8820C library have no match in the E5515C library. Below are 9 of them from the 6 largest subsystems; the full list is in the Anritsu MT8820C command reference.

CALLPROC (2 only on the MT8820C)

CommandWhat it does
CALLPROC ONTurn On Call Processing. Sets Common Parameter - Call Processing to ON.
CALLSTAT?Read Call Status. Reads the call processing status (1 = Idle, 2 = Idle (Regist), 6 = Connected).

ENTERSYNC (2 only on the MT8820C)

CommandWhat it does
ENTERSYNC <Mode>Set Frame Sync. Sets frame timing synchronization between cells/units.
ENTERSYNC?Read Frame Sync. Returns 1 when frame timing synchronization is established.

TPUT_MEAS (2 only on the MT8820C)

CommandWhat it does
TPUT_MEAS ONTurn On Throughput Measurement. Sets the Throughput measurement to ON.
TPUT? PERRead Throughput Percent. Reads the throughput measurement result in %.

ACLR_AVG (1 only on the MT8820C)

CommandWhat it does
ACLR_AVG <Count>Set ACLR Average Count. Sets the average count of the ACLR measurement.

ACT_SCC1 (1 only on the MT8820C)

CommandWhat it does
ACT_SCC1 ONTurn On SCC1 Activation. Activates SCC-1 (Call Processing Parameter - Carrier Aggregation).

ALLMEASITEMS_OFF (1 only on the MT8820C)

CommandWhat it does
ALLMEASITEMS_OFFTurn Off All Measurement Items. Sets all fundamental measurement items to OFF.

Only on the Keysight E5515C

159 command headers in the E5515C library have no match in the MT8820C 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).

IEEE 488.2 common (*) (6 only on the E5515C)

CommandWhat it does
*IDN?Identify. Returns the identification string (manufacturer, model, serial number, 0).
*CLSClear Status. Clears the status registers and closes the error message screen.
*OPT?Read Options. Returns the installed options.
*ESR?Read Event Status. Reads and clears the standard event status register.

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: ANTCONFIG RX_DIVERSITY on the MT8820C and RFANalyzer:CONTrol:POWer:AUTO ON on the E5515C. For the reading, the two libraries have no common command with a worked example on both, so each instrument uses its own: ENTERSYNC? on the MT8820C and RFANalyzer:CONTrol:MEASurement:FREQuency:AUTO? on the E5515C. 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_MT8820C_ADDRESS")  # Anritsu MT8820C
b = rm.open_resource("PASTE_E5515C_ADDRESS")  # Keysight E5515C
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("ANTCONFIG RX_DIVERSITY")  # Set Antenna Configuration
b.write("RFANalyzer:CONTrol:POWer:AUTO ON")  # Turn On Analyzer Auto Power

# No shared reading with an example on both, so each uses its own command
print(a.query("ENTERSYNC?"))  # Read Frame Sync
print(b.query("RFANalyzer:CONTrol:MEASurement:FREQuency:AUTO?"))  # Read Analyzer Auto Frequency State

a.close()
b.close()

Run this on your bench

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

Get started

Frequently asked questions

What is the difference between the Anritsu MT8820C and the Keysight E5515C for remote control?

In TestFlow's library the MT8820C has 191 SCPI commands and the E5515C has 172 SCPI commands. 1 command headers are common to both, 110 are only on the MT8820C (mostly CALLPROC and ENTERSYNC), and 159 are only on the E5515C (mostly CALL and SYSTem).

Can I use the same SCPI code for the Anritsu MT8820C and the Keysight E5515C?

Partly. 1 command headers are accepted by both. 269 are not, for example CALLPROC on the MT8820C and CALL:OPERating:MODE on the E5515C, so a script that uses those needs a separate branch for each instrument.

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

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

How do the MT8820C and E5515C signal operation complete and report errors?

Only the E5515C library has an operation-complete command (*OPC?); the MT8820C library has none. Only the E5515C library has an error-queue read (SYSTem:ERRor?); the MT8820C library has none. 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.