Multimeter · SCPI command comparison

Keysight EDU34450A vs Rigol DM3058E: SCPI commands and remote control compared

In TestFlow's instrument library, the Keysight EDU34450A takes 87 SCPI commands, 28 of them queries, and the Rigol DM3058E takes 106 SCPI commands, 28 of them queries. That is 19 more on the DM3058E. Counting distinct command headers (the command path without its arguments), 23 are accepted by both, 52 exist only on the EDU34450A, and 60 only on the DM3058E. 31% of the EDU34450A's command headers also exist on the DM3058E.

Both libraries have commands under CALCulate, MEASure, SYSTem, and TRIGger. Only the EDU34450A has SENSe, CONFigure, SAMPle, DISPlay, INITiate, and READ and 4 more. Only the DM3058E has FUNCtion and RATE.

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

EDU34450A commands
87
DM3058E commands
106
Shared headers
23
Unique headers
112

Run this on your bench

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

Get started

EDU34450A vs DM3058E 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.

Keysight EDU34450ARigol DM3058E
Commands in TestFlow's library87106
Queries (read a value or state)2828
Settings and actions5978
Subsystems1810
Distinct command headers7583
Headers the other lacks5260
Command languageSCPISCPI
Operation complete*OPC?*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command setEDU34450ADM3058E

Commands both accept

23 command headers are in both libraries. Here are 12, taken across subsystems. Where the DM3058E library writes the command differently, its form is shown under the EDU34450A's.

CommandWhat it does
CALCulate:FUNCtion <Function>Set Scale Function. Selects the scaling function applied to measurements.
MEASure:VOLTage:DC? <Range>,<Resolution>DM3058E: :MEASure:VOLTage:DC?Measure DCV. Configures and returns a one-shot DC voltage measurement in volts.
SYSTem:BEEPer:STATe ONBeeper On. Enables the beeper for continuity and other audible alerts.
TRIGger:SOURce <Source>Set Trigger Source. Selects the trigger source for measurements.
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).
MEASure:VOLTage:AC? <Range>,<Resolution>DM3058E: :MEASure:VOLTage:AC?Measure ACV. Configures and returns a one-shot AC voltage measurement in volts.
SYSTem:BEEPerBeep. Issues a single beep from the instrument.
*RSTReset. Resets the instrument to its factory default state.
MEASure:CURRent:DC? <Range>,<Resolution>DM3058E: :MEASure:CURRent:DC?Measure DCI. Configures and returns a one-shot DC current measurement in amps.
SYSTem:ERRor?Read Error. Reads and clears one error from the error queue (returns 0,"No error" if empty).
*CLSClear Status. Clears all event registers and the error queue.
MEASure:CURRent:AC? <Range>,<Resolution>DM3058E: :MEASure:CURRent:AC?Measure ACI. Configures and returns a one-shot AC current measurement in amps.

Only on the Keysight EDU34450A

52 command headers in the EDU34450A library have no match in the DM3058E library. Below are 18 of them from the 6 largest subsystems; the full list is in the Keysight EDU34450A command reference.

SENSe (16 only on the EDU34450A)

CommandWhat it does
SENSe:FUNCtion "<Function>"Set Function. Selects the active measurement function using the SENSe function name.
SENSe:FUNCtion?Read Function. Returns the present measurement function as a quoted string.
SENSe:VOLTage:DC:RANGe <Range>Set DCV Range. Sets the manual range for DC voltage measurements.
SENSe:VOLTage:AC:RANGe <Range>Set ACV Range. Sets the manual range for AC voltage measurements.

CONFigure (12 only on the EDU34450A)

CommandWhat it does
CONFigure:VOLTage:DC <Range>,<Resolution>Conf DCV. Configures the instrument for DC voltage measurement with the given range and resolution.
CONFigure:VOLTage:AC <Range>,<Resolution>Conf ACV. Configures the instrument for AC voltage measurement with the given range and resolution.
CONFigure:CURRent:DC <Range>,<Resolution>Conf DCI. Configures the instrument for DC current measurement with the given range and resolution.
CONFigure:CURRent:AC <Range>,<Resolution>Conf ACI. Configures the instrument for AC current measurement with the given range and resolution.

CALCulate (10 only on the EDU34450A)

CommandWhat it does
CALCulate:STATe ONMath Null On. Enables the scaling (null/dB/dBm) math operation on measurements.
CALCulate:NULL:OFFSet <Reference>Set Null Reference. Sets the reference (null) value used by the scaling function.
CALCulate:DB:REFerence <Reference>Set dBm Reference. Sets the relative dB reference value in dBm.
CALCulate:DBM:REFerence <Resistance>Set dBm Resistance. Sets the reference resistance in ohms used for dBm calculations.

SAMPle (3 only on the EDU34450A)

CommandWhat it does
SAMPle:COUNt <Count>Set Sample Count. Sets the number of measurements taken per trigger.
SAMPle:COUNt?Read Sample Count. Returns the number of measurements taken per trigger.
SAMPle:TIMer <Seconds>Set Sample Timer. Sets the sample interval when the sample source is set to TIMer.

TRIGger (2 only on the EDU34450A)

CommandWhat it does
TRIGger:SOURce?Read Trigger Source. Returns the present trigger source.
TRIGger:DELay <Seconds>Set Trigger Delay. Sets the delay between the trigger signal and the first measurement.

ABORt (1 only on the EDU34450A)

CommandWhat it does
ABORtAbort. Aborts a measurement in progress and returns the instrument to the idle state.

Only on the Rigol DM3058E

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

CALCulate (17 only on the DM3058E)

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 (14 only on the DM3058E)

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.

MEASure (14 only on the DM3058E)

CommandWhat it does
:MEASure:PERiod?Measure Period. Returns the measured period value in seconds.
: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).

RATE (6 only on the DM3058E)

CommandWhat it does
:RATE:VOLTage:DC <Rate>Set DCV Rate. Sets DC voltage measuring rate: F=Fast(123/s), M=Medium(20/s), S=Slow(2.5/s).
: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 DM3058E)

CommandWhat it does
:TRIGger:AUTO:INTErval <ms>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 DM3058E)

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 scale function); the DM3058E library writes it as :CALCulate:FUNCtion NONE. For the reading, both libraries hold MEASure:VOLTage:DC? (measure dcv); the DM3058E library writes it as :MEASure:VOLTage:DC?. 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_EDU34450A_ADDRESS")  # Keysight EDU34450A
b = rm.open_resource("PASTE_DM3058E_ADDRESS")  # Rigol DM3058E
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

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

# The same reading on both: Measure DCV
print(a.query("MEASure:VOLTage:DC? AUTO,MIN"))
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 Keysight EDU34450A or Rigol DM3058E and writes the report from the measured results.

Get started

Frequently asked questions

What is the difference between the Keysight EDU34450A and the Rigol DM3058E for remote control?

In TestFlow's library the EDU34450A has 87 SCPI commands and the DM3058E has 106 SCPI commands. 23 command headers are common to both, 52 are only on the EDU34450A (mostly SENSe and CONFigure), and 60 are only on the DM3058E (mostly CALCulate and FUNCtion).

Can I use the same SCPI code for the Keysight EDU34450A and the Rigol DM3058E?

Partly. 23 command headers are accepted by both, including CALCulate:FUNCtion, MEASure:VOLTage:DC?, and SYSTem:BEEPer:STATe. 112 are not, for example SENSe:FUNCtion on the EDU34450A and :CALCulate:STATistic:MIN? on the DM3058E, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the EDU34450A or the DM3058E?

The DM3058E: 87 commands for the EDU34450A against 106 for the DM3058E in TestFlow's library. Of those, 28 on the EDU34450A and 28 on the DM3058E are queries that read a value or state, and the library splits them into 18 and 10 subsystems.

How do the EDU34450A and DM3058E 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.