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.
Describe the test; TestFlow's agent uses this command set to drive your Viavi AVX-10K and writes the report from the measured results.
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()Describe the test; TestFlow's agent uses this command set to drive your Viavi AVX-10K and writes the report from the measured results.
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.
81 commands in 10 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.
| Command | What it does | Arguments |
|---|---|---|
| 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 ON | Turn On DME Squitter. Enables squitter. | None |
| DME:SETup:SQUitter OFF | Turn Off DME Squitter. Disables squitter. | None |
| DME:ECHO ON | Turn On DME Echo. Enables echo. | None |
| DME:ECHO OFF | Turn Off DME Echo. Disables echo. | None |
| DME:IDENt:STATe <State> | Set DME Ident State. Sets the ident state. | Text: OFF,MORSE,TONE |
| DME:TEST:STARt | Start DME Test. Starts the DME test. | None |
| DME:TEST:STOP | Stop DME Test. Stops the DME test. | None |
| Command | What it does | Arguments |
|---|---|---|
| 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 ON | Turn On Glideslope. Turns the glide slope on. | None |
| ILS:CONTrol:GSLope OFF | Turn 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:STARt | Start ILS Test. Starts the ILS tests. | None |
| ILS:TEST:STOP | Stop ILS Test. Stops the ILS tests. | None |
| ILS:APILot:STARt:BOTH | Start ILS Autopilot Both. Starts the dual localizer/glide slope autopilot test. | None |
| ILS:APILot:STOP | Stop ILS Autopilot. Stops the autopilot test. | None |
| Command | What it does | Arguments |
|---|---|---|
| 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 |
| Command | What it does | Arguments |
|---|---|---|
| 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:STARt | Start VOR Test. Starts the VOR tests. | None |
| VOR:TEST:STOP | Stop VOR Test. Stops the VOR tests. | None |
| Command | What it does | Arguments |
|---|---|---|
| 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:STARt | Start TACAN Test. Starts the TACAN tests. | None |
| TACan:TEST:STOP | Stop TACAN Test. Stops the TACAN tests. | None |
| Command | What it does | Arguments |
|---|---|---|
| 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:REBoot | Reboot. Cycles power to the unit (remote connection is lost). | None |
| Command | What it does | Arguments |
|---|---|---|
| <Output Variable>=<Equation> | Math. Variable equals an equation like (${Var_name}= ${Var_name}/2) | Number; Text |
| Command | What it does | Arguments |
|---|---|---|
| wait(<ms>) | Wait. Waits for number of milliseconds | Number |
| Command | What it does | Arguments |
|---|---|---|
| save2var <Variable_name> | Save2Variable. Saves last measurement to a variable | Text |
| Command | What it does | Arguments |
|---|---|---|
| *IDN? | Identify. Returns the instrument identification string. | None |
| *RST | Reset. Resets the instrument to its default state. | None |
| *CLS | Clear 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 |
| *WAI | Wait To Continue. Waits until all pending operations are complete before continuing. | None |
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.
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.
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?.
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.
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.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.