Vector Network Analyzer · SCPI command reference

Keysight 8714ES SCPI commands

The Keysight 8714ES vector network analyzer is controlled remotely with SCPI commands. TestFlow's instrument library holds 51 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 8714ES on a real bench.

Commands
51
Queries
9
Subsystems
11
Models covered
1

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Keysight 8714ES and writes the report from the measured results.

Get started

Control the Keysight 8714ES 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 Keysight 8714ES's VISA address

# Paste the address of your Keysight 8714ES (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("SENSe1:FUNCtion 'XFRequency:S 1,1'")  # Measure S11
print(inst.query("SENSe1:FREQuency:STARt?"))  # Read Start Freq

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Keysight 8714ES and writes the report from the measured results.

Get started

Run a 8714ES test without writing code

Describe the test in a sentence, for example “measure s11 on the 8714ES, 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.

Get started

SCPI command reference

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

Sense (SENSe) (18)

CommandWhat it doesArguments
SENSe1:FUNCtion 'XFRequency:S 1,1'Measure S11. Selects the S11 parameter for measurement.None
SENSe1:FUNCtion 'XFRequency:S 1,2'Measure S12. Selects the S12 parameter for measurement.None
SENSe1:FUNCtion 'XFRequency:S 2,1'Measure S21. Selects the S21 parameter for measurement.None
SENSe1:FUNCtion 'XFRequency:S 2,2'Measure S22. Selects the S22 parameter for measurement.None
SENSe1:FREQuency:STARt <Frequency>Set Start Freq. Sets the start frequency (append units such as HZ, MHZ or GHZ).Number
SENSe1:FREQuency:STOP <Frequency>Set Stop Freq. Sets the stop frequency (append units such as HZ, MHZ or GHZ).Number
SENSe1:FREQuency:CENTer <Frequency>Set Center Freq. Sets the center frequency (append units).Number
SENSe1:FREQuency:SPAN <Frequency>Set Span Freq. Sets the frequency span (append units).Number
SENSe1:FREQuency:STARt?Read Start Freq. Returns the start frequency in Hz.None
SENSe1:FREQuency:STOP?Read Stop Freq. Returns the stop frequency in Hz.None
SENSe1:SWEep:POINts <Points>Set Points. Sets the number of measurement points per sweep.Number: 3,5,11,21,51,101,201,401,801,1601
SENSe1:BWIDth:RESolution <Bandwidth>Set IF Bandwidth. Sets the IF bandwidth in Hz.Number: 15,250,1200,3700,4000,6500
SENSe1:AVERage:STATe ONAverage On. Turns trace averaging on.None
SENSe1:AVERage:STATe OFFAverage Off. Turns trace averaging off.None
SENSe1:AVERage:COUNt <Factor>Set Average Factor. Sets the averaging factor (number of sweeps).Number
SENSe1:AVERage:CLEarAverage Restart. Restarts the averaging measurement.None
SENSe1:CORRection:STATe ONCorrection On. Turns measurement error correction on.None
SENSe1:CORRection:STATe OFFCorrection Off. Turns measurement error correction off.None

Calculate (CALCulate) (15)

CommandWhat it doesArguments
CALCulate1:FORMat MLOGarithmicFormat LogMag. Sets the display format to log magnitude.None
CALCulate1:FORMat PHASeFormat Phase. Sets the display format to phase.None
CALCulate1:FORMat GDELayFormat Delay. Sets the display format to group delay.None
CALCulate1:FORMat SMIThFormat Smith. Sets the display format to Smith chart.None
CALCulate1:FORMat POLarFormat Polar. Sets the display format to polar.None
CALCulate1:FORMat MLINearFormat LinMag. Sets the display format to linear magnitude.None
CALCulate1:FORMat SWRFormat SWR. Sets the display format to SWR.None
CALCulate1:FORMat REALFormat Real. Sets the display format to real.None
CALCulate1:FORMat IMAGinaryFormat Imaginary. Sets the display format to imaginary.None
CALCulate1:MARKer1:STATe ONMarker 1 On. Turns on marker 1 and makes it active.None
CALCulate1:MARKer:AOFFMarkers Off. Turns all markers off.None
CALCulate1:MARKer1:X <Frequency>Set Marker Freq. Places marker 1 at the specified frequency (append units).Number
CALCulate1:MARKer1:Y?Read Marker. Outputs the active marker value (and stimulus) over GPIB.None
CALCulate1:MARKer1:MAXimumMarker Search Max. Moves the active marker to the trace maximum.None
CALCulate1:MARKer1:MINimumMarker Search Min. Moves the active marker to the trace minimum.None

Initiate (INITiate) (3)

CommandWhat it doesArguments
INITiate1:CONTinuous OFF;:INITiate1:IMMediateSingle Sweep. Triggers a single sweep and then holds.None
INITiate1:CONTinuous ONContinuous Sweep. Sets continuous-sweep trigger mode.None
INITiate1:CONTinuous OFFHold. Holds the sweep (stops triggering).None

Display (DISPlay) (3)

CommandWhat it doesArguments
DISPlay:WINDow1:TRACe:Y:SCALe:AUTO ONCEAutoscale. Autoscales the active channel trace.None
DISPlay:WINDow1:TRACe:Y:SCALe:PDIVision <Per_Div>Set Scale Per Div. Sets the vertical scale per division for the active trace.Number
DISPlay:WINDow1:TRACe:Y:SCALe:RLEVel <Value>Set Reference Value. Sets the reference value for the active trace.Number

Source (SOURce) (2)

CommandWhat it doesArguments
SOURce1:POWer:LEVel <Power>Set Power Level. Sets the source output power level in dBm.Number
SOURce1:POWer:LEVel?Read Power Level. Returns the source output power level in dBm.None

Trace (TRACe) (2)

CommandWhat it doesArguments
TRACe:DATA? CH1FDATARead Formatted Data. Outputs the formatted trace data array over GPIB.None
TRACe:DATA? CH1SDATARead Raw Data. Outputs the corrected (raw) complex data array over GPIB.None

System (SYSTem) (2)

CommandWhat it doesArguments
SYSTem:ERRor?Read Error. Outputs the next message from the error queue.None
SYSTem:PRESetPreset. Presets the analyzer to its default state.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

IEEE 488.2 common commands (3)

CommandWhat it doesArguments
*IDN?Identify. Outputs the instrument identification string over GPIB.None
*OPC?Operation Complete. Returns 1 when all pending operations are complete.None
*CLSClear Status. Clears the status registers and error queue.None

Where these commands come from

This reference is generated from TestFlow's instrument library, which is drafted from Keysight's programming documentation for the 8714ES 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 17, 2026.

Frequently asked questions

Does the Keysight 8714ES support SCPI remote control?

Yes. The Keysight 8714ES accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 51 SCPI commands for it: 9 queries that read values or state, and 42 settings and actions.

How do I control the Keysight 8714ES 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?, SENSe1:FUNCtion 'XFRequency:S 1,1' and SENSe1:FREQuency:STARt?.

Which command reads a value from the Keysight 8714ES?

SENSe1:FREQuency:STARt? (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 8714ES 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 8714ES 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.