Power Supply · SCPI command comparison

Rigol DP711 vs Siglent SPD1305X: SCPI commands and remote control compared

In TestFlow's instrument library, the Rigol DP711 takes 25 SCPI commands, 9 of them queries, and the Siglent SPD1305X takes 21 SCPI commands, 9 of them queries. That is 4 more on the DP711. Counting distinct command headers (the command path without its arguments), 10 are accepted by both, 9 exist only on the DP711, and 7 only on the SPD1305X. 53% of the DP711's command headers also exist on the SPD1305X.

Both libraries have commands under OUTPut, MEASure, and SYSTem. Only the DP711 has SOURce. Only the SPD1305X has CH.

Only the SPD1305X library has an operation-complete command (*OPC?); the DP711 library has none. Both libraries read errors with SYSTem:ERRor?.

TestFlow's library gives the DP712 the same command set as the DP711, so the DP711 column applies to it too.

DP711 commands
25
SPD1305X commands
21
Shared headers
10
Unique headers
16

Run this on your bench

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

Get started

DP711 vs SPD1305X 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.

Rigol DP711Siglent SPD1305X
Commands in TestFlow's library2521
Queries (read a value or state)99
Settings and actions1612
Subsystems88
Distinct command headers1917
Headers the other lacks97
Command languageSCPISCPI
Operation completeNot in library*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command setDP711, DP712SPD1305X

Commands both accept

10 command headers are in both libraries. Where the SPD1305X library writes the command differently, its form is shown under the DP711's.

CommandWhat it does
:OUTPut ONSPD1305X: OUTPut CH1,ONTurn On. Enables the power supply output.
:MEASure:VOLTage?SPD1305X: MEASure:VOLTage? CH<Channel>Measure Voltage. Measures the output voltage in volts.
SYSTem:ERRor?Read Error. Reads the first message from the error queue.
*SAV <Slot>Save State. Saves the current instrument state to the specified storage slot.
:MEASure:CURRent?SPD1305X: MEASure:CURRent? CH<Channel>Measure Current. Measures the output current in amps.
*RCL <Slot>Recall State. Recalls an instrument state from the specified storage slot.
:MEASure:POWer?SPD1305X: MEASure:POWer? CH<Channel>Measure Power. Measures the output power in watts.
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).
*RSTReset. Resets the instrument to its default state.
*TST?Self Test. Runs the self-test and returns 0 for pass or 1 for failure.

Only on the Rigol DP711

9 command headers in the DP711 library have no match in the SPD1305X library. Below are 5 of them from the 2 largest subsystems; the full list is in the Rigol DP711 command reference.

SOURce (8 only on the DP711)

CommandWhat it does
:SOURce:VOLTage <Volt>Set Voltage. Sets the output voltage in volts.
:SOURce:VOLTage?Read Voltage Setting. Reads the set output voltage.
:SOURce:CURRent <Amp>Set Current. Sets the output current limit in amps.
:SOURce:CURRent?Read Current Setting. Reads the set output current limit.

OUTPut (1 only on the DP711)

CommandWhat it does
:OUTPut:STATe?Read Output State. Reads whether the output is ON or OFF.

Only on the Siglent SPD1305X

7 command headers in the SPD1305X library have no match in the DP711 library. Below are 7 of them from the 2 largest subsystems; the full list is in the Siglent SPD1305X command reference.

CH (4 only on the SPD1305X)

CommandWhat it does
CH<Channel>:VOLTage <Volt>Set Voltage. Sets the output voltage of the selected channel in volts.
CH<Channel>:VOLTage?Read Voltage Setting. Reads the set output voltage of the selected channel.
CH<Channel>:CURRent <Amp>Set Current. Sets the output current limit of the selected channel in amps.
CH<Channel>:CURRent?Read Current Setting. Reads the set output current limit of the selected channel.

IEEE 488.2 common (*) (3 only on the SPD1305X)

CommandWhat it does
*CLSClear Status. Clears all event registers and the error queue.
*OPC?Operation Complete. Returns 1 when all pending operations are complete.
*WAIWait To Continue. Waits until all pending operations are complete before continuing.

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 :OUTPut (turn on); the SPD1305X library writes it as OUTPut CH1,ON. For the reading, both libraries hold :MEASure:VOLTage? (measure voltage); the SPD1305X library writes it as MEASure:VOLTage? CH1. 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_DP711_ADDRESS")  # Rigol DP711
b = rm.open_resource("PASTE_SPD1305X_ADDRESS")  # Siglent SPD1305X
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

# The same setting on both: Turn On
a.write(":OUTPut ON")
b.write("OUTPut CH1,ON")

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

a.close()
b.close()

Run this on your bench

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

Get started

Frequently asked questions

What is the difference between the Rigol DP711 and the Siglent SPD1305X for remote control?

In TestFlow's library the DP711 has 25 SCPI commands and the SPD1305X has 21 SCPI commands. 10 command headers are common to both, 9 are only on the DP711 (mostly SOURce and OUTPut), and 7 are only on the SPD1305X (mostly CH and IEEE 488.2 common (*)).

Can I use the same SCPI code for the Rigol DP711 and the Siglent SPD1305X?

Partly. 10 command headers are accepted by both, including :OUTPut, :MEASure:VOLTage?, and SYSTem:ERRor?. 16 are not, for example :SOURce:VOLTage on the DP711 and CH<Channel>:VOLTage on the SPD1305X, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the DP711 or the SPD1305X?

The DP711: 25 commands for the DP711 against 21 for the SPD1305X in TestFlow's library. Of those, 9 on the DP711 and 9 on the SPD1305X are queries that read a value or state, and the library splits them into 8 and 8 subsystems.

How do the DP711 and SPD1305X signal operation complete and report errors?

Only the SPD1305X library has an operation-complete command (*OPC?); the DP711 library has none. 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.