/

Rigol

/

Rigol DG821PRO

SCPI COMMAND REFERENCE

Rigol DG821PRO

Rigol DG821PRO

The Rigol DG821PRO is Rigol's function generator in the DG800 Pro/DG900 Pro Series family. Its SCPI remote-control interface exposes 113 commands across 12 subsystems - 92 settable and 21 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.

113

Commands

92

Settable

21

Queries

12

Subsystems

SCPI

1994.0

Verified

2026-07-16

All commands

:ABORtset / query

Stops any operation that is triggered.

Queries the statistical results for counter measurements.

string - Returns six comma-separated parts representing the current value, maximum value, minimum value, average value, standard deviation, and statistical count. When the counter statistical function is disabled, the query returns 0,0,0,0,0,0.
:COUNter:AVERage:ALL? /*Queries the statistical results for counter measurements. The query might return +1.000004E+06,+1.000005E+06,+1.000003E+06,+1.000004E+06,+0.000000E+00,35.*/

Clears the statistical results for counter measurements.

:COUNter:AVERage:CLEar /*Clears the statistical results for counter measurements.*/

Sets or queries the on/off status of the statistical function for the frequency counter.

NameTypeValuesDescription
stateboolean0 | 1 | OFF | ONEnables or disables the statistical function.
enum - The query returns 0 or 1.

Sets or queries the coupling type of input signals for counter measurements.

NameTypeValuesDescription
couplingenumAC | DCSelects the coupling type for counter measurements.
enum - The query returns the current coupling type.
:COUNter:COUPling DC
:COUNter:COUPling?

Sets or queries the frequency range for counter measurements.

NameTypeValuesDescription
range--

Sets or queries the gate time for counter measurements. When used to specify the gate time, the auto gate function is automatically disabled.

NameTypeValuesDescription
timereal1 ms - 10,000 sGate time for counter measurements.
limenumMINimum | MAXimumSelects the minimum or maximum gate time.
returns

Sets or queries the on/off status of the auto gate function for counter measurements. When enabled, the instrument selects an appropriate gate time automatically according to the signal characteristics.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables the auto gate function.
enum - Returns 0 or 1.
::COUNter:GATetime:AUTO:STATe ON
::COUNter:GATetime:AUTO:STATe?
:COUNter:HFset / query

Sets or queries the on/off status of the HF Suppression function for counter measurements.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables HF suppression.
enum - The query returns 0 or 1.

Sets or queries the input impedance for the frequency counter.

NameTypeValuesDescription
impedanceenumOMEG | FIFTyInput impedance setting for the frequency counter.
enum - The query returns FIFT or OMEG.

Queries the measurement results for the frequency counter.

string - A comma-separated string of five scientific-notation values representing frequency, period, duty cycle, positive pulse width, and negative pulse width. When the counter function is disabled, the query returns 0,0,0,0,0.
:COUNter:MEASure? /*Queries the measurement results for the frequency counter. The query might return +1.000000000000000E +03,+1.0000000000000001E-03,+5.760000000000000E +01,+5.760000000000000E-04,+4.240000000000000E-04.*/

Sets or queries the counter run state.

NameTypeValuesDescription
stateenum-
:COUNter:SINGleset / query

Sets the frequency counter to single-measurement mode. The instrument executes one measurement and then enters the Stop state; this command is available only when the counter is enabled.

:COUNter[:STATe]set / query

Sets or queries the on/off status of the frequency counter.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables the frequency counter.
enum - The query returns 0 or 1.
:COUNter:STATe ON /*Enables the frequency counter.*/
:COUNter:STATe? /*Queries the on/off status of the frequency counter. The query returns 1.*/

Sets or queries the display brightness. The query can optionally take a limit qualifier.

NameTypeValuesDescription
brightnessreal-
limenumlim
:DISPlay:COUNterset / query

Sets or queries the currently displayed measurement parameter for counter measurements.

NameTypeValuesDescription
typeenumFREQuency | PERiod | DUTY | PWIDth | NWIDthSelects the counter measurement parameter to display.
enum - Returns the currently displayed counter measurement parameter as a short keyword.
:DISPlay:FOCusset / query

Sets or queries the current channel.

NameTypeValuesDescription
chanenumCH1 | CH2Selects the current channel.
enum - The query returns the current channel as CH1 or CH2.
: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
boolboolean-Boolean state to set the front-panel screen on or off.
boolean - The current state of the front-panel screen.
:DISPlay:TEXTset / query

Sets or queries the text message displayed on the front-panel screen. When a text message is displayed, the instrument enters notifier mode until the front-panel key is pressed or the text is cleared with :DISPlay:TEXT:CLEar.

NameTypeValuesDescription
stringstring-ASCII text message to display, enclosed by double quotation marks, up to 40 characters.
string - Returns the current display text as a character string, for example, "Test in progress".
:DISPlay:TEXT "Test in progress"
:DISPlay:TEXT?

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. WIDTh specifies pulse width in seconds, and DUTY specifies pulse width in percentage.

NameTypeValuesDescription
typeenumWIDTh | DUTYMethod used to specify the pulse width.
enum - Returns the current method used to specify the pulse width.

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

NameTypeValuesDescription
unitenumFREQuency | PERiodSelects the rate unit.
enum - Returns the current rate unit.
:DISPlay:UNIT:RATE PERiod /*Sets the rate unit to s for Sine,
Square, Ramp, Pulse, Arb, and Harmonic.*/
:DISPlay:UNIT:RATE? /*Queries the rate unit for Sine, Square, Ramp,
Pulse, Arb, and Harmonic. The query returns PER.*/

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

NameTypeValuesDescription
typeenum-Method used to specify the frequency sweep range.

Sets or queries the method to specify the voltage range.

NameTypeValuesDescription
typeenumAMPLitudeoff | HIGHlowSelects whether the voltage range is specified by amplitude/offset or by high/low level.
enum - Returns the current voltage-range specification method.
:DISPlay:UNIT:VOLTage AMPLitudeoff
:DISPlay:UNIT:VOLTage?

Captures the current screen.

block - The query returns the data stream of the screen image.

Sets or queries the format of the screen image.

NameTypeValuesDescription
typeenumBMP | PNGScreen image format.
enum - The query returns BMP or PNG.
: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 the standard event register enable register.
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 an integer equal to the binary-weighted sum of all bits set in the register. Bits 1 and 6 are always 0, so the returned value corresponds to a binary number X0XXXX0X.
*IDN?query

Queries the ID string of the instrument.

*OPCset / query

Sets the OPC (bit 0, "Operation Complete") of the Standard Event register to 1 after all commands are executed. The query checks whether all previous commands have executed and returns 1 after the command is executed.

integer - Returns 1 to the output buffer after the command is executed.
*OPT?query

Queries the options installed in the instrument.

enum - Returns the installed options separated by commas. If an option is installed, the query returns the option name; if no option is installed, it returns NONE.
*OPT? /*Queries the options installed. The query returns NONE.*/
*PSCset / query

Enables or disables clearing the enable registers of the Status Byte and Standard Event registers at power-on. The query reports the on/off state of that function.

NameTypeValuesDescription
boolboolean-Enables or disables clearing the enable registers of the Status Byte and Standard Event registers at power-on.
*RCLset / query

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

NameTypeValuesDescription
valuediscrete0 - 5Memory location containing the stored instrument state to recall.
*RCL 1 /*Recalls the instrument state stored in memory location 1.*/
*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. If a file already exists in the specified location, the command overwrites it directly without a prompt.

NameTypeValuesDescription
valuediscrete0 | 1 | 2 | 3 | 4 | 5Specified storage location in non-volatile memory.
*SAV 1 /*Stores the current instrument state to memory location 1.*/
*SREset / query

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

NameTypeValuesDescription
maskargumentinteger0 - 255Sets the enable register value as the sum of the decimal values of all bits set in the status byte register.
integer - The decimal-weighted sum of all bits set in the status byte 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.
*TRGset / query

Generates a trigger event.

*TRG /*Generates a trigger event.*/
*TST?query

Executes the self-test and returns the results.

integer - Returns the self-test result as an integer.
*WAIset / query

Waits for the operation to complete so that the previous command finishes before the next command is issued.

Sets or queries whether the trigger system always returns to the "wait-for-trigger" state for the specified channel. When set to ON, the trigger count setting becomes invalid; when omitted, <n> is interpreted as CH1.

NameTypeValuesDescription
noptdiscrete1 | 2Channel number to apply the setting to.
boolboolean0 | 1 | OFF | ONEnables or disables returning to the "wait-for-trigger" state.
enum - Returns the present setting as 0 or 1.
:INITiate1:CONTinuous ON /*Sets CH1 to automatically return to "wait-for-trigger".*/
:INITiate1:CONTinuous? /*Queries whether CH1 automatically returns to "wait-for-trigger". The query returns 1.*/

Sets or queries whether the trigger system always returns to the "wait-for-trigger" state for both channels.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables always returning to the "wait-for-trigger" state.

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

:LXI:MDNS:STATeset / query

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

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables mDNS.
enum - The query returns 0 or 1.
:LXI:MDNS:STATe ON /*Enables the mDNS.*/
:LXI:MDNS:STATe? /*Queries whether the mDNS is enabled. The query returns 1.*/

Sets or queries the service name for mDNS.

NameTypeValuesDescription
namestring-Specifies the mDNS service name, which can contain English characters and numbers; total length no more than 99 characters.
:LXI:RESetset / query

Sets the network settings to default values. It may take a few seconds for the LAN interface to restart after you send this command.

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

Queries the number of memory locations for storing states.

integer - The query returns 6.
:MEMory:NSTates? /*Queries the number of memory locations for the state files in the non-volatile memory of the instrument. The query returns 6.*/

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

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

Deletes the state file stored in the specified memory location.

NameTypeValuesDescription
ndiscrete0 | 1 | 2 | 3 | 4 | 5Specifies the memory location whose state file is deleted.
:MEMory:STATe:DELete 1 /*Deletes the state file stored in location 1.*/

Sets or queries the filename of the state file stored in the instrument's internal non-volatile memory. The state file location is specified by <n> and an optional name may be assigned; if omitted, the factory default name is used.

NameTypeValuesDescription
ndiscrete0 | 1 | 2 | 3 | 4 | 5Specifies one of the six internal memory locations for the state file.
nameoptstring-Sets the filename stored for the selected state file location.
string - Returns the filename of the selected state file as a quoted string.
:MEMory:STATe:NAME 2,state
:MEMory:STATe:NAME? 2

Sets or queries whether state files are recalled automatically.

NameTypeValuesDescription
boolboolean-Enables or disables automatic state-file recall.

Queries whether a state file is available in the specified memory location in the instrument's internal non-volatile memory.

NameTypeValuesDescription
statediscrete0 - 5Memory location to check.
enum - Returns whether a state file is available in the specified memory location.

Queries all the files in the specified directory.

NameTypeValuesDescription
folderoptstring-Directory to catalog.
string - Returns the files in the specified directory.

Queries all arbitrary waveform files (*.arb/*.barb/*.csv) and sequence files (*.seq) in the specified directory. If <folder> is omitted, the command queries the directory specified by :MMEMory:CDIRectory.

NameTypeValuesDescription
<folder>optstring-Valid directory in internal or external memory.
string - Returns a comma-separated listing of space used, space available, and file entries in the target directory.

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

NameTypeValuesDescription
<folder>optstring-Valid directory in the internal or external memory.
string - Returns a string in the format of space used, space available, and zero or more quoted file entries; file property is STAT and file size is the amount of space the file uses.

Sets or queries the default directory for :MMEMory commands. The directory must be a valid directory in internal or external memory.

NameTypeValuesDescription
directory_namestring-The directory path to use as the default directory.
string - Returns the current default directory as a string.
:MMEMory:CDIRectory INT:/folder /*Sets the default directory to INT:/folder (the "folder" in internal memory).*/
:MMEMory:CDIRectory? /*Queries the default directory. The query returns INT:/folder.*/
:MMEMory:COPYset / query

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

NameTypeValuesDescription
file_namestring-
directory_namestring-

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

NameTypeValuesDescription
sequencestring-Filename of the sequence to be copied; the filename must include the file extension.
directorynamestring-Target directory path.
:MMEMory:DELeteset / query

Deletes a specific file under the specified directory.

NameTypeValuesDescription
file_namestring-Valid filename.
:MMEMory:DELete INT:\screenshot.png /*Deletes the image named screenshot.png under C disk.*/

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

NameTypeValuesDescription
ninteger-Specified channel number.
file_namestring-File name of the sequence or arbitrary waveform file to load.

Loads the specified state file.

NameTypeValuesDescription
file_namestring-Name of the state file under the specified directory.
:MMEMory:LOAD:STATe INT:\Mystate.sta /*Loads the instrument state file named Mystate.sta from the root directory of the internal memory.*/
:MMEMory:MOVEset / query

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

NameTypeValuesDescription
file1string-File 1 to move or rename.
file2string-Target directory or filename.

Deletes the specified empty directory in the mass memory system. An error is displayed if the folder is not empty.

NameTypeValuesDescription
folderstring-Folder name of the empty folder.
:MMEMory:RDIRectory folder /*Deletes the empty folder named "folder" in the internal mass memory.*/

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

NameTypeValuesDescription
ndiscrete1 - 2Specified channel number.
file_namestring-Directory and file name to store 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-File name or directory path where the instrument state is stored.

Sets or queries the idle level position of the burst mode for the specified channel. When [<n>] is omitted, it is interpreted as CH1.

NameTypeValuesDescription
noptdiscrete1 | 2Specifies the channel number.
idleinteger0 - 65535Self-defines the idle level position.
positionenumFPT | TOP | CENTer | BOTTomSelects the idle level position as first point, top, center, or bottom of the waveform.
enum - The query returns FPT, TOP, CENT, or BOTT; or returns the idle level position in an integer.
:OUTPut1:IDLE TOP /*Sets the idle level to the top point of the waveform.*/

Sets or queries the output impedance for the specified channel.

NameTypeValuesDescription
noptdiscrete1 | 2Specifies the output channel number; when omitted, it is interpreted as CH1.
ohmsinteger1 - 10 kΩSets the output impedance to a specified value.
lim_setdiscreteINFinity | MINimum | MAXimum | DEFaultSets the impedance to HighZ, the minimum value, the maximum value, or the default value.
real (Ω) - Returns the output impedance in scientific notation; returns 9.9E+37 when the output connector impedance is set to HighZ (INFinity).
:OUTPut1:LOAD INFinity /*Sets the output impedance to HighZ for CH1 output connector.*/

Sets or queries the output polarity for the specified channel. When [<n>] is omitted, it is interpreted as CH1.

NameTypeValuesDescription
noptdiscrete1 | 2Specifies the output channel number.
polarityenumNORMal | INVertedSets the output connector polarity to normal or inverted.
enum - Returns the current output polarity.
:OUTPut1:POLarity NORMal /*Sets the CH1 output polarity to Normal.*/
:OUTPut1:POLarity? /*Queries the CH1 output polarity. The query returns NORM.*/

Sets or queries the output state for the specified channel. When [<n>] is omitted, it is interpreted as CH1.

NameTypeValuesDescription
<n>optdiscrete1 | 2Specifies the output channel.
<state>enum-Sets the output state.
enum - The query returns the output state.

Sets or queries the output state of the sync signal. The sync signal is associated with Sine, Square, Ramp, Pulse, Arb (except DC), Sweep, burst, and modulated waveforms.

NameTypeValuesDescription
noptdiscrete1 | 2Specifies the channel; if omitted, it is interpreted as CH1.
stateboolean0 | 1 | OFF | ONEnables or disables the sync output.
enum - The query 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 | 2Output channel number.
modeenumNORMal | MARKerEnables or disables the frequency mark function.
enum - Returns the current frequency mark state.
:OUTPut1:SYNC:MODE MARKer /*Enables the frequency mark function for CH1.*/

Sets or queries the polarity of the sync signal for the specified channel. When [<n>] is omitted, it is interpreted as CH1.

NameTypeValuesDescription
noptdiscrete1 | 2Channel number for the sync signal output.
polarityenumNORMal | INVertedSets the sync signal output polarity to rising edge or falling edge.
enum - The query returns the sync signal output polarity as NORM or INV.
:OUTPut1:SYNC:POLarity NORMal /*Sets the output polarity of CH1
sync signal to rising edge.*/
:OUTPut1:SYNC:POLarity? /*Queries the output polarity of CH1 sync
signal. The query returns NORM.*/

Sets or queries the sync signal output port for the specified channel.

NameTypeValuesDescription
<n>optdiscrete1 | 2Specifies the output channel number; when omitted, CH1 is assumed.
<port>--Sync signal output port.

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

NameTypeValuesDescription
noptdiscrete1 | 2
boolboolean0 | 1 | OFF | ON

Sets or queries the edge of the trigger output signal for the specified channel. POSitive outputs a leading-edge pulse and NEGative outputs a trailing-edge pulse.

NameTypeValuesDescription
<n>optdiscrete1 | 2Specified channel number; when omitted, it is interpreted as CH1.
<type>enumPOSitive | NEGativeSelects the trigger output edge.
:OUTPut1:TRIGger:SLOPe NEGative /*Sets the edge of the trigger output signal to trailing edge for CH1.*/
:OUTPut1:TRIGger:SLOPe? /*Queries the edge of the trigger output signal for CH1. The query returns NEG.*/

Issues a single beep immediately.

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

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

NameTypeValuesDescription
stateboolean1 | ON | 0 | OFFOn/off state of the beeper.
:SYSTem:BEEPer:IMMediate /*Issues a single beep immediately.*/
:SYSTem:DATEset / query

Sets or queries the system date.

NameTypeValuesDescription
yyyyinteger1970 - 2037
mminteger01 - 12
ddinteger01 - 31 (28, 29, or 30)
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.*/

Sets or queries the on/off status of DHCP mode. In DHCP mode, the instrument automatically assigns an IP address from a DHCP server.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONOn/off state of DHCP mode.
enum - Returns the current DHCP mode state as an on/off value.

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

NameTypeValuesDescription
dnsstring-DNS address in the form nnn.nnn.nnn.nnn.
string - The query returns the DNS address, for example, 172.16.3.2.
:SYSTem:COMMunicate:LAN:DNS 172.16.3.2
:SYSTem:COMMunicate:LAN:DNS?

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-Default gateway address in nnn.nnn.nnn.nnn format; the first octet ranges from 1 to 223 excluding 127, and the other three octets range from 0 to 255.

Sets or queries the hostname.

NameTypeValuesDescription
<name>string-The specified hostname, up to 15 characters; it must start with a letter and may contain letters, numbers, and hyphens.
string - The query returns a string.
:SYSTem:COMMunicate:LAN:HOSTname RIGOL123 /*Sets the hostname to RIGOL123.*/
:SYSTem:COMMunicate:LAN:HOSTname? /*Queries the hostname. The query returns RIGOL123.*/

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

NameTypeValuesDescription
<ip>string-IP address to set for the LAN interface.
string - The query returns the current IP address as a string, for example 172.16.3.1.

Queries the MAC address.

string - The query returns the MAC address, usually expressed in hexadecimal format such as 00:2A:A0:AA:E0:56.

Sets or queries the subnet mask. After changing it, execute :SYSTem:COMMunicate:LAN:UPDate to apply the new network settings.

NameTypeValuesDescription
<submask>string0 - 255Subnet mask in nnn.nnn.nnn.nnn format, with each nnn from 0 to 255.
string - Returns the current subnet mask, such as 255.255.255.0.
:SYSTem:COMMunicate:LAN:SMASk 255.255.255.0 /*Sets the subnet mask to 255.255.255.0.*/
:SYSTem:COMMunicate:LAN:SMASk? /*Queries the current subnet mask. The query returns 255.255.255.0.*/

Queries the instrument's USB information.

string - Returns the instrument's USB information, for example USB0::0x1AB1::0x052::DG80000000001::INSTR.
:SYSTem:COMMunicate:USB:INFormation? /*Queries the instrument's USB information. The query returns USB0::0x1AB1::0x052::DG80000000001::INSTR.*/

Queries and clears an error message in the error queue.

string - Returns a string with two comma-separated parts: the error number and the error message content in double quotation marks. Reading the error queue clears the error.
:SYSTem:ERRor? /*Queries and clears an error message in the error queue. The query returns -109,"Missing parameter".*/
:SYSTem:KLOCkset / query

Sets or queries the status of all front-panel keys. The keys can be locked to avoid misoperation.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFLocks or unlocks all front-panel keys.
:SYSTem:LANGuageset / query

Sets or queries the system language.

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

Deletes the installed option.

NameTypeValuesDescription
nameenumCHD | MEMOption name to delete.
:SYSTem:LICense:DELete MEM /*Deletes the installed memory depth upgrade option.*/

Deletes all the installed options.

:SYSTem:LICense:DELete:ALL /*Deletes all the installed options.*/

Installs the option using a license string.

NameTypeValuesDescription
licensestring-License string used to install the option.
:SYSTem:LICense:INSTall "<license>"

Installs the option using a license file.

NameTypeValuesDescription
<path>stringValid directoryPath to the license file; it must include the .lic file extension.
: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.*/
:SYSTem:TIMEset / query

Sets or queries the system time.

NameTypeValuesDescription
hourinteger0 - 23
minuteinteger0 - 59
secondinteger0 - 59
returns
:SYSTem:TOUChset / query

Sets or queries whether the touch screen is enabled.

NameTypeValuesDescription
boolboolean-Enables or disables the touch screen.
enum - Returns 0 or 1.
:SYSTem:TIME 16,10,17 /*Sets the system time to 16:10:17.*/
:SYSTem:TIME? /*Queries the system time. The query returns
16:10:17.*/

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

string - The SCPI version string in the form of "YYYY.V", where "YYYY" is the year of the version and "V" is the version for that year (e.g. 1994.0).
:SYSTem:VERSion? /*Queries the version number of the SCPI used by the system. It might return 1994.0.*/

Sets or queries the system clock source.

NameTypeValuesDescription
sourceenumINTernal | EXTernalSystem clock source.
enum - Returns the current system clock source.

Sets or queries the trigger count for the specified channel.

NameTypeValuesDescription
ndiscrete1 | 2Specified channel number.
countinteger1 - 1000000Trigger count value.
lim_setdiscreteMINimum | MAXimum | DEFaultSet count to the minimum, maximum, or default value.
lim_queryoptdiscreteMINimum | MAXimumReturns the minimum or maximum trigger count.

Sets or queries the trigger delay for the specified channel. Trigger delay is only available for N-Cycle burst mode, and the valid delay range depends on the burst trigger source.

NameTypeValuesDescription
ndiscrete1 | 2Channel number.
secondsreal0 s - 20 sTrigger delay in seconds.
qualifieroptenumMINimum | MAXimum | DEFaultUse a keyword instead of a numeric delay value.

Generates a trigger event in the specified channel.

NameTypeValuesDescription
ndiscrete1 | 2Specifies the channel number.
:TRIGger1:IMMediate /*Generates a trigger event in CH1.*/

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

NameTypeValuesDescription
ndiscrete1 - 2
slopeenumPOSitive | NEGativeSelects the trigger edge polarity.
enum - Returns the trigger slope as POS or NEG.
:TRIGger1:SLOPe NEGative /*Sets the edge type of the trigger input
signal to trailing edge for CH1.*/
:TRIGger1:SLOPe? /*Queries the edge type of the trigger input
signal for CH1. The query returns NEG.*/

Sets or queries the trigger type for the specified channel.

NameTypeValuesDescription
<n>integer1 - 2Specifies the channel number.
sourceenumINTernal | EXTernalSelects the trigger source.

Sets or queries the trigger timer for the specified channel. The query returns the trigger timer in scientific notation.

NameTypeValuesDescription
<n>discrete-Channel number.
<timer>real1 μs - 8000 sTrigger timer value.
qualifieroptenumMINimum | MAXimumReturns the minimum or maximum trigger timer value.
real - The trigger timer value, returned in scientific notation (for example, 1.000000E+00 indicates 1 s).
:TRIGger1:TIMer 1 /*Sets the trigger timer to 1 s for CH1.*/
:TRIGger1:TIMer? /*Queries the trigger timer for CH1. The query returns 1.000000E+00.*/