Keysight 8719ES, 8720ES, 8722ES, 8753C, 8753D, and 8753ES SCPI commands
The Keysight 8719ES, 8720ES, 8722ES, 8753C, 8753D, and 8753ES vector network analyzer is controlled remotely with SCPI commands. TestFlow's instrument library holds 53 commands for it, 9 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 8719ES on a real bench.
Commands
53
Queries
9
Subsystems
46
Models covered
6
Run this on your bench
Describe the test; TestFlow's agent uses this command set to drive your Keysight 8719ES, 8720ES, 8722ES, 8753C, 8753D, or 8753ES 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 Keysight 8719ES's VISA address
# Paste the address of your Keysight 8719ES (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("AUTO") # Autoscale
print(inst.query("STAR?")) # Read Start Freq
inst.close()
Run this on your bench
Describe the test; TestFlow's agent uses this command set to drive your Keysight 8719ES, 8720ES, 8722ES, 8753C, 8753D, or 8753ES and writes the report from the measured results.
Describe the test in a sentence, for example “autoscale on the 8719ES, then read start freq 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.
53 commands in 46 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The 8719ES, 8720ES, 8722ES, 8753C, 8753D, and 8753ES share this command set in TestFlow's library.
S subsystem (4)
Command
What it does
Arguments
S11
Measure S11. Selects the S11 parameter for measurement.
None
S12
Measure S12. Selects the S12 parameter for measurement.
None
S21
Measure S21. Selects the S21 parameter for measurement.
None
S22
Measure S22. Selects the S22 parameter for measurement.
None
STAR subsystem (2)
Command
What it does
Arguments
STAR <Frequency>
Set Start Freq. Sets the start frequency (append units such as HZ, MHZ or GHZ).
Number
STAR?
Read Start Freq. Returns the start frequency in Hz.
None
Run control (2)
Command
What it does
Arguments
STOP <Frequency>
Set Stop Freq. Sets the stop frequency (append units such as HZ, MHZ or GHZ).
Number
STOP?
Read Stop Freq. Returns the stop frequency in Hz.
None
POWE subsystem (2)
Command
What it does
Arguments
POWE <Power>
Set Power Level. Sets the source output power level in dBm.
Number
POWE?
Read Power Level. Returns the source output power level in dBm.
None
MARK subsystem (2)
Command
What it does
Arguments
MARK1
Marker 1 On. Turns on marker 1 and makes it active.
None
MARK1 <Frequency>
Set Marker Freq. Places marker 1 at the specified frequency (append units).
Number
CENT subsystem (1)
Command
What it does
Arguments
CENT <Frequency>
Set Center Freq. Sets the center frequency (append units).
Number
SPAN subsystem (1)
Command
What it does
Arguments
SPAN <Frequency>
Set Span Freq. Sets the frequency span (append units).
Number
CWFREQ subsystem (1)
Command
What it does
Arguments
CWFREQ <Frequency>
Set CW Freq. Sets the CW (fixed) frequency (append units).
Number
POIN subsystem (1)
Command
What it does
Arguments
POIN <Points>
Set Points. Sets the number of measurement points per sweep.
Number: 201,401,801,1601,51,101
IFBW subsystem (1)
Command
What it does
Arguments
IFBW <Bandwidth>
Set IF Bandwidth. Sets the IF bandwidth in Hz.
Number: 3000,1000,300,100,30,10
AVEROON subsystem (1)
Command
What it does
Arguments
AVEROON
Average On. Turns trace averaging on.
None
AVEROOFF subsystem (1)
Command
What it does
Arguments
AVEROOFF
Average Off. Turns trace averaging off.
None
AVERFACT subsystem (1)
Command
What it does
Arguments
AVERFACT <Factor>
Set Average Factor. Sets the averaging factor (number of sweeps).
Number
AVERREST subsystem (1)
Command
What it does
Arguments
AVERREST
Average Restart. Restarts the averaging measurement.
None
LOGM subsystem (1)
Command
What it does
Arguments
LOGM
Format LogMag. Sets the display format to log magnitude.
None
PHAS subsystem (1)
Command
What it does
Arguments
PHAS
Format Phase. Sets the display format to phase.
None
DELA subsystem (1)
Command
What it does
Arguments
DELA
Format Delay. Sets the display format to group delay.
None
SMIC subsystem (1)
Command
What it does
Arguments
SMIC
Format Smith. Sets the display format to Smith chart.
None
POLA subsystem (1)
Command
What it does
Arguments
POLA
Format Polar. Sets the display format to polar.
None
LINM subsystem (1)
Command
What it does
Arguments
LINM
Format LinMag. Sets the display format to linear magnitude.
None
SWR subsystem (1)
Command
What it does
Arguments
SWR
Format SWR. Sets the display format to SWR.
None
REAL subsystem (1)
Command
What it does
Arguments
REAL
Format Real. Sets the display format to real.
None
IMAG subsystem (1)
Command
What it does
Arguments
IMAG
Format Imaginary. Sets the display format to imaginary.
None
OUTPFORM subsystem (1)
Command
What it does
Arguments
OUTPFORM
Read Formatted Data. Outputs the formatted trace data array over GPIB.
None
OUTPDATA subsystem (1)
Command
What it does
Arguments
OUTPDATA
Read Raw Data. Outputs the corrected (raw) complex data array over GPIB.
None
MARKOFF subsystem (1)
Command
What it does
Arguments
MARKOFF
Markers Off. Turns all markers off.
None
OUTPMARK subsystem (1)
Command
What it does
Arguments
OUTPMARK
Read Marker. Outputs the active marker value (and stimulus) over GPIB.
None
SEAMAX subsystem (1)
Command
What it does
Arguments
SEAMAX
Marker Search Max. Moves the active marker to the trace maximum.
None
SEAMIN subsystem (1)
Command
What it does
Arguments
SEAMIN
Marker Search Min. Moves the active marker to the trace minimum.
None
Run control (1)
Command
What it does
Arguments
SING
Single Sweep. Triggers a single sweep and then holds.
Read Error. Outputs the next message from the error queue.
None
PRES subsystem (1)
Command
What it does
Arguments
PRES
Preset. Presets the analyzer to its default state.
None
OUTPIDEN subsystem (1)
Command
What it does
Arguments
OUTPIDEN
Identify. Outputs the instrument identification string over GPIB.
None
OPC subsystem (1)
Command
What it does
Arguments
OPC?
Operation Complete. Returns 1 when all pending operations are complete.
None
CLES subsystem (1)
Command
What it does
Arguments
CLES
Clear Status. Clears the status registers and error queue.
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 Keysight's programming documentation for the 8719ES, 8720ES, 8722ES, 8753C, 8753D, and 8753ES and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Keysight's programming manual: check it before you rely on an edge case. Last updated November 12, 2026.
Frequently asked questions
Does the Keysight 8719ES support SCPI remote control?
Yes. The Keysight 8719ES accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 53 SCPI commands for it: 9 queries that read values or state, and 44 settings and actions.
How do I control the Keysight 8719ES 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?, AUTO and STAR?.
Which command reads a value from the Keysight 8719ES?
STAR? (read start freq). Returns the start frequency in Hz. The full list of queries is in the command reference on this page, grouped by subsystem.
Can I automate the Keysight 8719ES 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 Keysight 8719ES 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.