Radio Test Set · SCPI command reference

Anritsu MT8821C SCPI commands

The Anritsu MT8821C radio test set is controlled remotely with SCPI commands. TestFlow's instrument library holds 203 commands for it, 48 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the MT8821C on a real bench.

Commands
203
Queries
48
Subsystems
118
Models covered
1

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Anritsu MT8821C and writes the report from the measured results.

Get started

Control the Anritsu MT8821C from Python

With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find the Anritsu MT8821C's VISA address

# Paste the address of your Anritsu MT8821C (USB, LAN or GPIB).
inst = rm.open_resource("PASTE_VISA_ADDRESS_HERE")
inst.timeout = 5000  # ms

print(inst.query("*IDN?"))  # identify the instrument
inst.write("ANTCONFIG RX_DIVERSITY")  # Set Antenna Configuration
print(inst.query("ENTERSYNC?"))  # Read Frame Sync

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Anritsu MT8821C and writes the report from the measured results.

Get started

Run a MT8821C test without writing code

Describe the test in a sentence, for example “set antenna configuration on the MT8821C, then read frame sync and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.

Get started

SCPI command reference

203 commands in 118 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.

TPUT subsystem (9)

CommandWhat it doesArguments
TPUT_MEAS ONTurn On Throughput Measurement. Sets the Throughput measurement to ON.None
TPUT_MEAS OFFTurn Off Throughput Measurement. Sets the Throughput measurement to OFF.None
TPUT_SAMPLE <Samples>Set Throughput Samples. Sets Rx Measurement Parameter - Throughput - Number of Samples.Number
TPUT_EARLY ONTurn On Throughput Early Decision. Sets Throughput - Early Decision to On.None
TPUT_EARLY_TARCC <Target>Set Throughput Early Decision Target. Sets the target CC for throughput early decision.Text: PCC_SCC
TPUT? PERRead Throughput Percent. Reads the throughput measurement result in %.None
TPUT? <CC>Read Throughput CC. Reads the throughput measurement result for the given CC.Text: PCC,SCC1,SCC2,SCC3
TPUT_BLERCNTNACK? <CC>Read BLER Count NACK. Reads the throughput error count (NACK) for the given CC.Text: PCC,SCC1,SCC2,SCC3
TPUT_BLERCNTDTX? <CC>Read BLER Count DTX. Reads the throughput error count (DTX) for the given CC.Text: PCC,SCC1,SCC2,SCC3

DLIMCS subsystem (8)

CommandWhat it doesArguments
DLIMCS <MCS>Set DL MCS Index. Sets Common Parameter - DL RMC - MCS Index 1/2/3 together.Number
DLIMCS1 <MCS>Set DL MCS Index1. Sets Common Parameter - DL RMC - MCS Index 1.Number
DLIMCS2 <MCS>Set DL MCS Index2. Sets Common Parameter - DL RMC - MCS Index 2.Number
DLIMCS3 <MCS>Set DL MCS Index3. Sets Common Parameter - DL RMC - MCS Index 3.Number
DLIMCS4 <MCS>Set DL MCS Index4. Sets Common Parameter - DL RMC - MCS Index 4.Number
DLIMCS1_SCC1 <MCS>Set SCC1 DL MCS Index1. Sets the SCC-1 DL RMC MCS Index 1.Number
DLIMCS1_SCC2 <MCS>Set SCC2 DL MCS Index1. Sets the SCC-2 DL RMC MCS Index 1.Number
DLIMCS1_SCC3 <MCS>Set SCC3 DL MCS Index1. Sets the SCC-3 DL RMC MCS Index 1.Number

OLVL subsystem (6)

CommandWhat it doesArguments
OLVL <Level>Set Output Level. Sets Common Parameter - Output Level in dBm.Number
OLVL_EPRE <Level>Set Output Level EPRE. Sets Common Parameter - Level - Output Level (EPRE) in dBm/15 kHz.Number
OLVL_EPRE_SCC1 <Level>Set SCC1 Output Level EPRE. Sets the SCC-1 Output Level (EPRE) in dBm/15 kHz.Number
OLVL_EPRE_SCC2 <Level>Set SCC2 Output Level EPRE. Sets the SCC-2 Output Level (EPRE) in dBm/15 kHz.Number
OLVL_EPRE_SCC3 <Level>Set SCC3 Output Level EPRE. Sets the SCC-3 Output Level (EPRE) in dBm/15 kHz.Number
OLVL_SCC1 <Level>Set SCC1 Output Level. Sets the SCC-1 Output Level (Total) in dBm.Number

TP subsystem (6)

CommandWhat it doesArguments
TP_MAXPWR_UL <Limit>Set Max Power Upper Limit. Sets TX1 - Max. Power (QPSK/1RB/PartialRB) Pass/Fail upper limit in dBm.Number
TP_MAXPWR_LL <Limit>Set Max Power Lower Limit. Sets TX1 - Max. Power (QPSK/1RB/PartialRB) Pass/Fail lower limit in dBm.Number
TP_MINPWR_UL <Limit>Set Min Power Upper Limit. Sets TX1 - Min. Power Pass/Fail upper limit in dBm.Number
TP_OFFPWR_UL <Limit>Set Off Power Upper Limit. Sets TX2 - General Time Mask Off Power Pass/Fail upper limit in dBm.Number
TP_ACLR_E <Limit>Set ACLR EUTRA Limit. Sets the E-UTRA ACLR Pass/Fail limit in dB.Number
TP_PCTABS_TOL <Tolerance>Set Absolute Power Tolerance. Sets TX3 - Absolute Power (Test Point 1) Pass/Fail tolerance in dB.Number

BANDWIDTH subsystem (5)

CommandWhat it doesArguments
BANDWIDTH <Bandwidth>Set Channel Bandwidth. Sets Common Parameter - Frequency - Channel Bandwidth.Text: 5MHZ,10MHZ,15MHZ,20MHZ
BANDWIDTH_PCC <Bandwidth>Set PCC Bandwidth. Sets the PCC channel bandwidth.Text: 5MHZ,10MHZ,15MHZ,20MHZ
BANDWIDTH_SCC1 <Bandwidth>Set SCC1 Bandwidth. Sets the SCC-1 channel bandwidth.Text: 5MHZ,10MHZ,15MHZ,20MHZ
BANDWIDTH_SCC2 <Bandwidth>Set SCC2 Bandwidth. Sets the SCC-2 channel bandwidth.Text: 5MHZ,10MHZ,15MHZ,20MHZ
BANDWIDTH_SCC3 <Bandwidth>Set SCC3 Bandwidth. Sets the SCC-3 channel bandwidth.Text: 5MHZ,10MHZ,15MHZ,20MHZ

ULRMC subsystem (5)

CommandWhat it doesArguments
ULRMC_RB <RB>Set UL RMC Number Of RB. Sets Common Parameter - UL RMC - Number of RB.Number
ULRMC_MOD <Modulation>Set UL RMC Modulation. Sets Common Parameter - UL RMC - Modulation.Text: QPSK,16QAM
ULRMC_RB_PCC <RB>Set PCC UL RMC Number Of RB. Sets the PCC UL RMC Number of RB.Number
ULRMC_RB_SCC1 <RB>Set SCC1 UL RMC Number Of RB. Sets the SCC-1 UL RMC Number of RB.Number
ULRMC_MOD_SCC1 <Modulation>Set SCC1 UL RMC Modulation. Sets the SCC-1 UL RMC modulation.Text: QPSK,16QAM

DLCHAN subsystem (4)

CommandWhat it doesArguments
DLCHAN <Channel>Set DL Channel. Sets Common Parameter - Frequency - DL Channel; the UL channel is set simultaneously.Number
DLCHAN_SCC1 <Channel>Set SCC1 DL Channel. Sets the SCC-1 DL channel.Number
DLCHAN_SCC2 <Channel>Set SCC2 DL Channel. Sets the SCC-2 DL channel.Number
DLCHAN_SCC3 <Channel>Set SCC3 DL Channel. Sets the SCC-3 DL channel.Number

ULRB subsystem (4)

CommandWhat it doesArguments
ULRB_START <RB>Set UL RB Start. Sets Common Parameter - UL RMC - Starting RB.Number
ULRB_POS <Position>Set UL RB Position. Sets the UL RB position.Text: MIN,MAX
ULRB_START_PCC <RB>Set PCC UL RB Start. Sets the PCC UL RMC Starting RB.Number
ULRB_START_SCC1 <RB>Set SCC1 UL RB Start. Sets the SCC-1 UL RMC Starting RB.Number

DLRB subsystem (4)

CommandWhat it doesArguments
DLRB <RB>,<Start_RB>Set DL RB Allocation. Sets DL RMC - Number of RB and Starting RB.Number; Number
DLRB_SCC1 <RB>,<Start_RB>Set SCC1 DL RB Allocation. Sets the SCC-1 DL RMC Number of RB and Starting RB.Number; Number
DLRB_SCC2 <RB>,<Start_RB>Set SCC2 DL RB Allocation. Sets the SCC-2 DL RMC Number of RB and Starting RB.Number; Number
DLRB_SCC3 <RB>,<Start_RB>Set SCC3 DL RB Allocation. Sets the SCC-3 DL RMC Number of RB and Starting RB.Number; Number

ACT subsystem (4)

CommandWhat it doesArguments
ACT_SCC1 ONTurn On SCC1 Activation. Activates SCC-1 (Call Processing Parameter - Carrier Aggregation).None
ACT_SCC1 OFFTurn Off SCC1 Activation. Deactivates SCC-1.None
ACT_SCC2 ONTurn On SCC2 Activation. Activates SCC-2.None
ACT_SCC2 OFFTurn Off SCC2 Activation. Deactivates SCC-2.None

MEASREP subsystem (4)

CommandWhat it doesArguments
MEASREP ONTurn On Measurement Report. Requests periodic UE measurement reports.None
MEASREP OFFTurn Off Measurement Report. Stops UE measurement reports.None
MEASREP_ONCERequest UE Report Once. Requests a UE measurement report only once.None
MEASREP_INTVAL <ms>Set UE Report Interval. Sets the UE report interval in ms.Number

OBW subsystem (4)

CommandWhat it doesArguments
OBW_MEAS ONTurn On Occupied Bandwidth Measurement. Sets the Occupied Bandwidth measurement to ON.None
OBW_MEAS OFFTurn Off Occupied Bandwidth Measurement. Sets the Occupied Bandwidth measurement to OFF.None
OBW_AVG <Count>Set OBW Average Count. Sets the average count of the OBW measurement.Number
OBW?Read Occupied Bandwidth. Reads the Occupied Bandwidth result.None

BER subsystem (4)

CommandWhat it doesArguments
BER_MEAS ONTurn On Bit Error Rate Measurement. Sets the Bit Error Rate measurement to ON.None
BER_MEAS OFFTurn Off Bit Error Rate Measurement. Sets the Bit Error Rate measurement to OFF.None
BER_SAMPLE <Bits>Set BER Samples. Sets the number of sample bits for the BER measurement.Number
BER?Read BER. Reads the BER measurement result.None

AVG subsystem (4)

CommandWhat it doesArguments
AVG_POWER?Read WCDMA Average Power. Reads the averaged TX power result (W-CDMA/GSM).None
AVG_EVM?Read WCDMA Average EVM. Reads the averaged EVM result (W-CDMA).None
AVG_TXPWR?Read WCDMA Average TX Power. Reads the averaged TX power result (GSM).None
AVG_FILTPWR?Read WCDMA Average Filtered Power. Reads the averaged filtered power result as Power1 (W-CDMA).None

TDDULDLCONF subsystem (3)

CommandWhat it doesArguments
TDDULDLCONF <Config>Set TDD UL DL Configuration. Sets the TDD Uplink/Downlink Configuration.Number: 0,1,2,3,4,5,6
TDDULDLCONF_PCC <Config>Set PCC TDD UL DL Configuration. Sets the PCC TDD Uplink/Downlink Configuration.Number: 0,1,2,3,4,5,6
TDDULDLCONF_SCC1 <Config>Set SCC1 TDD UL DL Configuration. Sets the SCC-1 TDD Uplink/Downlink Configuration.Number: 0,1,2,3,4,5,6

ULIMCS subsystem (3)

CommandWhat it doesArguments
ULIMCS <MCS>Set UL MCS Index. Sets Common Parameter - UL RMC - MCS Index.Number
ULIMCS_PCC <MCS>Set PCC UL MCS Index. Sets the PCC UL RMC MCS Index.Number
ULIMCS_SCC1 <MCS>Set SCC1 UL MCS Index. Sets the SCC-1 UL RMC MCS Index.Number

DLRMC subsystem (3)

CommandWhat it doesArguments
DLRMC_RB <RB>Set DL RMC Number Of RB. Sets Common Parameter - DL RMC - Number of RB.Number
DLRMC_256QAM ENABLEDEnable DL 256QAM. Enables 256QAM for the DL RMC.None
DLRMC_RB_SCC1 <RB>Set SCC1 DL RMC Number Of RB. Sets the SCC-1 DL RMC Number of RB.Number

PWR subsystem (3)

CommandWhat it doesArguments
PWR_MEAS ONTurn On Power Measurement. Sets the Power measurement to ON.None
PWR_MEAS OFFTurn Off Power Measurement. Sets the Power measurement to OFF.None
PWR_AVG <Count>Set Power Average Count. Sets the average count of the Power measurement.Number

Modulation (3)

CommandWhat it doesArguments
MOD_MEAS ONTurn On Modulation Analysis Measurement. Sets the Modulation Analysis measurement to ON.None
MOD_MEAS OFFTurn Off Modulation Analysis Measurement. Sets the Modulation Analysis measurement to OFF.None
MOD_AVG <Count>Set Modulation Average Count. Sets the average count of the Modulation measurement.Number

SEM subsystem (3)

CommandWhat it doesArguments
SEM_MEAS ONTurn On Spectrum Emission Mask Measurement. Sets the Spectrum Emission Mask measurement to ON.None
SEM_MEAS OFFTurn Off Spectrum Emission Mask Measurement. Sets the Spectrum Emission Mask measurement to OFF.None
SEM_AVG <Count>Set SEM Average Count. Sets the average count of the SEM measurement.Number

PRESET subsystem (2)

CommandWhat it doesArguments
PRESETPreset. Presets all parameters of the current measurement system to their default values.None
PRESET_3GPPPreset 3GPP. Presets parameters to the 3GPP default values (used for W-CDMA initialization in the Anritsu application notes).None

TXOUT subsystem (2)

CommandWhat it doesArguments
TXOUT <Tx>,<Connector>Set TX Output Phone1. Sets the System Config Routing (Phone1) output connector for the given Tx path.Number: 1,2,3,4; Text: MAIN,AUX
TXOUT_P2 <Tx>,<Connector>Set TX Output Phone2. Sets the System Config Routing (Phone2) output connector for the given Tx path.Number: 1,2,3,4; Text: MAIN,AUX

EXTLOSSW subsystem (2)

CommandWhat it doesArguments
EXTLOSSW ONTurn On External Loss. Turns the External Loss function on.None
EXTLOSSW OFFTurn Off External Loss. Turns the External Loss function off.None

DLEXTLOSSSW subsystem (2)

CommandWhat it doesArguments
DLEXTLOSSSW ONTurn On DL External Loss. Turns the External Loss (Main DL) on.None
DLEXTLOSSSW OFFTurn Off DL External Loss. Turns the External Loss (Main DL) off.None

ULEXTLOSSW subsystem (2)

CommandWhat it doesArguments
ULEXTLOSSW ONTurn On UL External Loss. Turns the External Loss (Main UL) on.None
ULEXTLOSSW OFFTurn Off UL External Loss. Turns the External Loss (Main UL) off.None

ULCHAN subsystem (2)

CommandWhat it doesArguments
ULCHAN <Channel>Set UL Channel. Sets Common Parameter - Frequency - UL Channel; the DL channel is set simultaneously.Number
ULCHAN_PCC <Channel>Set PCC UL Channel. Sets the PCC UL channel.Number

LVL subsystem (2)

CommandWhat it doesArguments
LVL ONTurn On Output Level. Turns the output level on.None
LVL OFFTurn Off Output Level. Turns the output level off.None

ENTERSYNC subsystem (2)

CommandWhat it doesArguments
ENTERSYNC <Mode>Set Frame Sync. Sets frame timing synchronization between cells/units.Text: MASTER,INT_SLAVE,EXT_SLAVE
ENTERSYNC?Read Frame Sync. Returns 1 when frame timing synchronization is established.None

CALLPROC subsystem (2)

CommandWhat it doesArguments
CALLPROC ONTurn On Call Processing. Sets Common Parameter - Call Processing to ON.None
CALLPROC OFFTurn Off Call Processing. Sets Common Parameter - Call Processing to OFF.None

CALLDROP subsystem (2)

CommandWhat it doesArguments
CALLDROP ONTurn On Call Drop. Sets Call Processing Parameter - Call Drop function to ON.None
CALLDROP OFFTurn Off Call Drop. Sets Call Processing Parameter - Call Drop function to OFF.None

INTEGRITY subsystem (2)

CommandWhat it doesArguments
INTEGRITY ONTurn On Integrity Protection. Sets Call Processing Parameter - Integrity Protection to ON.None
INTEGRITY OFFTurn Off Integrity Protection. Sets Call Processing Parameter - Integrity Protection to OFF.None

DEDEPSACT subsystem (2)

CommandWhat it doesArguments
DEDEPSACT ONTurn On Dedicated EPS Bearer. Sets Dedicated EPS Bearer Activation to On.None
DEDEPSACT OFFTurn Off Dedicated EPS Bearer. Sets Dedicated EPS Bearer Activation to Off.None

INBANDE subsystem (2)

CommandWhat it doesArguments
INBANDE_GEN? MAXRead Inband Emission General. Reads the maximum In-band Emissions (General) result.None
INBANDE_IMG? MAXRead Inband Emission IQ Image. Reads the maximum In-band Emissions (IQ Image) result.None

TTL subsystem (2)

CommandWhat it doesArguments
TTL_WORST_SEM_LV?Read SEM Worst Level. Reads the worst Spectrum Emission Mask level.None
TTL_MODPWR?Read ACLR. Reads the ACLR (adjacent channel leakage power ratio) result.None

OFFPWR subsystem (2)

CommandWhat it doesArguments
OFFPWR_BEFORE? AVGRead Off Power Before. Reads the averaged Off Power (Before) result.None
OFFPWR_AFTER? AVGRead Off Power After. Reads the averaged Off Power (After) result.None

TPC subsystem (2)

CommandWhat it doesArguments
TPC_CMD_UPTPC Command Up. Sends a TPC up command to raise the UE TX power by 1 dB (W-CDMA).None
TPC_CMD_DOWNTPC Command Down. Sends a TPC down command to lower the UE TX power by 1 dB (W-CDMA).None

STDSEL subsystem (1)

CommandWhat it doesArguments
STDSEL <Standard>Select Standard. Selects the communication system (measurement software) used by the instrument.Text: LTE,WCDMA,GSM,TDSCDMA,CDMA2K

C subsystem (1)

CommandWhat it doesArguments
C2KSTD <Standard>Set CDMA2000 Standard. Selects the CDMA2000 standard type (EV = 1xEV-DO).Text: EV

SCRSEL subsystem (1)

CommandWhat it doesArguments
SCRSEL <Screen>Select Screen. Selects the displayed screen (FMEAS = Fundamental Measurement, TDMEAS = Time Domain Measurement).Text: FMEAS,TDMEAS

MEASMODE subsystem (1)

CommandWhat it doesArguments
MEASMODE <Mode>Set Measurement Mode. Sets the measurement mode; FAST gives numeric results only without graphical display.Text: FAST

REF subsystem (1)

CommandWhat it doesArguments
REF <Reference>Set Reference Frequency. Selects the reference frequency source (10MHZEXT = 10 MHz external).Text: 10MHZEXT

ANTCONFIG subsystem (1)

CommandWhat it doesArguments
ANTCONFIG <Config>Set Antenna Configuration. Sets Common Parameter - Antenna Configuration.Text: RX_DIVERSITY,OPEN_LOOP

DLEXTLOSS subsystem (1)

CommandWhat it doesArguments
DLEXTLOSS <Loss>Set DL External Loss. Sets the External Loss (Main DL) value in dB.Number

ULEXTLOSS subsystem (1)

CommandWhat it doesArguments
ULEXTLOSS <Loss>Set UL External Loss. Sets the External Loss (Main UL) value in dB.Number

DLEXTLOSSW subsystem (1)

CommandWhat it doesArguments
DLEXTLOSSW <Mode>Set DL External Loss Table. Selects the loss table used for Main DL external loss (COMMON = common loss table).Text: COMMON

LOSSTBLVAL subsystem (1)

CommandWhat it doesArguments
LOSSTBLVAL <Frequency>,<Loss_Values>Set Loss Table Value. Sets a loss table entry: frequency (e.g. 1950MHz) followed by the Main DL, Main UL and AUX loss values in dB (e.g. 0.0,5.0,0.0).Text; Text

BAND subsystem (1)

CommandWhat it doesArguments
BAND <Band>Set Operating Band. Sets the operating band.Number

Channels (CHANnel) (1)

CommandWhat it doesArguments
CHAN <Channel>Set Channel. Sets the channel number (W-CDMA / GSM / TD-SCDMA systems).Number

TDDSSFCONF subsystem (1)

CommandWhat it doesArguments
TDDSSFCONF <Config>Set TDD Special Subframe Configuration. Sets the TDD Special Subframe Configuration.Number: 0,1,2,3,4,5,6,7,8,9

ILVL subsystem (1)

CommandWhat it doesArguments
ILVL <Level>Set Input Level. Sets the expected input level in dBm.Number

ILVLCTRL subsystem (1)

CommandWhat it doesArguments
ILVLCTRL <Mode>Set Input Level Control. Sets Input Level Control (MANUAL fixes the input level to the set value).Text: MANUAL

MAXULPWR subsystem (1)

CommandWhat it doesArguments
MAXULPWR <Power>Set Max UL Power. Sets the p-Max value (maximum UL power) in dBm.Number

CELLID subsystem (1)

CommandWhat it doesArguments
CELLID <Cell_ID>Set Cell ID. Sets the Cell ID.Number

TAC subsystem (1)

CommandWhat it doesArguments
TAC <TAC>Set TAC. Sets the Tracking Area Code (hex, e.g. 000A).Text

UECAT subsystem (1)

CommandWhat it doesArguments
UECAT <Category>Set UE Category. Sets the UE category.Text: CAT9,CAT11

SIB subsystem (1)

CommandWhat it doesArguments
SIB2_NS <NS>Set SIB2 NS. Sets additionalSpectrumEmission (network signalling value) in SIB2.Text: NS_01,NS_03,NS_04,NS_06,NS_07

CHCODING subsystem (1)

CommandWhat it doesArguments
CHCODING <Coding>Set Channel Coding. Sets Common Parameter - Channel Coding.Text: PACKET,PACKET_DL_CA_PCC,PACKET_DL_CA_SCC,RMC_DL_CA_PCC,RMC_DL_CA_SCC,RMC_DLUL_CA_PCC,RMC_DLUL_CA_SCC,FIXREFCH,EDCHTEST,VOICE

CHCONFIG subsystem (1)

CommandWhat it doesArguments
CHCONFIG <Config>Set RMC Configuration. Sets Common Parameter - RMC Configuration.Text: PUCCH,PUSCH_2,PUSCH_MULTI

CFI subsystem (1)

CommandWhat it doesArguments
CFI <CFI>Set CFI. Sets Common Parameter - DL RMC - CFI.Number: 1,2,3

SCHEDULING subsystem (1)

CommandWhat it doesArguments
SCHEDULING <Type>Set Scheduling Type. Sets Call Processing Parameter - Scheduling Type (SRBSR = Dynamic SR/BSR).Text: SRBSR

DLSCC subsystem (1)

CommandWhat it doesArguments
DLSCC <Count>Set Number Of DL SCC. Sets the number of DL secondary component carriers.Number: 1,2,3

TCC subsystem (1)

CommandWhat it doesArguments
TCC_SWAPHO <CC>Set Swap Handover Target CC. Sets the target CC for the swap handover.Text: SCC1

SWAPHO subsystem (1)

CommandWhat it doesArguments
SWAPHOSwap Handover. Swaps the PCC and the target SCC by a handover procedure.None

CALLSA subsystem (1)

CommandWhat it doesArguments
CALLSACall Connect Test Mode. Connects the UE to Test Mode (call origination from the tester).None

CALLSO subsystem (1)

CommandWhat it doesArguments
CALLSOCall Disconnect. Disconnects the call / clears the call processing status.None

CALLSTAT subsystem (1)

CommandWhat it doesArguments
CALLSTAT?Read Call Status. Reads the call processing status (1 = Idle, 2 = Idle (Regist), 6 = Connected).None

CALLSTATIC subsystem (1)

CommandWhat it doesArguments
CALLSTATIC?Read Call Stationary Status. Reads the stationary call processing status (2 = Idle (Regist), 6 = Connected).None

CALLRSLT subsystem (1)

CommandWhat it doesArguments
CALLRSLT? <Item>Read Call Result. Reads the call processing result for the given item.Number

CALLRFR subsystem (1)

CommandWhat it doesArguments
CALLRFRInitialize UE Report. Initializes (clears) the UE report values.None

RRCUPDATE subsystem (1)

CommandWhat it doesArguments
RRCUPDATE <Method>Set RRC Update Method. Sets how radioResourceConfigCommon updates are notified (RRCMSG = RRC Connection Reconfiguration).Text: RRCMSG

CONMODE subsystem (1)

CommandWhat it doesArguments
CONMODE <Mode>Set Connection Mode. Sets Call Processing Parameter - Connection Mode.Text: CSFB

REGMODE subsystem (1)

CommandWhat it doesArguments
REGMODE <Mode>Set Registration Mode. Sets Call Processing Parameter - Registration Mode.Text: CS

IRAT subsystem (1)

CommandWhat it doesArguments
IRAT <Target>Set Inter RAT Target. Sets the destination for CS Fallback or redirection.Text: CSFB_WCDMA,CSFB_GSM,CSFB_TDSCDMA,CSFB_CDMA2000,REDIRECT_WCDMA,REDIRECT_GSM,REDIRECT_TDSCDMA,REDIRECT_EVDO

SERVERIP subsystem (1)

CommandWhat it doesArguments
SERVERIP <IP>Set Server IP. Sets the packet Server IP address as comma-separated octets (e.g. 192,168,20,10).Text

CLIENTIP subsystem (1)

CommandWhat it doesArguments
CLIENTIP <IP>Set Client IP. Sets Client IP Address 1 as comma-separated octets (e.g. 192,168,20,11).Text

RSRP subsystem (1)

CommandWhat it doesArguments
RSRP? FLAGRead RSRP Report Flag. Returns 1 when a UE report (RSRP) has been received.None

NEIGHCELLMEAS subsystem (1)

CommandWhat it doesArguments
NEIGHCELLMEAS <Target>Set Neighbour Cell Measurement. Sets the neighbour cell measurement target.Text: OFF,INTRAFREQ,INTERFREQ,WCDMA,GSM,TDSCDMA,EVDO

TESTPRM subsystem (1)

CommandWhat it doesArguments
TESTPRM <Parameter>Set Test Parameter. Selects the 3GPP test parameter preset (sets RB allocation, power etc. for the test item).Text: TX_MAXPWR_Q_1,TX_MAXPWR_Q_P,TX_MAXPWR_Q_F,TX_MAXPWR_16_P,TX_MAXPWR_16_F,TX_MINPWR,TX_GEN_TMASK,TX_0DBM,TX_M30DBM,TX_CONF_PWR1,TX_CONF_PWR2,TX_CONF_PWR3,TX_PCTABS1,TX_PCTABS2,TX_PCTREL_UP_A,TX_PCTREL_DOWN_A,TX_PCTREL_ALT,TX_SRS_TMASK,TX_PUCCH_MAX,RX_SENS,RX_MAX,IDLE_PRACH_TMASK

ALLMEASITEMS subsystem (1)

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

ACLR subsystem (1)

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

PT subsystem (1)

CommandWhat it doesArguments
PT_WDR ONTurn On Power Template Wide Range. Enables Power Template wide dynamic range measurement.None

IBEM subsystem (1)

CommandWhat it doesArguments
IBEM_CLFR <Position>Set IBEM Carrier Leakage Frequency. Sets the Carrier Leakage frequency for in-band emission measurement (CFR = carrier frequency center).Text: CFR

SWP subsystem (1)

CommandWhat it doesArguments
SWPStart Measurement. Executes the measurement (sweep) and waits for completion.None

SNGLS subsystem (1)

CommandWhat it doesArguments
SNGLSSingle Measurement. Performs a single measurement.None

MSTAT subsystem (1)

CommandWhat it doesArguments
MSTAT?Read Measurement Status. Reads the measurement status.None

ESR subsystem (1)

CommandWhat it doesArguments
ESR?Read Event Status. Reads the event status register.None

POWER subsystem (1)

CommandWhat it doesArguments
POWER? AVGRead TX Power. Reads the averaged TX power measurement result in dBm.None

POWERPASS subsystem (1)

CommandWhat it doesArguments
POWERPASS?Read TX Power Pass. Reads the TX power Pass/Fail judgment.None

EVM subsystem (1)

CommandWhat it doesArguments
EVM? AVGRead EVM. Reads the averaged EVM measurement result in %.None

EVMPASS subsystem (1)

CommandWhat it doesArguments
EVMPASS?Read EVM Pass. Reads the EVM Pass/Fail judgment.None

RSEVM subsystem (1)

CommandWhat it doesArguments
RSEVM? AVGRead RS EVM. Reads the averaged Reference Signal EVM result.None

WORST subsystem (1)

CommandWhat it doesArguments
WORST_CARRFERR? <Unit>Read Carrier Frequency Error. Reads the worst Carrier Frequency Error result.Text: HZ,PPM

CARRFERRPASS subsystem (1)

CommandWhat it doesArguments
CARRFERRPASS?Read Carrier Frequency Error Pass. Reads the Carrier Frequency Error Pass/Fail judgment.None

CARRLEAK subsystem (1)

CommandWhat it doesArguments
CARRLEAK? MAXRead Carrier Leakage. Reads the maximum Carrier Leakage result.None

CARRLEAKPASS subsystem (1)

CommandWhat it doesArguments
CARRLEAKPASS?Read Carrier Leakage Pass. Reads the Carrier Leakage Pass/Fail judgment.None

INBANDEPASS subsystem (1)

CommandWhat it doesArguments
INBANDEPASS?Read Inband Emission Pass. Reads the In-band Emissions Pass/Fail judgment.None

SPECFLAT subsystem (1)

CommandWhat it doesArguments
SPECFLAT_RP1? MAXRead Spectrum Flatness RP1. Reads the maximum spectrum flatness RP1 result.None

SPECFLATPASS subsystem (1)

CommandWhat it doesArguments
SPECFLATPASS?Read Spectrum Flatness Pass. Reads the Spectrum Flatness Pass/Fail judgment.None

OBWPASS subsystem (1)

CommandWhat it doesArguments
OBWPASS?Read Occupied Bandwidth Pass. Reads the Occupied Bandwidth Pass/Fail judgment.None

SEMPASS subsystem (1)

CommandWhat it doesArguments
SEMPASS?Read SEM Pass. Reads the Spectrum Emission Mask Pass/Fail judgment.None

MODPWRPASS subsystem (1)

CommandWhat it doesArguments
MODPWRPASS?Read ACLR Pass. Reads the ACLR Pass/Fail judgment.None

ONPWR subsystem (1)

CommandWhat it doesArguments
ONPWR? AVGRead On Power. Reads the averaged On Power result.None

ONPWRPASS subsystem (1)

CommandWhat it doesArguments
ONPWRPASS?Read On Power Pass. Reads the On Power Pass/Fail judgment.None

OFFPWRPASS subsystem (1)

CommandWhat it doesArguments
OFFPWRPASS?Read Off Power Pass. Reads the Off Power Pass/Fail judgment.None

CHPWR subsystem (1)

CommandWhat it doesArguments
CHPWR? AVGRead Channel Power. Reads the averaged Channel Power result.None

CHPWRPASS subsystem (1)

CommandWhat it doesArguments
CHPWRPASS?Read Channel Power Pass. Reads the Channel Power Pass/Fail judgment.None

PCTPWR subsystem (1)

CommandWhat it doesArguments
PCTPWR? <CC>Read Absolute Power CC. Reads the power control Absolute Power result (dBm) for the given CC.Text: PCC,SCC1

PCTPASS subsystem (1)

CommandWhat it doesArguments
PCTPASS? <CC>Read Power Control Pass CC. Reads the power control Pass/Fail judgment for the given CC.Text: PCC,SCC1

TPUTPASS subsystem (1)

CommandWhat it doesArguments
TPUTPASS?Read Throughput Pass. Reads the throughput Pass/Fail judgment.None

UL subsystem (1)

CommandWhat it doesArguments
UL_TPUT? <CC>Read UL Throughput CC. Reads the UL throughput result for the given CC.Text: PCC,SCC1

MAX subsystem (1)

CommandWhat it doesArguments
MAX_CARRFERR? <Unit>Read Max Carrier Frequency Error. Reads the maximum carrier frequency error (W-CDMA/GSM).Text: PPM

TPCALGO subsystem (1)

CommandWhat it doesArguments
TPCALGO <Algorithm>Set TPC Algorithm. Sets the W-CDMA Power Control Algorithm.Number: 1,2

CPICHPWR subsystem (1)

CommandWhat it doesArguments
CPICHPWR <Level>Set CPICH Power. Sets the downlink CPICH power in dB (W-CDMA).Number

OPEMODE subsystem (1)

CommandWhat it doesArguments
OPEMODE <Mode>Set Operating Mode. Sets the Operating Mode (GSM measurement software).Text: GPRS

Other subsystem (1)

CommandWhat it doesArguments
<Output Variable>=<Equation>Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)Number; Text

WAIT subsystem (1)

CommandWhat it doesArguments
wait(<ms>)Wait. Waits for number of millisecondsNumber

SAVE subsystem (1)

CommandWhat it doesArguments
save2var <Variable_name>Save2Variable. Saves last measurement to a variableText

IEEE 488.2 common commands (1)

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

Where these commands come from

This reference is generated from TestFlow's instrument library, which is drafted from Anritsu's programming documentation for the MT8821C and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Anritsu's programming manual: check it before you rely on an edge case. Last updated September 27, 2026.

Frequently asked questions

Does the Anritsu MT8821C support SCPI remote control?

Yes. The Anritsu MT8821C accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 203 SCPI commands for it: 48 queries that read values or state, and 155 settings and actions.

How do I control the Anritsu MT8821C from Python?

Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, ANTCONFIG RX_DIVERSITY and ENTERSYNC?.

Which command reads a value from the Anritsu MT8821C?

ENTERSYNC? (read frame sync). Returns 1 when frame timing synchronization is established. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Anritsu MT8821C without writing code?

Yes. TestFlow is an AI agent for electronics testing: you describe the test, and it builds the automation from this command library, runs it on the Anritsu MT8821C through the TestFlow desktop app, and writes the report from the measured results.

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.