Multimeter · SCPI command comparison

Fluke 8846A vs Keithley 2000: SCPI commands and remote control compared

In TestFlow's instrument library, the Fluke 8846A takes 118 SCPI commands, 35 of them queries, and the Keithley 2000 takes 91 SCPI commands, 25 of them queries. That is 27 more on the 8846A. Counting distinct command headers (the command path without its arguments), 23 are accepted by both, 67 exist only on the 8846A, and 39 only on the 2000. 26% of the 8846A's command headers also exist on the 2000.

Both libraries have commands under CALCulate, MEASure, TRIGger, SYSTem, SAMPle, READ, FETCh, and INITiate. Only the 8846A has VOLTage, FUNCtion, CONFigure, CURRent, RESistance, and FRESistance and 2 more. Only the 2000 has SENSe, UNIT, TRACe, and ABORt.

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

8846A commands
118
2000 commands
91
Shared headers
23
Unique headers
106

Run this on your bench

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

Get started

8846A vs 2000 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.

Fluke 8846AKeithley 2000
Commands in TestFlow's library11891
Queries (read a value or state)3525
Settings and actions8366
Subsystems2016
Distinct command headers9062
Headers the other lacks6739
Command languageSCPISCPI
Operation complete*OPC?*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command set8846A2000

Commands both accept

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

CommandWhat it does
MEASure:VOLTage:DC?Measure DCV. Configures DC voltage and returns one measured value in volts.
TRIGger:SOURce <Source>Set Trigger Source. Sets the trigger source for the measurement.
SYSTem:BEEPer:STATe ONBeeper On. Enables the beeper.
SAMPle:COUNt <Count>Set Sample Count. Sets the number of samples taken per trigger (1 to 50000).
READ?Read Reading. Starts a new measurement and returns the reading using the current configuration.
FETCh?Fetch Reading. Returns readings already stored in memory from the current trigger without starting a new measurement.
INITiateInitiate. Changes the trigger state from idle to wait-for-trigger and stores readings in memory.
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).
MEASure:VOLTage:AC?Measure ACV. Configures AC voltage and returns one measured value in volts RMS.
TRIGger:COUNt <Count>Set Trigger Count. Sets the number of triggers the meter accepts before returning to idle (1 to 50000).
SAMPle:COUNt?Read Sample Count. Returns the present sample count per trigger.
*RSTReset. Resets the instrument to its default state.

Only on the Fluke 8846A

67 command headers in the 8846A library have no match in the 2000 library. Below are 24 of them from the 6 largest subsystems; the full list is in the Fluke 8846A command reference.

CALCulate (14 only on the 8846A)

CommandWhat it does
CALCulate:FUNCtion <Function>Set Math Function. Selects the math operation applied to readings.
CALCulate:STATe ONMath On. Enables the math (CALCulate) operation.
CALCulate:NULL:OFFSet <Offset>Set Null Offset. Sets the null (relative) offset value subtracted from each reading.
CALCulate:NULL:OFFSet?Read Null Offset. Returns the present null (relative) offset value.

CONFigure (12 only on the 8846A)

CommandWhat it does
CONFigure:VOLTage:DCConfig DCV. Configures the meter for DC voltage measurement using default range and resolution.
CONFigure:VOLTage:ACConfig ACV. Configures the meter for AC voltage measurement using default range and resolution.
CONFigure:CURRent:DCConfig DCI. Configures the meter for DC current measurement using default range and resolution.
CONFigure:CURRent:ACConfig ACI. Configures the meter for AC current measurement using default range and resolution.

VOLTage (10 only on the 8846A)

CommandWhat it does
VOLTage:DC:RANGe <Range>Set DCV Range. Sets the manual DC voltage range in volts.
VOLTage:DC:RANGe?Read DCV Range. Returns the present DC voltage range in volts.
VOLTage:DC:RANGe:AUTO ONDCV Autorange On. Enables autoranging for DC voltage.
VOLTage:AC:RANGe <Range>Set ACV Range. Sets the manual AC voltage range in volts.

CURRent (6 only on the 8846A)

CommandWhat it does
CURRent:DC:RANGe <Range>Set DCI Range. Sets the manual DC current range in amps.
CURRent:DC:RANGe:AUTO ONDCI Autorange On. Enables autoranging for DC current.
CURRent:AC:RANGe <Range>Set ACI Range. Sets the manual AC current range in amps.
CURRent:AC:RANGe:AUTO ONACI Autorange On. Enables autoranging for AC current.

SYSTem (5 only on the 8846A)

CommandWhat it does
SYSTem:BEEPerBeep. Issues a single beep.
SYSTem:ERRor?Read Error. Reads and clears the oldest entry from the error queue (returns 0,"No error" if empty).
SYSTem:VERSion?Read SCPI Version. Returns the SCPI version that the meter complies with.
SYSTem:LOCalLocal. Places the meter in local mode and enables the front-panel keys.

TRIGger (5 only on the 8846A)

CommandWhat it does
TRIGger:SOURce?Read Trigger Source. Returns the present trigger source.
TRIGger:COUNt?Read Trigger Count. Returns the present trigger count.
TRIGger:DELay <Delay>Set Trigger Delay. Sets the delay in seconds between the trigger and the start of the measurement.
TRIGger:DELay?Read Trigger Delay. Returns the present trigger delay in seconds.

Only on the Keithley 2000

39 command headers in the 2000 library have no match in the 8846A library. Below are 15 of them from the 6 largest subsystems; the full list is in the Keithley 2000 command reference.

SENSe (26 only on the 2000)

CommandWhat it does
:SENSe:FUNCtion "VOLT:DC"Func DCV. Selects DC voltage as the active measurement function.
:SENSe:FUNCtion?Read Function. Queries the currently selected measurement function string.
:SENSe:VOLTage:DC:RANGe <Range>Set DCV Range. Sets the DC voltage measurement range in volts.
:SENSe:VOLTage:AC:RANGe <Range>Set ACV Range. Sets the AC voltage measurement range in volts.

UNIT (4 only on the 2000)

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.

MEASure (2 only on the 2000)

CommandWhat it does
:MEASure?Measure. Makes a measurement using the active function and returns the reading.
:MEASure:TEMPerature?Measure Temperature. Sets the function to temperature and returns one reading in the configured units.

SYSTem (2 only on the 2000)

CommandWhat it does
:SYSTem:AZERo:STATe ONSet DCV AZero On. Enables autozero for the DC voltage function.
:SYSTem:ERRor:NEXT?Read Error. Reads and removes the oldest message from the error queue (0,"No error" if empty).

TRACe (2 only on the 2000)

CommandWhat it does
:TRACe:CLEarClear Buffer. Clears all readings and statistics from the default reading buffer.
:TRACe:FREE?Read Buffer Actual. Returns the number of readings currently stored in the default reading buffer.

ABORt (1 only on the 2000)

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

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 TRIGger:SOURce (set trigger source), 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_8846A_ADDRESS")  # Fluke 8846A
b = rm.open_resource("PASTE_2000_ADDRESS")  # Keithley 2000
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

# The same setting on both: Set Trigger Source
a.write("TRIGger:SOURce IMMediate")
b.write(":TRIGger:SOURce IMMediate")

# 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 Fluke 8846A or Keithley 2000 and writes the report from the measured results.

Get started

Frequently asked questions

What is the difference between the Fluke 8846A and the Keithley 2000 for remote control?

In TestFlow's library the 8846A has 118 SCPI commands and the 2000 has 91 SCPI commands. 23 command headers are common to both, 67 are only on the 8846A (mostly CALCulate and CONFigure), and 39 are only on the 2000 (mostly SENSe and UNIT).

Can I use the same SCPI code for the Fluke 8846A and the Keithley 2000?

Partly. 23 command headers are accepted by both, including MEASure:VOLTage:DC?, TRIGger:SOURce, and SYSTem:BEEPer:STATe. 106 are not, for example CALCulate:FUNCtion on the 8846A and :SENSe:FUNCtion on the 2000, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the 8846A or the 2000?

The 8846A: 118 commands for the 8846A against 91 for the 2000 in TestFlow's library. Of those, 35 on the 8846A and 25 on the 2000 are queries that read a value or state, and the library splits them into 20 and 16 subsystems.

How do the 8846A and 2000 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.