Multimeter · SCPI command reference

Keysight 34460A and 34470A SCPI commands

The Keysight 34460A and 34470A multimeter is controlled remotely with SCPI commands. TestFlow's instrument library holds 50 commands for it, 18 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 34460A on a real bench.

Commands
50
Queries
18
Subsystems
14
Models covered
2

Control the Keysight 34460A 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 34460A's VISA address

# Paste the address of your Keysight 34460A (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(":SENS:VOLT:DC:RANG:AUTO ON")  # Volt range auto
print(inst.query(":FETCh?"))  # Fetch Measurement

inst.close()

Run a 34460A test without writing code

Describe the test in a sentence, for example “volt range auto on the 34460A, then fetch measurement 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

50 commands in 14 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The 34460A and 34470A share this command set in TestFlow's library.

Measurement (MEASure) (8)

CommandWhat it doesArguments
:MEAS:VOLT:DC? <Range>,<Resolution>Measure Voltage DC. Measures DC voltage with specified range and resolution.Number; Number
:MEAS:VOLT:AC? <Range>,<Resolution>Measure Voltage AC. Measures AC voltage with specified range and resolution.Number; Number
:MEAS:CURR:DC? <Range>,<Resolution>Measure Current DC. Measures DC current with specified range and resolution.Number; Number
:MEAS:CURR:AC? <Range>,<Resolution>Measure Current AC. Measures AC current with specified range and resolution.Number; Number
:MEAS:RES? <Range>,<Resolution>Measure Resistance 2W. Measures 2-wire resistance with specified range and resolution.Number; Number
:MEAS:FRES? <Range>,<Resolution>Measure Resistance 4W. Measures 4-wire resistance with specified range and resolution.Number; Number
:MEAS:FREQ? <Range>,<Resolution>Measure Frequency. Measures frequency with specified range and resolution.Number; Number
:MEAS:TEMP? <Probe>,<Type>Measure Temperature. Measures temperature: probe FRTD/RTD (type 85), FTHermistor/THERmistor (type 5000).Text: FRTD,RTD,FTHermistor,THERmistor; Text: 85,5000

Configure (CONFigure) (8)

CommandWhat it doesArguments
:CONF:VOLT:DC <Range>,<Resolution>Configure Voltage DC. Configures DC voltage measurement.Number; Number
:CONF:VOLT:AC <Range>,<Resolution>Configure Voltage AC. Configures AC voltage measurement.Number; Number
:CONF:CURR:DC <Range>,<Resolution>Configure Current DC. Configures DC current measurement.Number; Number
:CONF:CURR:AC <Range>,<Resolution>Configure Current AC. Configures AC current measurement.Number; Number
:CONF:RES <Range>,<Resolution>Configure Resistance 2W. Configures 2-wire resistance measurement.Number; Number
:CONF:FRES <Range>,<Resolution>Configure Resistance 4W. Configures 4-wire resistance measurement.Number; Number
:CONF:FREQ <Range>,<Resolution>Configure Frequency. Configures frequency measurement.Number; Number
:CONF:TEMP <Probe>,<Type>Configure Temperature. Configures temperature: probe FRTD/RTD (type 85), FTHermistor/THERmistor (type 5000).Text: FRTD,RTD,FTHermistor,THERmistor; Text: 85,5000

Sense (SENSe) (6)

CommandWhat it doesArguments
:SENS:FUNC "<Sense>"Sense function. Selects the measurement function.Text: VOLT:DC,FRES
:SENS:VOLT:DC:RANG <Range>Sense volt range. Sets the DC voltage measurement range.Number: 0.1,1,10,100,1000
:SENS:VOLT:DC:RANG:AUTO ONVolt range auto. Enables automatic voltage range selection.None
:SENS:VOLT:NPLC <NPLC>Volt NPLC. Sets the integration time in number of power line cycles.Number: 0.02,0.2,1,10,100
:SENS:VOLT:DC:ZERO:AUTO <ON_OFF>Auto zero. Enables or disables DC voltage autozero (ON, OFF, or ONCE).Text: ON,OFF,ONCE
:SENS:<Function>:RES <Resolution>Resolution. Sets the resolution for the selected measurement function.Text: VOLT:DC,FRES; Number

Display (DISPlay) (3)

CommandWhat it doesArguments
:DISP <ON_OFF>Display OnOff. Enables or disables the display.Text: ON,OFF
:DISP:TEXT "<Message>"Display Text. Displays a custom message on the screen.Text: Any_text
:DISP:TEXT:CLEDisplay Text Clear. Clears the displayed message.None

Trigger (TRIGger) (2)

CommandWhat it doesArguments
:TRIG:COUN <Trigger_Count>Trigger Count. Sets the number of trigger events.Number
:TRIG:SOUR <Source>Trigger Source. Sets the trigger source.Text: IMM,EXT,BUS

System (SYSTem) (2)

CommandWhat it doesArguments
:SYST:ERR?System Error Query. Queries the next system error in the queue.None
:SYST:LOCSystem Local. Sets the instrument to local (front panel) control.None

Other subsystem (2)

CommandWhat it doesArguments
<SCPI>SCPI. Sends a custom SCPI command with optional parameters.Text
<Output Variable>=<Equation>Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)Number; Text

Initiate (INITiate) (1)

CommandWhat it doesArguments
:INITInitiate Measurement. Starts the measurement process.None

Fetch (FETCh) (1)

CommandWhat it doesArguments
:FETCh?Fetch Measurement. Returns the last completed measurement.None

Read (READ) (1)

CommandWhat it doesArguments
:READ?Read Measurement. Triggers and returns a new measurement.None

SAMP subsystem (1)

CommandWhat it doesArguments
:SAMP:COUN <Count>Sample Count. Sets the number of samples per trigger.Number

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 mearurment to a variableText

IEEE 488.2 common commands (13)

CommandWhat it doesArguments
*RSTReset. Resets the instrument to its default state.None
*CLSClear Status. Clears status registers and the error queue.None
*ESE <Mask>Standard Event Enable. Sets the Standard Event Status Enable register mask.Number
*ESE?Standard Event Enable Query. Queries the Standard Event Status Enable register.None
*ESR?Event Status Register Query. Queries the Standard Event Status Register.None
*IDN?Identify. Returns the instrument identification information.None
*OPCOperation Complete. Sets the Operation Complete flag when pending operations finish.None
*OPC?Operation Complete Query. Queries if all pending operations are complete.None
*SRE <Mask>Service Request Enable. Sets the Service Request Enable register mask.Number
*SRE?Service Request Enable Query. Queries the Service Request Enable register.None
*STB?Status Byte Query. Queries the status byte register.None
*TST?Self Test. Performs a self-test and returns the result.None
*WAIWait. Waits until all preceding commands are completed.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 34460A and 34470A and checked when the agent runs it. The library marks this instrument as supporting *OPC? for operation-complete synchronisation. It reads errors back with SYSTem:ERRor?. 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 34460A support SCPI remote control?

Yes. The Keysight 34460A accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 50 SCPI commands for it: 18 queries that read values or state, and 32 settings and actions.

How do I control the Keysight 34460A 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?, :SENS:VOLT:DC:RANG:AUTO ON and :FETCh?.

Which command reads a value from the Keysight 34460A?

:FETCh? (fetch measurement). Returns the last completed measurement. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Keysight 34460A 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 34460A 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.