Multimeter · SCPI command comparison

Keithley 2001 vs DAQ6510: SCPI commands and remote control compared

In TestFlow's instrument library, the Keithley 2001 takes 81 SCPI commands, 22 of them queries, and the Keithley DAQ6510 takes 96 SCPI commands, 26 of them queries. That is 15 more on the DAQ6510. Counting distinct command headers (the command path without its arguments), 41 are accepted by both, 15 exist only on the 2001, and 29 only on the DAQ6510. 73% of the 2001's command headers also exist on the DAQ6510.

Both libraries have commands under SENSe, MEASure, SYSTem, TRIGger, TRACe, READ, FETCh, and INITiate, plus 1 more root. Only the 2001 has UNIT and CALCulate.

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

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

2001 commands
81
DAQ6510 commands
96
Shared headers
41
Unique headers
44

Run this on your bench

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

Get started

2001 vs DAQ6510 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 2001Keithley DAQ6510
Commands in TestFlow's library8196
Queries (read a value or state)2226
Settings and actions5970
Subsystems1513
Distinct command headers5670
Headers the other lacks1529
Command languageSCPISCPI
Operation complete*OPC?*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command set2001, 2002DAQ6510, DMM7510

Commands both accept

41 command headers are in both libraries. Here are 12, taken across subsystems.

CommandWhat it does
:SENSe:FUNCtion "VOLT:DC"Func DCV. Selects DC voltage as the active measurement function.
:MEASure?Measure. Makes a measurement using the active function and returns the reading.
:SYSTem:ERRor:NEXT?Read Error. Reads and removes the oldest message from the error queue (0,"No error" if empty).
:TRACe:CLEarClear Buffer. Clears all readings and statistics from the default reading buffer.
: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.
:INITiateInit Trigger Model. Starts the trigger model and begins the configured measurement sequence.
:ABORtAbort Trigger Model. Stops all trigger-model commands and returns the instrument to idle.
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).
:SENSe:FUNCtion?Read Function. Queries the currently selected measurement function string.
:MEASure:VOLTage:DC?Measure DCV. Sets the function to DC voltage and returns one measured reading in volts.
*RSTReset. Resets the instrument to its default state.

Only on the Keithley 2001

15 command headers in the 2001 library have no match in the DAQ6510 library. Below are 14 of them from the 6 largest subsystems; the full list is in the Keithley 2001 command reference.

SENSe (5 only on the 2001)

CommandWhat it does
:SENSe:VOLTage:DC:REFerence:ACQuireAcquire DCV Rel. Acquires the present DC voltage reading and stores it as the relative (null) offset.
:SENSe:VOLTage:DC:REFerence <Offset>Set DCV Rel Offset. Sets the relative (null) offset value for the DC voltage function.
:SENSe:VOLTage:DC:REFerence:STATe ONDCV Rel On. Enables the relative (null) offset for the DC voltage function.
:SENSe:CURRent:DC:REFerence:ACQuireAcquire DCI Rel. Acquires the present DC current reading and stores it as the relative (null) offset.

UNIT (4 only on the 2001)

CommandWhat it does
:UNIT:VOLTage:AC DBSet ACV Unit dB. Sets the AC voltage measurement unit to dB.
:UNIT:VOLTage:AC:DB:REFerence <Reference>Set ACV dB Reference. Sets the dB reference voltage for the AC voltage function (1e-7 to 1000 V).
:UNIT:VOLTage:AC:DBM:IMPedance <Impedance>Set ACV dBm Reference. Sets the dBm reference impedance for the AC voltage function (1 to 9999 ohms).
:UNIT:TEMPerature <Unit>Set Temp Unit. Sets the units used for temperature measurements.

TRIGger (3 only on the 2001)

CommandWhat it does
:TRIGger:COUNt <Count>Set Sample Count. Sets the number of measurements made when a measurement is requested (1 to 1000000).
:TRIGger:COUNt?Read Sample Count. Queries the number of measurements made per measurement request.
:TRIGger:SOURce <Source>Set Trigger Source. Defines a trigger-model block that makes measurements at the specified block number.

CALCulate (1 only on the 2001)

CommandWhat it does
:CALCulate2:FORMat MEAN ; ...Read Buffer Stat Mean. Returns the mean (average) of the readings stored in the default reading buffer.

SYSTem (1 only on the 2001)

CommandWhat it does
:SYSTem:AZERo:STATe ONSet DCV AZero On. Enables autozero for the DC voltage function.

TRACe (1 only on the 2001)

CommandWhat it does
:TRACe:FREE?Read Buffer Actual. Returns the number of readings currently stored in the default reading buffer.

Only on the Keithley DAQ6510

29 command headers in the DAQ6510 library have no match in the 2001 library. Below are 15 of them from the 4 largest subsystems; the full list is in the Keithley DAQ6510 command reference.

SENSe (16 only on the DAQ6510)

CommandWhat it does
:SENSe:CAPacitance:RANGe <Range>Set Capacitance Range. Sets the capacitance measurement range in farads.
:SENSe:VOLTage:DC:INPutimpedance AUTODCV Input Impedance Auto On. Sets DC voltage input impedance to AUTO (>10 GOhm on 100 mV/1 V/10 V ranges).
:SENSe:VOLTage:DC:AZERo:STATe ONSet DCV AZero On. Enables autozero for the DC voltage function.
:SENSe:VOLTage:AC:DETector:BANDwidth <Bandwidth>Set ACV Detector BW. Sets the AC voltage detector bandwidth in Hz (3, 30 or 300).

TRACe (6 only on the DAQ6510)

CommandWhat it does
: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.
:TRACe:STATistics:MAXimum?Read Buffer Stat Max. Returns the maximum reading stored in the default reading buffer.

MEASure (4 only on the DAQ6510)

CommandWhat it does
: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.
:MEASure:DIODe?Measure Diode. Sets the function to diode test and returns the forward voltage in volts.

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.

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), and the same line runs on each. For the reading, both libraries hold :MEASure:VOLTage:DC? (measure dcv), and the same line runs on each. 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_2001_ADDRESS")  # Keithley 2001
b = rm.open_resource("PASTE_DAQ6510_ADDRESS")  # Keithley DAQ6510
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(":SENSe:FUNCtion \"VOLT:DC\"")

# The same reading on both: Measure DCV
print(a.query(":MEASure:VOLTage:DC?"))
print(b.query(":MEASure:VOLTage:DC?"))

a.close()
b.close()

Run this on your bench

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

Get started

Frequently asked questions

What is the difference between the Keithley 2001 and the Keithley DAQ6510 for remote control?

In TestFlow's library the 2001 has 81 SCPI commands and the DAQ6510 has 96 SCPI commands. 41 command headers are common to both, 15 are only on the 2001 (mostly SENSe and UNIT), and 29 are only on the DAQ6510 (mostly SENSe and TRACe).

Can I use the same SCPI code for the Keithley 2001 and the Keithley DAQ6510?

Partly. 41 command headers are accepted by both, including :SENSe:FUNCtion, :MEASure?, and :SYSTem:ERRor:NEXT?. 44 are not, for example :SENSe:VOLTage:DC:REFerence:ACQuire on the 2001 and :SENSe:CAPacitance:RANGe on the DAQ6510, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the 2001 or the DAQ6510?

The DAQ6510: 81 commands for the 2001 against 96 for the DAQ6510 in TestFlow's library. Of those, 22 on the 2001 and 26 on the DAQ6510 are queries that read a value or state, and the library splits them into 15 and 13 subsystems.

How do the 2001 and DAQ6510 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.