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.
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)
Command
What it does
Arguments
: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.
Sense volt range. Sets the DC voltage measurement range.
Number: 0.1,1,10,100,1000
:SENS:VOLT:DC:RANG:AUTO ON
Volt 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)
Command
What it does
Arguments
: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:CLE
Display Text Clear. Clears the displayed message.
None
Trigger (TRIGger) (2)
Command
What it does
Arguments
: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)
Command
What it does
Arguments
:SYST:ERR?
System Error Query. Queries the next system error in the queue.
None
:SYST:LOC
System Local. Sets the instrument to local (front panel) control.
None
Other subsystem (2)
Command
What it does
Arguments
<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)
Command
What it does
Arguments
:INIT
Initiate Measurement. Starts the measurement process.
None
Fetch (FETCh) (1)
Command
What it does
Arguments
:FETCh?
Fetch Measurement. Returns the last completed measurement.
None
Read (READ) (1)
Command
What it does
Arguments
:READ?
Read Measurement. Triggers and returns a new measurement.
None
SAMP subsystem (1)
Command
What it does
Arguments
:SAMP:COUN <Count>
Sample Count. Sets the number of samples per trigger.
Number
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 mearurment to a variable
Text
IEEE 488.2 common commands (13)
Command
What it does
Arguments
*RST
Reset. Resets the instrument to its default state.
None
*CLS
Clear 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
*OPC
Operation 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
*WAI
Wait. 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.