Radio Test Set · SCPI command reference

Viavi AVX-10K SCPI commands

The Viavi AVX-10K radio test set is controlled remotely with SCPI commands. TestFlow's instrument library holds 81 commands for it, 20 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 AVX-10K on a real bench.

Commands
81
Queries
20
Subsystems
10
Models covered
1

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Viavi AVX-10K and writes the report from the measured results.

Get started

Control the Viavi AVX-10K 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 Viavi AVX-10K's VISA address

# Paste the address of your Viavi AVX-10K (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("DME:SETup:FREQuency:ENTRy PRESET")  # Set DME Frequency Entry
print(inst.query("MEASure:DME:FREQuency?"))  # Measure DME Frequency

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Viavi AVX-10K and writes the report from the measured results.

Get started

Run a AVX-10K test without writing code

Describe the test in a sentence, for example “set dme frequency entry on the AVX-10K, then measure dme frequency 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

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

DME subsystem (17)

CommandWhat it doesArguments
DME:SETup:PORT <Port>Set DME Port. Sets the DME port in use.Text: ANTENNA,DIRECT,COUPLER
DME:SETup:FREQuency:ENTRy <Type>Set DME Frequency Entry. Sets the DME frequency entry type.Text: PRESET,MANUAL
DME:FREQuency:CHANnel <Channel>Set DME Channel. Sets the DME channel used in manual mode.Number
DME:FREQuency:MODE <Mode>Set DME Channel Mode. Sets the DME channel mode.Text: X,Y
DME:FREQuency:TX <Freq>Set DME TX Frequency. Sets the DME RF frequency used in manual mode.Number
DME:LEVel:UUT <dBm>Set DME Level. Sets the DME RF power level in dBm.Number
DME:RANGe:STARt <NM>Set DME Start Range. Sets the simulated start range in nautical miles.Number
DME:RATE:VALue <Knots>Set DME Range Rate. Sets the simulated range rate in knots.Number
DME:RATE:DIRection <Dir>Set DME Rate Direction. Sets the range direction.Text: IN,OUT
DME:REPLy <Percent>Set DME Reply Percent. Sets the percentage of interrogations the test set replies to.Number
DME:SETup:SQUitter ONTurn On DME Squitter. Enables squitter.None
DME:SETup:SQUitter OFFTurn Off DME Squitter. Disables squitter.None
DME:ECHO ONTurn On DME Echo. Enables echo.None
DME:ECHO OFFTurn Off DME Echo. Disables echo.None
DME:IDENt:STATe <State>Set DME Ident State. Sets the ident state.Text: OFF,MORSE,TONE
DME:TEST:STARtStart DME Test. Starts the DME test.None
DME:TEST:STOPStop DME Test. Stops the DME test.None

ILS subsystem (17)

CommandWhat it doesArguments
ILS:SETup:PORT <Port>Set ILS Port. Sets the ILS port in use.Text: ANTENNA,DIRECT
ILS:SETup:FTYPe <Type>Set ILS Frequency Type. Sets the ILS frequency input type.Text: PRESET,CHANNEL,VAR
ILS:FREQuency:LOCalizer <Freq>Set Localizer Frequency. Sets the localizer frequency (valid values depend on frequency input type).Number
ILS:FREQuency:GSLope <Freq>Set Glideslope Frequency. Sets the glide slope frequency (valid values depend on frequency input type).Number
ILS:LEVel <dBm>Set ILS Level. Sets the ILS RF level in dBm.Number
ILS:CONTrol:LOCalizer <State>Set Localizer Control. Sets the localizer control state.Text: OFF,ON,TONE,MORSE
ILS:CONTrol:GSLope ONTurn On Glideslope. Turns the glide slope on.None
ILS:CONTrol:GSLope OFFTurn Off Glideslope. Turns the glide slope off.None
ILS:CONTrol:MARKer <State>Set Marker Control. Sets the marker beacon control state.Text: OFF,OUTER,MIDDLE,INNER
ILS:DEViation:LOCalizer:DDM <DDM>Set Localizer DDM. Sets the localizer DDM (negative = left, positive = right).Number
ILS:DEViation:GSLope:DDM <DDM>Set Glideslope DDM. Sets the glide slope DDM (negative = down, positive = up).Number
ILS:MMOD:LOCalizer <Percent>Set Localizer Master Mod. Sets the localizer master modulation.Number
ILS:MMOD:GSLope <Percent>Set Glideslope Master Mod. Sets the glide slope master modulation.Number
ILS:TEST:STARtStart ILS Test. Starts the ILS tests.None
ILS:TEST:STOPStop ILS Test. Stops the ILS tests.None
ILS:APILot:STARt:BOTHStart ILS Autopilot Both. Starts the dual localizer/glide slope autopilot test.None
ILS:APILot:STOPStop ILS Autopilot. Stops the autopilot test.None

Measurement (MEASure) (14)

CommandWhat it doesArguments
MEASure:DME:ERP?Measure DME ERP. Returns the UUT ERP in dBm.None
MEASure:DME:FREQuency?Measure DME Frequency. Returns the UUT frequency.None
MEASure:DME:LEVel?Measure DME Level. Returns the UUT transmit power in dBm.None
MEASure:DME:PRF?Measure DME PRF. Returns the PRF of the interrogations.None
MEASure:DME:RANGe?Measure DME Range. Returns the simulated range in nautical miles.None
MEASure:DME:SPACing?Measure DME Spacing. Returns the P1 to P2 pulse spacing.None
MEASure:DME:WIDTh:P1?Measure DME P1 Width. Returns the P1 pulse width.None
MEASure:DME:WIDTh:P2?Measure DME P2 Width. Returns the P2 pulse width.None
MEASure:ILS:ACTive?Read ILS Active. Returns whether the ILS test is active.None
MEASure:VOR:ACTive?Read VOR Active. Returns whether the VOR test is active.None
MEASure:TACan:ERP?Measure TACAN ERP. Returns the UUT ERP in dBm.None
MEASure:TACan:FREQuency?Measure TACAN Frequency. Returns the UUT frequency.None
MEASure:TACan:RANGe?Measure TACAN Range. Returns the simulated range in nautical miles.None
MEASure:TACan:BEARing?Measure TACAN Bearing. Returns the simulated bearing in degrees.None

VOR subsystem (9)

CommandWhat it doesArguments
VOR:SETup:PORT <Port>Set VOR Port. Sets the VOR port in use.Text: ANTENNA,DIRECT
VOR:FREQuency <Freq>Set VOR Frequency. Sets the VOR frequency (valid values depend on frequency input type).Number
VOR:LEVel <dBm>Set VOR Level. Sets the VOR RF level in dBm.Number
VOR:BEARing <Degrees>Set VOR Bearing. Sets the VOR bearing (valid values depend on bearing step).Number
VOR:TFRom <State>Set VOR To From. Sets the VOR to/from state.Text: TO,FROM
VOR:MMOD <Percent>Set VOR Master Mod. Sets the VOR master modulation.Number
VOR:TONE:CONTrol <State>Set VOR Tone Control. Sets the VOR tone control state.Text: OFF,TONE,MORSE
VOR:TEST:STARtStart VOR Test. Starts the VOR tests.None
VOR:TEST:STOPStop VOR Test. Stops the VOR tests.None

TAC subsystem (9)

CommandWhat it doesArguments
TACan:SETup:PORT <Port>Set TACAN Port. Sets the TACAN port in use.Text: ANTENNA,DIRECT,COUPLER
TACan:SETup:TTYPe <Type>Set TACAN Test Type. Sets the TACAN test type.Text: TRNORM,TRRANGE,AABEACON,AARANGE
TACan:FREQuency:CHANnel <Channel>Set TACAN Channel. Sets the TACAN channel (valid values depend on test mode).Number
TACan:FREQuency:MODE <Mode>Set TACAN Channel Mode. Sets the TACAN channel mode.Text: X,Y
TACan:LEVel:UUT <dBm>Set TACAN Level. Sets the TACAN RF power level in dBm.Number
TACan:BEARing <Degrees>Set TACAN Bearing. Sets the TACAN start bearing.Number
TACan:RANGe:STARt <NM>Set TACAN Start Range. Sets the simulated start range in nautical miles.Number
TACan:TEST:STARtStart TACAN Test. Starts the TACAN tests.None
TACan:TEST:STOPStop TACAN Test. Stops the TACAN tests.None

System (SYSTem) (6)

CommandWhat it doesArguments
SYSTem:APPLication:STARt <App>Start Application. Loads the commanded application.Text: DME,VOR,ILS,TACAN
SYSTem:APPLication:CLOSe <App>Close Application. Closes the commanded application.Text: DME,VOR,ILS,TACAN
SYSTem:APPLication:RUNNing?Read Running Application. Returns the active application (None if not running a supported application).None
SYSTem:APPLication:AVAIlable?Read Available Applications. Returns the applications supported with RCI commands.None
SYSTem:ERRor?Read System Error. Returns the error (or 0, No error) for the command sent just before it.None
SYSTem:REBootReboot. Cycles power to the unit (remote connection is lost).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 (6)

CommandWhat it doesArguments
*IDN?Identify. Returns the instrument identification string.None
*RSTReset. Resets the instrument to its default state.None
*CLSClear Status. Clears all event status registers and the error/event queue.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 before continuing.None

Where these commands come from

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

Frequently asked questions

Does the Viavi AVX-10K support SCPI remote control?

Yes. The Viavi AVX-10K accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 81 SCPI commands for it: 20 queries that read values or state, and 61 settings and actions.

How do I control the Viavi AVX-10K 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?, DME:SETup:FREQuency:ENTRy PRESET and MEASure:DME:FREQuency?.

Which command reads a value from the Viavi AVX-10K?

MEASure:DME:FREQuency? (measure dme frequency). Returns the UUT frequency. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Viavi AVX-10K 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 Viavi AVX-10K 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.