Radio Test Set · SCPI command reference

Anritsu MT8860C SCPI commands

The Anritsu MT8860C radio test set is controlled remotely with SCPI commands. TestFlow's instrument library holds 158 commands for it, 65 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 MT8860C on a real bench.

Commands
158
Queries
65
Subsystems
8
Models covered
1

Run this on your bench

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

Get started

Control the Anritsu MT8860C 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 MT8860C's VISA address

# Paste the address of your Anritsu MT8860C (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("MEASCFG 1,AUTOCFG")  # Auto Configure
print(inst.query("MEASCFG? 1,PERPKTS"))  # Read PER Packets

inst.close()

Run this on your bench

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

Get started

Run a MT8860C test without writing code

Describe the test in a sentence, for example “auto configure on the MT8860C, then read per packets 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

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

MEASCFG subsystem (129)

CommandWhat it doesArguments
MEASCFG 1,WLANSTD,<Value>Set WLAN Standard. Sets the WLAN standard.Text: A,B,G,N
MEASCFG? 1,WLANSTDRead WLAN Standard. Reads the WLAN standard.None
MEASCFG 1,MODE,<Value>Set Measurement Mode. Sets the measurement mode (TXMODE or RXMODE).Text: TXMODE,RXMODE
MEASCFG? 1,MODERead Measurement Mode. Reads the measurement mode (TXMODE or RXMODE).None
MEASCFG 1,TESTMODE,<Value>Set Test Mode. Sets the test mode (NETWORK = standard WLAN protocol connection, DIRECT = chipset control software).Text: NETWORK,DIRECT
MEASCFG? 1,TESTMODERead Test Mode. Reads the test mode (NETWORK = standard WLAN protocol connection, DIRECT = chipset control software).None
MEASCFG 1,CHANNELNUM,<Value>Set Channel Number. Sets the primary channel number.Number
MEASCFG? 1,CHANNELNUMRead Channel Number. Reads the primary channel number.None
MEASCFG 1,TXRATE,<Value>Set TX Rate. Sets the reference radio transmission rate in Mbps.Number: 1,2,5.5,6,9,11,12,18,24,36,48,54
MEASCFG? 1,TXRATERead TX Rate. Reads the reference radio transmission rate in Mbps.None
MEASCFG 1,TXPWR,<Value>Set TX Power. Sets the MT8860C transmit power at the test port in dBm (-100 to 0).Number: -100,0
MEASCFG? 1,TXPWRRead TX Power. Reads the MT8860C transmit power at the test port in dBm (-100 to 0).None
MEASCFG 1,DUTPWR,<Value>Set DUT Power. Sets the expected DUT transmit power in dBm (-30 to +30).Number: -30,30
MEASCFG? 1,DUTPWRRead DUT Power. Reads the expected DUT transmit power in dBm (-30 to +30).None
MEASCFG 1,NUMMEAS,<Value>Set Number Of Measurements. Sets the number of measurements (triggers) included in Tx results (1 to 1000).Number: 1,1000
MEASCFG? 1,NUMMEASRead Number Of Measurements. Reads the number of measurements (triggers) included in Tx results (1 to 1000).None
MEASCFG 1,PKTLEN,<Value>Set Packet Length. Sets the packet length in bytes (Rx mode 60 to 1500).Number
MEASCFG? 1,PKTLENRead Packet Length. Reads the packet length in bytes (Rx mode 60 to 1500).None
MEASCFG 1,PKTTYPE,<Value>Set Packet Type. Sets the packet type transmitted by the MT8860C.Text: UNICAST,BROADCAST
MEASCFG? 1,PKTTYPERead Packet Type. Reads the packet type transmitted by the MT8860C.None
MEASCFG 1,PAYLOAD,<Value>Set Payload. Sets the payload data pattern.Text: ZEROS,0101,1010,PN7,RANDOM,COUNT
MEASCFG? 1,PAYLOADRead Payload. Reads the payload data pattern.None
MEASCFG 1,PREAMBLE,<Value>Set Preamble. Sets the preamble type of the reference radio (802.11b/g/a).Text: LONG,SHORT
MEASCFG? 1,PREAMBLERead Preamble. Reads the preamble type of the reference radio (802.11b/g/a).None
MEASCFG 1,PERPKTS,<Value>Set PER Packets. Sets the number of packets for the PER test.Number
MEASCFG? 1,PERPKTSRead PER Packets. Reads the number of packets for the PER test.None
MEASCFG 1,PERDELAY,<Value>Set PER Delay. Sets the PER measurement delay in s.Number
MEASCFG? 1,PERDELAYRead PER Delay. Reads the PER measurement delay in s.None
MEASCFG 1,FRAMETYPE,<Value>Set Frame Type. Sets the frame type analysed in network mode.Text: DATA,ACK
MEASCFG? 1,FRAMETYPERead Frame Type. Reads the frame type analysed in network mode.None
MEASCFG 1,RANGE,<Value>Set Range. Sets the input range hold.Text: AUTO,1,1L,2,2L,3,3L
MEASCFG? 1,RANGERead Range. Reads the input range hold.None
MEASCFG 1,AUTORNGMODE,<Value>Set Auto Range Mode. Sets the auto ranging mode.Text: LOW,HIGH
MEASCFG? 1,AUTORNGMODERead Auto Range Mode. Reads the auto ranging mode.None
MEASCFG 1,RFOPT,<Value>Set RF Optimization. Sets the RF optimization mode.Text: LOWNOISE,LOWACP
MEASCFG? 1,RFOPTRead RF Optimization. Reads the RF optimization mode.None
MEASCFG 1,RADIOSEL,<Value>Set Radio Selection. Sets the reference radio (internal or external).Text: INT,EXT
MEASCFG? 1,RADIOSELRead Radio Selection. Reads the reference radio (internal or external).None
MEASCFG 1,LEVMODE,<Value>Set Leveling Mode. Sets the levelling mode for external reference radio Rx tests.Text: NORMAL,PAYLOAD
MEASCFG? 1,LEVMODERead Leveling Mode. Reads the levelling mode for external reference radio Rx tests.None
MEASCFG 1,OBWPCT,<Value>Set OBW Percentage. Sets the occupied bandwidth power percentage (0.0 to 100.0).Number: 0,100
MEASCFG? 1,OBWPCTRead OBW Percentage. Reads the occupied bandwidth power percentage (0.0 to 100.0).None
MEASCFG 1,PDPCT,<Value>Set Power Distribution Percentage. Sets the power distribution percentage (0.0 to 100.0).Number: 0,100
MEASCFG? 1,PDPCTRead Power Distribution Percentage. Reads the power distribution percentage (0.0 to 100.0).None
MEASCFG 1,TXINTERVAL,<Value>Set TX Interval. Sets the frame transmission interval for network Rx tests in ms (0 to 65535).Number: 0,65535
MEASCFG? 1,TXINTERVALRead TX Interval. Reads the frame transmission interval for network Rx tests in ms (0 to 65535).None
MEASCFG 1,PLINTERVAL,<Value>Set Loopback Interval. Sets the packet loopback interval for network Tx tests in ms (5 to 50).Number: 5,50
MEASCFG? 1,PLINTERVALRead Loopback Interval. Reads the packet loopback interval for network Tx tests in ms (5 to 50).None
MEASCFG 1,IFINTERVAL,<Value>Set Inter Frame Interval. Sets the inter frame interval in us.Number
MEASCFG? 1,IFINTERVALRead Inter Frame Interval. Reads the inter frame interval in us.None
MEASCFG 1,PRETRG,<Value>Set Pre Trigger. Sets the pre trigger time in s.Number
MEASCFG? 1,PRETRGRead Pre Trigger. Reads the pre trigger time in s.None
MEASCFG 1,MACADDR,<Value>Set MAC Address. Sets the DUT MAC address (12 hex characters).Text
MEASCFG? 1,MACADDRRead MAC Address. Reads the DUT MAC address (12 hex characters).None
MEASCFG 1,DUTIP,<Value>Set DUT IP. Sets the DUT IP address.Text
MEASCFG? 1,DUTIPRead DUT IP. Reads the DUT IP address.None
MEASCFG 1,NWTYPE,<Value>Set Network Type. Sets the network type.Text: ADHOC,AP,STA
MEASCFG? 1,NWTYPERead Network Type. Reads the network type.None
MEASCFG 1,BEACONINT,<Value>Set Beacon Interval. Sets the beacon interval.Number
MEASCFG? 1,BEACONINTRead Beacon Interval. Reads the beacon interval.None
MEASCFG 1,OPERRATESET,<Value>Set Operational Rate Set. Sets the operational rate set.Text: ALL,SINGLE
MEASCFG? 1,OPERRATESETRead Operational Rate Set. Reads the operational rate set.None
MEASCFG 1,IPPROP,<Value>Set IP Properties. Sets the WLAN IP property mode.Text: AUTO,MANUAL
MEASCFG? 1,IPPROPRead IP Properties. Reads the WLAN IP property mode.None
MEASCFG 1,TRGSRC,FRSet Trigger Source Free Run. Sets the trigger source to free run.None
MEASCFG 1,TRGSRC,RF,<Power>,<Edge>Set Trigger Source RF. Sets the trigger source to RF power level (-60 to +20 dBm) with edge.Number: -60,20; Text: RISE,FALL
MEASCFG 1,TRGSRC,EXT,<Edge>Set Trigger Source External. Sets the trigger source to the external BNC with edge.Text: RISE,FALL
MEASCFG 1,TRGSRC,VIDEO,<Edge>Set Trigger Source Video. Sets the trigger source to the digital power comparator with edge.Text: RISE,FALL
MEASCFG? 1,TRGSRCRead Trigger Source. Reads the trigger source configuration.None
MEASCFG 1,GATE,<Gate>,<Delay>,<Width>Set Gate. Configures a measurement gate: delay and width in s (max 5.95 ms).Number: 1,2; Number; Number
MEASCFG? 1,GATE,<Gate>Read Gate. Reads the measurement gate configuration.Number: 1,2
MEASCFG 1,NWSSID,<Length>,<SSID>Set Network SSID. Sets the network SSID (length and text up to 32 characters).Number: 1,32; Text
MEASCFG 1,IPPARMS,<IP>,<Subnet>Set WLAN IP Parameters. Sets the MT8860C WLAN IP address and subnet mask.Text; Text
MEASCFG 1,SFMASK,<Upper>,<Lower_Side>,<Lower_Middle>Set Spectral Flatness Mask. Sets the spectrum flatness mask limits in dB (5 to -10).Number; Number; Number
MEASCFG 1,PROFAVG,<Profile>,ONTurn On Profile Average. Turns on averaging of a profile.Text: POWER,SPECTRUM1
MEASCFG 1,PROFAVG,<Profile>,OFFTurn Off Profile Average. Turns off averaging of a profile.Text: POWER,SPECTRUM1
MEASCFG 1,PROFCAP,<Profile>,<Start>,<Stop>Set Profile Capture. Sets the profile capture start and stop time in s.Text: POWER; Number; Number
MEASCFG 1,AUTOCFGAuto Configure. Automatically configures the measurement settings for the DUT signal.None
MEASCFG 1,ABORTAbort Measurement. Aborts the current measurement operation.None
MEASCFG 1,SCANScan Networks. Requests the internal reference radio to scan for available networks.None
MEASCFG? 1,NWAVAILRead Networks Available. Reads the networks found by the scan.None
MEASCFG? 1,NWINFO,<Index>Read Network Info. Reads the SSID, RSSI and security info of a found network.Number
MEASCFG 1,NWSELECT,<Index>Select Network. Selects (connects to) a network from the scan list.Number
MEASCFG 1,CLEARDHCPClear DHCP. Clears the IP addresses allocated by DHCP.None
MEASCFG? 1,BSSIDRead BSSID. Reads the BSSID.None
MEASCFG? 1,UNITMACADDRRead Unit MAC Address. Reads the MAC address of the MT8860C.None
MEASCFG? 1,STATUSRead Measurement Status. Reads the measurement status.None
MEASCFG? 1,ERRLSTRead Measurement Errors. Reads and clears the measurement system error list.None
MEASCFG? 1,ERRMESS,<Error>Read Error Message. Reads the description of an error number reported by ERRLST.Text
MEASCFG? 1,RADIOERRRead Radio Error. Reads the reference radio error report.None
MEASCFG? 1,CFGCHGRead Configuration Change. Reads the configuration change status.None
MEASCFG 1,PATHSTATE,ONTurn On Path Loss Table. Enables the path loss table.None
MEASCFG 1,PATHSTATE,OFFTurn Off Path Loss Table. Disables the path loss table.None
MEASCFG 1,PATHADD,<Channel>,<Offset>Add Path Loss Entry. Adds a path loss table element for a channel (offset in dB).Number; Number
MEASCFG 1,PATHDEL,<Channel>Delete Path Loss Entry. Deletes a path loss table element.Number
MEASCFG? 1,PATHTBLRead Path Loss Table. Reads all points of the path loss table.None
MEASCFG 1,EVMCFG,MODE,<Mode>Set EVM Analysis Mode. Sets whether EVM analysis lengths are set automatically or manually.Text: AUTO,MANUAL
MEASCFG 1,EVMCFG,CHANEST,<Method>Set EVM Channel Estimation. Sets the EVM channel estimation method.Text: TRAINSEQ,FULLPKT
MEASCFG 1,EVMCFG,FILTER,<Filter>Set EVM Filter. Sets the DSSS filter type.Text: NONE,GAUSSIAN,RNYQUIST
MEASCFG 1,EVMCFG,ALPHA,<Alpha>Set EVM Alpha. Sets the root Nyquist filter alpha (0.3 to 1.0).Number: 0.3,1.0
MEASCFG 1,EVMCFG,BT,<BT>Set EVM BT. Sets the Gaussian filter BT (0.3 to 1.0).Number: 0.3,1.0
MEASCFG 1,EVMCFG,EVMDSSS,<Method>Set EVM DSSS Method. Sets the DSSS EVM calculation method.Text: USERDEF,1KSAMPLES
MEASCFG 1,EVMCFG,EVMCHIP,<Chips>Set EVM DSSS Chips. Sets the DSSS EVM analysis length (220 to 11000 chips).Number: 220,11000
MEASCFG 1,EVMCFG,EVMSYM,<Symbols>Set EVM OFDM Symbols. Sets the OFDM EVM analysis length (16 to 500 symbols).Number: 16,500
MEASCFG 1,EVMCFG,CHIPCLK,<Chips>Set EVM Chip Clock Length. Sets the DSSS chip clock analysis length (3300 to 30250).Number: 3300,30250
MEASCFG 1,EVMCFG,SYMCLK,<Symbols>Set EVM Symbol Clock Length. Sets the OFDM symbol clock analysis length (16 to 500).Number: 16,500
MEASCFG 1,EVMCFG,TRACKING,<Mode>Set EVM Tracking. Sets the EVM pilot tracking type.Text: PHASE,PHASEMAG
MEASCFG 1,SMSEL,<Mask>Select Spectral Mask. Selects the DSSS spectral mask (1 to 5).Number: 1,2,3,4,5
MEASCFG 1,SMLIM,<Mask>,<Limit2>,<Limit1>Set Spectral Mask Limits. Sets user mask limits in dB (35-22 MHz and 22-11 MHz sections).Number: 2,3,4,5; Number; Number
MEASCFG 1,SMDEF,<Mask>Default Spectral Mask. Sets a user spectral mask to the default values.Number: 2,3,4,5
MEASCFG 1,SIGGEN,MODE,<Mode>Set SigGen Mode. Sets the signal generator output mode (CF framed, CS carrier suppression, CM modulated, CW).Text: CF,CS,CM,CW
MEASCFG 1,SIGGEN,STATE,ENABLEEnable SigGen. Starts signal generator transmission.None
MEASCFG 1,SIGGEN,STATE,DISABLEDisable SigGen. Stops signal generator transmission.None
MEASCFG? 1,SIGGEN,STATERead SigGen State. Reads the signal generator state.None
MEASCFG 1,MUTE,ENABLEEnable Mute. Mutes the test port output (93 dB attenuation).None
MEASCFG 1,MUTE,DISABLEDisable Mute. Un-mutes the test port output.None
MEASCFG 1,NCONFIG,FREQBAND,<Band>Set 11n Frequency Band. Sets the 802.11n frequency band.Text: 2PT4GHZ,5GHZ
MEASCFG 1,NCONFIG,GUARDINT,<Interval>Set 11n Guard Interval. Sets the 802.11n guard interval.Text: LONG,SHORT
MEASCFG 1,NCONFIG,MCSINDEX,<MCS>Set 11n MCS Index. Sets the 802.11n MCS index.Number: 0,1,2,3,4,5,6,7,32
MEASCFG 1,NCONFIG,PPDUFORMAT,<Format>Set 11n PPDU Format. Sets the 802.11n PPDU format.Text: NONHT,HTMF,HTGF
MEASCFG 1,NCONFIG,PPDUTYPE,<Type>Set 11n PPDU Type. Sets the 802.11n PPDU type.Text: 20MHZ,40MHZ,40MHZD,40MHZL
MEASCFG? 1,NCONFIG,INFORead 11n Configuration. Reads the 802.11n configuration.None
MEASCFG? 1,MEAS,<Measurements>Measure. Requests measurements on captured packets; list of mnemonics e.g. AP,EV,FT,MS,OB,PP,SM,TT,PER.Text: AP,CC,CF,CL,CO,CP,CS,EV,FE,FT,MS,OB,PD,PP,SC,SD,SF,SM,TT,FRR,PER
MEASCFG? 1,MEAS,APMeasure Average Power. Measures average power (gate mean/high/low in dBm).None
MEASCFG? 1,MEAS,EVMeasure EVM. Performs EVM analysis (rms/peak/min in % and dB).None
MEASCFG? 1,MEAS,FTMeasure Frequency Tolerance. Measures the centre frequency error in Hz and ppm.None
MEASCFG? 1,MEAS,SMMeasure Spectral Mask. Performs the spectral mask measurement.None
MEASCFG? 1,MEAS,PERMeasure PER. Measures the packet error rate.None
MEASCFG? 1,RDPROF,<Profile>,<Type>,<Format>Read Profile. Reads profile data (trace) from the captured raw data.Text: POWER,SPECTRUM1,SPECTRUM2,CCDF1,CCDF2,EVMCHAN,EVMTIME,CONSTELLATION,FLATNESS; Text: RAW,MEAN,HIGH,LOW,LAST; Text: ASCII,BINARY

SYSCFG subsystem (12)

CommandWhat it doesArguments
SYSCFG REF,<Source>Set Reference. Selects the internal or external 10 MHz reference.Text: INT,EXT
SYSCFG? REFRead Reference. Reads the 10 MHz reference setting.None
SYSCFG BNC,<BNC>,<State>Set BNC. Configures a BNC input/output.Text: OUT1,OUT2,IN1,IN2; Text: VIDTRG,TXTRG,RFTRG,EXT,GOLDTX
SYSCFG GPIBADDR,<Address>Set GPIB Address. Sets the GPIB address (1 to 30).Number: 1,30
SYSCFG LAN,MODE,<Mode>Set LAN Mode. Sets the LAN IPv4 address mode (applied after power cycle).Text: AUTO,MANUAL
SYSCFG LAN,ADDR,<IP>,<Subnet>Set LAN Address. Sets the manual LAN IPv4 address and subnet mask.Text; Text
SYSCFG? LANRead LAN. Reads the LAN IP properties in use.None
SYSCFG? OPTIONS,<Instrument>,<Option>Read Options. Reads enabled options (instrument 0 = platform, 1 = instrument; option 0 = all).Number: 0,1; Number
SYSCFG? ERRLSTRead System Errors. Reads and clears the system error list.None
SYSCFG? STERRRead Startup Errors. Reads the start-up errors.None
SYSCFG RSTInstrument Reset. Resets the measurement configurations to default settings.None
SYSCFG FRSTFactory Reset. Resets all settings including path loss table, GPIB and LAN settings to factory defaults.None

BOOTSTATUS subsystem (1)

CommandWhat it doesArguments
BOOTSTATUS?Read Boot Status. Reads the start-up self test status (0 ready, 1 running, -1 failed).None

SHUTDOWN subsystem (1)

CommandWhat it doesArguments
SHUTDOWNShutdown. Performs the system shutdown sequence before powering down.None

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 (12)

CommandWhat it doesArguments
*ESE <Mask>Set Event Status Enable. Sets the event status enable register.Number: 0,255
*ESR?Read Event Status Register. Reads the event status register.None
*INE <Mask>Set Instrument Status Enable. Sets the instrument status enable register.Number: 0,255
*INS?Read Instrument Status. Reads the instrument status register.None
*SRE <Mask>Set Service Request Enable. Sets the service request enable register.Number: 0,255
*STB?Read Status Byte. Reads the status byte register.None
*IDN?Identify. Returns the manufacturer, model number, serial number and software revision.None
*RSTReset. Resets the instrument.None
*CLSClear Status. Clears the GPIB status bytes.None
*TST?Self Test. Runs the self test and returns the result.None
*OPC?Operation Complete. Returns 1 when all pending operations are complete.None
*WAIWait To Continue. Waits until all pending operations are complete.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 MT8860C 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 MT8860C support SCPI remote control?

Yes. The Anritsu MT8860C accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 158 SCPI commands for it: 65 queries that read values or state, and 93 settings and actions.

How do I control the Anritsu MT8860C 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?, MEASCFG 1,AUTOCFG and MEASCFG? 1,PERPKTS.

Which command reads a value from the Anritsu MT8860C?

MEASCFG? 1,PERPKTS (read per packets). Reads the number of packets for the PER test. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Anritsu MT8860C 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 MT8860C 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.