The Viavi ALT-8000 radio test set is controlled remotely with SCPI commands. TestFlow's instrument library holds 45 commands for it, 13 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 ALT-8000 on a real bench.
Describe the test; TestFlow's agent uses this command set to drive your Viavi ALT-8000 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 ALT-8000's VISA address
# Paste the address of your Viavi ALT-8000 (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("RALTimeter:ASIMulation:MODE MANual") # Set Simulation Mode
print(inst.query("RALTimeter:ASIMulation:MODE?")) # Read Simulation Mode
inst.close()Describe the test; TestFlow's agent uses this command set to drive your Viavi ALT-8000 and writes the report from the measured results.
Describe the test in a sentence, for example “set simulation mode on the ALT-8000, then read simulation mode 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.
45 commands in 8 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.
| Command | What it does | Arguments |
|---|---|---|
| RALTimeter:ASIMulation:MODE <Mode> | Set Simulation Mode. Selects manual (linear ramp) or profile (multi-leg) altitude simulation. | Text: MANual,PROFile |
| RALTimeter:ASIMulation:MODE? | Read Simulation Mode. Returns the altitude simulation mode. | None |
| RALTimeter:ASIMulation:MANual:CHANnel<Ch>:ALTitude <Feet> | Set Altitude. Sets the simulated altitude in feet (-20 to 5500); manual mode with test paused. | Number: 1,2,3; Number: -20,5500 |
| RALTimeter:ASIMulation:MANual:CHANnel<Ch>:ALTitude? | Read Altitude. Returns the currently simulated altitude in feet. | Number: 1,2,3 |
| RALTimeter:ASIMulation:MANual:CHANnel<Ch>:RATE <Rate> | Set Altitude Rate. Sets the simulated altitude rate in ft/min (0 to 120000; 0 = static altitude). | Number: 1,2,3; Number: 0,120000 |
| RALTimeter:ASIMulation:MANual:CHANnel<Ch>:STARt <Feet> | Set Start Altitude. Sets the simulated start altitude in feet (-20 to 5500). | Number: 1,2,3; Number: -20,5500 |
| RALTimeter:ASIMulation:MANual:CHANnel<Ch>:STOP <Feet> | Set Stop Altitude. Sets the simulated stop altitude in feet (-20 to 5500). | Number: 1,2,3; Number: -20,5500 |
| RALTimeter:ASIMulation:PROFile:LIST? | Read Profile List. Returns the list of stored altitude profiles. | None |
| RALTimeter:ASIMulation:PROFile:CHANnel<Ch>:STORe <Name> | Store Profile. Stores the current altitude profile under a name (1 to 20 characters). | Number: 1,2,3; Text |
| RALTimeter:TEST:STARt | Start Test. Starts the simulation test. | None |
| RALTimeter:TEST:STOP | Stop Test. Stops the simulation test. | None |
| RALTimeter:TEST:PAUSe | Pause Test. Pauses the test. | None |
| RALTimeter:TEST:RESume | Resume Test. Resumes the test. | None |
| RALTimeter:TEST:RUNNing? | Read Test Running. Returns 1 if the test is running, 0 if not. | None |
| RALTimeter:MEASure:CHANnel<Ch>:DATA? | Measure Channel Data. Returns frequency, power, sweep rate, FM deviation, PRF and related measurements with validity flags. | Number: 1,2,3 |
| RALTimeter:SETup:CONNection <Conn> | Set Connection. Selects the RF connection type. | Text: DIRect,FEEDer,COUPler |
| RALTimeter:SETup:UUT:TYPE <Type> | Set UUT Type. Manually sets the UUT type. | Text: FMCW,CDF,PULSe |
| RALTimeter:SETup:UUT:ADETect <Mode> | Set UUT Detect Mode. Sets UUT type detection to automatic or manual. | Text: AUTO,MANual |
| RALTimeter:SETup:AID:MODE <Mode> | Set AID Mode. Selects fixed (ARINC) or variable AID. | Text: FIXed,VARiable |
| RALTimeter:SETup:AID:VALue <Feet> | Set AID Value. Sets the AID in feet (0 to 99; with fixed AID only 0, 20, 40, 57 or 80 is accepted). | Number: 0,99 |
| RALTimeter:SETup:LEVel:MODE <Mode> | Set Level Mode. Sets the RF level mode. | Text: AUTO,MANual |
| RALTimeter:SETup:CHANnel<Ch>:LEVel <dBm> | Set RF Level. Sets the RF level in dBm when level mode is manual (-76 to 17). | Number: 1,2,3; Number: -76,17 |
| RALTimeter:SETup:LEVel:OFFSet <dB> | Set Level Offset. Sets the altitude RF level offset in dB (-20 to 20 in 0.5 dB steps). | Number: -20,20 |
| RALTimeter:SETup:CHANnel<Ch>:OFFSet <Feet> | Set Altitude Offset. Sets the altitude offset in feet (0 to 100 in 0.5 ft steps). | Number: 1,2,3; Number: 0,100 |
| RALTimeter:SETup:CHANnel<Ch>:LOSS:CABLe:RX <dB> | Set Cable RX Loss. Sets the cable RX loss in dB (0.0 to 9.9). | Number: 1,2,3; Number: 0,9.9 |
| RALTimeter:SETup:CHANnel<Ch>:LOSS:CABLe:TX <dB> | Set Cable TX Loss. Sets the cable TX loss in dB (0.0 to 9.9). | Number: 1,2,3; Number: 0,9.9 |
| RALTimeter:SETup:CHANnel<Ch>:LOSS:EXTernal:RX <dB> | Set External RX Loss. Sets the external RX loss in dB (0.0 to 50.0). | Number: 1,2,3; Number: 0,50 |
| RALTimeter:SETup:CHANnel<Ch>:LOSS:EXTernal:TX <dB> | Set External TX Loss. Sets the external TX loss in dB (0.0 to 20.0). | Number: 1,2,3; Number: 0,20 |
| RALTimeter:SETTings:CHANnel<Ch>:RECall <Name> | Recall Settings. Recalls a named settings file. | Number: 1,2,3; Text |
| RALTimeter:SETTings:CHANnel<Ch>:STORe <Name> | Store Settings. Stores the current settings under a file name. | Number: 1,2,3; Text |
| RALTimeter:SETTings:CHANnel<Ch>:DEFault | Default Settings. Sets factory default settings. | Number: 1,2,3 |
| RALTimeter:STATus:CHANnel<Ch>:UNLock:OVERall? | Read Unlock Status. Returns the overall hardware lock status (1 = unlocked, 0 = locked). | Number: 1,2,3 |
| Command | What it does | Arguments |
|---|---|---|
| CONFigure:VERSions? | Read Versions. Returns the software/firmware versions. | None |
| CONFigure:TEMPeratures? | Read Temperatures. Returns internal temperatures. | None |
| Command | What it does | Arguments |
|---|---|---|
| SYSTem:ERRor? | Read System Error. Returns the oldest error message in the error queue. | None |
| SYSTem:ERRor:COUNt? | Read Error Count. Returns the number of error messages in the queue. | None |
| Command | What it does | Arguments |
|---|---|---|
| OPTions:LIST? | Read Options. Returns the list of installed options. | 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 the *RST default settings. | None |
| *CLS | Clear Status. Clears all event registers and the error queue. | 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 ALT-8000 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 ALT-8000 accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 45 SCPI commands for it: 13 queries that read values or state, and 32 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?, RALTimeter:ASIMulation:MODE MANual and RALTimeter:ASIMulation:MODE?.
RALTimeter:ASIMulation:MODE? (read simulation mode). Returns the altitude simulation mode. 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 ALT-8000 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.