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?.
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.
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 SPD3303C | Siglent SPD3303X-E | |
|---|---|---|
| Commands in TestFlow's library | 25 | 20 |
| Queries (read a value or state) | 9 | 9 |
| Settings and actions | 16 | 11 |
| Subsystems | 8 | 9 |
| Distinct command headers | 17 | 16 |
| Headers the other lacks | 8 | 7 |
| Command language | SCPI | SCPI |
| Operation complete | *OPC? | Not in library |
| Error queue | SYSTem:ERRor? | SYSTem:ERRor? |
| Models on this command set | SPD3303C | SPD3303X-E |
9 command headers are in both libraries. Where the SPD3303X-E library writes the command differently, its form is shown under the SPD3303C's.
| Command | What it does |
|---|---|
| OUTPut CH1,ONSPD3303X-E: OUTPut CH<CH>,ON | Turn 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. |
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.
| Command | What 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. |
| *RST | Reset. Resets the instrument to its default state. |
| *CLS | Clear Status. Clears all event registers and the error queue. |
| Command | What it does |
|---|---|
| MEASure:POWer? CH<Channel> | Measure Power. Measures the output power of the selected channel in watts. |
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.
| Command | What it does |
|---|---|
| *LOCK | Lock Keys. |
| *UNLOCK | Unlock Keys. |
| Command | What it does |
|---|---|
| INSTrument CH<CH> | Select Channel. |
| INSTrument? | Read Selected Channel. |
| Command | What it does |
|---|---|
| SYSTem:VERSion? | Read Version. |
| SYSTem:STATus? | Read Status. |
| Command | What it does |
|---|---|
| OUTPut:TRACK <Mode> | Set Track Mode. |
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()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.
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).
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.
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.
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.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.