Multimeter · SCPI command comparison

Fluke 8845A vs Rigol DM3068: SCPI commands and remote control compared

In TestFlow's instrument library, the Fluke 8845A takes 113 SCPI commands, 33 of them queries, and the Rigol DM3068 takes 102 SCPI commands, 35 of them queries. That is 11 more on the 8845A. Counting distinct command headers (the command path without its arguments), 22 are accepted by both, 65 exist only on the 8845A, and 67 only on the DM3068. 25% of the 8845A's command headers also exist on the DM3068.

Both libraries have commands under CALCulate, FUNCtion, MEASure, TRIGger, and SYSTem. Only the 8845A has VOLTage, CONFigure, CURRent, RESistance, FRESistance, and DISPlay and 5 more. Only the DM3068 has RATE.

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

8845A commands
113
DM3068 commands
102
Shared headers
22
Unique headers
132

Run this on your bench

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

Get started

8845A vs DM3068 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 8845ARigol DM3068
Commands in TestFlow's library113102
Queries (read a value or state)3335
Settings and actions8067
Subsystems2010
Distinct command headers8789
Headers the other lacks6567
Command languageSCPISCPI
Operation complete*OPC?*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command set8845ADM3068

Commands both accept

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

CommandWhat it does
CALCulate:FUNCtion <Function>Set Math Function. Selects the math operation applied to readings.
FUNCtion?Read Function. Queries the currently selected measurement function (returns quoted string such as "VOLT:DC").
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.
*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.
SYSTem:BEEPerBeep. Issues a single beep.
*RSTReset. Resets the instrument to its default state.
MEASure:CURRent:DC?Measure DCI. Configures DC current and returns one measured value in amps.
SYSTem:ERRor?Read Error. Reads and clears the oldest entry from the error queue (returns 0,"No error" if empty).
*CLSClear Status. Clears all event registers and the error queue.

Only on the Fluke 8845A

65 command headers in the 8845A library have no match in the DM3068 library. Below are 23 of them from the 6 largest subsystems; the full list is in the Fluke 8845A command reference.

CALCulate (13 only on the 8845A)

CommandWhat it does
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.
CALCulate:DB:REFerence <Reference>Set dB Reference. Sets the dB relative reference value in dBm.

CONFigure (11 only on the 8845A)

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 8845A)

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 8845A)

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.

TRIGger (6 only on the 8845A)

CommandWhat it does
TRIGger:SOURce?Read Trigger Source. Returns the present trigger source.
TRIGger:COUNt <Count>Set Trigger Count. Sets the number of triggers the meter accepts before returning to idle (1 to 50000).
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.

DISPlay (3 only on the 8845A)

CommandWhat it does
DISPlay ONDisplay On. Turns the front-panel display on.
DISPlay:TEXT <Message>Set Display Text. Displays the specified text message on the front-panel display.
DISPlay:TEXT:CLEarClear Display Text. Clears the text message from the front-panel display.

Only on the Rigol DM3068

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

MEASure (21 only on the DM3068)

CommandWhat it does
:MEASure:CAPacitance?Measure Capacitance. Returns the measured capacitance value in farads.
:MEASure?New Data Ready. Queries whether new data has been acquired under the current trigger setting (TRUE/FALSE).
:MEASure <Type>Set Measure Type. Sets the measurement type to Auto (auto-range) or Manual.
:MEASure:VOLTage:DC <Range>Set DCV Range. Sets the DC voltage range index: 0=200mV,1=2V,2=20V,3=200V,4=1000V (switches to Manual).

CALCulate (17 only on the DM3068)

CommandWhat it does
:CALCulate:STATistic:MIN?Stat Min. Returns the minimum of the current statistics (MIN operation enabled).
:CALCulate:STATistic:MAX?Stat Max. Returns the maximum of the current statistics (MAX operation enabled).
:CALCulate:STATistic:AVERage?Stat Average. Returns the average of the current statistics (AVERAGE operation enabled).
:CALCulate:STATistic:COUNt?Stat Count. Returns the number of measurements included in the current statistics.

FUNCtion (13 only on the DM3068)

CommandWhat it does
:FUNCtion:VOLTage:DCFunc DCV. Selects DC voltage as the active measurement function.
:FUNCtion:VOLTage:ACFunc ACV. Selects AC voltage as the active measurement function.
:FUNCtion:CURRent:DCFunc DCI. Selects DC current as the active measurement function.
:FUNCtion:CURRent:ACFunc ACI. Selects AC current as the active measurement function.

RATE (6 only on the DM3068)

CommandWhat it does
:RATE:VOLTage:DC <Rate>Set DCV Rate. Sets DC voltage measuring rate: F=Fast, M=Medium, S=Slow.
:RATE:VOLTage:AC <Rate>Set ACV Rate. Sets AC voltage measuring rate: Fast, Medium or Slow.
:RATE:CURRent:DC <Rate>Set DCI Rate. Sets DC current measuring rate: Fast, Medium or Slow.
:RATE:CURRent:AC <Rate>Set ACI Rate. Sets AC current measuring rate: Fast, Medium or Slow.

TRIGger (5 only on the DM3068)

CommandWhat it does
:TRIGger:AUTO:INTErval <Seconds>Set Auto Trig Interval. Sets the auto-trigger interval in ms (8-2000 depending on rate).
:TRIGger:AUTO:HOLD ONAuto Trig Hold On. Enables the reading-hold function under auto trigger.
:TRIGger:SINGle <Count>Set Single Trig Count. Sets the number of samples per single trigger (1 to 2000).
:TRIGger:SINGle:TRIGgeredSingle Trigger. Issues one manual single trigger.

SYSTem (4 only on the DM3068)

CommandWhat it does
:SYSTem:LANGuage <Language>Set Language. Sets the system display language.
:SYSTem:DISPlay:BRIGht <Value>Set Display Brightness. Sets the screen brightness (0 to 32).
:SYSTem:DISPlay:CONTrast <Value>Set Display Contrast. Sets the screen contrast (0 to 32).
:SYSTem:CONFigure:DEFaultDefault Config. Restores the system configuration to factory defaults.

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 CALCulate:FUNCtion (set math function); the DM3068 library writes it as :CALCulate:FUNCtion NONE. 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_8845A_ADDRESS")  # Fluke 8845A
b = rm.open_resource("PASTE_DM3068_ADDRESS")  # Rigol DM3068
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

# The same setting on both: Set Math Function
a.write("CALCulate:FUNCtion NULL")
b.write(":CALCulate:FUNCtion NONE")

# 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 8845A or Rigol DM3068 and writes the report from the measured results.

Get started

Frequently asked questions

What is the difference between the Fluke 8845A and the Rigol DM3068 for remote control?

In TestFlow's library the 8845A has 113 SCPI commands and the DM3068 has 102 SCPI commands. 22 command headers are common to both, 65 are only on the 8845A (mostly CALCulate and CONFigure), and 67 are only on the DM3068 (mostly MEASure and CALCulate).

Can I use the same SCPI code for the Fluke 8845A and the Rigol DM3068?

Partly. 22 command headers are accepted by both, including CALCulate:FUNCtion, FUNCtion?, and MEASure:VOLTage:DC?. 132 are not, for example CALCulate:STATe on the 8845A and :MEASure:CAPacitance? on the DM3068, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the 8845A or the DM3068?

The 8845A: 113 commands for the 8845A against 102 for the DM3068 in TestFlow's library. Of those, 33 on the 8845A and 35 on the DM3068 are queries that read a value or state, and the library splits them into 20 and 10 subsystems.

How do the 8845A and DM3068 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.