Multimeter · SCPI command comparison

Keithley DAQ6510 vs Rigol DM3068: SCPI commands and remote control compared

In TestFlow's instrument library, the Keithley DAQ6510 takes 96 SCPI commands, 26 of them queries, and the Rigol DM3068 takes 102 SCPI commands, 35 of them queries. That is 6 more on the DM3068. Counting distinct command headers (the command path without its arguments), 18 are accepted by both, 52 exist only on the DAQ6510, and 71 only on the DM3068. 26% of the DAQ6510's command headers also exist on the DM3068.

Both libraries have commands under MEASure, TRIGger, and SYSTem. Only the DAQ6510 has SENSe, TRACe, READ, FETCh, INITiate, and ABORt. Only the DM3068 has CALCulate, FUNCtion, and RATE.

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.

DAQ6510 commands
96
DM3068 commands
102
Shared headers
18
Unique headers
123

Run this on your bench

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

Get started

DAQ6510 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.

Keithley DAQ6510Rigol DM3068
Commands in TestFlow's library96102
Queries (read a value or state)2635
Settings and actions7067
Subsystems1310
Distinct command headers7089
Headers the other lacks5271
Command languageSCPISCPI
Operation complete*OPC?*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command setDAQ6510, DMM7510DM3068

Commands both accept

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

CommandWhat it does
:MEASure?Measure. Makes a measurement using the active function and returns the reading.
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).
: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.
:MEASure:VOLTage:AC?Measure ACV. Sets the function to AC voltage and returns one measured reading in volts.
*CLSClear Status. Clears all event registers and the error queue.
:MEASure:CURRent:DC?Measure DCI. Sets the function to DC current and returns one measured reading in amps.
*TST?Self Test. Runs the self-test and returns 0 for pass or 1 for failure.
:MEASure:CURRent:AC?Measure ACI. Sets the function to AC current and returns one measured reading in amps.
*OPC?Operation Complete. Returns 1 when all pending operations are complete.
:MEASure:RESistance?Measure 2W Resistance. Sets the function to 2-wire resistance and returns one reading in ohms.
*WAIWait To Continue. Waits until all pending operations are complete before continuing.

Only on the Keithley DAQ6510

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

SENSe (36 only on the DAQ6510)

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.

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.

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.

FETCh (1 only on the DAQ6510)

CommandWhat it does
:FETCh?Fetch. Returns the latest reading from the buffer without triggering a new measurement.

INITiate (1 only on the DAQ6510)

CommandWhat it does
:INITiateInit Trigger Model. Starts the trigger model and begins the configured measurement sequence.

Only on the Rigol DM3068

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

MEASure (19 only on the DM3068)

CommandWhat it does
: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).
:MEASure:VOLTage:AC <Range>Set ACV Range. Sets the AC voltage range index: 0=200mV,1=2V,2=20V,3=200V,4=750V.
:MEASure:CURRent:DC <Range>Set DCI Range. Sets the DC current range index: 0=200uA,1=2mA,2=20mA,3=200mA,4=2A,5=10A.

CALCulate (18 only on the DM3068)

CommandWhat it does
:CALCulate:FUNCtion <Function>Set Math Function. Selects the math operation to apply to the measurement.
: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).

FUNCtion (14 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.

SYSTem (8 only on the DM3068)

CommandWhat it does
:SYSTem:BEEPer:STATe ONBeeper On. Turns the beeper on.
:SYSTem:BEEPerBeep. Issues a single beep (beeper must be on).
:SYSTem:LANGuage <Language>Set Language. Sets the system display language.
:SYSTem:DISPlay:BRIGht <Value>Set Display Brightness. Sets the screen brightness (0 to 32).

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 (6 only on the DM3068)

CommandWhat it does
:TRIGger:SOURce <Source>Set Trigger Source. Sets the trigger source: Auto, Single, or External.
: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).

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, the two libraries have no common command with a worked example on both, so each instrument uses its own: :SENSe:FUNCtion "VOLT:DC" on the DAQ6510 and :FUNCtion:VOLTage:DC on the DM3068. 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_DAQ6510_ADDRESS")  # Keithley DAQ6510
b = rm.open_resource("PASTE_DM3068_ADDRESS")  # Rigol DM3068
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

# No shared setting with an example on both, so each uses its own command
a.write(":SENSe:FUNCtion \"VOLT:DC\"")  # Func DCV
b.write(":FUNCtion:VOLTage:DC")  # Func DCV

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

Get started

Frequently asked questions

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

In TestFlow's library the DAQ6510 has 96 SCPI commands and the DM3068 has 102 SCPI commands. 18 command headers are common to both, 52 are only on the DAQ6510 (mostly SENSe and TRACe), and 71 are only on the DM3068 (mostly MEASure and CALCulate).

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

Partly. 18 command headers are accepted by both, including :MEASure?, :MEASure:VOLTage:DC?, and :MEASure:VOLTage:AC?. 123 are not, for example :SENSe:FUNCtion on the DAQ6510 and :MEASure on the DM3068, so a script that uses those needs a separate branch for each instrument.

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

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

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