Multimeter · SCPI command comparison

Keithley DAQ6510 vs Keysight 34460A: SCPI commands and remote control compared

In TestFlow's instrument library, the Keithley DAQ6510 takes 96 SCPI commands, 26 of them queries, and the Keysight 34460A takes 50 SCPI commands, 18 of them queries. That is 46 more on the DAQ6510. Counting distinct command headers (the command path without its arguments), 20 are accepted by both, 50 exist only on the DAQ6510, and 26 only on the 34460A. 29% of the DAQ6510's command headers also exist on the 34460A.

Both libraries have commands under SENSe, MEASure, TRIGger, READ, FETCh, INITiate, and SYSTem. Only the DAQ6510 has TRACe and ABORt. Only the 34460A has CONF, DISP, and SAMP.

Both libraries synchronise with *OPC?. Both libraries read errors with SYSTem:ERRor?.

TestFlow's library gives the DMM7510 the same command set as the DAQ6510, so the DAQ6510 column applies to it too. TestFlow's library gives the 34470A the same command set as the 34460A, so the 34460A column applies to it too.

DAQ6510 commands
96
34460A commands
50
Shared headers
20
Unique headers
76

Run this on your bench

Describe the test; TestFlow's agent uses these command sets to drive your Keithley DAQ6510 or Keysight 34460A and writes the report from the measured results.

Get started

DAQ6510 vs 34460A at a glance

Counts come from TestFlow's instrument library, the command sets its AI agent uses to drive each instrument. A distinct command header is the command path without its arguments, so :OUTPut ON and :OUTPut OFF count once.

Keithley DAQ6510Keysight 34460A
Commands in TestFlow's library9650
Queries (read a value or state)2618
Settings and actions7032
Subsystems1314
Distinct command headers7046
Headers the other lacks5026
Command languageSCPISCPI
Operation complete*OPC?*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command setDAQ6510, DMM751034460A, 34470A

Commands both accept

20 command headers are in both libraries. Here are 12, taken across subsystems. Where the 34460A library writes the command differently, its form is shown under the DAQ6510's.

CommandWhat it does
:SENSe:FUNCtion "VOLT:DC"34460A: :SENS:FUNC "<Sense>"Func DCV. Selects DC voltage as the active measurement function.
:MEASure:VOLTage:DC?34460A: :MEAS:VOLT:DC? <Range>,<Resolution>Measure DCV. Sets the function to DC voltage and returns one measured reading in volts.
:READ?Read. Triggers and returns one reading from the active function using the default reading buffer.
:FETCh?Fetch. Returns the latest reading from the buffer without triggering a new measurement.
:INITiate34460A: :INITInit Trigger Model. Starts the trigger model and begins the configured measurement sequence.
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).
:SENSe:VOLTage:DC:RANGe <Range>34460A: :SENS:VOLT:DC:RANG <Range>Set DCV Range. Sets the DC voltage measurement range in volts.
:MEASure:VOLTage:AC?34460A: :MEAS:VOLT:AC? <Range>,<Resolution>Measure ACV. Sets the function to AC voltage and returns one measured reading in volts.
*RSTReset. Resets the instrument to its default state.
:SENSe:VOLTage:DC:RANGe:AUTO ON34460A: :SENS:VOLT:DC:RANG:AUTO ONDCV Autorange On. Enables autorange for the DC voltage function.
:MEASure:CURRent:DC?34460A: :MEAS:CURR:DC? <Range>,<Resolution>Measure DCI. Sets the function to DC current and returns one measured reading in amps.
*CLSClear Status. Clears all event registers and the error queue.

Only on the Keithley DAQ6510

50 command headers in the DAQ6510 library have no match in the 34460A library. Below are 17 of them from the 6 largest subsystems; the full list is in the Keithley DAQ6510 command reference.

SENSe (33 only on the DAQ6510)

CommandWhat it does
:SENSe:FUNCtion?Read Function. Queries the currently selected measurement function string.
:SENSe:VOLTage:AC:RANGe <Range>Set ACV Range. Sets the AC voltage measurement range in volts.
:SENSe:CURRent:DC:RANGe <Range>Set DCI Range. Sets the DC current measurement range in amps.
:SENSe:CURRent:AC:RANGe <Range>Set ACI Range. Sets the AC current measurement range in amps.

TRACe (7 only on the DAQ6510)

CommandWhat it does
:TRACe:CLEarClear Buffer. Clears all readings and statistics from the default reading buffer.
:TRACe:ACTual?Read Buffer Actual. Returns the number of readings currently stored in the default reading buffer.
:TRACe:STATistics:AVERage?Read Buffer Stat Mean. Returns the mean (average) of the readings stored in the default reading buffer.
:TRACe:STATistics:MINimum?Read Buffer Stat Min. Returns the minimum reading stored in the default reading buffer.

MEASure (5 only on the DAQ6510)

CommandWhat it does
:MEASure?Measure. Makes a measurement using the active function and returns the reading.
:MEASure:PERiod?Measure Period. Sets the function to period and returns one reading in seconds.
:MEASure:CAPacitance?Measure Capacitance. Sets the function to capacitance and returns one reading in farads.
:MEASure:CONTinuity?Measure Continuity. Sets the function to continuity and returns the measured resistance in ohms.

TRIGger (3 only on the DAQ6510)

CommandWhat it does
:TRIGger:BLOCk:MDIGitize <BlockNumber>Set Trigger Source. Defines a trigger-model block that makes measurements at the specified block number.
:TRIGger:LOAD "SimpleLoop", <Count>Trigger Load SimpleLoop. Loads the SimpleLoop trigger model template that makes the specified number of readings.
:TRIGger:EXTernal:IN:EDGE <Edge>Set Trigger Ext In Edge. Sets the edge used to detect external input triggers on the rear-panel line.

ABORt (1 only on the DAQ6510)

CommandWhat it does
:ABORtAbort Trigger Model. Stops all trigger-model commands and returns the instrument to idle.

SYSTem (1 only on the DAQ6510)

CommandWhat it does
:SYSTem:ERRor:NEXT?Read Error. Reads and removes the oldest message from the error queue (0,"No error" if empty).

Only on the Keysight 34460A

26 command headers in the 34460A library have no match in the DAQ6510 library. Below are 18 of them from the 6 largest subsystems; the full list is in the Keysight 34460A command reference.

CONF (8 only on the 34460A)

CommandWhat it does
:CONF:VOLT:DC <Range>,<Resolution>Configure Voltage DC. Configures DC voltage measurement.
:CONF:VOLT:AC <Range>,<Resolution>Configure Voltage AC. Configures AC voltage measurement.
:CONF:CURR:DC <Range>,<Resolution>Configure Current DC. Configures DC current measurement.
:CONF:CURR:AC <Range>,<Resolution>Configure Current AC. Configures AC current measurement.

IEEE 488.2 common (*) (7 only on the 34460A)

CommandWhat it does
*ESE <Mask>Standard Event Enable. Sets the Standard Event Status Enable register mask.
*ESE?Standard Event Enable Query. Queries the Standard Event Status Enable register.
*ESR?Event Status Register Query. Queries the Standard Event Status Register.
*OPCOperation Complete. Sets the Operation Complete flag when pending operations finish.

DISP (3 only on the 34460A)

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

SENS (3 only on the 34460A)

CommandWhat it does
:SENS:VOLT:NPLC <NPLC>Volt NPLC. Sets the integration time in number of power line cycles.
:SENS:VOLT:DC:ZERO:AUTO <ON_OFF>Auto zero. Enables or disables DC voltage autozero (ON, OFF, or ONCE).
:SENS:<Function>:RES <Resolution>Resolution. Sets the resolution for the selected measurement function.

SYST (2 only on the 34460A)

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

TRIG (2 only on the 34460A)

CommandWhat it does
:TRIG:COUN <Trigger_Count>Trigger Count. Sets the number of trigger events.
:TRIG:SOUR <Source>Trigger Source. Sets the trigger source.

Control both from Python

With PyVISA and any VISA backend, this opens both instruments, identifies them, sends one setting, and reads one value from each. For the setting, both libraries hold :SENSe:FUNCtion (func dcv); the 34460A library writes it as :SENS:FUNC "VOLT:DC". For the reading, both libraries hold :MEASure:TEMPerature? (measure temperature); the 34460A library writes it as :MEAS:TEMP? FRTD,85. For the basics, see the PyVISA tutorial.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find both VISA addresses

a = rm.open_resource("PASTE_DAQ6510_ADDRESS")  # Keithley DAQ6510
b = rm.open_resource("PASTE_34460A_ADDRESS")  # Keysight 34460A
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

# The same setting on both: Func DCV
a.write(":SENSe:FUNCtion \"VOLT:DC\"")
b.write(":SENS:FUNC \"VOLT:DC\"")

# The same reading on both: Measure Temperature
print(a.query(":MEASure:TEMPerature?"))
print(b.query(":MEAS:TEMP? FRTD,85"))

a.close()
b.close()

Run this on your bench

Describe the test; TestFlow's agent uses these command sets to drive your Keithley DAQ6510 or Keysight 34460A and writes the report from the measured results.

Get started

Frequently asked questions

What is the difference between the Keithley DAQ6510 and the Keysight 34460A for remote control?

In TestFlow's library the DAQ6510 has 96 SCPI commands and the 34460A has 50 SCPI commands. 20 command headers are common to both, 50 are only on the DAQ6510 (mostly SENSe and TRACe), and 26 are only on the 34460A (mostly CONF and IEEE 488.2 common (*)).

Can I use the same SCPI code for the Keithley DAQ6510 and the Keysight 34460A?

Partly. 20 command headers are accepted by both, including :SENSe:FUNCtion, :MEASure:VOLTage:DC?, and :READ?. 76 are not, for example :SENSe:FUNCtion? on the DAQ6510 and :CONF:VOLT:DC on the 34460A, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the DAQ6510 or the 34460A?

The DAQ6510: 96 commands for the DAQ6510 against 50 for the 34460A in TestFlow's library. Of those, 26 on the DAQ6510 and 18 on the 34460A are queries that read a value or state, and the library splits them into 13 and 14 subsystems.

How do the DAQ6510 and 34460A signal operation complete and report errors?

Both libraries synchronise with *OPC?. Both libraries read errors with SYSTem:ERRor?. Each command named here is listed in the tables on this page and on each instrument's command reference.

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.