Clears all the event registers.
SCPI COMMAND REFERENCE
The Rigol DL3021 is Rigol's electronic load in the DL3000 Series family. Its SCPI remote-control interface exposes 53 commands across 7 subsystems - 16 settable and 37 queries - and every command is documented here with its parameters, accepted values, return format, and a copy-paste PyVISA example for automating test and measurement.
53
Commands
16
Settable
37
Queries
7
Subsystems
SCPI
Verified
2026-07-16
All commands
Enables the bit in the enable register part of the standard event status register. The query returns the decimal value corresponding to the enabled bits in that register.
| Name | Type | Values | Description |
|---|---|---|---|
| enable value | integer | 0 | Decimal value corresponding to the binary-weighted sum of the enabled bits in the standard event status register. |
*ESE 20 *ESE?
Queries the event status register of the standard event status register. The query returns a decimal value and also clears the register.
*ESR? /*Queries the event register part of the standard event status register. The query returns 20*/
Queries the instrument information.
Sets bit 0 (operation complete) in the standard event status register after the command completes. The query form *OPC? returns "1" when the operation is complete.
*OPC *OPC?
Queries the installation status of the installed options. Installed options are returned by name, and unavailable options are returned as 0, with multiple options separated by commas.
*OPT?
Enables or disables clearing of the enable register part of the status byte register and the standard event status register at power-on. The query reports whether power-on clearing is enabled.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | 0 | 1 | Enables (1) or disables (0) clearing at power-on. |
*PSC 1 *PSC?
Restores the instrument to factory default settings and clears the error queue.
Enables bits in the enable register part of the status byte register. The query returns the enabled bits as a decimal value.
| Name | Type | Values | Description |
|---|---|---|---|
| enable value | integer | 0 - 65535 | Decimal value corresponding to the binary-weighted sum of the bits to enable in the register. |
*SRE 24 *SRE?
Queries the condition register of the current status byte register. The query returns the decimal sum of the set bits and does not clear the register.
*STB? /*Queries the condition register of the current status byte register. The query returns 72.*/
Generates a trigger action. The command is only applicable when the trigger source is set to bus (software) trigger.
*TRG
Queries the self-test results of the instrument. The query returns self-test results such as Vmon trig reference voltage, Imon trig reference voltage, and radiator temperature.
Configures the instrument to wait for all pending operations to complete before executing any additional commands.
*WAI /*Configures the instrument to wait for all pending operations to complete before executing any additional commands.*/
Queries the condition register of the questionable status register.
:STAT:QUES:COND? /*Queries the condition register of the questionable status register. The query returns 1.*/
Enables bits in the enable register part of the questionable status register. The query returns the enabled bits as a decimal value.
| Name | Type | Values | Description |
|---|---|---|---|
| enable value | discrete | - | Decimal value corresponding to the binary-weighted sum of enabled bits in the questionable status register. |
:STAT:QUES:ENAB 17 /*Enables Bit 0 and Bit 4 in the enable register part of the questionable status register.*/ :STAT:QUES:ENAB? /*Queries the bit enabled in the enable register part of the questionable status register. The query returns 17.*/
Queries the event register of the questionable status register. The query returns a decimal value corresponding to the binary-weighted sum of the bits in the event register, and reading it clears the register.
::STAT:QUES?
Clears all the bits in the event register part of the questionable status register. The cleared event registers include the query event enable register, channel summary event enable register, and operation event enable register; other registers are not affected.
:STAT:PRES /*Clears all the bits in the event register part of the questionable status register.*/
Queries the operation condition register of the questionable status register. It returns a decimal value corresponding to the binary-weighted sum of the bits in the register.
:STAT:OPER:COND? /*Queries the operation condition register of the questionable status register. The query returns 1.*/
Enables bits in the operation enable register of the questionable status register. The query form returns the enabled bits as a decimal value.
| Name | Type | Values | Description |
|---|---|---|---|
| enable value | integer | 0 - 65535 | Decimal value corresponding to the binary-weighted sum of the bit to be enabled in the enable register part of the questionable status register. |
:STAT:OPER:ENAB 17 :STAT:OPER:ENAB?
Queries the operation event register of the questionable status register. Reading the register returns a decimal value and clears the register.
:STAT:OPER? /*Queries the operation event register of the questionable status register. The query returns 17.*/
Reads the input voltage of the instrument.
Reads the maximum input voltage of the instrument.
Reads the minimum input voltage of the instrument.
Reads the input current of the instrument.
Reads the maximum input current of the instrument.
Reads the minimum input current of the instrument.
Reads the resistance of the instrument.
Reads the input power of the instrument.
Reads the battery capacity.
Reads the battery energy.
Reads the discharge time of the battery.
Reads the integration time of the instrument.
Reads the data points in the data cache area in the waveform display interface. The query returns 400 consecutive data points.
Reads the input voltage of the instrument.
Reads the maximum input voltage of the instrument.
Reads the minimum input voltage of the instrument.
Reads the input current of the instrument.
Reads the maximum input current of the instrument.
Reads the minimum input current of the instrument.
Reads the resistance of the instrument.
Reads the input power of the instrument.
Reads the battery capacity.
Reads the battery energy.
Reads the discharge time of the battery.
Reads the integration time of the instrument.
Reads the data points in the waveform display interface data cache area. The query returns 400 consecutive data points.
When SCPI command trigger (Bus) is selected as the trigger source, executing this command immediately initiates a trigger.
:TRIG:SOUR BUS
Selects the trigger source. Queries the trigger source that is set for the instrument.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | BUS | EXTernal | MANUal | Trigger source to select. |