Radio Test Set · SCPI command reference

Viavi 8800SX SCPI commands

The Viavi 8800SX radio test set is controlled remotely with SCPI commands. TestFlow's instrument library holds 180 commands for it, 58 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 8800SX on a real bench.

Commands
180
Queries
58
Subsystems
28
Models covered
1

Run this on your bench

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

Get started

Control the Viavi 8800SX 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 8800SX's VISA address

# Paste the address of your Viavi 8800SX (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(":devmod:range:fm:auto")  # Set FM Range Auto
print(inst.query(":gen:freq?"))  # Read Generator Frequency

inst.close()

Run this on your bench

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

Get started

Run a 8800SX test without writing code

Describe the test in a sentence, for example “set fm range auto on the 8800SX, then read generator 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

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

GEN subsystem (24)

CommandWhat it doesArguments
:gen:freq <Freq>Set Generator Frequency. Sets the RF generator frequency in MHz (2 to 1000 MHz).Number: 2,1000
:gen:freq?Read Generator Frequency. Returns the RF generator frequency in MHz.None
:gen:lvl:dbm <Level>Set Generator Level dBm. Sets the RF generator level in dBm on the selected output connector (SWR -65 to -5, T/R -120 to -50, ANT -90 to -30 dBm).Number
:gen:lvl:dbm?Read Generator Level dBm. Returns the RF generator level in dBm.None
:gen:lvl:dbuv <Level>Set Generator Level dBuV. Sets the RF generator level in dBuV on the selected output connector.Number
:gen:lvl:dbuv?Read Generator Level dBuV. Returns the RF generator level in dBuV.None
:gen:lvl:uv <Level>Set Generator Level uV. Sets the RF generator level in uV on the selected output connector.Number
:gen:lvl:uv?Read Generator Level uV. Returns the RF generator level in uV.None
:gen:lvl:unit <Units>Set Generator Level Units. Sets the RF generator level units (0 = dBm, 1 = uV).Number: 0,1
:gen:port <Port>Set Generator Port. Selects the RF generator output connector (0 = T/R, 1 = ANT, 2 = SWR).Number: 0,1,2
:gen:port?Read Generator Port. Returns the selected RF generator output connector (0 = T/R, 1 = ANT, 2 = SWR).None
:gen:extpad <Pad>Set Generator External Pad. Sets the RF generator output level compensation for an external pad in dB.Number
:gen:extpad?Read Generator External Pad. Returns the RF generator external pad compensation in dB.None
:gen:atten?Read Generator Attenuator. Returns the RF generator attenuator setting in dB.None
:gen:dcpwr 1Turn On Generator DC Power. Turns the RF generator DC power on.None
:gen:dcpwr 0Turn Off Generator DC Power. Turns the RF generator DC power off.None
:gen:holdatten:state 1Turn On Attenuator Hold. Turns the RF generator attenuator hold on.None
:gen:holdatten:state 0Turn Off Attenuator Hold. Turns the RF generator attenuator hold off.None
:gen:ant:protection?Read ANT Protection State. Returns the ANT connector protection state (0 = OFF, 1 = ON overload).None
:gen:ant:protection:resetReset ANT Protection. Resets the ANT connector protection state.None
:gen:tr:protection?Read TR Protection State. Returns the T/R connector protection state (0 = OFF, 1 = ON overload).None
:gen:tr:protection:resetReset TR Protection. Resets the T/R connector protection state.None
:gen:swr:protection?Read SWR Protection State. Returns the SWR connector protection state (0 = OFF, 1 = ON overload).None
:gen:swr:protection:resetReset SWR Protection. Resets the SWR connector protection state.None

UPCONVERTER subsystem (13)

CommandWhat it doesArguments
:upconverter:carrier_state 1Turn On Carrier. Turns the generator carrier on (acts as PTT; must be ON for normal generator operation).None
:upconverter:carrier_state 0Turn Off Carrier. Turns the generator carrier off.None
:upconverter:carrier_state?Read Carrier State. Returns the generator carrier state (0 = OFF, 1 = ON).None
:upconverter:type <Type>Set Modulator Type. Sets the modulator type (0 = AM, 1 = FM, 2 = None, 3 = P25, 4 = SDE-AM, 5 = SDE-FM).Number: 0,1,2,3,4,5
:upconverter:type?Read Modulator Type. Returns the modulator type.None
:upconverter:fgen1:freq <Freq>Set Mod FGen1 Frequency. Sets the modulator function generator #1 frequency in Hz (0 to 24000 Hz).Number: 0,24000
:upconverter:fgen1:fm <Deviation>Set Mod FGen1 FM Level. Sets the modulator function generator #1 FM deviation in kHz (0 to 100 kHz).Number: 0,100
:upconverter:fgen1:am <Depth>Set Mod FGen1 AM Level. Sets the modulator function generator #1 AM depth in percent (0 to 100%).Number: 0,100
:upconverter:fgen2:freq <Freq>Set Mod FGen2 Frequency. Sets the modulator function generator #2 frequency in Hz.Number
:upconverter:fgen2:fm <Deviation>Set Mod FGen2 FM Level. Sets the modulator function generator #2 FM deviation in kHz (0 to 100 kHz).Number: 0,100
:upconverter:fgen2:am <Depth>Set Mod FGen2 AM Level. Sets the modulator function generator #2 AM depth in percent (0 to 100%).Number: 0,100
:upconverter:mic:fm <Deviation>Set Mod Mic FM Level. Sets the modulator microphone FM deviation in kHz (0 to 100 kHz).Number: 0,100
:upconverter:mic:am <Depth>Set Mod Mic AM Level. Sets the modulator microphone AM depth in percent (0 to 100%).Number: 0,100

ANALYZER subsystem (13)

CommandWhat it doesArguments
:analyzer:freq <Freq>Set Analyzer Center Frequency. Sets the spectrum analyzer center frequency in MHz (2 to 1000 MHz).Number: 2,1000
:analyzer:freq?Read Analyzer Center Frequency. Returns the spectrum analyzer center frequency in MHz.None
:analyzer:span <Span>Set Analyzer Span. Sets the spectrum analyzer span in Hz.Number: 10000,20000,50000,100000,200000,500000,1000000,2000000,5000000
:analyzer:avg <Count>Set Analyzer Average. Sets the spectrum analyzer averaging (1 to 99).Number: 1,99
:analyzer:marker:freq <Freq>Set Analyzer Marker Frequency. Sets the spectrum analyzer marker frequency in MHz.Number
:analyzer:peakhold 1Turn On Analyzer Peak Hold. Turns spectrum analyzer peak hold on.None
:analyzer:peakhold 0Turn Off Analyzer Peak Hold. Turns spectrum analyzer peak hold off.None
:analyzer:obw:state 1Turn On Analyzer OBW. Turns occupied bandwidth processing on.None
:analyzer:obw:state 0Turn Off Analyzer OBW. Turns occupied bandwidth processing off.None
:analyzer:obw:bw?Read Analyzer OBW. Returns the occupied bandwidth.None
:analyzer:reading:bwpwr?Read Analyzer Band Power. Returns the spectrum analyzer bandwidth power.None
:analyzer:trace:amplitude?Read Analyzer Trace Amplitude. Returns the spectrum analyzer trace amplitude data.None
:analyzer:trace:frequency?Read Analyzer Trace Frequency. Returns the spectrum analyzer trace frequency data.None

DEVMOD subsystem (11)

CommandWhat it doesArguments
:devmod:type <Type>Set Mod Meter Type. Sets the modulation meter type (0 = AM, 1 = FM).Number: 0,1
:devmod:type?Read Mod Meter Type. Returns the modulation meter type (0 = AM, 1 = FM).None
:devmod:average <Count>Set Mod Meter Average. Sets the number of modulation meter readings to average (1 to 99).Number: 1,99
:devmod:reading:type <Type>Set Mod Meter Reading Type. Sets the reading sent to the meter (0 = Peak+, 1 = Peak-, 2 = Peak-Peak).Number: 0,1,2
:devmod:reading:val?Read Modulation. Returns the current modulation reading (AM % or FM deviation kHz).None
:devmod:reading:avg?Read Modulation Average. Returns the averaged modulation reading (AM % or FM deviation kHz).None
:devmod:reading:max?Read Modulation Max. Returns the maximum modulation reading.None
:devmod:reading:min?Read Modulation Min. Returns the minimum modulation reading.None
:devmod:reading:clearClear Modulation Readings. Clears the modulation meter readings.None
:devmod:range:fm:autoSet FM Range Auto. Sets the FM modulation meter autorange to Auto.None
:devmod:range:fm:manualSet FM Range Manual. Sets the FM modulation meter autorange to Manual.None

RFPOW subsystem (11)

CommandWhat it doesArguments
:rfpow:units <Units>Set RF Power Units. Sets the RF power meter units (0 = dBm, 1 = Watts).Number: 0,1
:rfpow:range <Range>Set RF Power Range. Sets the RF power meter range (0 = Low, 1 = High, 2 = Auto).Number: 0,1,2
:rfpow:average <Count>Set RF Power Average. Sets the number of RF power readings to average (1 to 99).Number: 1,99
:rfpow:extatten <Atten>Set RF Power External Atten. Sets the RF power meter compensation for external attenuation in dB (-50 to +50 dB).Number: -50,50
:rfpow:zeroZero RF Power Meter. Starts the RF power meter zero operation required before measurements.None
:rfpow:reading:val?Read RF Power. Returns the RF power meter reading.None
:rfpow:reading:dbm:val?Read RF Power dBm. Returns the RF power meter reading in dBm.None
:rfpow:reading:watt:val?Read RF Power Watts. Returns the RF power meter reading in watts.None
:rfpow:reading:avg?Read RF Power Average. Returns the RF power meter average reading.None
:rfpow:reading:max?Read RF Power Max. Returns the RF power meter maximum reading.None
:rfpow:reading:clearClear RF Power Readings. Clears the RF power meter minimum, maximum and average readings.None

REC subsystem (9)

CommandWhat it doesArguments
:rec:freq <Freq>Set Receiver Frequency. Sets the receiver frequency in MHz (2 to 1000 MHz).Number: 2,1000
:rec:freq?Read Receiver Frequency. Returns the receiver frequency in MHz.None
:rec:port <Port>Set Receiver Port. Selects the receiver input connector (0 = T/R, 1 = ANT).Number: 0,1
:rec:port?Read Receiver Port. Returns the receiver input connector (0 = T/R, 1 = ANT).None
:rec:extpad <Pad>Set Receiver External Pad. Sets the receiver top-of-scale compensation for an external pad in dB.Number
:rec:extpad?Read Receiver External Pad. Returns the receiver external pad compensation in dB.None
:rec:atten?Read Receiver Attenuator. Returns the receiver attenuator setting (0, 10, 20 or 30 dB).None
:rec:dcpwr 1Turn On Receiver DC Power. Turns the receiver DC power on.None
:rec:dcpwr 0Turn Off Receiver DC Power. Turns the receiver DC power off.None

ALM subsystem (9)

CommandWhat it doesArguments
:alm:state 1Turn On Audio Level Meter. Enables the audio level meter.None
:alm:state 0Turn Off Audio Level Meter. Disables the audio level meter.None
:alm:source <Source>Set Audio Level Source. Sets the audio level meter input (0 = AUD IN, 1 = DVM).Number: 0,1
:alm:units <Units>Set Audio Level Units. Sets the audio level units (0 = V, 1 = mV, 2 = dBuV, 3 = dBm, 4 = W, 5 = dBr).Number: 0,1,2,3,4,5
:alm:coupling <Coupling>Set Audio Level Coupling. Sets the audio level meter coupling (0 = AC, 1 = DC, 2 = GND).Number: 0,1,2
:alm:detector <Detector>Set Audio Level Detector. Sets the audio level detector (0 = RMS, 1 = Peak+, 2 = Peak-, 3 = Pk-Pk).Number: 0,1,2,3
:alm:reading:val?Read Audio Level. Returns the audio level meter value.None
:alm:reading:avg?Read Audio Level Average. Returns the averaged audio level meter value.None
:alm:setrelativeSet Audio Level Relative. Sets the audio level relative value and changes units to dBr.None

SCOPE subsystem (9)

CommandWhat it doesArguments
:scope:state 1Turn On Scope. Sets the oscilloscope state to 1 (enable / live trace).None
:scope:state 0Turn Off Scope. Sets the oscilloscope state to 0 (disable / freeze trace).None
:scope:source <Source>Set Scope Source. Sets the oscilloscope input source (0 = DVM, 1 = Demod, 2 = Aud In).Number: 0,1,2
:scope:coupling <Coupling>Set Scope Coupling. Sets the oscilloscope input coupling (0 = AC, 1 = DC, 2 = GND).Number: 0,1,2
:scope:horizontal:scale <Index>Set Scope Horizontal Scale. Sets the oscilloscope horizontal scale index (0 = 20 us/div, 1 = 50 us/div, 2 = 0.1 ms/div ...).Number
:scope:scale:vertical <Index>Set Scope Vertical Scale. Sets the oscilloscope vertical scale index (see manual table).Number
:scope:trigger:mode <Mode>Set Scope Trigger Mode. Sets the oscilloscope trigger mode (0 = Normal, 1 = Auto).Number: 0,1
:scope:trigger:edge <Edge>Set Scope Trigger Edge. Sets the oscilloscope trigger edge (0 = Fall, 1 = Rise).Number: 0,1
:scope:trace:val?Read Scope Trace. Returns the oscilloscope trace values.None

SIGNALING subsystem (9)

CommandWhat it doesArguments
:signaling:dtmf:encode:message <Message>Set DTMF Encode Message. Sets the DTMF encode message (up to 20 valid DTMF tones).Text
:signaling:dtmf:encode:state 1Turn On DTMF Encode. Turns the DTMF encoder on.None
:signaling:dtmf:encode:state 0Turn Off DTMF Encode. Turns the DTMF encoder off.None
:signaling:dtmf:decode:state 1Turn On DTMF Decode. Turns the DTMF decoder on.None
:signaling:dtmf:decode:state 0Turn Off DTMF Decode. Turns the DTMF decoder off.None
:signaling:dtmf:decode:lastmessage?Read DTMF Last Message. Returns the last complete DTMF message decoded.None
:signaling:dcs:setcode <Code>Set DCS Encode Code. Sets the DCS encode code (code value in decimal, e.g. 19 for DCS 023).Number
:signaling:dcs:startStart DCS Encode. Starts the DCS encoder.None
:signaling:dcs:disableStop DCS Encode. Disables the DCS encoder immediately.None

RFERR subsystem (7)

CommandWhat it doesArguments
:rferr:state 1Turn On RF Error Meter. Turns the RF error counter on.None
:rferr:state 0Turn Off RF Error Meter. Turns the RF error counter off.None
:rferr:relative <Mode>Set RF Error Mode. Sets RF error counting to absolute or relative to the receiver frequency (0 = Absolute, 1 = Relative).Number: 0,1
:rferr:average <Count>Set RF Error Average. Sets the number of RF error readings to average (1 to 99).Number: 1,99
:rferr:reading:val?Read RF Error. Returns the RF error counter reading with no statistics in kHz.None
:rferr:reading:avg?Read RF Error Average. Returns the averaged RF error counter reading in kHz.None
:rferr:reading:clearClear RF Error Readings. Clears the RF error counter reading.None

SETUP subsystem (7)

CommandWhat it doesArguments
:setup:configuration <Config>Set Configuration. Sets the test set configuration (0 = LMR, 1 = PTC, 2 = P25 Phase 2).Number: 0,1,2
:setup:version:powerpc?Read Software Version. Returns the PPC application code version number.None
:setup:version:fpga?Read FPGA Version. Returns the FPGA version number.None
:setup:date:current?Read Current Date. Returns the current date.None
:setup:time:current?Read Current Time. Returns the current time.None
:setup:date:cal_due?Read Calibration Due Date. Returns the next calibration date.None
:setup:temp:internal?Read Internal Temperature. Returns the FPGA temperature in degrees.None

DEMOD subsystem (5)

CommandWhat it doesArguments
:demod:state 1Turn On Demod. Turns the analog demodulator on.None
:demod:state 0Turn Off Demod. Turns the analog demodulator off.None
:demod:type <Type>Set Demod Type. Sets the demodulation setting index (0 = FM 5 kHz, 1 = FM 6.25 kHz, 2 = FM 8.33 kHz, 3 = FM 10 kHz, 4 = FM 12.5 kHz, 5 = FM 25 kHz, 6 = FM 30 kHz; further AM entries per manual).Number
:demod:type?Read Demod Type. Returns the demodulation setting index.None
:demod:afbw <Filter>Set Demod AF Bandwidth. Sets the demod AF bandwidth filter index (0 = None, 1 = LP 300 Hz, 2 = LP 3 kHz, 3 = LP 5 kHz, 4 = LP 15 kHz, 5 = C-MESS, 6 = CCITT, 7 = HP 300 Hz, 8+ = band-pass per manual).Number

SINAD subsystem (5)

CommandWhat it doesArguments
:sinad:demod:average <Count>Set SINAD Average. Sets the number of SINAD readings to average (1 to 99).Number: 1,99
:sinad:demod:reading:val?Read SINAD. Returns the SINAD meter value on the demod input in dB.None
:sinad:demod:reading:avg?Read SINAD Average. Returns the averaged SINAD reading in dB.None
:sinad:demod:reading:clearClear SINAD Readings. Clears the SINAD meter readings.None
:sinad:range:autoSet SINAD Range Auto. Sets the SINAD meter autorange to Auto.None

DISTORTION subsystem (5)

CommandWhat it doesArguments
:distortion:notch <Freq>Set Distortion Notch. Sets the distortion meter notch frequency in Hz.Number
:distortion:demod:reading:val?Read Distortion Demod. Returns the distortion reading on the demod input in percent.None
:distortion:demod:reading:avg?Read Distortion Demod Average. Returns the averaged distortion reading on the demod input in percent.None
:distortion:ext_aud_in:reading:val?Read Distortion Ext Audio. Returns the distortion reading on the external audio input in percent.None
:distortion:ext_aud_in:filter <Filter>Set Distortion Ext Audio Filter. Sets the external audio distortion filter (0 = None, 1 = 15 kHz LP, 2 = 300 Hz-3 kHz BP).Number: 0,1,2

FGEN subsystem (5)

CommandWhat it doesArguments
:fgen:enable 1Turn On Function Generator. Turns the audio function generator on.None
:fgen:enable 0Turn Off Function Generator. Turns the audio function generator off.None
:fgen:freq <Gen> <Freq>Set FGen Frequency. Sets the frequency of function generator 1 or 2 in Hz (0 to 24000 Hz).Number: 1,2; Number: 0,24000
:fgen:level <Gen> <Level>Set FGen Level. Sets the output level of function generator 1 or 2 in Vrms (0 to 1.7 Vrms).Number: 1,2; Number: 0,1.7
:fgen:load <Load>Set FGen Load. Sets the function generator output scaling (0 = 600 ohm, 1 = 150 ohm, 2 = Open circuit).Number: 0,1,2

SCREEN subsystem (5)

CommandWhat it doesArguments
:screen:transmitter_testShow Transmitter Test Screen. Selects the Transmitter Test screen.None
:screen:receiver_testShow Receiver Test Screen. Selects the Receiver Test screen.None
:screen:duplex_testShow Duplex Test Screen. Selects the Duplex Test screen.None
:screen:analyzerShow Analyzer Screen. Selects the Spectrum Analyzer screen.None
:screen:scopeShow Scope Screen. Selects the Oscilloscope screen.None

AGC subsystem (4)

CommandWhat it doesArguments
:agc:mode <Mode>Set AGC Mode. Sets the AGC mode (0 = Manual, 1 = Auto).Number: 0,1
:agc:mode?Read AGC Mode. Returns the AGC mode (0 = Manual, 1 = Auto).None
:agc:rfamp_mode <Mode>Set Preamp Mode. Sets the receiver input preamp state (0 = Auto, 1 = OFF, 2 = ON).Number: 0,1,2
:agc:tos <Level>Set AGC Top Of Scale. Sets the top of scale for manual AGC mode in dBm (-90 to 10 dBm).Number: -90,10

RSSI subsystem (4)

CommandWhat it doesArguments
:rssi:average <Count>Set RSSI Average. Sets the number of RSSI readings to average (1 to 99).Number: 1,99
:rssi:reading:val?Read RSSI. Returns the RSSI reading with no statistics in dBm.None
:rssi:reading:avg?Read RSSI Average. Returns the averaged RSSI reading in dBm.None
:rssi:reading:clearClear RSSI Readings. Clears the RSSI readings.None

SNR subsystem (4)

CommandWhat it doesArguments
:snr:enable 1Turn On SNR Meter. Turns the SNR measurement on.None
:snr:enable 0Turn Off SNR Meter. Turns the SNR measurement off.None
:snr:meter:type <Type>Set SNR Type. Sets the SNR measurement type (0 = Audio SNR, 1 = Demod SNR).Number: 0,1
:snr:meter:stat?Read SNR. Returns the SNR measurement in dB.None

SPEAKER subsystem (4)

CommandWhat it doesArguments
:speaker:state 1Turn On Speaker. Turns the speaker output on (1 = ON).None
:speaker:state 2Turn Off Speaker. Turns the speaker output off (2 = OFF).None
:speaker:volume <Volume>Set Speaker Volume. Sets the speaker volume (0 to 100).Number: 0,100
:speaker:source <Source>Set Speaker Source. Sets the speaker source (0 = Ext Audio In, 1 = Demod, 2 = Modulation, 3 = FGen).Number: 0,1,2,3

FREQFIND subsystem (4)

CommandWhat it doesArguments
:freqfind:start <Freq>Set Freq Find Start. Sets the frequency-find start frequency in MHz.Number
:freqfind:stop <Freq>Set Freq Find Stop. Sets the frequency-find stop frequency in MHz.Number
:freqfind:threshold <Level>Set Freq Find Threshold. Sets the frequency-find threshold in dBm.Number
:freqfind:peak?Read Freq Find Peak. Returns the next tune frequency found.None

EXTAUDOUT subsystem (3)

CommandWhat it doesArguments
:extaudout:source <Source>Set Ext Audio Out Source. Sets the external audio output source (0 = Ext Audio In, 1 = Demod, 2 = Modulation, 3 = FGen).Number: 0,1,2,3
:extaudout:state 1Turn On Ext Audio Out. Turns the external audio output on.None
:extaudout:state 0Turn Off Ext Audio Out. Turns the external audio output off.None

OPTIONS subsystem (3)

CommandWhat it doesArguments
:options:model?Read Model. Returns the model number.None
:options:serial?Read Serial Number. Returns the 10 digit serial number.None
:options:man?Read Manufacturer. Returns the manufacturer name.None

EXTAUDIN subsystem (2)

CommandWhat it doesArguments
:extaudin:state 1Turn On Ext Audio In. Turns the external audio input on.None
:extaudin:state 0Turn Off Ext Audio In. Turns the external audio input off.None

NORMALIZE subsystem (2)

CommandWhat it doesArguments
:normalize:run:stateRun Normalize. Activates the normalize procedure.None
:normalize:run:status?Read Normalize Status. Returns the normalize status (0 = Stopped, 1 = Running).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

Where these commands come from

This reference is generated from TestFlow's instrument library, which is drafted from Viavi's programming documentation for the 8800SX 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 8800SX support SCPI remote control?

Yes. The Viavi 8800SX accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 180 SCPI commands for it: 58 queries that read values or state, and 122 settings and actions.

How do I control the Viavi 8800SX 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?, :devmod:range:fm:auto and :gen:freq?.

Which command reads a value from the Viavi 8800SX?

:gen:freq? (read generator frequency). Returns the RF generator frequency in MHz. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Viavi 8800SX 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 8800SX 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.