The Viavi 3550 and 3550R radio test set is controlled remotely with SCPI commands. TestFlow's instrument library holds 171 commands for it, 59 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 3550 on a real bench.
Commands
171
Queries
59
Subsystems
28
Models covered
2
Run this on your bench
Describe the test; TestFlow's agent uses this command set to drive your Viavi 3550 or 3550R 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 3550's VISA address
# Paste the address of your Viavi 3550 (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 3550 or 3550R and writes the report from the measured results.
Describe the test in a sentence, for example “set fm range auto on the 3550, 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.
171 commands in 28 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The 3550 and 3550R share this command set in TestFlow's library.
GEN subsystem (24)
Command
What it does
Arguments
: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).
Turn On Speaker. Turns the speaker output on (1 = ON).
None
:speaker:state 2
Turn 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)
Command
What it does
Arguments
: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
DEMOD subsystem (3)
Command
What it does
Arguments
: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
FGEN subsystem (3)
Command
What it does
Arguments
: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
EXTAUDOUT subsystem (3)
Command
What it does
Arguments
: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 ON
Turn On Ext Audio Out. Turns the external audio output on.
None
:extaudout:state OFF
Turn Off Ext Audio Out. Turns the external audio output off.
None
OPTIONS subsystem (3)
Command
What it does
Arguments
: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)
Command
What it does
Arguments
:extaudin:state ON
Turn On Ext Audio In. Turns the external audio input on.
None
:extaudin:state OFF
Turn Off Ext Audio In. Turns the external audio input off.
None
NORMALIZE subsystem (1)
Command
What it does
Arguments
:normalize:run:status?
Read Normalize Status. Returns the normalize status (0 = Stopped, 1 = Running).
None
Other subsystem (1)
Command
What it does
Arguments
<Output Variable>=<Equation>
Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)
Number; Text
WAIT subsystem (1)
Command
What it does
Arguments
wait(<ms>)
Wait. Waits for number of milliseconds
Number
SAVE subsystem (1)
Command
What it does
Arguments
save2var <Variable_name>
Save2Variable. Saves last measurement to a variable
Text
Where these commands come from
This reference is generated from TestFlow's instrument library, which is drafted from Viavi's programming documentation for the 3550 and 3550R 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 November 12, 2026.
Frequently asked questions
Does the Viavi 3550 support SCPI remote control?
Yes. The Viavi 3550 accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 171 SCPI commands for it: 59 queries that read values or state, and 112 settings and actions.
How do I control the Viavi 3550 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 3550?
: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 3550 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 3550 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.