The Siglent SDL1020X-E and SDL1030X-E dynamic load is controlled remotely with SCPI commands. TestFlow's instrument library holds 99 commands for it, 42 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the SDL1020X-E on a real bench.
With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.
import pyvisa
rm = pyvisa.ResourceManager()
print(rm.list_resources()) # find the Siglent SDL1020X-E's VISA address
# Paste the address of your Siglent SDL1020X-E (USB, LAN or GPIB).
inst = rm.open_resource("PASTE_VISA_ADDRESS_HERE")
inst.timeout = 5000 # ms
print(inst.query("*IDN?")) # identify the instrument
inst.write(":SOURce:LIST:STATe:ON") # Enter List Test
print(inst.query("MEASure:VOLTage:DC?")) # Measure Voltage
inst.close()Describe the test in a sentence, for example “enter list test on the SDL1020X-E, then measure voltage and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.
99 commands in 6 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The SDL1020X-E and SDL1030X-E share this command set in TestFlow's library.
| Command | What it does | Arguments |
|---|---|---|
| :SOURce:INPut:STATe <state> | Set Input State. Turns the load input on or off. | Text: ON | OFF | 0 | 1 |
| :SOURce:INPut:STATe? | Query Input State. Returns 1 if the load input is on, otherwise 0. | None |
| :SOURce:SHORt:STATe <state> | Set Short Circuit State. Sets the short circuit status of the load. | Text: ON | OFF | 0 | 1 |
| :SOURce:SHORt:STATe? | Query Short Circuit State. Returns 1 if the short circuit is on, otherwise 0. | None |
| :SOURce:FUNCtion <mode> | Set Static Mode. Sets the operating mode for static operation. | Text: CURRent | VOLTage | POWer | RESistance | LED |
| :SOURce:FUNCtion? | Query Static Mode. Returns the current static operating mode. | None |
| :SOURce:FUNCtion:TRANsient <mode> | Set Transient Mode. Sets the mode used in transient operation. | Text: CURRent | VOLTage | POWer | RESistance |
| :SOURce:FUNCtion:TRANsient? | Query Transient Mode. Returns the current transient operating mode. | None |
| :SOURce:TEST:STEP? | Query Test Step. Returns the running step number in the LIST or PROGRAM sequence. | None |
| :SOURce:TEST:STOP? | Query Test Stop. Returns 1 if the running test sequence has stopped. | None |
| :SOURce:CURRent:LEVel:IMMediate <value> | Set Current Level. Sets the preset current for CC mode in static operation. | Number: float within the effective current range, or MINimum | MAXimum | DEFault |
| :SOURce:CURRent:LEVel:IMMediate? | Query Current Level. Returns the preset current for CC mode. | None |
| :SOURce:CURRent:IRANGe <value> | Set Current Range. Sets the CC static current range. | Number: 5 or 30 (values above 5 select 30A, otherwise 5A) |
| :SOURce:CURRent:IRANGe? | Query Current Range. Returns the CC static current range. | None |
| :SOURce:CURRent:VRANGe <value> | Set CC Voltage Range. Sets the voltage range of CC mode in static operation. | Number: 36 or 150 (values above 36 select 150V, otherwise 36V) |
| :SOURce:CURRent:VRANGe? | Query CC Voltage Range. Returns the voltage range of CC mode in static operation. | None |
| :SOURce:CURRent:SLEW:BOTH <value> | Set Current Slew Both. Sets rise and descending slope of CC mode together. | Number: float within effective slew range, or MINimum | MAXimum | DEFault |
| :SOURce:CURRent:SLEW:POSitive <value> | Set Current Rise Slew. Sets the rise slope of CC mode in static operation. | Number: float within effective slew range, or MINimum | MAXimum | DEFault |
| :SOURce:CURRent:SLEW:POSitive? | Query Current Rise Slew. Returns the rise slope of CC mode. | None |
| :SOURce:CURRent:SLEW:NEGative <value> | Set Current Fall Slew. Sets the descending slope of CC mode in static operation. | Number: float within effective slew range, or MINimum | MAXimum | DEFault |
| :SOURce:CURRent:SLEW:NEGative? | Query Current Fall Slew. Returns the descending slope of CC mode. | None |
| :SOURce:VOLTage:LEVel:IMMediate <value> | Set Voltage Level. Sets the preset voltage for CV mode in static operation. | Number: float within effective voltage range, or MINimum | MAXimum | DEFault |
| :SOURce:VOLTage:LEVel:IMMediate? | Query Voltage Level. Returns the preset voltage for CV mode. | None |
| :SOURce:VOLTage:IRANGe <value> | Set CV Current Range. Sets the current range of CV mode in static operation. | Number: 5 or 30 (values above 5 select 30A, otherwise 5A) |
| :SOURce:VOLTage:VRANGe <value> | Set CV Voltage Range. Sets the voltage range of CV mode in static operation. | Number: 36 or 150 (values above 36 select 150V, otherwise 36V) |
| :SOURce:VOLTage:VRANGe? | Query CV Voltage Range. Returns the voltage range of CV mode in static operation. | None |
| :SOURce:POWer:LEVel:IMMediate <value> | Set Power Level. Sets the preset power for CP mode in static operation. | Number: float within effective power range, or MINimum | MAXimum | DEFault |
| :SOURce:POWer:LEVel:IMMediate? | Query Power Level. Returns the preset power for CP mode. | None |
| :SOURce:POWer:IRANGe <value> | Set CP Current Range. Sets the current range of CP mode in static operation. | Number: 5 or 30 (values above 5 select 30A, otherwise 5A) |
| :SOURce:POWer:VRANGe <value> | Set CP Voltage Range. Sets the voltage range of CP mode in static operation. | Number: 36 or 150 (values above 36 select 150V, otherwise 36V) |
| :SOURce:RESistance:LEVel:IMMediate <value> | Set Resistance Level. Sets the preset resistance for CR mode in static operation. | Number: float within effective resistance range, or MINimum | MAXimum | DEFault |
| :SOURce:RESistance:LEVel:IMMediate? | Query Resistance Level. Returns the preset resistance for CR mode. | None |
| :SOURce:RESistance:IRANGe <value> | Set CR Current Range. Sets the current range of CR mode in static operation. | Number: 5 or 30 (values above 5 select 30A, otherwise 5A) |
| :SOURce:RESistance:RRANGe <range> | Set Resistor Range. Sets the resistor range of CR mode in static operation. | Text: LOW | MIDDLE | HIGH | UPPER |
| :SOURce:RESistance:RRANGe? | Query Resistor Range. Returns the resistor range of CR mode. | None |
| :SOURce:CURRent:TRANsient:MODE <mode> | Set Transient Waveform Mode. Sets the waveform mode of CC transient operation. | Text: CONTinuous | PULSe | TOGGle |
| :SOURce:CURRent:TRANsient:ALEVel <value> | Set Transient A Level. Sets the A Level of CC transient operation. | Number: float within effective range, or MINimum | MAXimum | DEFault |
| :SOURce:CURRent:TRANsient:BLEVel <value> | Set Transient B Level. Sets the B Level of CC transient operation. | Number: float within effective range, or MINimum | MAXimum | DEFault |
| :SOURce:CURRent:TRANsient:AWIDth <value> | Set Transient A Width. Sets the A Level pulse width of CC transient operation. | Number: time in seconds, or MINimum | MAXimum | DEFault |
| :SOURce:CURRent:TRANsient:BWIDth <value> | Set Transient B Width. Sets the B Level pulse width of CC transient operation. | Number: time in seconds, or MINimum | MAXimum | DEFault |
| :SOURce:CURRent:PROTection:STATe <state> | Set Current Protection State. Enables or disables the current protection. | Text: ON | OFF | 0 | 1 |
| :SOURce:CURRent:PROTection:LEVel <value> | Set Current Protection Level. Sets the current protection threshold. | Number: float within effective range, or MINimum | MAXimum | DEFault |
| :SOURce:CURRent:PROTection:LEVel? | Query Current Protection Level. Returns the current protection threshold. | None |
| :SOURce:CURRent:PROTection:DELay <value> | Set Current Protection Delay. Sets the delay time of the current protection. | Number: float delay time, or MINimum | MAXimum | DEFault |
| :SOURce:POWer:PROTection:STATe <state> | Set Power Protection State. Enables or disables the power protection. | Text: ON | OFF | 0 | 1 |
| :SOURce:POWer:PROTection:STATe? | Query Power Protection State. Returns 1 if power protection is enabled, otherwise 0. | None |
| :SOURce:POWer:PROTection:LEVel <value> | Set Power Protection Level. Sets the power protection threshold. | Number: float within effective range, or MINimum | MAXimum | DEFault |
| :SOURce:POWer:PROTection:LEVel? | Query Power Protection Level. Returns the power protection threshold. | None |
| :SOURce:POWer:PROTection:DELay <value> | Set Power Protection Delay. Sets the delay time of the power protection. | Number: float delay time, or MINimum | MAXimum | DEFault |
| :SOURce:LIST:MODE <mode> | Set List Mode. Sets the run mode of the LIST function. | Text: CURRent | VOLTage | POWer | RESistance |
| :SOURce:LIST:COUNt <number> | Set List Count. Sets the number of LIST loops. | Number: integer loop count, or MINimum | MAXimum | DEFault |
| :SOURce:LIST:STEP <number> | Set List Step Count. Sets the number of LIST steps. | Number: integer step count, or MINimum | MAXimum | DEFault |
| :SOURce:LIST:LEVel <step,value> | Set List Level. Sets the set value of a LIST step. | Number: step integer, then float level value |
| :SOURce:LIST:LEVel? <step> | Query List Level. Returns the set value of a LIST step. | Number: integer step number |
| :SOURce:LIST:WIDth <step,value> | Set List Width. Sets the run time of a LIST step. | Number: step integer, then run time in seconds |
| :SOURce:LIST:STATe:ON | Enter List Test. Enters the LIST test function. | None |
| :SOURce:LIST:STATe? | Query List Test State. Returns whether the load is in LIST test mode. | None |
| :SOURce:PROGram:STEP <number> | Set Program Step Count. Sets the number of PROGRAM steps. | Number: integer step count, or MINimum | MAXimum | DEFault |
| :SOURce:PROGram:MODE <step,mode> | Set Program Step Mode. Sets the mode of a PROGRAM step. | Text: step integer, then CURRent | VOLTage | POWer | RESistance | LED |
| :SOURce:PROGram:LEVel <step,value> | Set Program Step Level. Sets the sink value of a PROGRAM step. | Number: step integer, then float level value |
| :SOURce:PROGram:LEVel? <step> | Query Program Step Level. Returns the sink value of a PROGRAM step. | Number: integer step number |
| :SOURce:PROGram:TIME:ON <step,value> | Set Program Step On Time. Sets the loading time of a PROGRAM step. | Number: step integer, then loading time in seconds |
| :SOURce:PROGram:STATe:ON | Enter Program Test. Enters the PROGRAM test mode. | None |
| :SOURce:PROGram:STATe? | Query Program Test State. Returns whether the load is in PROGRAM test mode. | None |
| :SOURce:PROGram:TEST? <step> | Query Program Test Result. Returns the test result of a PROGRAM step. | Number: integer step number |
| :SOURce:BATTery:FUNC | Enter Battery Function. Enters the BATTERY discharge function. | None |
| :SOURce:BATTery:MODE <mode> | Set Battery Mode. Sets the CC, CP or CR mode in BATTERY function. | Text: CURRent | POWer | RESistance |
| :SOURce:BATTery:LEVel <value> | Set Battery Discharge Level. Sets the discharge value in BATTERY CC/CR/CP mode. | Number: float discharge value |
| :SOURce:BATTery:VOLTage <value> | Set Battery Cut-off Voltage. Sets the cut-off voltage in BATTERY function. | Number: float voltage, or MINimum | MAXimum | DEFault |
| :SOURce:BATTery:CAPability <value> | Set Battery Cut-off Capacity. Sets the cut-off capacity in BATTERY function. | Number: float capacity value |
| :SOURce:BATTery:TIMer <value> | Set Battery Cut-off Time. Sets the cut-off discharging time in BATTERY function. | Number: float time value, or MINimum | MAXimum | DEFault |
| :SOURce:BATTery:DISCHArg:CAPability? | Query Battery Discharge Capacity. Returns the discharge capacity since the BATTERY test started. | None |
| :SOURce:BATTery:DISCHArg:TIMer? | Query Battery Discharge Time. Returns the discharge time since the BATTERY test started. | None |
| :SOURce:BATTery:DCR:RESult? | Query Battery DCR Result. Returns the DCR test result in BATTERY function. | None |
| Command | What it does | Arguments |
|---|---|---|
| MEASure:VOLTage:DC? | Measure Voltage. Returns the real-time voltage measurement. | None |
| MEASure:CURRent:DC? | Measure Current. Returns the real-time current measurement. | None |
| MEASure:POWer:DC? | Measure Power. Returns the real-time power measurement. | None |
| MEASure:RESistance:DC? | Measure Resistance. Returns the real-time resistance measurement. | None |
| MEASure:EXT? | Measure External. Returns the real-time external measurement in external sink mode. | None |
| MEASure:WAVEdata? <type> | Measure Waveform Data. Returns 200 float waveform points from the display in CC/CV/CP/CR mode. | Text: CURRent | VOLTage | POWer | RESistance |
| Command | What it does | Arguments |
|---|---|---|
| TRIGger:SOURce <source> | Set Trigger Source. Sets the trigger source of the load. | Text: MANUal | EXTernal | BUS |
| TRIGger:SOURce? | Query Trigger Source. Returns the trigger source. | None |
| Command | What it does | Arguments |
|---|---|---|
| SENSe:AVERage:COUNt <index> | Set Average Count. Sets the averaging point count for read-back current and voltage. | Number: integer 6 to 14, index of 2 (sampling points) |
| SENSe:AVERage:COUNt? | Query Average Count. Returns the averaging point count index. | None |
| Command | What it does | Arguments |
|---|---|---|
| SYSTem:SENSe:STATe <state> | Set Sense State. Enables or disables the Sense function. | Text: ON | OFF | 0 | 1 |
| Command | What it does | Arguments |
|---|---|---|
| *IDN? | Identify. Returns the manufacturer, model, serial number and software version string. | None |
| *RST | Reset. Restores the instrument to its initial state. | None |
| *CLS | Clear Status. Clears the event registers and the error list. | None |
| *ESE <number> | Set Standard Event Enable. Sets the bits in the standard event status enable register. | Number: integer bit mask for the standard event status enable register |
| *ESE? | Query Standard Event Enable. Returns the standard event status enable register value. | None |
| *ESR? | Query Standard Event Status. Returns and clears the standard event status register. | None |
| *OPC | Operation Complete. Sets bit 0 of the standard event status register when pending operations finish. | None |
| *OPC? | Query Operation Complete. Returns 1 when the current operation has finished. | None |
| *SRE <number> | Set Service Request Enable. Sets the bits in the status byte enable register. | Number: integer bit mask for the status byte enable register |
| *SRE? | Query Service Request Enable. Returns the status byte enable register value. | None |
| *STB? | Query Status Byte. Returns the status byte event register value. | None |
| *TST? | Self Test. Runs the self test and returns 0 when it passes. | None |
| *WAI | Wait To Continue. Waits until all pending commands complete before running more. | None |
| *TRG | Generate Trigger. Generates a trigger in the electronic load. | None |
This reference is generated from TestFlow's instrument library, which is drafted from Siglent's programming documentation for the SDL1020X-E and SDL1030X-E and checked when the agent runs it. The library marks this instrument as supporting *OPC? for operation-complete synchronisation. Ranges, timing, and option-dependent commands are defined by Siglent's programming manual: check it before you rely on an edge case. Last updated October 18, 2026.
Yes. The Siglent SDL1020X-E accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 99 SCPI commands for it: 42 queries that read values or state, and 57 settings and actions.
Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, :SOURce:LIST:STATe:ON and MEASure:VOLTage:DC?.
MEASure:VOLTage:DC? (measure voltage). Returns the real-time voltage measurement. The full list of queries is in the command reference on this page, grouped by subsystem.
Yes. TestFlow is an AI agent for electronics testing: you describe the test, and it builds the automation from this command library, runs it on the Siglent SDL1020X-E through the TestFlow desktop app, and writes the report from the measured results.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.