/

Rigol

/

Rigol DG5354PRO

SCPI COMMAND REFERENCE

Rigol DG5354PRO

Rigol DG5354PRO

The Rigol DG5354PRO is Rigol's function generator in the DG5000 Pro Series family. Its SCPI remote-control interface exposes 107 commands across 13 subsystems - 89 settable and 18 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.

107

Commands

89

Settable

18

Queries

13

Subsystems

SCPI

Verified

2026-07-16

All commands

:ABORtset / query

Stops any operation that is triggered.

:ALL[:STATe]set / query

Enables or disables the outputs of all channels.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONBoolean state for all channel outputs.
:ALL:STATe ON /*Enables the outputs of all channels.*/

Sets or queries the brightness of the display.

NameTypeValuesDescription
brightnessreal-Brightness value to set.
limenum<lim>Optional qualifier for the query syntax.
returns
:DISPlay:FOCusset / query

Sets or queries the current channel.

NameTypeValuesDescription
chanenumCH1 | CH2 | CH3 | CH4 | CH5 | CH6 | CH7 | CH8Current channel to select.
enum - The query returns the current channel.
:DISPlay:FOCus CH1 /*Sets the current channel to CH1.*/
:DISPlay:FOCus? /*Queries the current channel. The query returns CH1.*/
:DISPlay[:STATe]set / query

Enables or disables the front-panel screen. Queries the current state of the front-panel screen.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONBoolean state of the front-panel screen.
integer - The query returns 1 or 0.
:DISPlay:STATe OFF /*Disables the front-panel screen.*/
:DISPlay:STATe? /*Queries the state of the front-panel screen. The query returns 0.*/
:DISPlay:TEXTset / query

Sets or queries the text message displayed on the front-panel screen.

NameTypeValuesDescription
stringstring-Text message to display on the front-panel screen.

Clears the text message displayed on the front-panel screen.

:DISPlay:TEXT:CLEar /*Clears the text message displayed on the front-panel screen.*/

Sets or queries the method used to specify pulse width.

NameTypeValuesDescription
typeenumWIDTh | DUTYMethod to specify pulse width.
enum - The query returns the current pulse-width specification method.
:DISPlay:UNIT:PULSe DUTY /*Sets the method to specify the pulse width to duty cycle.*/
:DISPlay:UNIT:PULSe? /*Queries the method to specify the pulse width. The query returns DUTY.*/

Sets or queries the rate unit for Sine, Square, Ramp, Pulse, Arb, and Harmonic.

NameTypeValuesDescription
unitenumFREQuency | PERiodRate unit to use.
:DISPlay:UNIT:RATE <unit>
:DISPlay:UNIT:RATE?

Sets or queries the method used to specify the frequency sweep range.

NameTypeValuesDescription
typeenumSTARtstop | CENTerspanSelects whether sweep range is defined by start/stop or center/span values.
enum - Returns the current sweep-range specification method.
:DISPlay:UNIT:SWEep CENTerspan
:DISPlay:UNIT:SWEep?

Sets the voltage unit display setting.

NameTypeValuesDescription
typeenumV | mVVoltage unit to display.
:DISPlay:VIEWset / query

Sets or queries the Multi-window mode.

NameTypeValuesDescription
modeenumAUTO | SINGle | DUAL | FOUR | EIGHtSelects the multi-window display mode.
enum - The query returns the current multi-window mode.
:DISPlay:VIEW <mode>
:DISPlay:VIEW?

Captures the current screen.

block - Returns the data stream of the screen image.

Sets or queries the format of the screen image.

NameTypeValuesDescription
typeenumBMP | PNGImage format to use for the screen capture data.
enum - The query returns the screen image format.
:HCOPy:SDUMp:DATA:FORMat PNG /*Sets the format of the image to PNG.*/
:HCOPy:SDUMp:DATA:FORMat? /*Queries the format of the screen image. The query returns PNG.*/

*CLSset / query

Clears all the event registers and also clears the error queue.

*ESEset / query

Sets or queries the enable register of the standard event register set.

NameTypeValuesDescription
maskargumentinteger0 - 255Bit mask for enabling one or more standard event register bits.
integer - Returns the current enable register value of the standard event register set.
*ESR?query

Queries and clears the event register of the standard event status register.

integer - The query returns the binary-weighted sum of all the bits set in the register.
*IDN?query

Queries the ID string of the instrument.

string - Returns RIGOL TECHNOLOGIES,<model>,<serial number>,<software version>.
*OPCset / query

Sets the OPC (bit 0, "Operation Complete") of the Standard Event register to 1 after all commands are executed.

*OPT?query

Queries the options installed in the instrument. The response is a comma-separated list of installed option names, or NONE if no option is installed.

string - The installed options, separated by commas; returns NONE if no option is installed.
*OPT? /*Queries the options installed. The query returns NONE.*/
*PSCset / query

Sets the power-on status clear behavior.

NameTypeValuesDescription
boolboolean-Boolean value that enables or disables power-on status clear.
*RCLset / query

Recalls a previously stored instrument state from the specified non-volatile memory location.

NameTypeValuesDescription
valuediscrete0 - 5Non-volatile memory location to recall.
*RSTset / query

Resets the instrument to its factory default state.

*SAVset / query

Stores the current instrument state to a specified location in non-volatile memory.

NameTypeValuesDescription
valueenum0 | 1 | 2 | 3 | 4 | 5Memory location to store the current instrument state.
*SREset / query

Sets or queries the enable register of the status byte register set.

NameTypeValuesDescription
maskargumentinteger0 - 255Value of the status byte register enable mask, equal to the sum of the decimal values of all bits set.
integer - Returns the enable value of the register as a decimal-weighted sum of all bits set in the register.
*SRE 16
*SRE?
*STB?query

Queries the event register for the status byte register. After executing the command, the value in the status byte register is cleared.

integer - Returns the status byte register value as an integer. After the command is executed, the status byte register is cleared.
*TRGset / query

Generates a trigger event.

*TRG /*Generates a trigger event.*/
*WAIset / query

Waits until all pending previously received commands have completed execution before processing subsequent commands.

Sets the wait-for-trigger state for a specified channel. This command is used to determine whether, after output is finished, the system returns to the idle state or the wait-for-trigger state.

NameTypeValuesDescription
noptinteger-Channel number.
boolboolean-Wait-for-trigger state.

Sets whether the trigger system always returns to the "wait-for-trigger" state for all channels.

NameTypeValuesDescription
noptinteger1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Channel number; when omitted, CH1 is assumed.
boolenum0 | 1 | OFF | ONEnables or disables returning to the wait-for-trigger state.

Changes the status of the trigger system from "idle" to "wait-for-trigger" for the specified channel.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specified channel number; when omitted, it is interpreted as CH1.

Changes the status of the trigger system from idle to wait-for-trigger for all channels.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Selects the channel number.

:LXI:MDNS:STATeset / query

Sets or queries the on/off status of the multicast Domain Name System (mDNS).

NameTypeValuesDescription
boolboolean-On/off state of mDNS.

Sets or queries the service name for mDNS.

NameTypeValuesDescription
namestring-mDNS service name; can contain English characters, numbers, and strikethrough, up to 28 characters.
string - Returns the ASCII string service name.
:LXI:MDNS:SNAMe:DESired RIGOL /*Sets the mDNS service name to
:LXI:MDNS:SNAMe:DESired? /*Queries the service name for mDNS. The
:LXI:RESetset / query

Sets the network settings to default values.

:LXI:RESet /*Sets the network settings to default values.*/
:LXI:RESTartset / query

Restarts the LAN interface.

:LXI:RESTart /*Restarts the LAN interface.*/

Queries the number of memory locations for storing states.

integer - Returns 6, the number of memory locations available for storing state files.
:MEMory:NSTates?

Queries the names of the state files in the internal non-volatile memory of the instrument.

string - Returns the names of the state files stored in the internal non-volatile memory.

Deletes the state file stored in the specified memory location. This command is valid only when a state file has been stored in that location.

NameTypeValuesDescription
ninteger0 | 1 | 2 | 3 | 4 | 5Specifies the memory location of the state file to delete.
:MEMory:STATe:DELete 1 /*Deletes the state file stored in location 1.*/

Sets or queries the filename associated with a stored state location. The query returns the name for the specified memory location.

NameTypeValuesDescription
ndiscrete0 - 5Memory location index for the state file.
nameoptstring-Filename to assign to the specified state location.
string - Returns the filename stored for the specified memory location.
The query returns "AUTO_RECALL","STATE_1","STATE_2","STATE_3","STATE_4","STATE_5".
:MEMory:STATe:CATalog? /*Queries the names of locations 0 to 5. The query returns "AUTO_RECALL","STATE_1","STATE_2","STATE_3","STATE_4","STATE_5".*/

Sets or queries whether to enable the automatic recall of the last power-on setting.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables automatic recall of the last power-on setting.
enum - Returns whether automatic recall of the last power-on setting is enabled.

Queries whether a state file is available in the specified internal non-volatile memory location. The query returns 1 if an existing state file is stored in the location, otherwise 0.

NameTypeValuesDescription
stateenum0 | 1 | 2 | 3 | 4 | 5Memory location to check.
enum - Returns 1 if an existing state file has been stored in the specified location, or 0 if no state file is stored in that location.
:MEMory:STATe:VALid? 2 /*Queries whether an existing state file is
stored in the location 2 in the internal non-volatile memory of the
instrument. The query returns 1.*/

Queries all the files in the specified directory. If <folder> is omitted, the command queries the directory specified by :MMEMory:CDIRectory.

NameTypeValuesDescription
folderoptstring-Valid directory in internal or external memory.
string - Returns a string listing space used, space available, and file entries in the form "file name,file property,file size".

Queries all the arbitrary waveform files (*.arb/*.txt/*.csv) and sequence files (*.seq) in the specified directory.

NameTypeValuesDescription
folderoptstring-Valid directory in the internal or external memory.
string - Returns a string listing space used, space available, and each matching file as "file name,file property,file size" entries.
:MMEMory:CATalog:DATA:ARBitrary? INT:\folder /*Queries all the arbitrary waveform files and sequence files in the folder named "folder" under C disk. The query returns 28672,4102361088,"Rigol1.seq,SEQ,1254","test.arb,ARB,587".*/

Queries the state file (*.sta) under the specified directory. If the folder is omitted, it queries the current directory.

NameTypeValuesDescription
folderoptstring-Valid directory in the internal or external memory.
string - Returns the space used and space available, followed by zero or more state-file entries in the format `"file name,file property,file size"`. If no state file exists in the target directory, only the space used and space available are returned.
:MMEMory:CATalog:STATe? /*Queries the state file under the current directory. The query returns 28672,4102361088,"MySetup.sta,STAT,8192".*/

Sets or queries the default directory for :MMEMory commands.

NameTypeValuesDescription
directory_namestring-The directory to use as the default location for MMEMory commands.
:MMEMory:COPYset / query

Copies a file to the specified directory, not the current directory.

NameTypeValuesDescription
file_namestring-Name of the file to be copied.
directory_namestring-Target path for the copied file.

Copies a specified sequence file (.seq) to the specified directory.

NameTypeValuesDescription
<sequence>string-The filename of the sequence to be copied; the filename must contain the file extension.
<directoryname>string-The target directory path.
:MMEMory:COPY:SEQuence INT:\Rigol\MySequence.seq,USB:\rigol /
:MMEMory:DELeteset / query

Deletes a specific file under the specified directory.

NameTypeValuesDescription
file_namestring-File name to delete.

Loads a sequence file (*.seq) or arbitrary waveform file (*.arb/*.csv/*.txt) from internal or external memory into the volatile memory of the specified channel.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the number of the channel to which the file is loaded.
file_namestring-Specifies the name of the file under the specified directory.
separatoroptenumENTer | COMMa | SEMicolonSpecifies the separator used in the file.
datatypeoptenumNORMal | VOLtageSpecifies the data type to load.

Loads the specified state file.

NameTypeValuesDescription
file_namestring-ASCII string specifying a valid state file name.

Creates an empty folder with the specified name in the mass memory system.

NameTypeValuesDescription
<dir_name>string-Specifies the name of the folder to be created.
:MMEMory:MDIRectory TestFolder /*Creates a folder named "TestFolder" in the internal mass memory.*/
:MMEMory:MOVEset / query

Moves file 1 under the current directory to the specified directory, or renames file 1 to file 2.

NameTypeValuesDescription
<file1>string-Source file name.
<file2>string-Destination file name or directory.

Deletes the specified directory (empty folder) in the mass memory system.

NameTypeValuesDescription
folderstring-Folder name of the empty folder.

Stores a sequence file (*.seq) in volatile memory of the specified channel to the specified directory.

NameTypeValuesDescription
ninteger1 - 8Specified channel number.
file_namestring-Valid directory and file name for the sequence file.
:MMEMory:STORe:DATA 1,INT:\Seq_1.seq /*Stores a sequence file (*.seq) in volatile memory of CH1 to the internal memory with the name of Seq_1.seq.*/

Stores the current instrument state with the specified name in the specified directory.

NameTypeValuesDescription
file_namestring-Name of the file or directory where the state is stored.

Sends floating point values from -1.0 to 1.0 to the specified Arb file.

NameTypeValuesDescription
arb_namestringValid filenameName of the Arb file under the specified directory; the file name must end with .arb.
flagenumHEADer | CONTinue | ENDSpecifies the data transmission status.
datastring-The data to be sent, with values separated by commas.

Sends integer sample data or a data stream to the specified Arb file. The file name must end with .arb; new data overwrites an existing file with the same name.

NameTypeValuesDescription
arb_namestring-Name of the Arb file under the specified directory.
flagenumHEADer | CONTinue | ENDSpecifies the data transmission status.
datablock-Integer data between -32768 and +32767, or a data stream as an ASCII string or IEEE 488.2 block.
:MMEMory:TRACe:ARB:DATA:DAC <arb_name>,<flag>,<data>
:MMEMory:TRACe:ARB:DATA:DAC INT:\ARB.arb,HEADer,0,0.0975,0.1913,0.2777

Sets or queries the on/off status of the debounce function for the specified channel.

NameTypeValuesDescription
boolboolean-On/off status of the debounce function.
:OUTPut[<n>]:DEBounce[:STATe] <bool>
:OUTPut[<n>]:DEBounce[:STATe]?

Sets or queries the idle level position of the burst mode for the specified channel.

NameTypeValuesDescription
noptinteger1 - 8Channel number.
idleinteger0 - 65535Idle level value.
positionenumFPT | TOP | CENTer | BOTTomIdle level position.
integer - The query returns 0 or 1.

Sets or queries the output impedance for the specified channel.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the output channel; when omitted, it is interpreted as CH1.
ohmsinteger1 Ω - 10 kΩSets the output impedance to a specified value.
lim_setenumINFinity | MINimum | MAXimum | DEFaultSets the impedance to HighZ, the minimum value, the maximum value, or the default value.
enum - For the query form, returns the output impedance position as FPT, TOP, CENT, or BOTT, or returns the idle level position in an integer.

Sets or queries the output polarity for the specified channel.

NameTypeValuesDescription
noptdiscrete1 - 8Specifies the output channel number; when omitted, it is interpreted as CH1.
polarityenumNORMal | INVertedSets the output signal polarity to normal or inverted.

Sets or queries the channel-to-channel skew (relative timing of the analog output). The query returns the skew in scientific notation.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Selects the output channel; when omitted, it is interpreted as CH1.
timereal-200 ns - +200 nsSets the skew time.
limdiscreteMINimum | MAXimum | DEFaultKeyword alternative to specify a limit value.
string - The skew value in scientific notation, for example +1.200000000000000E-09 indicating a skew of 1.2 ns.
:OUTPut1:SKEW:TIME 1.2E-9 /*Sets the skew to 1.2 ns for CH1.*/
:OUTPut1:SKEW:TIME? /*Queries the skew for CH1. The query returns
+1.200000000000000E-09.*/

Sets or queries the output state for the selected channel. When omitted, <n> is interpreted as CH1.

NameTypeValuesDescription
<n>optdiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Selects the output channel number.
<state>--

Sets or queries the output state of the sync signal.

NameTypeValuesDescription
noptinteger1 - 8Determines the channel number; when omitted, it is interpreted as CH1.
stateenum0 | 1 | OFF | ONEnables or disables the sync output.
enum - Returns 0 or 1.

Sets or queries whether the frequency mark function is enabled for the specified channel. When <n> is omitted, it is interpreted as CH1.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the channel number.
modeenumNORMal | MARKerEnables or disables the frequency mark function.
enum - Returns the frequency mark function state for the specified channel. NORM indicates disabled; MARK indicates enabled.
:OUTPut1:SYNC:MODE MARKer /*Enables the frequency mark function for CH1.*/
:OUTPut1:SYNC:MODE? /*Queries whether the frequency mark function is enabled for CH1. The query returns MARK.*/

Sets or queries the polarity of the sync signal for the specified channel. The query returns NORM or INV.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the output channel; when omitted, it is interpreted as CH1.
polarityenumNORMal | INVertedSets the sync signal polarity to normal or inverted.
enum - Returns the sync signal polarity for the specified channel.
:OUTPut1:SYNC:POLarity NORMal /*Sets the output polarity of CH1
:OUTPut1:SYNC:POLarity? /*Queries the output polarity of CH1 sync

Sets or queries whether the trigger output is enabled for Sweep or Burst mode.

NameTypeValuesDescription
<n>optdiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the output channel number; when omitted, it is interpreted as CH1.
boolean - Returns whether the trigger output is enabled.

Sets or queries the edge of the trigger output signal for the specified channel. Positive outputs the pulse at the leading edge; Negative outputs it at the trailing edge.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the output channel number; when omitted, it is interpreted as CH1.
typeenumPOSitive | NEGativeSelects which edge of the trigger output signal is used.
enum - Returns the edge setting of the trigger output signal.

Sets or queries the benchmark channel. The benchmark channel is used by the channel coupling and track functions.

NameTypeValuesDescription
<chan>enumCH1 | CH2 | CH3 | CH4 | CH5 | CH6 | CH7 | CH8Benchmark channel.
enum - Returns the benchmark channel.
:SYNChro:BENChmark CH1
:SYNChro:BENChmark? /*Queries the benchmark channel. The query returns CH1*/
:SYNChro:BUNDleset / query

Adds the specified channel to the Bundled Channels or removes it from the Bundled Channels. The query checks whether the specified channel is bundled.

NameTypeValuesDescription
chandiscreteCH1 | CH2 | CH3 | CH4 | CH5 | CH6 | CH7 | CH8Specifies the channel to add to or remove from the Bundled Channels.
boolboolean0 | 1 | OFF | ONAdds or removes the specified channel from the Bundled Channels.
integer - The query returns 0 or 1 indicating whether the specified channel is added to the Bundled Channels.
:SYNChro:BUNDle CH2,ON /*Adds CH2 to the Bundled Channels.*/
:SYNChro:BUNDle? CH2 /*Queries whether CH2 is added to the Bundled Channels. The query returns 1.*/

Issues a single beep immediately.

:SYSTem:BEEPer:IMMediate /*Issues a single beep immediately.*/

Sets or queries the on/off status of the beeper.

NameTypeValuesDescription
stateboolean-Beeper on/off state.
boolean - Returns the present beeper on/off status.

Sets or queries the on/off status of the Auto IP mode.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONOn/off state of Auto IP mode.
enum - Returns the on/off status of the Auto IP mode as 0 or 1.

Sets or queries the on/off status of the Auto IP mode. After changing it, the manual says to execute :SYSTem:COMMunicate:LAN:UPDate for the new network settings to take effect.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONTurns Auto IP mode on or off.
enum - Returns the current on/off status of Auto IP mode as 0 or 1.

Reads the port number of the initial control connecting port for socket communication.

integer - Returns the port number of the initial control connecting port for socket communication; returns 0 if the interface does not support the socket.
:SYSTem:COMMunicate:LAN:CONTrol? /*Reads the port number of the initial control connecting port for socket communication. The query returns 5000.*/

Sets or queries the on/off status of the DHCP mode.

NameTypeValuesDescription
boolboolean-On/off status of DHCP mode.
boolean - Returns the on/off status of the DHCP mode.

Sets or queries the domain name server (DNS) address.

NameTypeValuesDescription
dnsstring-DNS address in nnn.nnn.nnn.nnn format; the first octet ranges from 1 to 223 excluding 127, and the other three range from 0 to 255.
integer - Returns 0 or 1.

Queries the domain name.

string - The query returns a string.
::SYSTem:COMMunicate:LAN:DOMain? /*Queries the domain name. The query returns YYYrigollan.*/

Sets or queries the default gateway.

NameTypeValuesDescription
gatewaystring-ASCII string for the default gateway address.

Sets or queries the hostname. The hostname must be 1 to 28 characters long, start with a letter A to Z, and may contain letters, numbers, and hyphens.

NameTypeValuesDescription
<name>string28 charactersThe specified hostname.
string - The query returns the current hostname.
:SYSTem:COMMunicate:LAN:HOSTname RIGOL123 /*Sets the hostname to
RIGOL123.*/

Sets or queries the IP address.

NameTypeValuesDescription
ipstring1 - 223IP address in nnn.nnn.nnn.nnn format; the first octet must be 1 to 223 excluding 127, and the other three octets must be 0 to 255.
:SYSTem:COMMunicate:LAN:IPADdress 172.16.3.128 /*Sets the IP address to 172.16.3.128.*/
:SYSTem:COMMunicate:LAN:IPADdress? /*Queries the current IP address. The query returns 172.16.3.128.*/

Sets or queries the subnet mask. After sending this command, execute :SYSTem:COMMunicate:LAN:UPDate to apply the current network setting for the new parameters to take effect.

NameTypeValuesDescription
submaskstring-Subnet mask in nnn.nnn.nnn.nnn format, where each nnn ranges from 0 to 255.
string - The query returns the subnet mask, such as 255.255.255.0.

Sets or queries the on/off status of the Static IP mode.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables Static IP mode.
enum - The query returns 0 or 1.

Stores all the modifications of the LAN setting to non-volatile memory and restarts the LAN drive program using the updated setting.

SYSTem:COMMunicate:LAN:UPDate

Queries the instrument's USB information.

string - Returns the instrument's USB information as a string, for example, USB0::0x1AB1::0x052::DG50000000001::INSTR.
:SYSTem:COMMunicate:USB:INFormation?
:SYSTem:DATEset / query

Sets or queries the system date.

NameTypeValuesDescription
yyyyinteger1970 - 2037
mminteger01 - 12
ddinteger01 - 31
string - The query returns the system date in character string. The year, month, and day are separated by "-".
:SYSTem:DATE 2022,05,01 /*Sets the system date to May 1, 2022.*/
:SYSTem:DATE? /*Queries the system date. The query returns 2022-05-01.*/

Queries and clears an error message in the error queue.

string - Returns the error message from the error queue; the query also clears that error message.
:SYSTem:KLOCkset / query

Sets or queries the locked/unlocked status of all front-panel keys. ON or 1 locks all keys; OFF or 0 unlocks them.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONLocks or unlocks the front-panel keys.
enum - Returns whether all front-panel keys are locked.
:SYSTem:KLOCk ON /*Locks all front-panel keys.*/
:SYSTem:KLOCk? /*Queries whether all front-panel keys are locked. The query returns 1.*/
:SYSTem:LANGuageset / query

Sets or queries the system language. The instrument supports Simplified Chinese, Traditional Chinese, and English, and the setting is not affected by *RST.

NameTypeValuesDescription
languageenumSCHinese | TCHinese | ENGLishSystem language to set.
enum - Returns the current system language as SCH, TCH, or ENGL.
:SYSTem:LANGuage ENGLish /*Sets the system language to English.*/
:SYSTem:LANGuage? /*Queries the system language. The query returns
ENGL.*/

Queries the options currently activated.

string - Returns the options currently activated such as 2RL.

Deletes the installed option.

NameTypeValuesDescription
namediscreteIQ | MPULse | SEQuence | 2RL | PJ | MTONeSpecifies which installed option to delete.
:SYSTem:LICense:DELete 2RL /*Deletes the installed memory depth upgrade option.*/

Installs the option using a license string. The license is a fixed-length string and each instrument has a unique license.

NameTypeValuesDescription
licensestringValid licenseLicense string used to install the option.

Installs the option using a license file from a USB storage device. The path must point to a valid .lic file.

NameTypeValuesDescription
pathstring-Valid license path; must include the .lic file extension.
:SYSTem:LICense:INSTall:UDISk USB:/rigol/license.lic /*Installs the
option using the "license.lic" file in the "rigol" folder of the
USB storage device.*/
:SYSTem:PSTatusset / query

Sets or queries the power status of the instrument.

NameTypeValuesDescription
powerenumDEFault | OPENPower status to set.
enum - The query returns DEF or OPEN.
:SYSTem:PSTatus DEFault /*Sets the power status to DEFault.*/
:SYSTem:PSTatus? /*Queries the power status of the instrument. The
query returns DEF.*/

Sets or queries the system clock source.

NameTypeValuesDescription
<source>enumINTernal | EXTernalSystem clock source.
:SYSTem:TIMEset / query

Sets or queries the system time.

NameTypeValuesDescription
hourinteger0 - 23
minuteinteger0 - 59
secondinteger0 - 59
string - The query returns the system time in string.
:SYSTem:TOUChset / query

Sets or queries whether the touch screen is enabled.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables the touch screen.
integer - The query returns 0 or 1.

Queries the version number of the SCPI used by the system.

string - Returns the SCPI version number used by the system.

Sets or queries the trigger count for the specified channel. Trigger count is the number of cycles of the effective output signals after each trigger event.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the trigger channel.
countinteger1 - 1000000Trigger count value.
qualifierenumMINimum | MAXimum | DEFaultKeyword alternative for setting the trigger count to the minimum, maximum, or default value.
qualifieroptenumMINimum | MAXimumOptional query qualifier to request the minimum or maximum trigger count.
integer - Returns the trigger count.

Sets or queries the trigger delay for the specified channel. Trigger delay is only available for N-Cycle burst mode.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Channel number.
secondsreal0 s - 85 sTrigger delay value in seconds.
qualifierenumMINimum | MAXimum | DEFaultSets the trigger delay to the minimum, maximum, or default value.

Generates a trigger event in the specified channel. This command is only available for Burst, Sweep, Advanced-Sequence, and Advanced-Multi-pulse modes using manual trigger.

NameTypeValuesDescription
nenum1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Specifies the channel number.
*None*

Sets or queries the edge type of the external trigger signal for the specified channel.

NameTypeValuesDescription
slopeenum-Edge type of the external trigger signal.

Sets or queries the trigger type for the specified channel. This command is only available for the Burst mode or Sweep mode.

NameTypeValuesDescription
ndiscrete1 - 8
sourceenumIMMediate | EXTernal | BUS | TIMer
enum - Returns the current trigger source as IMMediate, EXTernal, BUS, or TIMer.

Sets or queries the trigger timer for the specified channel.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8Channel number.
timerreal1 μs - 8000 sTrigger timer value.
limoptenumMINimum | MAXimumReturns the minimum or maximum timer limit.
real - The query returns the trigger timer in scientific notation.
:TRIGger1:TIMer 1 /*Sets the trigger timer to 1 s for CH1.*/
:TRIGger1:TIMer? /*Queries the trigger timer for CH1. The query returns +1.000000000000000E+00.*/