Power Supply · SCPI command comparison

Siglent SPD3303C vs SPD3303X-E: SCPI commands and remote control compared

In TestFlow's instrument library, the Siglent SPD3303C takes 25 SCPI commands, 9 of them queries, and the Siglent SPD3303X-E takes 20 SCPI commands, 9 of them queries. That is 5 more on the SPD3303C. Counting distinct command headers (the command path without its arguments), 9 are accepted by both, 8 exist only on the SPD3303C, and 7 only on the SPD3303X-E. 53% of the SPD3303C's command headers also exist on the SPD3303X-E.

Both libraries have commands under OUTPut, CH, MEASure, and SYSTem. Only the SPD3303X-E has INSTrument.

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

SPD3303C commands
25
SPD3303X-E commands
20
Shared headers
9
Unique headers
15

Run this on your bench

Describe the test; TestFlow's agent uses these command sets to drive your Siglent SPD3303C or Siglent SPD3303X-E and writes the report from the measured results.

Get started

SPD3303C vs SPD3303X-E 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.

Siglent SPD3303CSiglent SPD3303X-E
Commands in TestFlow's library2520
Queries (read a value or state)99
Settings and actions1611
Subsystems89
Distinct command headers1716
Headers the other lacks87
Command languageSCPISCPI
Operation complete*OPC?Not in library
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command setSPD3303CSPD3303X-E

Commands both accept

9 command headers are in both libraries. Where the SPD3303X-E library writes the command differently, its form is shown under the SPD3303C's.

CommandWhat it does
OUTPut CH1,ONSPD3303X-E: OUTPut CH<CH>,ONTurn On CH1. Enables the output of channel 1.
CH<Channel>:VOLTage <Volt>SPD3303X-E: CH<CH>:VOLTage <Volt>Set Voltage. Sets the output voltage of the selected channel in volts.
MEASure:VOLTage? CH<Channel>SPD3303X-E: MEASure:VOLTage? CH<CH>Measure Voltage. Measures the output voltage of the selected channel in volts.
SYSTem:ERRor?Read Error. Reads the first message from the error queue.
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).
CH<Channel>:VOLTage?SPD3303X-E: CH<CH>:VOLTage?Read Voltage Setting. Reads the set output voltage of the selected channel.
MEASure:CURRent? CH<Channel>SPD3303X-E: MEASure:CURRent? CH<CH>Measure Current. Measures the output current of the selected channel in amps.
CH<Channel>:CURRent <Amp>SPD3303X-E: CH<CH>:CURRent <Amp>Set Current. Sets the output current limit of the selected channel in amps.
CH<Channel>:CURRent?SPD3303X-E: CH<CH>:CURRent?Read Current Setting. Reads the set output current limit of the selected channel.

Only on the Siglent SPD3303C

8 command headers in the SPD3303C library have no match in the SPD3303X-E library. Below are 5 of them from the 2 largest subsystems; the full list is in the Siglent SPD3303C command reference.

IEEE 488.2 common (*) (7 only on the SPD3303C)

CommandWhat it does
*SAV <Slot>Save State. Saves the current instrument state to the specified storage slot.
*RCL <Slot>Recall State. Recalls an instrument state from the specified storage slot.
*RSTReset. Resets the instrument to its default state.
*CLSClear Status. Clears all event registers and the error queue.

MEASure (1 only on the SPD3303C)

CommandWhat it does
MEASure:POWer? CH<Channel>Measure Power. Measures the output power of the selected channel in watts.

Only on the Siglent SPD3303X-E

7 command headers in the SPD3303X-E library have no match in the SPD3303C library. Below are 7 of them from the 4 largest subsystems; the full list is in the Siglent SPD3303X-E command reference.

IEEE 488.2 common (*) (2 only on the SPD3303X-E)

CommandWhat it does
*LOCKLock Keys.
*UNLOCKUnlock Keys.

INSTrument (2 only on the SPD3303X-E)

CommandWhat it does
INSTrument CH<CH>Select Channel.
INSTrument?Read Selected Channel.

SYSTem (2 only on the SPD3303X-E)

CommandWhat it does
SYSTem:VERSion?Read Version.
SYSTem:STATus?Read Status.

OUTPut (1 only on the SPD3303X-E)

CommandWhat it does
OUTPut:TRACK <Mode>Set Track Mode.

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 ch1), and the same line runs on each. For the reading, both libraries hold MEASure:VOLTage? (measure voltage), 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_SPD3303C_ADDRESS")  # Siglent SPD3303C
b = rm.open_resource("PASTE_SPD3303X_E_ADDRESS")  # Siglent SPD3303X-E
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

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

# The same reading on both: Measure Voltage
print(a.query("MEASure:VOLTage? CH1"))
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 Siglent SPD3303C or Siglent SPD3303X-E and writes the report from the measured results.

Get started

Frequently asked questions

What is the difference between the Siglent SPD3303C and the Siglent SPD3303X-E for remote control?

In TestFlow's library the SPD3303C has 25 SCPI commands and the SPD3303X-E has 20 SCPI commands. 9 command headers are common to both, 8 are only on the SPD3303C (mostly IEEE 488.2 common (*) and MEASure), and 7 are only on the SPD3303X-E (mostly IEEE 488.2 common (*) and INSTrument).

Can I use the same SCPI code for the Siglent SPD3303C and the Siglent SPD3303X-E?

Partly. 9 command headers are accepted by both, including OUTPut, CH<Channel>:VOLTage, and MEASure:VOLTage?. 15 are not, for example *SAV on the SPD3303C and *LOCK on the SPD3303X-E, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the SPD3303C or the SPD3303X-E?

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

How do the SPD3303C and SPD3303X-E signal operation complete and report errors?

Only the SPD3303C library has an operation-complete command (*OPC?); the SPD3303X-E 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.