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.
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.
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 MT8820C | Keysight E5515C | |
|---|---|---|
| Commands in TestFlow's library | 191 | 172 |
| Queries (read a value or state) | 48 | 96 |
| Settings and actions | 143 | 76 |
| Subsystems | 118 | 15 |
| Distinct command headers | 111 | 160 |
| Headers the other lacks | 110 | 159 |
| Command language | SCPI | SCPI |
| Operation complete | Not in library | *OPC? |
| Error queue | Not in library | SYSTem:ERRor? |
| Models on this command set | MT8820C | E5515C, E5515E |
1 command header is in both libraries.
| Command | What it does |
|---|---|
| *RST | Reset. Resets the instrument to its default state. |
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.
| Command | What it does |
|---|---|
| CALLPROC ON | Turn 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). |
| Command | What 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. |
| Command | What it does |
|---|---|
| TPUT_MEAS ON | Turn On Throughput Measurement. Sets the Throughput measurement to ON. |
| TPUT? PER | Read Throughput Percent. Reads the throughput measurement result in %. |
| Command | What it does |
|---|---|
| ACLR_AVG <Count> | Set ACLR Average Count. Sets the average count of the ACLR measurement. |
| Command | What it does |
|---|---|
| ACT_SCC1 ON | Turn On SCC1 Activation. Activates SCC-1 (Call Processing Parameter - Carrier Aggregation). |
| Command | What it does |
|---|---|
| ALLMEASITEMS_OFF | Turn Off All Measurement Items. Sets all fundamental measurement items to OFF. |
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.
| Command | What 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. |
| Command | What 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. |
| Command | What it does |
|---|---|
| SETup:ALL:CONTinuous ON | Turn On All Continuous Trigger. Sets the trigger arm of all measurements to continuous. |
| SETup:TXPower:CONTinuous ON | Turn 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). |
| Command | What 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. |
| Command | What it does |
|---|---|
| RFANalyzer:CONTrol:POWer:AUTO ON | Turn 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). |
| Command | What it does |
|---|---|
| *IDN? | Identify. Returns the identification string (manufacturer, model, serial number, 0). |
| *CLS | Clear 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. |
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()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.
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).
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.
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.
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.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.