In TestFlow's instrument library, the Keysight E7515B takes 109 SCPI commands, 15 of them queries, and the Rohde & Schwarz CMX500 takes 266 SCPI commands, 104 of them queries. That is 157 more on the CMX500. Counting distinct command headers (the command path without its arguments), 3 are accepted by both, 92 exist only on the E7515B, and 238 only on the CMX500. 3% of the E7515B's command headers also exist on the CMX500.
Both libraries have commands under SYSTem. Only the E7515B has BSE and DISPlay. Only the CMX500 has CONFigure, FETCh, SOURce, CATalog, CREate, and PROCedure and 10 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.
Describe the test; TestFlow's agent uses these command sets to drive your Keysight E7515B or Rohde & Schwarz CMX500 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.
| Keysight E7515B | Rohde & Schwarz CMX500 | |
|---|---|---|
| Commands in TestFlow's library | 109 | 266 |
| Queries (read a value or state) | 15 | 104 |
| Settings and actions | 94 | 162 |
| Subsystems | 7 | 21 |
| Distinct command headers | 95 | 241 |
| Headers the other lacks | 92 | 238 |
| Command language | SCPI | SCPI |
| Operation complete | *OPC? | *OPC? |
| Error queue | SYSTem:ERRor? | SYSTem:ERRor? |
| Models on this command set | E7515B, E7515P, E7515R | CMX500 |
3 command headers are in both libraries.
| Command | What it does |
|---|---|
| SYSTem:ERRor? | Read Error. Reads and removes the oldest entry in the error queue. |
| *IDN? | Identify. Returns the test application identification string. |
| *OPC? | Operation Complete. Returns 1 when all pending operations are complete. |
92 command headers in the E7515B library have no match in the CMX500 library. Below are 9 of them from the 3 largest subsystems; the full list is in the Keysight E7515B command reference.
| Command | What 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 1 | Turn 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. |
| Command | What it does |
|---|---|
| SYSTem:PRESet:FULL | Full 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:DERegister | IMS Deregister UE. De-registers the UE from the internal IMS server. |
| Command | What 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. |
238 command headers in the CMX500 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 CMX500 command reference.
| Command | What it does |
|---|---|
| CONFigure:SIGNaling:TOPology:PLMN:MCC <PLMN_Name>, <MCC> | Set PLMN MCC. Configures the mobile country code (MCC) of the selected PLMN. |
| CONFigure:SIGNaling:TOPology:PLMN:MCC? <PLMN_Name> | Query PLMN MCC. Queries the mobile country code (MCC) of the selected PLMN. |
| CONFigure:SIGNaling:TOPology:PLMN:MNC <PLMN_Name>, <MNC> | Set PLMN MNC. Configures the mobile network code (MNC) of the selected PLMN. |
| CONFigure:SIGNaling:TOPology:PLMN:MNC? <PLMN_Name> | Query PLMN MNC. Queries the mobile network code (MNC) of the selected PLMN. |
| Command | What it does |
|---|---|
| FETCh:SIGNaling:TOPology:CNETwork:STATe? | Query Core Network State. Queries the state of the core network including the edit mode and live mode states. |
| FETCh:SIGNaling:TOPology:EPS:UE:STATe? <UE_ID> | Query EPS UE State. Queries the registration state of the UE in the EPS tracking areas. |
| FETCh:SIGNaling:TOPology:FGS:UE:STATe? <UE_ID> | Query 5GS UE State. Queries the registration state of the UE in the 5GS tracking areas. |
| FETCh:SIGNaling:NRADio:CELL:POWer:CONTrol:STATe? <Cell_Name> | Query NR Power Control State. Queries whether a TPC power control procedure is running (RUN) or complete (RDY) for the initial bandwidth part. |
| Command | What it does |
|---|---|
| SOURce:SIGNaling:NRADio:CELL:STATe <Cell_Name>, ON | Turn On NR Cell. Turns the signal of the selected NR cell on. |
| SOURce:SIGNaling:NRADio:CELL:STATe? <Cell_Name> | Query NR Cell State. Queries whether the signal of the selected NR cell is on or off. |
| SOURce:SIGNaling:LTE:CELL:STATe <Cell_Name>, ON | Turn On LTE Cell. Turns the signal of the selected LTE cell on. |
| SOURce:SIGNaling:LTE:CELL:STATe? <Cell_Name> | Query LTE Cell State. Queries whether the signal of the selected LTE cell is on or off. |
| Command | What it does |
|---|---|
| SYSTem:BASE:DEVice:SETup? | Query Device Setup. Queries the assignment of hardware resources to the sub-instruments of the test set. |
| SYSTem:BASE:DEVice:RESet | Reset Device. Resets the addressed device (channel) of the test set to its initial state. |
| SYSTem:BASE:DEVice:COUNt <Count> | Set Device Count. Splits the instrument into the given number of channels (sub-instruments); a reboot is performed automatically. |
| SYSTem:BASE:DEVice:COUNt? | Query Device Count. Queries the number of channels (sub-instruments) the instrument is split into. |
| Command | What it does |
|---|---|
| CATalog:SIGNaling:TOPology:PLMN? | Query PLMN Catalog. Queries a list of all created PLMNs. |
| CATalog:SIGNaling:TOPology:EPS? <PLMN_Name> | Query EPS Tracking Areas. Queries a list of all EPS tracking areas; the query can be restricted to a selected PLMN. |
| CATalog:SIGNaling:TOPology:FGS? <PLMN_Name> | Query 5GS Tracking Areas. Queries a list of all 5GS tracking areas; the query can be restricted to a selected PLMN. |
| CATalog:SIGNaling:NRADio:CELL? | Query NR Cell Catalog. Queries a list of all NR cells. |
| Command | What it does |
|---|---|
| CREate:SIGNaling:TOPology:PLMN <PLMN_Name>, <MCC>, <MNC> | Create PLMN. Creates a PLMN with the given unique name and optionally defines its mobile country code and mobile network code. |
| CREate:SIGNaling:TOPology:EPS <TA_Name>, <PLMN_Name>, <TAC> | Create EPS Tracking Area. Creates an EPS (LTE) tracking area in the selected PLMN and optionally defines its tracking area code. |
| CREate:SIGNaling:TOPology:FGS <TA_Name>, <PLMN_Name>, <TAC> | Create 5GS Tracking Area. Creates a 5GS (5G NR) tracking area in the selected PLMN and optionally defines its tracking area code. |
| CREate:SIGNaling:TOPology:CNETwork | Create Core Network. Creates the core network and switches from edit mode to live mode; this action can take several minutes. |
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 CONFigure:SIGNaling:TMODe ON on the CMX500. For the reading, both libraries hold SYSTem:ERRor? (read error), 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_E7515B_ADDRESS") # Keysight E7515B
b = rm.open_resource("PASTE_CMX500_ADDRESS") # Rohde & Schwarz CMX500
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("CONFigure:SIGNaling:TMODe ON") # Turn On UE Test Mode
# The same reading on both: Read Error
print(a.query("SYSTem:ERRor?"))
print(b.query("SYSTem:ERRor?"))
a.close()
b.close()Describe the test; TestFlow's agent uses these command sets to drive your Keysight E7515B or Rohde & Schwarz CMX500 and writes the report from the measured results.
In TestFlow's library the E7515B has 109 SCPI commands and the CMX500 has 266 SCPI commands. 3 command headers are common to both, 92 are only on the E7515B (mostly BSE and SYSTem), and 238 are only on the CMX500 (mostly CONFigure and FETCh).
Partly. 3 command headers are accepted by both, including SYSTem:ERRor?. 330 are not, for example BSE:SELected:CELL on the E7515B and CONFigure:SIGNaling:TOPology:PLMN:MCC on the CMX500, so a script that uses those needs a separate branch for each instrument.
The CMX500: 109 commands for the E7515B against 266 for the CMX500 in TestFlow's library. Of those, 15 on the E7515B and 104 on the CMX500 are queries that read a value or state, and the library splits them into 7 and 21 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.