/

Rigol

/

Rigol DS1104Z-S-PLUS

SCPI COMMAND REFERENCE

Rigol DS1104Z-S-PLUS

Rigol DS1104Z-S-PLUS

The Rigol DS1104Z-S-PLUS is Rigol's oscilloscope in the DS1000Z family. Its SCPI remote-control interface exposes 407 commands across 27 subsystems - 349 settable and 58 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.

407

Commands

349

Settable

58

Queries

27

Subsystems

SCPI

Verified

2026-07-16

All commands

:AUToscaleset / query

Enable the waveform auto setting function. The oscilloscope automatically adjusts the vertical scale, horizontal timebase, and trigger mode according to the input signal for optimum waveform display.

:CLEarset / query

Clear all the waveforms on the screen. If the oscilloscope is in the RUN state, the waveform will still be displayed. This command is equivalent to pressing the CLEAR key on the front panel.

:RUNset / query

Starts the oscilloscope. This command is equivalent to pressing the RUN/STOP key on the front panel.

:STOPset / query

Stop the oscilloscope. This command is equivalent to pressing the RUN/STOP key on the front panel.

:SINGleset / query

Sets the oscilloscope to single trigger mode. It is equivalent to pressing the SINGLE key on the front panel or sending :TRIGger:SWEep SINGle.

:TFORceset / query

Generate a trigger signal forcefully. It is only applicable to the normal and single trigger modes and is equivalent to pressing the FORCE key in the trigger control area on the front panel.

Set or query the number of averages under the average acquisition mode.

NameTypeValuesDescription
countinteger2 - 1024Number of averages to set.
integer - The query returns the current number of averages.
:ACQuire:AVERages 128
:ACQuire:AVERages?
:ACQuire:MDEPthset / query

Sets or queries the oscilloscope memory depth, i.e. the number of waveform points stored in a single trigger sample. When AUTO is selected, the instrument chooses the memory depth automatically according to the current sample rate.

NameTypeValuesDescription
mdepenumAUTO | 12000 | 120000 | 1200000 | 12000000 | 24000000Memory depth setting; valid values depend on the enabled channel configuration.
enum - Returns the actual number of points or AUTO.
:ACQuire:MDEPth 12000 /*Set the memory depth to 12000pts*/
:ACQuire:MDEPth? /*The query returns 12000*/
:ACQuire:TYPEset / query

Set or query the oscilloscope acquisition mode.

NameTypeValuesDescription
typeenumNORMal | AVERages | PEAK | HRESolutionAcquisition mode to use.
enum - The query returns NORM, AVER, PEAK, or HRES.
:ACQuire:TYPE AVERages
:ACQuire:TYPE?

Queries the current sample rate. The default unit is Sa/s.

real (Sa/s) - Returns the sample rate in scientific notation.
:ACQuire:SRATe? /*The query returns 2.000000e+09*/

:CALibrate:STARtset / query

Starts the oscilloscope self-calibration. During self-calibration, all channels must be disconnected from the inputs and most keys are disabled.

Sets or queries the bandwidth limit parameter of the specified channel. Enabling the bandwidth limit attenuates high-frequency components above 20 MHz; OFF disables the limit.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4Specifies the channel number.
typeenum20M | OFFSelects the channel bandwidth limit state.
enum - Returns the current bandwidth limit setting.
:CHANnel1:BWLimit 20M /*Enable the 20MHz bandwidth limit*/
:CHANnel1:BWLimit? /*The query returns 20M*/

Set or query the coupling mode of the specified channel.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4
couplingenumAC | DC | GNDSelects the channel coupling mode.
enum - Returns the current channel coupling mode.
:CHANnel1:COUPling AC /*Select the AC coupling mode*/
:CHANnel1:COUPling? /*The query returns AC*/

Enable or disable the specified channel, or query the channel display status.

NameTypeValuesDescription
ninteger1 - 4Specifies the channel number.
boolboolean-Turns the specified channel display on or off.
integer - Returns 1 or 0 indicating the specified channel display status.
:CHANnel1:DISPlay ON
:CHANnel1:DISPlay?

Enable or disable waveform invert for the specified channel, or query its status.

NameTypeValuesDescription
ndiscrete1 - 4Specified channel number.
boolenum1 | ON | 0 | OFFEnables or disables waveform inversion.
enum - The query returns the invert status as 1 or 0.
:CHANnel1:INVert ON
:CHANnel1:INVert?

Set or query the vertical offset of the specified channel. The default unit is V.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4Channel number.
offsetreal-100V - +100VVertical offset of the specified channel. The allowed range depends on probe ratio and vertical scale.
real - The query returns the vertical offset in scientific notation.
:CHANnel1:OFFSet 0.01
:CHANnel1:OFFSet? /*The query returns 1.000000e-02*/

Set or query the vertical range of the specified channel. The default unit is V.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4Specifies the channel number.
rangereal8mV - 80VSets the vertical range; allowed range depends on probe ratio.
string - The query returns the vertical range in scientific notation.
:CHANnel1:RANGe 8 /*Set the vertical range of CH1 to 8V*/
:CHANnel1:RANGe? /*The query returns 8.000000e+00*/
:CHANnel<n>:TCALset / query

Sets or queries the delay calibration time of the specified channel to calibrate the zero offset of that channel. The default unit is seconds.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4Specifies the channel number.
valreal-100ns - 100nsSets the delay calibration time.
string - Returns the delay calibration time in scientific notation.
:CHANnel1:TCAL 0.00000002 /*Set the delay calibration time to 20ns*/
:CHANnel1:TCAL? /*The query returns 2.000000e-08*/

Set or query the vertical scale of the specified channel. The default unit is V.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4Channel number.
scalereal1mV - 10VVertical scale of the specified channel; the valid range depends on the current probe ratio.
real - Returns the vertical scale in scientific notation.
:CHANnel1:SCALe 1 /*Set the vertical scale of CH1 to 1V*/
:CHANnel1:SCALe? /*The query returns 1.000000e+00*/

Set or query the probe ratio of the specified channel. Setting the probe ratio affects the vertical scale range.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4
attendiscrete0.01 | 0.02 | 0.05 | 0.1 | 0.2 | 0.5 | 1 | 2 | 5 | 10 | 20 | 50 | 100 | 200 | 500 | 1000
real - The query returns the probe ratio in scientific notation.
:CHANnel1:PROBe 10
:CHANnel1:PROBe?

Set or query the amplitude display unit of the specified channel.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4
unitsenumVOLTage | WATT | AMPere | UNKNown
enum - The query returns VOLT, WATT, AMP, or UNKN.
:CHANnel1:UNITs VOLTage /*Set the amplitude display unit of CH1 to V*/
:CHANnel1:UNITs? /*The query returns VOLT*/

Enables or disables the fine adjustment of the vertical scale for the specified channel. The query returns the fine adjustment status as 1 or 0.

NameTypeValuesDescription
ninteger1 - 4Channel number.
boolboolean1 | ON | 0 | OFFTurns fine adjustment of the vertical scale on or off.
enum - Returns 1 or 0 indicating whether fine adjustment is enabled.
:CHANnel1:VERNier ON
:CHANnel1:VERNier?

:CURSor:MODEset / query

Sets or queries the cursor measurement mode.

NameTypeValuesDescription
modeenumOFF | MANual | TRACk | AUTO | XYCursor measurement mode to select.
enum - Returns the current cursor measurement mode as OFF, MAN, TRAC, AUTO, or XY.
:CURSor:MODE MANual
:CURSor:MODE?
:CURSor:MANualset / query

Set or query the cursor type in manual cursor measurement mode.

NameTypeValuesDescription
typeenumX | YSelects the manual cursor type.
enum - Returns the current manual cursor type.
:CURSor:MANual:TYPE Y
:CURSor:MANual:TYPE?

Sets or queries the cursor type in manual cursor measurement mode. X selects the X-type cursors and Y selects the Y-type cursors; when the manual cursor source is LA, Y cannot be selected.

NameTypeValuesDescription
typeenumX | YCursor type to use for manual cursor measurement mode.
enum - Returns the current cursor type.
:CURSor:MANual:TYPE Y
:CURSor:MANual:TYPE?

Sets or queries the channel source for the manual cursor measurement mode. Only the currently enabled channel can be selected; when LA is selected, the cursor type cannot be set to Y.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | LAChannel source used by the manual cursor measurement mode.
enum - Returns the selected source as CHAN1, CHAN2, CHAN3, CHAN4, MATH, or LA.
:CURSor:MANual:SOURce CHANnel2 /*Set the channel source to CH2*/
:CURSor:MANual:SOURce? /*The query returns CHAN2*/

Set or query the horizontal unit in the manual cursor measurement mode.

NameTypeValuesDescription
unitenumS | HZ | DEGRee | PERCentSelects the horizontal unit used for cursor measurement results.
enum - The query returns the current horizontal unit as S, HZ, DEGR, or PERC.
:CURSor:MANual:TUNit DEGRee /*Set the horizontal unit to "degree"*/
:CURSor:MANual:TUNit? /*The query returns DEGR*/

Sets or queries the vertical unit used in manual cursor measurement mode. PERCent expresses AY, BY, and BY-AY in percentage, while SOURce uses the current source unit.

NameTypeValuesDescription
unitenumPERCent | SOURceVertical unit for manual cursor measurement results.
enum - Returns PERC or SOUR.
:CURSor:MANual:VUNit PERCent
:CURSor:MANual:VUNit?

Sets or queries the horizontal position of cursor A in manual cursor measurement mode.

NameTypeValuesDescription
xinteger5 - 594Horizontal position of cursor A.
integer - The query returns an integer between 5 and 594.
:CURSor:MANual:AX 200
:CURSor:MANual:AX?

Sets or queries the horizontal position of cursor B in manual cursor measurement mode.

NameTypeValuesDescription
xinteger5 - 594Horizontal position of cursor B.
integer - The query returns the horizontal cursor B position as an integer between 5 and 594.
:CURSor:MANual:BX 200
:CURSor:MANual:BX?

Set or query the vertical position of cursor A in manual cursor measurement mode.

NameTypeValuesDescription
yinteger5 - 394Vertical position of cursor A in pixel coordinates.
integer - The query returns the vertical cursor position as an integer between 5 and 394.
:CURSor:MANual:AY 200 /*Set the vertical position of cursor A to 200*/
:CURSor:MANual:AY? /*The query returns 200*/

Sets or queries the vertical position of cursor B in the manual cursor measurement mode. The position is specified as a screen pixel Y coordinate.

NameTypeValuesDescription
yinteger5 - 394Vertical position of cursor B.
integer - The query returns the vertical position of cursor B as an integer.
:CURSor:MANual:BY 200
::CURSor:MANual:BY?

Queries the X value of cursor A in manual cursor measurement mode. The unit depends on the horizontal unit currently selected.

string - Returns the X value of cursor A in scientific notation.
:CURSor:MANual:AXValue? /*The query returns -4.000000e-06*/

Queries the Y value of cursor A in manual cursor measurement mode. The unit depends on the currently selected vertical unit; for CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH sources it returns the Y value in scientific notation, and for LA it returns the decimal value corresponding to the sum of the binary weights of D15 to D0 at cursor A.

numeric - The Y value of cursor A. Returns a scientific-notation value for CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH, or a decimal value derived from the binary weights of D15 to D0 for LA.
:CURSor:MANual:AYValue? /*The query returns 2.000000e+00*/

Queries the X value of cursor B in manual cursor measurement mode. The unit depends on the currently selected horizontal unit.

string - The X value of cursor B in scientific notation.
:CURSor:MANual:BXValue? /*The query returns 4.000000e-06*/

Query the Y value of cursor B in manual cursor measurement mode. The unit depends on the vertical unit currently selected; for channel signals the value is returned in scientific notation, and for LA it is returned as a decimal value based on D15 to D0 bit weights.

numeric - Returns the Y value of cursor B; scientific notation for CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH, or a decimal value for LA.
:CURSor:MANual:BYValue? /*The query returns -2.000000e+00*/

Queries the difference between the X values of cursor A and cursor B (BX-AX) in manual cursor measurement mode. The unit depends on the horizontal unit currently selected.

real - Returns the difference in scientific notation.
:CURSor:MANual:XDELta? /*The query returns 8.000000e-06*/

Queries the reciprocal of the absolute difference between cursor A and cursor B X values (1/|dX|) in manual cursor measurement mode. The unit depends on the currently selected horizontal unit.

real - Returns 1/|dX| in scientific notation.
:CURSor:MANual:IXDELta? /*The query returns 1.250000e+05*/

Queries the difference between the Y values of cursor A and cursor B in manual cursor measurement mode. The unit depends on the currently selected vertical unit.

numeric - Returns the difference in scientific notation when the signal source is CHANnel1, CHANnel2, CHANnel3, CHANnel4, or MATH; when the signal source is LA, returns 4294967295.
:CURSor:MANual:YDELta? /*The query returns -4.000000e+00*/
:CURSor:TRACkset / query

Set or query the channel source of cursor A in track cursor measurement mode.

NameTypeValuesDescription
sourceenumOFF | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATHChannel source for cursor A.

Sets or queries the channel source of cursor A in the track cursor measurement mode. Only enabled channels can be selected.

NameTypeValuesDescription
sourceenumOFF | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATHChannel source for cursor A in track cursor measurement mode.
enum - Returns the current source as OFF, CHAN1, CHAN2, CHAN3, CHAN4, or MATH.
:CURSor:TRACk:SOURce1 CHANnel2
:CURSor:TRACk:SOURce1?

Sets or queries the channel source of cursor B in track cursor measurement mode. Only enabled channels can be selected as the source.

NameTypeValuesDescription
sourceenumOFF | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATHChannel source for cursor B.
enum - Returns the selected source as OFF, CHAN1, CHAN2, CHAN3, CHAN4, or MATH.
:CURSor:TRACk:SOURce2 CHANnel2 /*Set the channel source to CH2*/
:CURSor:TRACk:SOURce2? /*The query returns CHAN2*/
:CURSor:TRACk:AXset / query

Set or query the horizontal position of cursor A in the track cursor measurement mode.

NameTypeValuesDescription
xinteger5 - 594Horizontal cursor position in pixels.
integer - The query returns an integer between 5 and 594.
:CURSor:TRACk:AX 200
:CURSor:TRACk:AX?
:CURSor:TRACk:BXset / query

Sets or queries the horizontal position of cursor B in track cursor measurement mode.

NameTypeValuesDescription
xinteger5 - 594Horizontal cursor B position in pixel coordinates.
integer - The query returns an integer between 5 and 594.
:CURSor:TRACk:BX 200
:CURSor:TRACk:BX?

Queries the vertical position of cursor A in the track cursor measurement mode. If cursor A exceeds the vertical screen range, the query returns 4294967295.

integer - Returns the vertical position of cursor A as an integer; returns 4294967295 when cursor A exceeds the vertical range of the screen display.
:CURSor:TRACk:AY? /*The query returns 284*/

Queries the vertical position of cursor B in the track cursor measurement mode. If cursor B exceeds the vertical range of the screen display, the query returns 4294967295.

integer - Returns the vertical position of cursor B as an integer. If cursor B exceeds the vertical range of the screen display, the query returns 4294967295.

Queries the X value of cursor A in track cursor measurement mode. The default unit is seconds.

string - Returns the X value of cursor A in scientific notation.
:CURSor:TRACk:AXValue? /*The query returns -4.000000e-06*/

Query the Y value of cursor A in the track cursor measurement mode. The unit is the same as the currently selected channel unit.

string - The Y value of cursor A in scientific notation.
:CURSor:TRACk:AYValue? /*The query returns -4.000000e-01*/

Queries the X value of cursor B in the track cursor measurement mode. The default unit is s.

string - The X value of cursor B in scientific notation.
:CURSor:TRACk:BXValue? /*The query returns 4.000000e-06*/

Queries the Y value of cursor B in track cursor measurement mode. The returned value is in scientific notation and uses the same unit as the currently selected channel unit.

real - The Y value of cursor B in scientific notation.
:CURSor:TRACk:BYValue? /*The query returns 4.000000e-01*/

Queries the difference between the X values of cursor A and cursor B (BX-AX) in track cursor measurement mode. The default unit is s, and the result is returned in scientific notation.

numeric (s) - The difference between the X values of cursor A and cursor B (BX-AX) in scientific notation.
:CURSor:TRACk:XDELta? /*The query returns 8.000000e-06*/

Queries the difference between the Y values of cursor A and cursor B (BY-AY) in track cursor measurement mode. The unit is the same as the currently selected channel unit.

real - Returns the difference in scientific notation.
:CURSor:TRACk:YDELta? /*The query returns 8.000000e-01*/

Queries the reciprocal of the absolute difference between cursor A and cursor B X values (1/|dX|) in track cursor measurement mode. The default unit is Hz.

real (Hz) - Returns 1/|dX| in scientific notation.
:CURSor:TRACk:IXDELTA? /*The query returns 1.250000e+05*/
:CURSor:AUTOset / query

The auto cursor function can measure waveform parameters. This command selects which of the five enabled parameters will be measured, or queries the currently selected parameter.

:CURSor:AUTO:ITEM ITEM3
:CURSor:AUTO:ITEM? /*The query returns ITEM3*/

Selects which of the five auto-cursor measurement item sets is used, or queries the currently selected set. This command is only valid in auto cursor mode.

NameTypeValuesDescription
itemenumOFF | ITEM1 | ITEM2 | ITEM3 | ITEM4 | ITEM5Selects the auto-cursor measurement item set.
:CURSor:AUTO:ITEM ITEM3
:CURSor:AUTO:ITEM?

Queries the horizontal position of cursor A in auto cursor measurement. The cursor position is based on screen pixel coordinates; if cursor A X is not required for some measurement items, the query returns 4294967295.

integer - Integer horizontal position of cursor A in auto cursor measurement, or 4294967295 when cursor A X is not required.

Queries the horizontal position of cursor B in auto cursor measurement. If cursor B of X type is not required for the selected measurement item, the query returns 4294967295.

integer - An integer between 5 and 594 representing the horizontal position of cursor B.

Query the vertical position of cursor A in auto cursor measurement. In some measurement items where cursor A of Y type is not required, the query returns 4294967295.

integer - The query returns an integer between 5 and 394.

Queries the vertical position of cursor B in auto cursor measurement. The query returns an integer screen pixel coordinate, with 4294967295 returned when cursor B is not required for the current measurement item.

integer - The query returns the vertical position of cursor B as an integer pixel coordinate between 5 and 394. If cursor B of Y type is not required, it returns 4294967295.
:CURSor:AUTO:BY?

Queries the X value of cursor A in auto cursor measurement. The unit depends on the currently selected horizontal unit.

string - The query returns the X value of cursor A in scientific notation.
:CURSor:AUTO:AXValue? /*The query returns -4.000000e-06*/

Query the Y value of cursor A in auto cursor measurement. The unit depends on the vertical unit currently selected.

real - The query returns the Y value of cursor A in scientific notation.
:CURSor:AUTO:AYValue? /*The query returns -4.000000e-01*/

Queries the X value of cursor B in auto cursor measurement. The unit depends on the currently selected horizontal unit.

real - The query returns the X value of cursor B in scientific notation.
:CURSor:AUTO:BXValue? /*The query returns -4.000000e-06*/

Queries the Y value of cursor B in auto cursor measurement. The unit depends on the currently selected vertical unit; if cursor B of Y type is not required for some measurement items, the query returns 9.9E37.

real - Returns the Y value of cursor B in scientific notation.
:CURSor:AUTO:BYValue? /*The query returns 4.000000e-01*/
:CURSor:XYset / query

The :CURSor:XY commands are used only when the horizontal timebase mode is XY.

:CURSor:XY:AXset / query

Sets or queries the horizontal position of cursor A in XY cursor measurement mode. The query returns an integer position value.

NameTypeValuesDescription
xinteger5 - 394Horizontal cursor A position.
integer - The query returns an integer between 5 and 394.
:CURSor:XY:AX 200
:CURSor:XY:AX?
:CURSor:XY:BXset / query

Sets or queries the horizontal position of cursor B in XY cursor measurement mode. The position is specified as a pixel coordinate in the XY display area.

NameTypeValuesDescription
xinteger5 - 394Horizontal position of cursor B.
integer - The query returns the horizontal position of cursor B as an integer between 5 and 394.
:CURSor:XY:BX 200
:CURSor:XY:BX?
:CURSor:XY:AYset / query

Set or query the vertical position of cursor A in the XY cursor measurement mode.

NameTypeValuesDescription
yinteger5 - 394Vertical cursor position in XY mode.
integer - The query returns the vertical cursor position as an integer between 5 and 394.
:CURSor:XY:AY 200 /*Set the vertical position of cursor A to 200*/
:CURSor:XY:AY? /*The query returns 200*/
:CURSor:XY:BYset / query

Sets or queries the vertical position of cursor B in XY cursor measurement mode. The query returns the position as an integer between 5 and 394.

NameTypeValuesDescription
yinteger5 - 394Vertical position of cursor B.
integer - The query returns an integer between 5 and 394.
:CURSor:XY:BY 200
:CURSor:XY:BY?

Queries the X value of cursor A in XY cursor measurement mode. The unit depends on the amplitude unit of the corresponding channel.

real - The X value of cursor A in scientific notation.
:CURSor:XY:AXValue? /*The query returns 2.000000e+00*/

Queries the Y value of cursor A in the XY cursor measurement mode. The unit depends on the amplitude unit of the corresponding channel.

string - The query returns the Y value of cursor A in scientific notation.
:CURSor:XY:AYValue? /*The query returns 2.000000e+00*/

Query the X value of cursor B in the XY cursor measurement mode. The unit depends on the amplitude unit of the corresponding channel.

real - The X value of cursor B in scientific notation.
:CURSor:XY:BXValue? /*The query returns -2.000000e+00*/

Query the Y value of cursor B in the XY cursor measurement mode. The unit depends on the amplitude unit of the corresponding channel.

real - The query returns the Y value of cursor B in scientific notation.
:CURSor:XY:BYValue? /*The query returns -2.000000e+00*/

:DECoder<n>:MODEset / query

Set or query the decoder type.

NameTypeValuesDescription
ndiscrete1 - 2
modeenumPARallel | UART | SPI | IICSelects the decoder type.
enum - Returns PAR, UART, SPI, or IIC.
:DECoder1:MODE SPI
:DECoder1:MODE?

Turns the decoder display on or off, or queries the decoder display status.

NameTypeValuesDescription
ndiscrete1 | 2Decoder index.
boolboolean1 | ON | 0 | OFFTurns the decoder display on or off.
enum - Returns the decoder display status as 1 or 0.
:DECoder1:DISPlay ON
:DECoder1:DISPlay?

Set or query the bus display format.

NameTypeValuesDescription
ndiscrete1 | 2
fmtenumHEX | ASCii | DEC | BIN | LINEBus display format to use.
enum - Returns the current bus display format.
:DECoder1:FORMat HEX /*Set the bus display format to hexadecimal*/
:DECoder1:FORMat? /*The query returns HEX*/

Set or query the vertical position of the bus on the screen.

NameTypeValuesDescription
ndiscrete1 | 2Decoder number.
posinteger50 - 350Vertical position of the bus on the screen.
integer - Returns the vertical position as an integer between 50 and 350.
:DECoder1:POSition 300
:DECoder1:POSition?

Set or query the threshold level of the specified analog channel.

NameTypeValuesDescription
<n>discrete1 - 2Specifies the analog channel group number.
<thre>real(-4 x VerticalScale - VerticalOffset) - (4 x VerticalScale - VerticalOffset)Threshold level to set for the specified analog channel.
real - The query returns the threshold level in scientific notation.
:DECoder1:THREshold:CHANnel4 1.5
:DECoder1:THREshold:CHANnel4?

Sets or queries the threshold level of the specified analog channel.

NameTypeValuesDescription
<n>discrete1 | 2Specifies the decoder index.
<thre>real(-4 x VerticalScale - VerticalOffset) - (4 x VerticalScale - VerticalOffset)Sets the threshold level for the specified analog channel.
real - Returns the threshold level in scientific notation.
:DECoder1:THREshold:CHANnel4 1.5
:DECoder1:THREshold:CHANnel4?

Sets or queries the threshold level of the specified analog channel. The query returns the level in scientific notation.

NameTypeValuesDescription
threreal-4 x VerticalScale - VerticalOffset - 4 x VerticalScale - VerticalOffsetThreshold level for the specified analog channel.
string - The query returns the level in scientific notation.
:DECoder1:THREshold:CHANnel4 1.5
:DECoder1:THREshold:CHANnel4?

Set or query the threshold level of the specified analog channel. The query returns the level in scientific notation.

NameTypeValuesDescription
ndiscrete1 | 2Selects the decoder channel number.
threreal-4 x VerticalScale - VerticalOffset - 4 x VerticalScale - VerticalOffsetThreshold level for the specified analog channel.
:DECoder1:THREshold:CHANnel4 1.5
:DECoder1:THREshold:CHANnel4?

Turns the auto threshold function of the analog channels on or off, or queries its status.

NameTypeValuesDescription
ndiscrete1 - 2Decoder number.
boolboolean1 | ON | 0 | OFFEnables or disables the auto threshold function.
enum - The query returns 1 or 0.
:DECoder1:THREshold:AUTO OFF
:DECoder1:THREshold:AUTO?

Turn on or off the label display function, or query the status of the label display function.

NameTypeValuesDescription
<n>discrete1 | 2
<bool>boolean1 | ON | 0 | OFF
integer - The query returns 1 or 0.
:DECoder1:CONFig:LABel ON /*Turn on the label display function*/
:DECoder1:CONFig:LABel? /*The query returns 1*/

Turns on or off the bus display function, or queries its current status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the bus display function.
integer - The query returns 1 or 0.
:DECoder1:CONFig:LINE OFF
:DECoder1:CONFig:LINE?

Turns on or off the format display function, or queries its status. When enabled, the current bus display format is shown to the right of the label display when bus display is on.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFTurns the format display function on or off.
enum - The query returns 1 or 0.
:DECoder1:CONFig:FORMat OFF
:DECoder1:CONFig:FORMat? /*The query returns 0*/

Turns on or off the endian display function in serial bus decoding, or queries its status. This command is invalid in parallel decoding.

NameTypeValuesDescription
<n>discrete1 | 2Decoder number.
<bool>boolean1 | ON | 0 | OFFEnables or disables the endian display function.
:DECoder1:CONFig:ENDian ON
:DECoder1:CONFig:ENDian?

Turn on or off the width display function, or query the status of the width display function.

NameTypeValuesDescription
ndiscrete1 | 2
boolenum1 | ON | 0 | OFFTurns the width display function on or off.
:DECoder1:CONFig:WIDth ON
:DECoder1:CONFig:WIDth?

Query the current digital sample rate.

NameTypeValuesDescription
ndiscrete1 | 2
real - The query returns the digital sample rate in scientific notation.
:DECoder1:CONFig:SRATe? /*The query returns 1.000000e+08*/
:DECoder<n>:UARTset / query

Set or query the TX channel source of RS232 decoding. When OFF is selected, no TX channel source is set; TX and RX cannot both be OFF.

NameTypeValuesDescription
ninteger1 - 2Decoder index.
txenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFFTX channel source for RS232 decoding.
:DECoder1:UART:TX CHAN2
:DECoder1:UART:TX?

Sets or queries the TX channel source used for RS232 decoding. The TX source cannot be OFF at the same time as the RX source.

NameTypeValuesDescription
ndiscrete1 | 2
txenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF
enum - The query returns the selected TX channel source.
:DECoder1:UART:TX CHAN2
:DECoder1:UART:TX?

Sets or queries the RX channel source used for RS232 decoding. When OFF is selected, no RX channel source is set, and RX and TX cannot both be OFF.

NameTypeValuesDescription
ndiscrete1 | 2
rxenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF
enum - The query returns the RX channel source as D0 through D15, CHAN1 through CHAN4, or OFF.
:DECoder1:UART:RX CHAN4 /*Set the RX channel source to CH4*/
:DECoder1:UART:RX? /*The query returns CHAN4*/

Set or query the polarity of RS232 decoding.

NameTypeValuesDescription
ndiscrete1 | 2
polenumNEGative | POSitiveSelects the decoding polarity; negative polarity uses high level as 0 and low level as 1, and positive polarity uses high level as 1 and low level as 0.
:DECoder1:UART:POLarity NEGative
:DECoder1:UART:POLarity?

Sets or queries the endian of RS232 decoding for the specified decoder. The query returns LSB or MSB.

NameTypeValuesDescription
ndiscrete1 | 2Decoder index.
endianenumLSB | MSBSelects the endian used for RS232 decoding.
enum - Returns the current endian setting.
:DECoder1:UART:ENDian MSB
:DECoder1:UART:ENDian?

Sets or queries the baud rate used for RS232 decoding. The default unit is bps (baud per second).

NameTypeValuesDescription
ndiscrete1 | 2
baudinteger110 - 20MBaud rate of RS232 decoding.
integer - The current baud rate.
:DECoder1:UART:BAUD 57600
:DECoder1:UART:BAUD?

Set or query the width of each frame of data in RS232 decoding.

NameTypeValuesDescription
ndiscrete1 | 2
widinteger5 - 8Sets the data width in RS232 decoding.
integer - The query returns an integer between 5 and 8.
:DECoder1:UART:WIDTh 7
:DECoder1:UART:WIDTh?

Sets or queries the stop bit used after each frame of data in RS232 decoding.

NameTypeValuesDescription
ndiscrete1 | 2
stopdiscrete1 | 1.5 | 2
enum - The query returns 1, 1.5, or 2.
:DECoder1:UART:STOP 1.5 /*Set the stop bit in RS232 decoding to 1.5*/
:DECoder1:UART:STOP? /*The query returns 1.5*/

Set or query the even-odd check mode of the data transmission in RS232 decoding.

NameTypeValuesDescription
ndiscrete1 | 2
parityenumNONE | EVEN | ODD
enum - The query returns NONE, EVEN, or ODD.
:DECoder1:UART:PARity ODD
:DECoder1:UART:PARity?
:DECoder<n>:IICset / query

Sets or queries the signal source of the clock channel used for I2C decoding.

NameTypeValuesDescription
ninteger1 - 2Decoder number.
clkenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Signal source of the clock channel.
:DECoder1:IIC:CLK D0
:DECoder1:IIC:CLK?

Sets or queries the signal source of the I2C clock channel used for decoding.

NameTypeValuesDescription
ndiscrete1 | 2Decoder number.
clkenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Signal source for the I2C clock channel.
enum - The query returns the selected clock channel source.
:DECoder1:IIC:CLK D0
:DECoder1:IIC:CLK?

Sets or queries the signal source of the I2C data channel used for decoding.

NameTypeValuesDescription
ndiscrete1 | 2Decoder number.
datdiscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Signal source for the I2C data channel.
enum - Returns the selected data-channel signal source.
:DECoder1:IIC:DATA D1
:DECoder1:IIC:DATA?

Sets or queries the address mode of I2C decoding. NORMal means the address bits do not include the R/W bit; RW means they do.

NameTypeValuesDescription
ndiscrete1 | 2
addrenumNORMal | RWSelects whether the I2C address bits include the R/W bit.
enum - Returns the current I2C address mode.
:DECoder1:IIC:ADDRess RW
:DECoder1:IIC:ADDRess?
:DECoder<n>:SPIset / query

Sets or queries the signal source of the clock channel used for SPI decoding.

NameTypeValuesDescription
ndiscrete1 | 2
clkenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Signal source for the SPI clock channel.
enum - Returns the selected clock-channel source.
:DECoder1:SPI:CLK D0
:DECoder1:SPI:CLK?

Sets or queries the signal source of the clock channel used for SPI decoding.

NameTypeValuesDescription
ndiscrete1 | 2Decoder number.
clkenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Signal source of the SPI clock channel.
enum - The query returns the selected clock channel source.
:DECoder1:SPI:CLK D0 /*Set the signal source of the clock channel in SPI decoding to D0*/
:DECoder1:SPI:CLK? /*The query returns D0*/

Sets or queries the MISO channel source used in SPI decoding. OFF disables the MISO source; MISO and MOSI cannot both be OFF.

NameTypeValuesDescription
ninteger1 - 2Decoder number.
misoenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFFSelects the MISO channel source.
enum - Returns the selected MISO channel source.

Set or query the MOSI channel source in SPI decoding.

NameTypeValuesDescription
ninteger1 - 2
mosienumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFFSelects the MOSI channel source.
:DECoder1:SPI:MOSI D1 /*Set the MOSI channel source in SPI decoding to D1*/
:DECoder1:SPI:MOSI? /*The query returns D1*/

Sets or queries the CS channel source used for SPI decoding. This command is only valid in CS mode.

NameTypeValuesDescription
ninteger1 - 2Decoder index.
csenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Selects the CS channel source.
enum - Returns the currently selected CS channel source.
:DECoder1:SPI:CS CHANnel4
:DECoder1:SPI:CS?

Sets or queries the CS polarity in SPI decoding. NCS means the low level is valid, and CS means the high level is valid.

NameTypeValuesDescription
ninteger1 - 2Decoder number.
CsNcsenumNCS | CSSelects whether low level (NCS) or high level (CS) is active for chip select.
enum - Returns the current CS polarity setting.
:DECoder1:SPI:SELect CS
:DECoder1:SPI:SELect?

Sets or queries the frame synchronization mode of SPI decoding. CS uses the chip select line for frame synchronization; TIMeout uses the timeout time.

NameTypeValuesDescription
<n>integer1 - 2Decoder number.
modeenumCS | TIMeoutFrame synchronization mode.
enum - The query returns CS or TIM.
:DECoder1:SPI:MODE CS
:DECoder1:SPI:MODE?

Sets or queries the timeout time used in the timeout mode of SPI decoding. The default unit is seconds, and the value must be greater than the maximum clock pulse width and lower than the idle time between frames.

NameTypeValuesDescription
ndiscrete1 | 2
tmorealsTimeout time for SPI frame synchronization in timeout mode.
real (s) - Returns the timeout time in scientific notation.
:DECoder1:SPI:TIMeout 0.000005
:DECoder1:SPI:TIMeout?

Sets or queries the polarity of the SDA data line in SPI decoding.

NameTypeValuesDescription
ndiscrete1 - 2
polenumNEGative | POSitiveSelects whether low level or high level is interpreted as 1.
:DECoder1:SPI:POLarity NEG ative
:DECoder1:SPI:POLarity?

Set or query the clock type when the instrument samples the data line in SPI decoding.

NameTypeValuesDescription
ndiscrete1 - 2
edgeenumRISE | FALLClock sampling edge used in SPI decoding.
enum - The query returns the selected clock edge.
:DECoder1:SPI:EDGE FALL
:DECoder1:SPI:EDGE?

Sets or queries the endian of the SPI decoding data.

NameTypeValuesDescription
<n>discrete1 | 2
endianenumLSB | MSBSelects the data endian used for SPI decoding.
enum - The query returns LSB or MSB.
:DECoder1:SPI:ENDian MSB
:DECoder1:SPI:ENDian?

Sets or queries the number of bits of each frame of data in SPI decoding.

NameTypeValuesDescription
nenum1 | 2Decoder number selector.
widinteger8 - 32Number of bits per SPI data frame.
integer - The query returns an integer between 8 and 32.
:DECoder1:SPI:WIDTh 16
:DECoder1:SPI:WIDTh?

Sets or queries the CLK channel source used for parallel decoding.

NameTypeValuesDescription
ndiscrete1 | 2
clkenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF
enum - The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, CHAN1, CHAN2, CHAN3, CHAN4, or OFF.
:DECoder1:PARallel:CLK D0
:DECoder1:PARallel:CLK?

Sets or queries the CLK channel source used for parallel decoding.

NameTypeValuesDescription
ndiscrete1 | 2
clkenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF
enum - The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, CHAN1, CHAN2, CHAN3, CHAN4, or OFF.
:DECoder1:PARallel:CLK D0
:DECoder1:PARallel:CLK?

Sets or queries the edge type of the clock channel used when sampling the data channel in parallel decoding. If no clock channel is selected, the instrument samples when the channel data jumps.

NameTypeValuesDescription
edgeenumRISE | FALL | BOTHEdge type used for sampling the parallel data channel.
enum - Returns the selected edge type.
:DECoder1:PARallel:EDGE BOTH
:DECoder1:PARallel:EDGE?

Sets or queries the data width, i.e. the number of bits in each parallel-bus frame. After setting the width, the user should set the bit and source assignments for each bit with the related BITX and SOURce commands.

NameTypeValuesDescription
ndiscrete1 | 2
widinteger1 - 16
integer - Returns the data width as an integer between 1 and 16.
:DECoder1:PARallel:WIDTh 16
:DECoder1:PARallel:WIDTh?

Sets or queries the data bit that requires a channel source on the parallel bus. Use :DECoder<n>:PARallel:WIDTh to set the data width before selecting the bit.

NameTypeValuesDescription
ndiscrete1 | 2
bitinteger0 - data width - 1
integer - The query returns the current data bit as an integer.
:DECoder1:PARallel:BITX 2
:DECoder1:PARallel:BITX?

Sets or queries the channel source of the currently selected parallel data bit. Use :DECoder<n>:PARallel:BITX to select the desired bit before sending this command.

NameTypeValuesDescription
<n>discrete1 | 2Decoder index.
<src>enumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Channel source for the selected data bit.
enum - Returns the current channel source of the selected data bit.
:DECoder1:PARallel:SOURce CHANnel2
:DECoder1:PARallel:SOURce?

Sets or queries the data polarity of parallel decoding.

NameTypeValuesDescription
ndiscrete1 | 2
polenumNEGative | POSitiveSets the data polarity to negative or positive.
enum - Returns NEG or POS.
:DECoder1:PARallel:POLarity NEGative
:DECoder1:PARallel:POLarity?

Turns the noise rejection function of parallel decoding on or off, or queries its status.

NameTypeValuesDescription
ndiscrete1 - 2Decoder index.
boolenum1 | ON | 0 | OFFTurns noise rejection on or off.
integer - The query returns 1 or 0.
:DECoder1:PARallel:NREJect ON
:DECoder1:PARallel:NREJect?

Sets or queries the noise rejection time of parallel decoding. The default unit is seconds, and the command should be used after enabling noise rejection with :DECoder<n>:PARallel:NREJect.

NameTypeValuesDescription
ndiscrete1 | 2
timereal0.00s - 100ms
string - The query returns the noise rejection time in scientific notation.
:DECoder1:PARallel:NRTime 0.01
:DECoder1:PARallel:NRTime?

Set or query the clock compensation time of parallel decoding. The default unit is s. Setting the compensation time can make fine adjustment of the phase deviation between the clock line and data line.

NameTypeValuesDescription
ndiscrete1 | 2
compreal-100ms - 100ms
real (s) - The query returns the compensation time in scientific notation.
:DECoder1:PARallel:CCOMpensation 0.01
:DECoder1:PARallel:CCOMpensation?

Turns the curve function of parallel decoding on or off, or queries its status. When enabled, the variation trend of the bus data is displayed in vector diagram form.

NameTypeValuesDescription
ndiscrete-Decoder index.
boolenum1 | ON | 0 | OFFTurns the curve function on or off.
enum - The query returns 1 or 0.
:DECoder1:PARallel:PLOT ON
:DECoder1:PARallel:PLOT?

:DISPlay:CLEarset / query

Clear all the waveforms on the screen. If the oscilloscope is in the RUN state, waveform will still be displayed.

Reads the data stream of the image currently displayed on the screen and lets you specify image color, invert display, and output format. If omitted, the currently selected image color and invert status are used and the format defaults to BMP24.

NameTypeValuesDescription
coloroptenumON | OFFColor of the image; ON denotes color and OFF denotes intensity graded color.
invertoptenum1 | ON | 0 | OFFInvert function state; 1|ON turns invert on and 0|OFF turns it off.
formatoptenumBMP24 | BMP8 | PNG | JPEG | TIFFFormat of the image data stream.
block - Returns the image data stream from the currently displayed image. The stream begins with a TMC block header that indicates the length in bytes, followed by the image data.
:DISPlay:DATA? [<color>,<invert>,<format>]
:DISPlay:TYPEset / query

Set or query the display mode of the waveform on the screen.

NameTypeValuesDescription
typeenumVECTors | DOTSDisplay mode of the waveform on the screen.
enum - Returns the current display mode.
:DISPlay:TYPE DOTS
:DISPlay:TYPE?

Set or query the persistence time. The default unit is s.

NameTypeValuesDescription
timeenumMIN | 0.1 | 0.2 | 0.5 | 1 | 5 | 10 | INFinitePersistence time setting.
enum - The query returns one of the persistence time values listed in the table.
:DISPlay:GRADing:TIME 0.1 /*Set the persistence time to 0.1s*/
:DISPlay:GRADing:TIME? /*The query returns 0.1*/

Set or query the waveform brightness.

NameTypeValuesDescription
timeinteger0 - 100
integer - The query returns an integer between 0 and 100.
:DISPlay:WBRightness 50
:DISPlay:WBRightness?
:DISPlay:GRIDset / query

Sets or queries the grid type of the screen display.

NameTypeValuesDescription
gridenumFULL | HALF | NONESelects the screen display grid style.
enum - Returns FULL, HALF, or NONE.

Sets or queries the brightness of the screen grid.

NameTypeValuesDescription
brightnessinteger0 - 100Brightness level of the screen grid.
integer - The query returns an integer between 0 and 100.
:DISPlay:GBRightness 60
:DISPlay:GBRightness?

:ETABle<n>:DISPset / query

Turns on or off the decoding event table, or queries its status. This command is only valid when the decoder is turned on (:DECoder<n>:DISPlay).

NameTypeValuesDescription
ndiscrete1 | 2
boolenum1 | ON | 0 | OFFTurns the decoding event table on or off.
enum - The query returns 1 or 0.
:ETABle1:DISP ON
:ETABle1:DISP?

Set or query the data display format of the event table.

NameTypeValuesDescription
ndiscrete1 | 2
fmtenumHEX | ASCii | DECSelects the event table data display format.
enum - Returns the current event table data display format.
:ETABle1:FORMat ASCii
:ETABle1:FORMat?
:ETABle<n>:VIEWset / query

Sets or queries the display mode of the event table. The query returns PACK, DET, or PAYL.

NameTypeValuesDescription
ninteger1 - 2Event table number.
viewenumPACKage | DETAil | PAYLoadDisplay mode of the event table.
enum - Returns the current event table display mode.
:ETABle1:VIEW PAYLoad
:ETABle1:VIEW?

Set or query the current column of the event table. The available column choices depend on the selected decoder; the query returns the current column selection.

NameTypeValuesDescription
ninteger1 - 2Event table index.
colenumDATA | TX | RX | MISO | MOSICurrent event table column.
enum - Returns the current column selection.
:ETABle1:COLumn DATA
:ETABle1:COLumn?
:ETABle<n>:ROWset / query

Sets or queries the current row of the event table.

NameTypeValuesDescription
nenum1 | 2
rowinteger1 - the maximum number of rows of the current event table
integer - The query returns the current row in integer. If the current event table is empty, the query returns 0.
:ETABle1:ROW 2
:ETABle1:ROW?
:ETABle<n>:SORTset / query

Sets or queries the display type of the decoding results in the event table.

NameTypeValuesDescription
sortenumASCend | DESCendDisplay order of the decoding results in the event table.
enum - The query returns ASC or DESC.
:ETABle1:SORT DESCend
:ETABle1:SORT?

Reads the current event table data. The query returns the event table data in TMC block format with a data description header.

NameTypeValuesDescription
ndiscrete1 | 2Selects the event table number.
block - Returns the event table data in a TMC data description header followed by the event table data, formatted as #900000dddd.
:ETABle1:DATA? /*The query returns the data as shown in the figure above*/

Set or query the end frame of waveform recording.

NameTypeValuesDescription
frameinteger1 - the maximum number of frames can be recorded currentlyEnd frame of waveform recording.
integer - The current end frame.
:FUNCtion:WRECord:FEND 4096
:FUNCtion:WRECord:FEND?

Query the maximum number of frames that can be recorded currently. The maximum depends on the currently selected memory depth.

integer - The maximum number of frames that can be recorded currently.

Set or query the time interval between frames in waveform recording. The default unit is s.

NameTypeValuesDescription
intervalreal100ns - 10sTime interval between frames in waveform recording.
real - The query returns the time interval currently set in scientific notation.
:FUNCtion:WRECord:FINTerval 0.001 /*Set the time interval to 1ms*/
:FUNCtion:WRECord:FINTerval? /*The query returns 1.000000e-03*/

Turns the recording-finish sound prompt on or off, or queries its current status. When enabled, the instrument sounds a prompt when recording finishes regardless of the system beep setting.

NameTypeValuesDescription
boolboolean1 | ON | 0 | OFFEnables or disables the sound prompt when waveform recording finishes.
boolean - Returns the current sound prompt status as 1 or 0.
:FUNCtion:WRECord:PROMpt 1 /*Turn on the sound prompt when the recording finishes*/
:FUNCtion:WRECord:PROMpt? /*The query returns 1*/

Start or stop the waveform recording, or query the recording status. Before using it, waveform recording must be enabled with :FUNCtion:WRECord:ENABle.

NameTypeValuesDescription
optenumRUN | STOPStarts or stops waveform recording.
enum - Returns the recording status.
:FUNCtion:WRECord:OPERate RUN /*Start the waveform recording*/
:FUNCtion:WRECord:OPERate? /*The query returns RUN if the recording is in progress and returns STOP if the recording has already finished*/

Turn on or off the waveform recording function, or query the status of the waveform recording function.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables waveform recording.
:FUNCtion:WRECord:ENABle 1
:FUNCtion:WRECord:ENABle?

Sets or queries the start frame of waveform playback.

NameTypeValuesDescription
stainteger1 - the maximum number of frames recordedStart frame number for waveform playback.
integer - Returns the start frame of waveform playback.
:FUNCtion:WREPlay:FSTart 5 /*Set the start frame of waveform playback to 5*/
:FUNCtion:WREPlay:FSTart? /*The query returns 5*/

Set or query the end frame of waveform playback. The end frame cannot be lower than the start frame of waveform playback and can only be set when a waveform is currently recorded.

NameTypeValuesDescription
endinteger1 - the maximum number of frames recordedEnd frame of waveform playback.
integer - The query returns an integer.
:FUNCtion:WREPlay:FEND 4096
:FUNCtion:WREPlay:FEND?

Query the maximum number of frames that can be played, which is the maximum number of frames recorded. The query returns an integer.

integer - The maximum number of frames can be played, namely the maximum number of frames recorded.

Sets or queries the time interval between frames in waveform playback. The default unit is seconds; the interval can only be set when a waveform is currently recorded and not during recording or playback.

NameTypeValuesDescription
intervalreal100ns - 10sTime interval between frames in waveform playback.
real - The current time interval in scientific notation.
:FUNCtion:WREPlay:FINTerval 0.001
:FUNCtion:WREPlay:FINTerval?

Set or query the waveform playback mode.

NameTypeValuesDescription
modeenumREPeat | SINGleSelects the waveform playback mode.
enum - The query returns REP or SING.
:FUNCtion:WREPlay:MODE REPeat
:FUNCtion:WREPlay:MODE? /*The query returns REP*/

Sets or queries the waveform playback direction.

NameTypeValuesDescription
direnumFORWard | BACKwardPlayback direction.
enum - The query returns FORW or BACK.
:FUNCtion:WREPlay:DIRection FORWard
:FUNCtion:WREPlay:DIRection?

Start, pause, or stop waveform playback, or query the waveform playback status. This command is only valid when a waveform has already been recorded.

NameTypeValuesDescription
optenumPLAY | PAUSe | STOPPlayback control option.
:FUNCtion:WREPlay:OPERate PLAY
:FUNCtion:WREPlay:OPERate?

Sets or queries the current frame in waveform playback.

NameTypeValuesDescription
curinteger1 - the maximum number of frames recordedCurrent frame number in waveform playback.
integer - The query returns an integer.
:FUNCtion:WREPlay:FCURrent 300 /*Set the current frame in waveform playback to 300*/
:FUNCtion:WREPlay:FCURrent? /*The query returns 300*/

*CLSset / query

Clear all the event registers and clear the error queue.

*ESEset / query

Set or query the enable register for the standard event status register set.

NameTypeValuesDescription
valueinteger-Decimal value corresponding to the enabled bits of the standard event status register set.
integer - Returns the sum of the weights of all bits that have already been set in the enable register.
*ESE 16
*ESE?
*ESR?query

Query and clear the standard event status register. The return value is an integer representing the event register bits, with bits 1 and 6 always treated as 0.

integer - Returns the decimal integer corresponding to the standard event status register contents; the value equals the sum of the weights of all set bits.
*IDN?query

Query the ID string of the instrument.

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

Sets the Operation Complete bit in the standard event status register to 1 after the current operation is finished.

*RSTset / query

Restore the instrument to the default state.

*SREset / query

Set or query the enable register for the status byte register set. The value is limited to the decimal numbers corresponding to binary XXXXXX00, since bits 0 and 1 are always treated as 0.

NameTypeValuesDescription
valueinteger0 - 255Enable register value for the status byte register set.
integer - Returns the sum of the weights of all bits already set in the register.
*SRE 16
*SRE?
*STB?query

Query the event register for the status byte register. The status byte register is set to 0 after this command is executed.

integer - The query returns an integer equal to the sum of the weights of all bits in the register.
*STB?
*TST?query

Performs a self-test and then returns the self-test results.

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

Wait for the current operation to finish. The subsequent command is executed only after the current command has completed.

:LA:ACTiveset / query

Sets or queries the current active digital channel, user-defined channel group, or NONE. Only channels or groups currently turned on can be selected.

NameTypeValuesDescription
digitalenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15Selects one of channels D0 to D15.
groupenumGROUP1 | GROUP2 | GROUP3 | GROUP4Selects one of the user-defined channel groups.
stateenumNONEDeselects any active channel or channel group.
enum - Returns the current active channel (D0 through D15), the current active channel group (GROUP1 through GROUP4), or NONE.
:LA:ACTive D3
:LA:ACTive?
:LA:AUTosortset / query

Sets the auto ordering mode of the waveforms of the channels turned on on the screen. Mode 0 orders waveforms D15 to D0 from top to bottom; mode 1 orders them D0 to D15 from top to bottom.

NameTypeValuesDescription
nenum0 | 1Selects the auto ordering mode.

Turns the specified digital channel on or off, or queries its status. The query returns 1 or 0.

NameTypeValuesDescription
ninteger0 - 15Specifies the digital channel number to control.
boolboolean1 | ON | 0 | OFFTurns the specified digital channel on or off.
boolean - Returns 1 if the specified digital channel is on, or 0 if it is off.
:LA:DIGital3:DISPlay ON /*Turn D3 on*/
:LA:DIGital3:DISPlay? /*The query returns 1*/

Sets or queries the display position of the specified digital channel waveform on the screen. The position range depends on the waveform display mode: SMALl uses 0 to 15, and LARGe uses 0 to 7.

NameTypeValuesDescription
ninteger0 - 15Specifies the digital channel number.
positioninteger0 - 15Sets the display position of the waveform on the screen; valid range depends on the waveform display mode.
integer - Returns the display position as an integer from 0 to 15 or from 0 to 7, depending on the waveform display mode.
:LA:DIGital1:POSition 3
:LA:DIGital1:POSition?

Set or query the label of the specified digital channel.

NameTypeValuesDescription
ninteger0 - 15Specifies the digital channel index.
labelstring-Sets the channel label as an ASCII string up to 4 characters using uppercase letters and numbers.
string - Returns the label of the specified digital channel as an ASCII string; if the channel has no label, returns "No Label".
:LA:DIGital0:LABel ACK
:LA:DIGital0:LABel?
:LA:DISPlayset / query

Turns on or off the specified digital channel, user-defined channel group, or default channel group. The query returns the on/off status of the specified digital channel, group, or pod as 1 or 0.

NameTypeValuesDescription
digitaldiscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15Specifies a digital channel.
groupdiscreteGROUP1 | GROUP2 | GROUP3 | GROUP4Specifies a user-defined channel group.
poddiscretePOD1 | POD2Specifies a default channel group.
boolboolean1 | ON | 0 | OFFTurns the specified channel, group, or pod on or off.
enum - Returns the status of the specified digital channel, user-defined channel group, or default channel group as 1 or 0.
:LA:DISPlay POD1,ON
:LA:DISPlay? POD1 /*The query returns 1*/

Turns the specified default channel group on or off, or queries its status. There are two groups: POD1 (D0 to D7) and POD2 (D8 to D15).

NameTypeValuesDescription
ninteger1 - 2Selects the default channel group number.
boolenum1 | ON | 0 | OFFTurns the specified channel group on or off.
enum - The query returns 1 or 0.
:LA:POD1:DISPlay 1
:LA:POD1:DISPlay?

Set or query the threshold of the specified channel group. The default unit is V.

NameTypeValuesDescription
ninteger1 - 2
threreal-15.0V - +15.0V
real (V) - The current threshold of the specified channel group, returned in scientific notation.
:LA:POD1:THReshold 3.3 /*Set the threshold of POD1 (D0 to D7) to 3.3V*/
:LA:POD1:THReshold? /*The query returns 3.300000e+00*/
:LA:SIZEset / query

Sets or queries the display size of the waveforms of the channels turned on on the screen. Small mode allows up to 16 waveforms; large mode allows up to 8 and is only available when no more than 8 channels are on.

NameTypeValuesDescription
sizeenumSMALl | LARGeDisplay size of the waveforms.
enum - Returns the current display size.
:LA:SIZE SMALl
:LA:SIZE?
:LA:STATeset / query

Turn the LA function on or off, or query its current status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFTurns the logic analyzer function on or off.
integer - Returns 1 or 0 indicating the LA function status.
:LA:STATe ON
:LA:STATe?
:LA:TCALibrateset / query

Sets or queries the delay calibration time of the digital channels. The default unit is seconds.

NameTypeValuesDescription
tcalreal-100ns - 100nsDelay calibration time to apply for zero-offset calibration.
real (s) - The query returns the delay calibration time in scientific notation.
:LA:TCALibrate 0.00000002 /*Set the delay calibration time to 20ns*/
:LA:TCALibrate? /*The query returns 2.000000e-08*/

:LAN:DHCPset / query

Turns on or off the DHCP configuration mode, or queries the on/off status of the current DHCP configuration mode.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFTurns DHCP configuration mode on or off.
:LAN:DHCP ON
:LAN:DHCP?
:LAN:AUToipset / query

Turns on or off the Auto IP configuration mode; or queries the on/off status of the current Auto IP configuration mode.

NameTypeValuesDescription
boolboolean1 | ON | 0 | OFFEnables or disables Auto IP configuration mode.
:LAN:GATewayset / query

Sets or queries the default gateway. The address format is nnn,nnn,nnn,nnn, and the command is used in Auto IP or Static IP mode.

NameTypeValuesDescription
stringstring-ASCII string specifying the gateway address in nnn,nnn,nnn,nnn format.
string - Returns the current gateway as a string.
:LAN:GATeway 192.168.1.1 /*Sets the default gateway to 192.168.1.1.*/
:LAN:GATeway? /*The query returns the current gateway.*/
:LAN:DNSset / query

Sets or queries the DNS address. When used, the IP configuration mode should be Auto IP or Static IP mode.

NameTypeValuesDescription
stringstring-DNS address in the form nnn,nnn,nnn,nnn.
string - The current DNS address.

Queries the MAC address of the instrument. The address is displayed in the form 00-19-AF-30-00-00.

string - Returns the MAC address as a string, for example 0019af300000.
:LAN:MANualset / query

Turns on or off the static IP configuration mode, or queries its on/off status. When static IP mode is valid, DHCP and Auto IP should be disabled manually.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFTurns static IP configuration mode on or off.
enum - Returns the current static IP configuration status as 1 or 0.
:LAN:MANual ON /*Enables the static IP configuration mode.*/
:LAN:MANual? /*The query returns 1.*/
:LAN:INITiateset / query

Initiates the network parameters. Before running the command, confirm that the oscilloscope has been connected to the network properly.

:LAN:IPADdressset / query

Sets or queries the IP address of the instrument. The IP address string must be in nnn.nnn.nnn.nnn format, and static IP mode must be enabled with DHCP and auto IP disabled.

NameTypeValuesDescription
stringstring-IP address to set, in nnn.nnn.nnn.nnn format.
string - The current IP address in string form.
:LAN:IPADdress 192.168.1.10
:LAN:IPADdress?
:LAN:SMASkset / query

Sets or queries the subnet mask.

NameTypeValuesDescription
stringstring-Subnet mask value in the format nnn.nnn.nnn.nnn, with each section ranging from 0 to 255.
string - The current subnet mask is returned as a string.
:LAN:SMASk 255.255.255.0
:LAN:SMASk?

Queries the current network configuration status.

enum - Returns the current network configuration status as one of UNLINK, INIT, IPCONFLICT, CONFIGURED, or DHCPFAILED.

Queries the VISA address of the instrument.

string - Returns the VISA address as a string, for example TCPIP::172.16.3.119::INSTR.
:LAN:VISA?
:LAN:APPLyset / query

Applies the network configuration.

:MATH:DISPlayset / query

Enable or disable the math operation function, or query the math operation status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the math operation function.
enum - The query returns 1 or 0.
:MATH:DISPlay ON
:MATH:DISPlay?
:MATH:OPERatorset / query

Set or query the operator of the math operation. When :MATH:SOURce1 and/or :MATH:SOURce2 is FX, this command sets the outer-layer operator of a compound operation.

NameTypeValuesDescription
optenumADD | SUBTract | MULTiply | DIVision | AND | OR | XOR | NOT | FFT | INTG | DIFF | SQRT | LOG | LN | EXP | ABS | FILTerOperator to use for the math operation.
enum - Returns the current math operator.
:MATH:SOURce1set / query

Sets or queries source A for algebraic operations, the source for functional operations, or the outer-layer source for compound operations. When FX is selected, related inner-layer source and operator commands are used.

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | FXSource selection.
enum - Returns CHAN1, CHAN2, CHAN3, CHAN4, or FX.
:MATH:SOURce1 CHANnel3
:MATH:SOURce1?
:MATH:SOURce2set / query

Sets or queries source B of an algebraic operation, or the outer-layer operation of a compound operation. It applies only when the outer-layer operation is algebraic.

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | FXSelects source B for the algebraic operation.
enum - Returns the selected source as CHAN1, CHAN2, CHAN3, CHAN4, or FX.
*No examples beyond the invocation lines were provided in the slice*
:MATH:LSOUrce1set / query

Set or query source A of logic operation. The logic operations include A&&B, A||B, A^B, and !A.

NameTypeValuesDescription
srcenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Selects the source for the logic operation.
enum - Returns the selected source as D0 through D15 or CHAN1 through CHAN4.
:MATH:LSOUrce1 D3 /*Set source A of logic operation to D3*/
:MATH:LSOUrce1? /*The query returns D3*/
:MATH:LSOUrce2set / query

Sets or queries source B of a logic operation. This command is only applicable to logic operations that require two signal sources.

NameTypeValuesDescription
srcenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Selects the source B used for the logic operation.
enum - Returns the selected source for logic operation B.
:MATH:LSOUrce2 D4 /*Set source B of logic operation to D4*/
:MATH:LSOUrce2? /*The query returns D4*/
:MATH:SCALeset / query

Sets or queries the vertical scale of the operation result. The unit depends on the selected operator and source unit, and for intg/diff operations it also depends on the current timebase.

NameTypeValuesDescription
scalereal1p - 5TVertical scale value in a 1-2-5 step sequence.
real - The query returns the vertical scale of the operation result in scientific notation.
:MATH:SCALe 2
:MATH:SCALe?
:MATH:OFFSetset / query

Set or query the vertical offset of the operation result. The unit depends on the selected operator and the source unit.

NameTypeValuesDescription
offsreal-1000 x MathVerticalScale - 1000 x MathVerticalScaleVertical offset of the operation result, related to the vertical scale of the operation result.
real - The vertical offset of the operation result in scientific notation.
*:MATH:OFFSet 8
*:MATH:OFFSet?
:MATH:INVertset / query

Enable or disable the inverted display mode of the operation result, or query the current inverted display mode status. The command is invalid for the FFT operation and has the same function as :MATH:OPTion:INVert.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnable or disable inverted display mode.
enum - The query returns the inverted display mode status as 1 or 0.
:MATH:INVert ON
:MATH:INVert?
:MATH:RESetset / query

Resets the operation result display scale to the most proper value based on the current operator and the source horizontal timebase.

:MATH:FFT:SOURceset / query

Set or query the source of FFT operation/filter.

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Source channel for the FFT operation/filter.
enum - The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
:MATH:FFT:SOURce CHANnel3
:MATH:FFT:SOURce?
:MATH:FFT:WINDowset / query

Set or query the window function of the FFT operation. Spectral leakage can be reduced by selecting an appropriate window for the waveform being measured.

NameTypeValuesDescription
wndenumRECTangle | BLACkman | HANNing | HAMMing | FLATtop | TRIangleFFT window function to use.
enum - The query returns the abbreviated window identifier.
:MATH:FFT:WINDow BLACkman
:MATH:FFT:WINDow?
:MATH:FFT:SPLitset / query

Enables or disables the half-screen display mode of the FFT operation, or queries the current status of that mode.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables half-screen display mode.
enum - The query returns 1 or 0.
:MATH:FFT:SPLit OFF /*Disable the half-screen display mode*/
:MATH:FFT:SPLit? /*The query returns 0*/
:MATH:FFT:UNITset / query

Set or query the vertical unit of the FFT operation result.

NameTypeValuesDescription
unitenumVRMS | DBVertical unit of the FFT operation result.
enum - The query returns VRMS or DB.
:MATH:FFT:UNIT VRMS
:MATH:FFT:UNIT?
:MATH:FFT:HSCaleset / query

Sets or queries the horizontal scale of the FFT operation result. The default unit is Hz.

NameTypeValuesDescription
hscreal1/1000 of FFT sample rate - 1/20 of FFT sample rateHorizontal scale of the FFT operation result.
real - Returns the horizontal scale in scientific notation.
:MATH:FFT:HSCale 500000
:MATH:FFT:HSCale?

Sets or queries the center frequency of the FFT operation result, relative to the horizontal center of the screen. The default unit is Hz.

NameTypeValuesDescription
centreal0 - (0.4 x FFT sample rate)Center frequency of the FFT operation result.
real - Returns the current center frequency in scientific notation.
:MATH:FFT:HCENter 10000000
:MATH:FFT:HCENter?
:MATH:FFT:MODEset / query

Set or query the FFT mode.

NameTypeValuesDescription
modeenumTRACe | MEMorySelects whether the FFT uses the displayed waveform data or the waveform stored in memory.
enum - Returns the current FFT mode as TRAC or MEM.
:MATH:FFT:MODE TRACe
:MATH:FFT:MODE?

Sets or queries the filter type. The available types are low pass, high pass, band pass, and band stop.

NameTypeValuesDescription
typeenumLPASs | HPASs | BPASs | BSTOPFilter type to set.
enum - Returns the current filter type: LPAS, HPAS, BPAS, or BSTOP.
*:MATH:FILTer:TYPE LPASs
*:MATH:FILTer:TYPE?
:MATH:FILTer:W1set / query

Set or query the cutoff frequency (ωc1) of the low pass/high pass filter, or cutoff frequency 1 (ωc1) of the band pass/band stop filter. The default unit is Hz.

NameTypeValuesDescription
freq1real0.005 x screen sample rate - 0.1 x screen sample rateCutoff frequency 1. For LPASs or BPASs/BSTOP, the allowed range depends on the filter type and the screen sample rate.
real - Returns the current cutoff frequency or cutoff frequency 1 in scientific notation.
:MATH:FILTer:W1 1000000
:MATH:FILTer:W1?
:MATH:FILTer:W2set / query

Sets or queries the cutoff frequency 2 (ωc2) of the band pass or band stop filter. The default unit is Hz.

NameTypeValuesDescription
freq2real0.01 x screen sample rate - 0.1 x screen sample rateCutoff frequency 2 for the filter.
real - Returns the current cutoff frequency 2 in scientific notation.
:MATH:FILTer:W2 1500000
:MATH:FILTer:W2?

Sets or queries the start point of the waveform math operation. The command is invalid for FFT; the selected source is divided into 1200 horizontal parts from 0 to 1199.

NameTypeValuesDescription
stainteger0 - (End point currently set - 1)Start point index for the waveform math operation.
integer - Returns the current start point as an integer.
:MATH:OPTion:STARt 50
:MATH:OPTion:STARt?
:MATH:OPTion:ENDset / query

Sets or queries the end point of the waveform math operation. This command is invalid for the FFT operation and affects all operations except FFT.

NameTypeValuesDescription
endinteger(Start point currently set+1) - 1199End point of the waveform math operation.
integer - The query returns the end point value.
:MATH:OPTion:END 200
:MATH:OPTion:END?

Enable or disable the inverted display mode of the operation result, or query the inverted display mode status of the operation result.

NameTypeValuesDescription
boolboolean1 | ON | 0 | OFFEnables or disables the inverted display mode of the operation result.
:MATH:OPTion:INVert ON
:MATH:OPTion:INVert?

Sets or queries the sensitivity of the logic operation. The default unit is div (the current vertical scale), and the command applies only to logic operations (A&&B, A||B, A^B, and !A).

NameTypeValuesDescription
<sens>real0 - 0.96Sensitivity of the logic operation.
real (div) - The query returns the current sensitivity in scientific notation.
:MATH:OPTion:SENSitivity 0.24
:MATH:OPTion:SENSitivity?

Set or query the smoothing window width of differential operation (diff). This command is only applicable to differential operation (diff).

NameTypeValuesDescription
distinteger3 - 201Smoothing window width.
integer - The query returns an integer between 3 and 201.
:MATH:OPTion:DIStance 25
:MATH:OPTion:DIStance?

Enable or disable the auto scale setting of the operation result, or query its status.

NameTypeValuesDescription
boolenum1|ON | 0|OFFEnables or disables auto scale.
enum - The query returns 1 or 0.
:MATH:OPTion:ASCale ON /*Enable the auto scale setting */
:MATH:OPTion:ASCale? /*The query returns 1*/

Set or query the threshold level of source A in logic operations. The default unit is V.

NameTypeValuesDescription
threreal-4 x VerticalScale - VerticalOffset - 4 x VerticalScale - VerticalOffsetThreshold level for source A in logic operations.
real - The query returns the threshold level in scientific notation.

Sets or queries the threshold level of source B in logic operations. The default unit is V; the command applies only to A&&B, A||B, and A^B logic operations when source B is an analog channel.

NameTypeValuesDescription
threreal-4 x VerticalScale - VerticalOffset - 4 x VerticalScale - VerticalOffsetThreshold level of source B in logic operations.
string - The query returns the threshold level in scientific notation.
:MATH:OPTion:THReshold2 0.5
:MATH:OPTion:THReshold2?

Sets or queries source A of the inner layer operation of a compound operation.

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Selects the source channel for the inner layer operation.
enum - Returns the selected source as CHAN1, CHAN2, CHAN3, or CHAN4.
:MATH:OPTion:FX:SOURce1 CHANnel1
:MATH:OPTion:FX:SOURce1?

Set or query source B of the inner layer operation of compound operation.

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Source B of the inner layer operation of compound operation.
enum - The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
:MATH:OPTion:FX:SOURce2 CHANnel1
:MATH:OPTion:FX:SOURce2?

Set or query the operator of the inner layer operation of compound operation.

NameTypeValuesDescription
openumADD | SUBTract | MULTiply | DIVision
enum - The query returns ADD, SUBT, MULT, or DIV.
:MATH:OPTion:FX:OPERator ADD
:MATH:OPTion:FX:OPERator?

:MASK:ENABleset / query

Enables or disables the pass/fail test, or queries its current status.

NameTypeValuesDescription
boolboolean-Enables or disables the pass/fail test.
integer - The query returns 1 or 0.
:MASK:ENABle ON
:MASK:ENABle? /*The query returns 1*/
:MASK:SOURceset / query

Set or query the source of the pass/fail test.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Selects the source channel for the pass/fail test.
enum - The query returns the selected source channel as CHAN1, CHAN2, CHAN3, or CHAN4.
:MASK:SOURce CHANnel2 /*Set the source of the pass/fail test to CH2*/
:MASK:SOURce? /*The query returns CHAN2*/
:MASK:OPERateset / query

Run or stop the pass/fail test, or query the status of the pass/fail test.

NameTypeValuesDescription
operenumRUN | STOPRun or stop the pass/fail test.
:MASK:OPERate RUN /*Run the pass/fail test*/
:MASK:OPERate? /*The query returns RUN*/
:MASK:MDISplayset / query

Enables or disables the statistic information when the pass/fail test is enabled, or queries its status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFTurns the statistic information on or off.
enum - Returns the current status as 1 or 0.
:MASK:MDISplay ON /*Enable the statistic information*/
:MASK:MDISplay? /*The query returns 1*/
:MASK:SOOutputset / query

Turn the "Stop on Fail" function on or off, or query its status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the Stop on Fail function.
enum - The query returns 1 or 0.
[?25l
:MASK:OUTPutset / query

Enable or disable the sound prompt when failed waveforms are detected, or query its status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFTurns the sound prompt off or on.
enum - The query returns the current sound prompt status as 1 or 0.
:MASK:OUTPut ON /*Enable the sound prompt*/
:MASK:OUTPut? /*The query returns 1*/
:MASK:Xset / query

Set or query the horizontal adjustment parameter in the pass/fail test mask. The default unit is div.

NameTypeValuesDescription
xreal0.02 - 4Horizontal adjustment parameter in the pass/fail test mask.
real - The query returns the horizontal adjustment parameter in scientific notation.
:MASK:X 0.28
:MASK:X?
:MASK:Yset / query

Set or query the vertical adjustment parameter in the pass/fail test mask. The default unit is div.

NameTypeValuesDescription
yreal0.04 - 5.12Vertical adjustment parameter.
string - The query returns the vertical adjustment parameter in scientific notation.
:MASK:Y 0.36
:MASK:Y? /*The query returns 3.600000e-01*/
:MASK:CREateset / query

Create the pass/fail test mask using the current horizontal and vertical adjustment parameters.

Queries the number of passed frames in the pass/fail test.

integer - The query returns the number of passed frames in the pass/fail test.

Query the number of failed frames in the pass/fail test.

integer - The query returns an integer.

Queries the total number of frames in the pass/fail test.

integer - The query returns an integer.
:MASK:RESetset / query

Reset the numbers of passed frames, failed frames, and total frames in the pass/fail test to 0.

:MEASure:SOURceset / query

Sets or queries the source of the current measurement parameter. The source can be an analog channel, a digital channel, or MATH; for digital channels only currently turned-on channels can be selected.

NameTypeValuesDescription
sourenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATHSource of the measurement parameter.
enum - Returns the selected source.
:MEASure:SOURce CHANnel2
:MEASure:SOURce?

Sets or queries the source of the frequency counter, or disables the frequency counter.

NameTypeValuesDescription
sourenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFFSource used by the frequency counter, or OFF to disable it.
enum - The query returns the selected source: D0 through D15, CHAN1 through CHAN4, or OFF.
:MEASure:COUNter:SOURce CHANnel2 /*Set the source of the frequency counter to
:MEASure:COUNter:SOURce? /*The query returns CHAN2*/

Queries the measurement result of the frequency counter. The default unit is Hz; if the counter is disabled, the query returns 0.0000000e+00.

real (Hz) - Returns the measurement result in scientific notation. If the frequency counter is disabled, returns 0.0000000e+00.
:MEASure:COUNter:VALue? /*The query returns 1.000004e+03*/
:MEASure:CLEarset / query

Clears one or all of the last five enabled measurement items. The item selection is determined by the order in which measurement items were turned on.

NameTypeValuesDescription
itemenumITEM1 | ITEM2 | ITEM3 | ITEM4 | ITEM5 | ALLSelects which measurement item to clear.
:MEASure:CLEar ITEM1 /*Clear ITEM1*/
:MEASure:RECoverset / query

Recover the measurement item that has been cleared.

NameTypeValuesDescription
itemenumITEM1 | ITEM2 | ITEM3 | ITEM4 | ITEM5 | ALLSelects one of the last five measurement items or all items to recover.
:MEASure:RECover <item>

Enable or disable the all measurement function, or query its status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the all measurement function.
enum - Returns 1 when enabled and 0 when disabled.
:MEASure:ADISplay ON
:MEASure:ADISplay?

Set or query the source(s) of the all measurement function.

NameTypeValuesDescription
srcdiscreteCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATHSource for the all measurement function.
enum - Returns the selected source(s), separated by commas.
:MEASure:AMSource CHANnel1,CHANnel3
:MEASure:AMSource?

Sets or queries the upper limit of the threshold, expressed as a percentage of amplitude, used in time, delay, and phase measurements.

NameTypeValuesDescription
valueinteger7 - 95Upper limit of the threshold percentage.
integer - The query returns an integer between 7 and 95.
:MEASure:SETup:MAX 95
:MEASure:SETup:MAX?

Sets or queries the middle point of the threshold, expressed as a percentage of amplitude, for time, delay, and phase measurements.

NameTypeValuesDescription
valueinteger6 - 94Middle point of the threshold in percent of amplitude.
integer - The query returns the middle point as an integer between 6 and 94.
:MEASure:SETup:MID 89
:MEASure:SETup:MID?

Sets or queries the lower limit of the threshold, expressed as a percentage of amplitude, used in time, delay, and phase measurements. Changing this value can affect measurement results and may automatically raise the middle point if needed.

NameTypeValuesDescription
valueinteger5 - 93Lower limit of the threshold percentage of amplitude.
integer - The query returns the current lower-limit threshold value.
:MEASure:SETup:MIN 53
:MEASure:SETup:MIN?

Set or query source A of Phase 1→2 and Phase 1→2 measurements.

NameTypeValuesDescription
sourcediscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Source A for the phase measurement.
enum - Returns the selected source A value.
:MEASure:SETup:PSA CHANnel1
:MEASure:SETup:PSA?

Sets or queries source B for Phase 1→2 and Phase 1→2 measurements.

NameTypeValuesDescription
sourcediscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Source B for the phase measurement.
enum - Returns the selected source value.
:MEASure:SETup:PSB CHANnel2 /*Set source B of phase measurement to CH2*/
:MEASure:SETup:PSB? /*The query returns CHAN2*/

Set or query source A of Delay 1→2 and Delay 1→2 measurements.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4
enum - The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, CHAN1, CHAN2, CHAN3, or CHAN4.
:MEASure:SETup:DSA CHANnel1
:MEASure:SETup:DSA?

Sets or queries source B for Delay 1→2 and Delay 1→2 measurements.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Source B selection for the delay measurement.
enum - The query returns the selected source as D0 through D15 or CHAN1 through CHAN4.
:MEASure:SETup:DSB CHANnel2 /*Set source B of delay measurement to CH2*/
:MEASure:SETup:DSB? /*The query returns CHAN2*/

Enable or disable the statistic function, or query its status. When enabled, the oscilloscope displays statistic results for up to 5 measurement items turned on last.

NameTypeValuesDescription
boolboolean1 | ON | 0 | OFFEnables or disables the statistic function.
integer - Returns 1 or 0 indicating whether the statistic function is enabled.
:MEASure:STATistic:DISPlay ON
:MEASure:STATistic:DISPlay?

Set or query the statistic mode. The query returns DIFF or EXTR.

NameTypeValuesDescription
modeenumDIFFerence | EXTRemumSelects the statistic mode.
enum - Returns DIFF or EXTR when queried.
:MEASure:STATistic:MODE DIFFerence /*Select the difference mode*/
:MEASure:STATistic:MODE? /*The query returns DIFF*/

Enables the statistic function for a waveform parameter of the specified source, or queries the statistic result for a waveform parameter of the specified source. If source arguments are omitted, the source defaults to the one selected by :MEASure:SOURce or the setup commands noted in the manual.

NameTypeValuesDescription
itemdiscreteVMAX | VMIN | VPP | VTOP | VBASe | VAMP | VAVG | VRMS | OVERshoot | PREShoot | MARea | MPARea | PERiod | FREQuency | RTIMe | FTIMe | PWIDth | NWIDth | PDUTy | NDUTy | RDELay | FDELay | RPHase | FPHase | TVMAX | TVMIN | PSLEWrate | NSLEWrate | VUPper | VMID | VLOWer | VARIance | PVRMS | PPULses | NPULses | PEDGes | NEDGesStatistic item to measure.
srcoptdiscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATHSource of the parameter to be measured.
srcoptdiscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATHSecond source for measurements that require two sources.
string - Returns the statistic result in scientific notation.
:MEASure:STATistic:ITEM VPP,CHANnel2
:MEASure:STATistic:ITEM? MAXimum,VPP
:MEASure:ITEMset / query

Measures any waveform parameter of the specified source, or queries the measurement result for that parameter. Some measurements require one source; RDELay, FDELay, RPHase, and FPHase require two sources.

NameTypeValuesDescription
itemdiscreteVMAX | VMIN | VPP | VTOP | VBASe | VAMP | VAVG | VRMS | OVERshoot | PREShoot | MARea | MPARea | PERiod | FREQuency | RTIMe | FTIMe | PWIDth | NWIDth | PDUTy | NDUTy | RDELay | FDELay | RPHase | FPHase | TVMAX | TVMIN | PSLEWrate | NSLEWrate | VUPper | VMID | VLOWer | VARIance | PVRMS | PPULses | NPULses | PEDGes | NEDGesMeasurement parameter to be measured.
srcoptdiscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATHSource of the parameter to be measured.
srcoptdiscreteCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATHSecond source for measurements that require two sources.
numeric - The query returns the measurement result in scientific notation.
:MEASure:ITEM OVERshoot,CHANnel2
:MEASure:ITEM? OVERshoot,CHANnel2

Enable or disable the REF function, or query its status.

NameTypeValuesDescription
boolboolean-Enables or disables the REF function.
:REFerence:DISPlay ON /*Enable the REF function*/
:REFerence:DISPlay? /*The query returns 1*/

Enable or disable the specified reference channel, or query its status.

NameTypeValuesDescription
ndiscrete1 - 10Selects the reference channel number.
boolboolean-Enables or disables the selected reference channel.
:REFerence1:ENABle ON
:REFerence1:ENABle?

Set or query the source of the current reference channel. Only currently enabled channels can be selected as the source.

NameTypeValuesDescription
ninteger1 - 10Reference channel number.
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATHSource channel for the current reference channel.
enum - Returns the selected reference source.
:REFerence1:SOURce CHANnel1 /*Set the source of reference channel 1 to CH1*/
:REFerence1:SOURce? /*The query returns CHAN1*/

Set or query the vertical scale of the specified reference channel. The unit is the same as the unit of the source.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10Reference channel number.
scalereal1mV - 10VVertical scale of the specified reference channel; the valid range depends on probe ratio.
real - The vertical scale in scientific notation.
:REFerence1:VSCale 2
:REFerence1:VSCale?

Set or query the vertical offset of the specified reference channel. The unit is the same as the unit of the source.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10Reference channel number.
offsetreal-10 x RefVerticalScale - 10 x RefVerticalScaleVertical offset of the specified reference channel.
real - The query returns the vertical offset in scientific notation.
:REFerence1:VOFFset 0.5
:REFerence1:VOFFset?

Reset the vertical scale and vertical offset of the specified reference channel to their default values.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10

Select the current reference channel. Only reference channels currently turned on can be selected as the current reference channel.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10Reference channel number to select.

Store the waveform of the current reference channel to internal memory as a reference waveform.

NameTypeValuesDescription
nenum1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10Reference channel number.

Set or query the display color of the current reference channel.

NameTypeValuesDescription
ninteger1 - 10Reference channel number.
colorenumGRAY | GREEn | LBLue | MAGenta | ORANgeDisplay color for the reference channel.
enum - The query returns GRAY, GREE, LBL, MAG, or ORAN.
:REFerence1:COLor GREEn /*Set the display color of reference channel 1 (the current reference channel) to GREEn*/
:REFerence1:COLor? /*The query returns GREE*/

Set or query the image type when storing images.

NameTypeValuesDescription
typeenumPNG | BMP8 | BMP24 | JPEG | TIFFImage file type to use when storing images.
:STORage:IMAGe:TYPE PNG /*Set the image type when storing images to PNG*/
:STORage:IMAGe:TYPE? /*The query returns PNG*/

Turns the image invert function on or off when storing images, or queries the current invert status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables invert for stored images.
:STORage:IMAGe:INVERT ON /*Turn on the invert function when storing images*/
:STORage:IMAGe:INVERT? /*The query returns ON*/

Set the image color when storing images to color (ON) or intensity graded color (OFF), or query the current image color setting.

NameTypeValuesDescription
boolboolean-Selects image color storage mode: ON for color, OFF for intensity graded color.
enum - Returns ON or OFF.
:STORage:IMAGe:COLor ON
:STORage:IMAGe:COLor?

Enables or disables the AUTO key on the front panel, or queries the AUTO key status. When disabled, Auto Scale operation is invalid.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the AUTO key on the front panel.
enum - The query returns the AUTO key status as 1 or 0.
:SYSTem:AUToscale ON
:SYSTem:AUToscale?
:SYSTem:BEEPerset / query

Enables or disables the beeper, or queries the beeper status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFSelects whether the beeper is enabled or disabled.
enum - The query returns 1 or 0.
:SYSTem:BEEPer ON /*Enable the beeper*/
:SYSTem:BEEPer? /*The query returns 1*/

Queries and deletes the last system error message. The returned message is formatted as "<message number>,<message content>".

string - Returns the error message in "<message number>,<message content>" format, where the message number is an integer and the message content is an ASCII string.

Queries the number of grids in the horizontal direction of the instrument screen. The query always returns 12.

integer - Always returns 12.
:SYSTem:LANGuageset / query

Set or query the system language. The language is not affected by *RST.

NameTypeValuesDescription
langenumSCHinese | TCHinese | ENGLish | PORTuguese | GERMan | POLish | KORean | JAPAnese | FRENch | RUSSianSystem language to select.
enum - Returns the current system language code.
:SYSTem:LANGuage SCHinese /*Set the system language to simplified Chinese*/
:SYSTem:LANGuage? /*The query returns SCH*/
:SYSTem:LOCKedset / query

Enable or disable the keyboard lock function, or query its status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the keyboard lock function.
enum - The query returns 1 or 0.
:SYSTem:PONset / query

Set or query the system configuration to be recalled when the oscilloscope is powered on again after power-off.

NameTypeValuesDescription
ponenumLATest | DEFaultSystem configuration to recall on power-up.
enum - The query returns LAT or DEF.
:SYSTem:PON LATest
:SYSTem:PON?

Install an option license. The license must be obtained from RIGOL and entered as a 28-byte string with hyphens omitted.

NameTypeValuesDescription
licensestring-Option license string; 28 bytes, uppercase English letters and numbers only.
:SYSTem:OPTion:INSTall PDUY9N9QTS9PQSWPLAETRD3UJHYA

Query the number of analog channels of the instrument. The query always returns 4.

integer - Always returns 4.
:SYSTem:SETupset / query

Import the setting parameters of the oscilloscope to restore it to a specified setting. The query returns the oscilloscope setup data stream, which can be saved and later reused as the setter argument.

NameTypeValuesDescription
setup_streamblock-Specified setting parameters of the oscilloscope; this is the return value of :SYSTem:SETup? and cannot be set manually.
block - The setup data stream consists of a TMC data description header and the setting data in binary format.

Enable or disable the delayed sweep, or query the status of the delayed sweep.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the delayed sweep.
:TIMebase:DELay:ENABle ON
:TIMebase:DELay:ENABle?

Sets or queries the delayed timebase offset. The default unit is seconds.

NameTypeValuesDescription
offsetreal-(LeftTime - DelayRange/2) - (RightTime - DelayRange/2)Delayed timebase offset to set.
real (s) - Returns the delayed timebase offset in scientific notation.
:TIMebase:DELay:OFFSet 0.000002 /*Set the delayed timebase offset to 2μs*/
:TIMebase:DELay:OFFSet? /*The query returns 2.0000000e-06*/

Sets or queries the delayed timebase scale. The default unit is s/div, and the scale is limited by the current main timebase scale and a calculated minimum value.

NameTypeValuesDescription
scalerealRefer to Explanation - Refer to ExplanationDelayed timebase scale.
string - Returns the delayed timebase scale in scientific notation.
:TIMebase:DELay:SCALe 0.00000005 /*Set the delayed timebase scale to
50ns/div*/
:TIMebase:DELay:SCALe? /*The query returns 5.0000000e-08*/

Sets or queries the main timebase offset. The default unit is seconds, and the valid range depends on the current timebase mode and run state.

NameTypeValuesDescription
offsetrealRefer to ExplanationMain timebase offset to set.
real - Returns the main timebase offset in scientific notation.
:TIMebase:MAIN:OFFSet 0.0002
:TIMebase:MAIN:OFFSet?

Sets or queries the main timebase scale. The default unit is s/div.

NameTypeValuesDescription
scalereal5ns/div - 50s/divMain timebase scale value; YT mode uses 5ns/div to 50s/div in 1-2-5 steps, and Roll mode uses 200ms/div to 50s/div in 1-2-5 steps.
real - Returns the main timebase scale in scientific notation.
:TIMebase:MAIN:SCALe 0.0002 /*Set the main timebase scale to 200μs/div*/
:TIMebase:MAIN:SCALe? /*The query returns 2.0000000e-04*/
:TIMebase:MODEset / query

Set or query the horizontal timebase mode. MAIN corresponds to YT mode, XY to XY mode, and ROLL to Roll mode.

NameTypeValuesDescription
modeenumMAIN | XY | ROLLHorizontal timebase mode.
enum - Returns the current horizontal timebase mode.
:TIMebase:MODE XY /*Set the horizontal timebase mode to XY*/
:TIMebase:MODE? /*The query returns XY*/

:TRIGger:MODEset / query

Select or query the trigger type.

NameTypeValuesDescription
modeenumEDGE | PULSe | RUNT | WIND | NEDG | SLOPe | VIDeo | PATTern | DELay | TIMeout | DURation | SHOLd | RS232 | IIC | SPISets the trigger type.
:TRIGger:MODE SLOPe
:TRIGger:MODE?

Select or query the trigger coupling type. This command is only applicable to edge trigger when the signal source is an analog channel.

NameTypeValuesDescription
coupleenumAC | DC | LFReject | HFRejectTrigger coupling type.
enum - The query returns the current trigger coupling as AC, DC, LFR, or HFR.
:TRIGger:COUPling LFReject
:TRIGger:COUPling?

Queries the current trigger status.

enum - Returns the current trigger status as one of TD, WAIT, RUN, AUTO, or STOP.
:TRIGger:SWEepset / query

Set or query the trigger mode.

NameTypeValuesDescription
sweepenumAUTO | NORMal | SINGleTrigger sweep mode to select.
enum - The query returns AUTO, NORM, or SING.
:TRIGger:SWEep SINGle
:TRIGger:SWEep? /*The query returns SING*/
:TRIGger:HOLDoffset / query

Set or query the trigger holdoff time. The default unit is s.

NameTypeValuesDescription
valuereal16ns - 10sTrigger holdoff time.
real - The query returns the trigger holdoff time in scientific notation.
:TRIGger:HOLDoff 0.0000002
:TRIGger:HOLDoff?
:TRIGger:NREJectset / query

Enable or disable noise rejection, or query the status of noise rejection.

NameTypeValuesDescription
boolboolean-Enables or disables noise rejection.
:TRIGger:NREJect ON
:TRIGger:NREJect?

Query the position in internal memory that corresponds to the waveform trigger position.

integer - Returns the position in internal memory that corresponds to the waveform trigger position. -2 means the instrument is not triggered and there is no trigger position; -1 means the instrument is triggered outside the internal memory; a positive integer gives the trigger position.
:TRIGger:POSition? /*The query returns 100*/
:TRIGger:EDGeset / query

Set or query the edge trigger settings. The page lists related subcommands for source, slope, and level.

Set or query the trigger source in edge trigger.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | ACSelects the edge trigger source.
enum - Returns the selected trigger source.
:TRIGger:EDGe:SOURce CHANnel1 /*Set the trigger source to CH1*/
:TRIGger:EDGe:SOURce? /*The query returns CHAN1*/

Set or query the edge type in edge trigger.

NameTypeValuesDescription
slopeenumPOSitive | NEGative | RFALlSelects the trigger edge type.
:TRIGger:EDGe:SLOPe NEGative /*Set the edge type to falling edge*/
:TRIGger:EDGe:SLOPe? /*The query returns NEG*/

Set or query the trigger level in edge trigger. The unit is the same as the current amplitude unit of the selected signal source.

NameTypeValuesDescription
levelreal(-5 x VerticalScale - OFFSet) - (5 x VerticalScale - OFFSet)Trigger level.
real - The query returns the trigger level in scientific notation.
:TRIGger:EDGe:LEVel 0.16
:TRIGger:EDGe:LEVel?
:TRIGger:PULSeset / query

Sets or queries the trigger source in pulse width trigger. The source can be one of the digital channels D0-D15 or analog channels CHANnel1-CHANnel4.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source for pulse width trigger.
:TRIGger:PULSe:SOURce CHANnel1 /*Set the trigger source to CH1*/
:TRIGger:PULSe:SOURce? /*The query returns CHAN1*/

Sets or queries the trigger source in pulse width trigger. When D0 to D7 are turned on, CH4 cannot be selected; when D8 to D15 are turned on, CH3 cannot be selected.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source.
enum - Returns the current trigger source as one of D0 through D15 or CHAN1 through CHAN4.
:TRIGger:PULSe:SOURce CHANnel1 /*Set the trigger source to CH1*/
:TRIGger:PULSe:SOURce? /*The query returns CHAN1*/

Sets or queries the trigger condition in pulse width trigger. The condition selects whether the oscilloscope triggers on positive or negative pulse widths being greater or less than the specified width, or within a specified window.

NameTypeValuesDescription
whenenumPGReater | PLESs | NGReater | NLESs | PGLess | NGLessTrigger condition for pulse width triggering.
enum - Returns the current trigger condition as one of PGR, PLES, NGR, NLES, PGL, or NGL.
:TRIGger:PULSe:WHEN NLESs
:TRIGger:PULSe:WHEN? /*The query returns NELS*/

Set or query the pulse width in pulse width trigger. The default unit is s.

NameTypeValuesDescription
widthreal8ns - 10sPulse width used by the trigger condition.
string - The query returns the pulse width in scientific notation.
:TRIGger:PULSe:WIDTh 0.000003
:TRIGger:PULSe:WIDTh? /*The query returns3.000000e-06*/

Set or query the upper pulse width in pulse width trigger. The default unit is s.

NameTypeValuesDescription
widthreal16ns - 10sUpper pulse width value.
string - The query returns the upper pulse width in scientific notation.
:TRIGger:PULSe:UWIDth 0.000003 /*Set the upper pulse width to 3μs*/
:TRIGger:PULSe:UWIDth? /*The query returns3.000000e-06*/

Set or query the lower pulse width in pulse width trigger. The default unit is s.

NameTypeValuesDescription
widthreal8ns - 9.99sLower pulse width.
string - The query returns the lower pulse width in scientific notation.
:TRIGger:PULSe:LWIDth 0.000003
:TRIGger:PULSe:LWIDth?

Set or query the trigger level in pulse width trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet
real - The query returns the trigger level in scientific notation.
:TRIGger:PULSe:LEVel 0.16
:TRIGger:PULSe:LEVel?
:TRIGger:SLOPeset / query

Sets or queries the trigger source in slope trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source for slope trigger.

Set or query the trigger source in slope trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source.
enum - The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
:TRIGger:SLOPe:SOURce CHANnel2
:TRIGger:SLOPe:SOURce?

Sets or queries the slope-trigger condition. The setting selects one of six condition keywords; the query returns the current condition abbreviation.

NameTypeValuesDescription
whenenumPGReater | PLESs | NGReater | NLESs | PGLess | NGLessTrigger condition for slope trigger.
enum - Returns the current slope-trigger condition as PGR, PLES, NGR, NLES, PGL, or NGL.
:TRIGger:SLOPe:WHEN NLESs /*Set the trigger condition to NLESs*/
:TRIGger:SLOPe:WHEN? /*The query returns NLES*/

Sets or queries the time value used in slope trigger. The default unit is seconds, and the command is available only when :TRIGger:SLOPe:WHEN is PGReater, PLESs, NGReater, or NLESs.

NameTypeValuesDescription
timereal8ns - 10sTime value for the slope trigger condition.
string - The query returns the time value in scientific notation.
:TRIGger:SLOPe:TIME 0.000003
:TRIGger:SLOPe:TIME?

Set or query the upper limit of the time in slope trigger. The default unit is s.

NameTypeValuesDescription
timereal16ns - 10sUpper limit of the time in slope trigger.
real - The query returns the upper limit of the time in scientific notation.
:TRIGger:SLOPe:TUPPer 0.000003
:TRIGger:SLOPe:TUPPer?

Set or query the lower limit of the time in slope trigger. The default unit is s.

NameTypeValuesDescription
timereal8ns - 9.99sLower time limit for slope trigger.
real - The query returns the lower limit of the time in scientific notation.
:TRIGger:SLOPe:TLOWer 0.000000020
:TRIGger:SLOPe:TLOWer?

Sets or queries the vertical window type in slope trigger.

NameTypeValuesDescription
windowenumTA | TB | TABVertical window type for slope trigger.
enum - The query returns the current window type.
:TRIGger:SLOPe:WINDow TB /*Set the vertical window type to TB*/
:TRIGger:SLOPe:WINDow? /*The query returns TB*/

Set or query the upper limit of the trigger level in slope trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetUpper limit of the trigger level.
string - The query returns the upper limit of the trigger level in scientific notation.
:TRIGger:SLOPe:ALEVel 0.16
:TRIGger:SLOPe:ALEVel?

Sets or queries the lower limit of the trigger level in slope trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetLower limit of the trigger level.
real - The lower limit of the trigger level in scientific notation.
:TRIGger:SLOPe:BLEVel 0.16
:TRIGger:SLOPe:BLEVel?
:TRIGger:VIDeoset / query

Selects or queries the video trigger source.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Sets the video trigger source.
enum - The query returns the selected channel as CHAN1, CHAN2, CHAN3, or CHAN4.
:TRIGger:VIDeo:SOURce CHANnel2
:TRIGger:VIDeo:SOURce?

Selects or queries the trigger source in video trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source for video trigger.
enum - The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
:TRIGger:VIDeo:SOURce CHANnel2
:TRIGger:VIDeo:SOURce?

Selects or queries the video polarity used for video trigger. The query returns the current polarity as POS or NEG.

NameTypeValuesDescription
polarityenumPOSitive | NEGativeVideo trigger polarity to set.
:TRIGger:VIDeo:POLarity POSitive
:TRIGger:VIDeo:POLarity?

Set or query the sync type in video trigger.

NameTypeValuesDescription
modeenumODDField | EVENfield | LINE | ALINesSelects the video trigger sync type.
enum - The query returns ODDF, EVEN, LINE, or ALIN.
:TRIGger:VIDeo:MODE ODDField /*Set the sync type to odd field*/
:TRIGger:VIDeo:MODE? /*The query returns ODDF*/

Set or query the line number when the video trigger sync type is LINE.

NameTypeValuesDescription
lineinteger1 - 625Line number to use for the LINE video trigger sync type; valid range depends on the video standard.
integer - Returns the current line number.
:TRIGger:VIDeo:LINE 100
:TRIGger:VIDeo:LINE?

Set or query the video standard used by video trigger. The query returns the current standard.

NameTypeValuesDescription
standardenumPALSecam | NTSC | 480P | 576PVideo standard to select.
enum - Returns the current video standard: PALSecam, NTSC, 480P, or 576P.
:TRIGger:VIDeo:STANdard NTSC /*Select NTSC video standard*/
:TRIGger:VIDeo:STANdard? /*The query returns NTSC*/

Set or query the trigger level in video trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level value.
string - The query returns the trigger level in scientific notation.
:TRIGger:VIDeo:LEVel 0.16
:TRIGger:VIDeo:LEVel?
:TRIGger:PATTernset / query

Command list entry for trigger pattern settings. The page slice only references the subcommands :TRIGger:PATTern:PATTern and :TRIGger:PATTern:LEVel, but does not document the command itself.

Sets or queries the pattern for each channel in pattern trigger. The query returns the patterns of the 4 analog channels, or all 20 channels when any digital channel is on.

NameTypeValuesDescription
pa_ch1enumH | L | X | R | FPattern state for CH1.
pa_ch2optenumH | L | X | R | FPattern state for CH2.
pa_ch3optenumH | L | X | R | FPattern state for CH3.
pa_ch4optenumH | L | X | R | FPattern state for CH4.
pa_d0optenumH | L | X | R | FPattern state for digital channel D0.
pa_d1optenumH | L | X | R | FPattern state for digital channel D1.
pa_d2optenumH | L | X | R | FPattern state for digital channel D2.
pa_d3optenumH | L | X | R | FPattern state for digital channel D3.
pa_d4optenumH | L | X | R | FPattern state for digital channel D4.
pa_d5optenumH | L | X | R | FPattern state for digital channel D5.
pa_d6optenumH | L | X | R | FPattern state for digital channel D6.
pa_d7optenumH | L | X | R | FPattern state for digital channel D7.
pa_d8optenumH | L | X | R | FPattern state for digital channel D8.
pa_d9optenumH | L | X | R | FPattern state for digital channel D9.
pa_d10optenumH | L | X | R | FPattern state for digital channel D10.
pa_d11optenumH | L | X | R | FPattern state for digital channel D11.
pa_d12optenumH | L | X | R | FPattern state for digital channel D12.
pa_d13optenumH | L | X | R | FPattern state for digital channel D13.
pa_d14optenumH | L | X | R | FPattern state for digital channel D14.
pa_d15optenumH | L | X | R | FPattern state for digital channel D15.
enum - Returns the patterns of the 4 analog channels when all digital channels are off, or the patterns of all 20 channels when any digital channel is on. Multiple channel patterns are separated by commas.
:TRIGger:PATTern:PATTern H,R,L,X /*Set the patterns of CH1 to CH4 to H,R,L,X. The patterns of the other channels remain unchanged*/
:TRIGger:PATTern:PATTern? /*The query returns
H,R,L,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X*/

Sets or queries the trigger level of the specified channel in pattern trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
chandiscreteCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Specified channel for the pattern trigger level.
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level to set for the specified channel.
real - The query returns the trigger level in scientific notation.
:TRIGger:PATTern:LEVel CHANnel2,0.16 /*Set the trigger level of CH2 to 160mV*/
:TRIGger:PATTern:LEVel? CHANnel2 /*The query returns 1.600000e-01*/

Sets or queries the trigger source in duration trigger. The source can be one of the digital channels D0-D15 or CHANnel1-CHANnel4.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source to use for duration trigger.

Sets or queries the trigger source in duration trigger. When certain digital channels are on, some analog channels cannot be selected.

NameTypeValuesDescription
sourcediscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source to select.
enum - The query returns the currently selected trigger source.
:TRIGger:DURATion:SOURce CHANnel2 /*Set the trigger source to CH2*/
:TRIGger:DURATion:SOURce? /*The query returns CHAN2*/

Sets or queries the pattern of each channel in duration trigger. For queries, it returns the patterns of the 4 analog channels when all digital channels are off, or all 20 channels when any digital channel is on.

NameTypeValuesDescription
type_ch1enumH | L | XPattern for analog channel CH1.
type_ch2optenumH | L | XPattern for analog channel CH2.
type_ch3optenumH | L | XPattern for analog channel CH3.
type_ch4optenumH | L | XPattern for analog channel CH4.
type_d0optenumH | L | XPattern for digital channel D0.
enum - Returns the patterns of the 4 analog channels or all the channels, separated by commas.
:TRIGger:DURATion:TYPe L,X,H,L /*Set the patterns of CH1 to CH4 to L,X,H,L. The
:TRIGger:DURATion:TYPe? /*The query returns

Sets or queries the trigger condition in duration trigger. The available conditions are GREater, LESS, and GLESs.

NameTypeValuesDescription
whenenumGREater | LESS | GLESsSelects the duration trigger condition.
enum - The query returns GRE, LESS, or GLES.
:TRIGger:DURATion:WHEN LESS
:TRIGger:DURATion:WHEN?

Sets or queries the duration time upper limit in duration trigger. The default unit is seconds, and the command is available when :TRIGger:DURATion:WHEN is LESS or GLESs.

NameTypeValuesDescription
<NR3>real8ns - 10sDuration time upper limit; valid range depends on the trigger condition.
string - The query returns the duration time upper limit in scientific notation.
:TRIGger:DURATion:TUPPer 0.000003
:TRIGger:DURATion:TUPPer?

Sets or queries the duration time lower limit in duration trigger. The default unit is seconds, and the command is available when :TRIGger:DURATion:WHEN is GREater or GLESs.

NameTypeValuesDescription
<NR3>real8ns - 9.99sDuration time lower limit.
real - The query returns the duration time lower limit in scientific notation.
:TRIGger:DURATion:TLOWer 0.000003
:TRIGger:DURATion:TLOWer?
:TRIGger:TIMeoutset / query

Selects the timeout trigger subsystem. The page slice only lists related subcommands for source, slope, and time, and does not provide standalone syntax or behavior for the parent command.

Sets or queries the trigger source used for timeout triggering.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Selects the trigger source.
enum - Returns the current timeout trigger source.
:TRIGger:TIMeout:SOURce CHANnel2
:TRIGger:TIMeout:SOURce?

Set or query the edge type in timeout trigger.

NameTypeValuesDescription
slopeenumPOSitive | NEGative | RFALlEdge type used by the timeout trigger.

Set or query the timeout time in timeout trigger. The default unit is s.

NameTypeValuesDescription
timeout timereal16ns - 10sTimeout time value.
string - The query returns the timeout time in scientific notation.
:TRIGger:TIMeout:TIMe 0.002 /*Set the timeout time to 2ms*/
:TRIGger:TIMeout:TIMe? /*The query returns 2.000000e-03*/
:TRIGger:RUNTset / query

Sets the runt trigger source, polarity, and related runt trigger settings listed on the page. This is the parent command for the RUNT trigger subsystem and has no direct syntax shown in the slice.

Set or query the trigger source in runt trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Selects the runt trigger source channel.
enum - The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
:TRIGger:RUNT:SOURce CHANnel2
:TRIGger:RUNT:SOURce?

Set or query the pulse polarity in runt trigger.

NameTypeValuesDescription
polarityenumPOSitive | NEGativeSelects whether the instrument triggers on the positive or negative runt pulse.
enum - The query returns POS or NEG.
:TRIGger:RUNT:POLarity NEGative
:TRIGger:RUNT:POLarity?

Sets or queries the qualifier used for runt trigger qualification. The query returns the current qualifier as NONE, GRE, LESS, or GLES.

NameTypeValuesDescription
whenenumNONE | GREater | LESS | GLESsQualifier for runt trigger condition selection.
enum - Returns the current runt trigger qualifier as NONE, GRE, LESS, or GLES.
:TRIGger:RUNT:WHEN LESS
:TRIGger:RUNT:WHEN?

Sets or queries the pulse width upper limit in runt trigger. The default unit is seconds, and the command is only available when the runt trigger qualifier is LESS or GLESs.

NameTypeValuesDescription
NR3real8ns - 10sPulse width upper limit for runt trigger.
real (s) - Returns the pulse width upper limit in scientific notation.
:TRIGger:RUNT:WUPPer 0.02
:TRIGger:RUNT:WUPPer?

Set or query the pulse width lower limit in runt trigger. The default unit is s.

NameTypeValuesDescription
<NR3>real8ns - 10sPulse width lower limit; when the qualifier is GREater the range is 8 ns to 10 s, and when the qualifier is GLESs the range is 8 ns to 9.99 s.
string - The query returns the pulse width lower limit in scientific notation.
:TRIGger:RUNT:WLOWer 0.01
:TRIGger:RUNT:WLOWer?

Set or query the trigger level upper limit in runt trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet
real - The query returns the trigger level upper limit in scientific notation.
:TRIGger:RUNT:ALEVel 0.16
:TRIGger:RUNT:ALEVel?

Sets or queries the trigger level lower limit for runt trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level lower limit.
string - The query returns the trigger level lower limit in scientific notation.
:TRIGger:RUNT:BLEVel 0.16 /*Set the trigger level lower limit to 160mV*/
:TRIGger:RUNT:BLEVel? /*The query returns 1.600000e-01*/
:TRIGger:WINDowsset / query

Root windows trigger command; the page slice only lists its subcommands and does not document a direct syntax, parameters, or return value for :TRIGger:WINDows itself.

Sets or queries the trigger source in window trigger mode.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Selects the trigger source channel.
enum - Returns the current trigger source as CHAN1, CHAN2, CHAN3, or CHAN4.
:TRIGger:WINDows:SOURce CHANnel2
:TRIGger:WINDows:SOURce?

Set or query the windows type in windows trigger.

NameTypeValuesDescription
typeenumPOSitive | NEGative | RFALlSelects the windows trigger slope/type.
enum - The query returns POS, NEG, or RFAL.
:TRIGger:WINDows:SLOPe NEGative
:TRIGger:WINDows:SLOPe?

Set or query the trigger position in windows trigger.

NameTypeValuesDescription
posenumEXIT | ENTER | TIMeSpecifies the trigger position mode in windows trigger.
enum - The query returns the trigger position mode.
:TRIGger:WINDows:POSition ENTER
:TRIGger:WINDows:POSition?

Sets or queries the hold time used in windows trigger. The query returns the hold time in scientific notation.

NameTypeValuesDescription
<NR3>real8ns - 10sHold time value for windows trigger.
real - The hold time in scientific notation.
:TRIGger:WINDows:TIMe 0.002
:TRIGger:WINDows:TIMe?

Set or query the trigger level upper limit in windows trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level upper limit.
string - The query returns the trigger level upper limit in scientific notation.
:TRIGger:WINDows:ALEVel 0.16
:TRIGger:WINDows:ALEVel?

Sets or queries the trigger level lower limit in windows trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal(-5 x VerticalScale - OFFSet) - (5 x VerticalScale - OFFSet)Trigger level lower limit.
string - The query returns the trigger level lower limit in scientific notation.
:TRIGger:WINDows:BLEVel 0.05
:TRIGger:WINDows:BLEVel?
:TRIGger:DELayset / query

Set the trigger source A in delay trigger. The query returns the current source as CHAN1, CHAN2, CHAN3, or CHAN4.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source A for delay trigger.
:TRIGger:DELay:SA CHANnel2
:TRIGger:DELay:SA?

Sets or queries trigger source A in delay trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source A for delay trigger.
enum - The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
:TRIGger:DELay:SA CHANnel2
:TRIGger:DELay:SA?

Set or query the edge type of edge A in delay trigger.

NameTypeValuesDescription
slopeenumPOSitive | NEGativeEdge type for delay trigger edge A.
enum - The query returns POS or NEG.
:TRIGger:DELay:SLOPA NEGative
:TRIGger:DELay:SLOPA?

Sets or queries trigger source B in delay trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source B for delay trigger.
enum - The query returns the selected channel as CHAN1, CHAN2, CHAN3, or CHAN4.
:TRIGger:DELay:SB CHANnel4
:TRIGger:DELay:SB?

Sets or queries the edge type of edge B in delay trigger.

NameTypeValuesDescription
slopeenumPOSitive | NEGativeSelects the slope for edge B in delay trigger.
enum - The query returns the edge type of edge B as POS or NEG.
:TRIGger:DELay:SLOPB NEGative
:TRIGger:DELay:SLOPB?

Sets or queries the delay type in delay trigger. The available types are GREater, LESS, GLESs, and GOUT.

NameTypeValuesDescription
typeenumGREater | LESS | GLESs | GOUTDelay trigger mode.
enum - Returns the current delay type as GOUT, GRE, LESS, or GLES.
:TRIGger:DELay:TYPe GOUT /*Set the delay type to ><*/
:TRIGger:DELay:TYPe? /*The query returns GOUT*/

Sets or queries the upper limit of the delay time in delay trigger. The default unit is seconds; the command is only available when the delay type is LESS, GOUT, or GLESs.

NameTypeValuesDescription
<NR3>real16ns - 10sUpper limit of the delay time.
real - The query returns the upper limit of the delay time in scientific notation.
:TRIGger:DELay:TUPPer 0.002
:TRIGger:DELay:TUPPer?

Sets or queries the lower limit of the delay time in delay trigger. The default unit is seconds.

NameTypeValuesDescription
delay time lower limitreal8ns - 10sLower limit of the delay time; the allowed range depends on the delay type.
real - Returns the lower limit of the delay time in scientific notation.
:TRIGger:DELay:TLOWer 0.002
:TRIGger:DELay:TLOWer?
:TRIGger:SHOLdset / query

Sets or queries the setup/hold trigger command group. The slice does not document a direct :TRIGger:SHOLd command body beyond its subcommands.

Sets or queries the data source used in setup/hold trigger. The query returns the selected channel identifier.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Data source for the setup/hold trigger.
enum - Returns the selected data source as CHAN1, CHAN2, CHAN3, or CHAN4.
:TRIGger:SHOLd:DSrc CHANnel1
:TRIGger:SHOLd:DSrc?

Set or query the clock source in setup/hold trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Selects the clock source.
enum - The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
:TRIGger:SHOLd:CSrc CHANnel2 /*Set the clock source to CH2*/
:TRIGger:SHOLd:CSrc? /*The query returns CHAN2*/

Set or query the edge type in setup/hold trigger.

NameTypeValuesDescription
slopeenumPOSitive | NEGativeEdge type for the setup/hold trigger.
:TRIGger:SHOLd:SLOPe NEGative /*Set the edge type to falling edge*/
:TRIGger:SHOLd:SLOPe? /*The query returns NEG*/

Set or query the data type in setup/hold trigger.

NameTypeValuesDescription
patternenumH | LSelects the data level used for the setup/hold trigger pattern.
enum - The query returns H or L.
:TRIGger:SHOLd:PATTern L
:TRIGger:SHOLd:PATTern? /*The query returns L*/

Set or query the setup type in setup/hold trigger.

NameTypeValuesDescription
typeenumSETup | HOLd | SETHOLdSelects the setup/hold trigger mode.
enum - The query returns SET, HOL, or SETHOL.
:TRIGger:SHOLd:TYPe SETHOLd
:TRIGger:SHOLd:TYPe?

Sets or queries the setup time in setup/hold trigger. The default unit is seconds and the command is only available when the setup type is SETup or SETHOLd.

NameTypeValuesDescription
<NR3>real8ns - 1sSetup time value.
string - The query returns the setup time in scientific notation.
:TRIGger:SHOLd:STIMe 0.002 /*Set the setup time to 2ms*/
:TRIGger:SHOLd:STIMe? /*The query returns 2.000000e-03*/

Sets or queries the hold time in setup/hold trigger. The default unit is seconds, and the command is only available when the setup type is HOLD or SETHOLd.

NameTypeValuesDescription
<NR3>real8ns - 1sHold time value.
string - The query returns the hold time in scientific notation.
:TRIGger:SHOLd:HTIMe 0.002 /*Set the hold time to 2ms*/
:TRIGger:SHOLd:HTIMe? /*The query returns 2.000000e-03*/
:TRIGger:NEDGeset / query

Selects the Nth edge trigger subsystem. The slice only documents the related source and slope subcommands, not any direct parameters for this command.

Sets or queries the trigger source used for Nth edge triggering. The allowed sources are the digital channels D0 to D15 or CHANnel1 to CHANnel4, with channel-selection restrictions noted in the explanation.

NameTypeValuesDescription
sourcediscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source for Nth edge trigger.
enum - Returns the current trigger source. The query returns D0 through D15 or CHAN1 through CHAN4.
:TRIGger:NEDGe:SOURce CHANnel2 /*Set the trigger source to CH2*/
:TRIGger:NEDGe:SOURce? /*The query returns CHAN2*/

Set or query the edge type in Nth edge trigger.

NameTypeValuesDescription
slopeenumPOSitive | NEGativeSelects whether the trigger occurs on the rising or falling edge.
enum - The query returns POS or NEG.
:TRIGger:NEDGe:SLOPe NEGative /*Set the edge type to falling edge*/
:TRIGger:NEDGe:SLOPe? /*The query returns NEG*/

Sets or queries the idle time in Nth edge trigger. The default unit is seconds.

NameTypeValuesDescription
idle timereal16ns - 10sIdle time in Nth edge trigger.
real - Returns the idle time in scientific notation.
:TRIGger:NEDGe:IDLE 0.002
:TRIGger:NEDGe:IDLE?

Set or query the number of edges in Nth edge trigger.

NameTypeValuesDescription
NR1integer1 - 65535
:TRIGger:NEDGe:EDGE 20
:TRIGger:NEDGe:EDGE?

Set or query the trigger level in Nth edge trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level to set for the Nth edge trigger.
real - The query returns the trigger level in scientific notation.
[?
:TRIGger:RS232set / query

Sets or queries the trigger source used for RS232 trigger. The source can be one of the digital channels D0-D15 or CHANnel1-CHANnel4, subject to channel availability constraints.

NameTypeValuesDescription
sourcediscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Trigger source in RS232 trigger.

Sets or queries the trigger source for RS232 triggering.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Selects the RS232 trigger source.
enum - Returns the current trigger source as one of the discrete source identifiers.
:TRIGger:RS232:SOURce CHANnel2 /*Set the trigger source to CH2*/
:TRIGger:RS232:SOURce? /*The query returns CHAN2*/

Sets or queries the trigger condition in RS232 trigger. The setting selects whether triggering occurs on the start frame position, error frame, parity check error, or data bit position.

NameTypeValuesDescription
whenenumSTARt | ERRor | PARity | DATATrigger condition to use for RS232 triggering.
enum - Returns the current trigger condition as STAR, ERR, PAR, or DATA.
:TRIGger:RS232:WHEN ERRor
:TRIGger:RS232:WHEN?

Set or query the parity type used for RS232 trigger conditions ERRor or PARity. When the trigger condition is PARity, NONE is not allowed and the default parity type is ODD.

NameTypeValuesDescription
parityenumEVEN | ODD | NONEParity type for the RS232 trigger.
enum - The query returns the current parity type.
:TRIGger:RS232:PARity EVEN
:TRIGger:RS232:PARity?

Sets or queries the stop bit used when the RS232 trigger condition is ERROR. The query returns 1 or 2.

NameTypeValuesDescription
bitinteger1 | 2Stop bit value.
integer - The stop bit value.
:TRIGger:RS232:STOP 2
:TRIGger:RS232:STOP?

Sets or queries the RS232 trigger data value used when the trigger condition is DATA. The query returns an integer.

NameTypeValuesDescription
datainteger0 - 2n-1Data value to compare against in the RS232 DATA trigger condition.
integer - Returns the current RS232 trigger data value.
:TRIGger:RS232:DATA 10
:TRIGger:RS232:DATA?

Set or query the data bits when the trigger condition is DATA in RS232 trigger.

NameTypeValuesDescription
widthenum5 | 6 | 7 | 8Number of data bits to use for the RS232 trigger condition.
enum - The query returns 5, 6, 7, or 8.
:TRIGger:RS232:WIDTh 6
:TRIGger:RS232:WIDTh?

Sets or queries the baud rate used for RS232 trigger. The default unit is bps.

NameTypeValuesDescription
baud_rateenum2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200 | 230400 | 460800 | 921600 | 1000000 | USERBaud rate selection for the RS232 trigger.
enum - Returns the baud rate as an integer value or USER.
:TRIGger:RS232:BAUD 4800 /*Set the baud rate to 4800bps*/
:TRIGger:RS232:BAUD? /*The query returns 4800*/

Set or query the user-defined baud rate in RS232 trigger. The default unit is bps.

NameTypeValuesDescription
user baudinteger110 - 20000000User-defined baud rate value.
integer - The query returns an integer.
:TRIGger:RS232:BUSer 50000
:TRIGger:RS232:BUSer?

Set or query the trigger level in RS232 trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level for the RS232 trigger.
real - The query returns the trigger level in scientific notation.
:TRIGger:RS232:LEVel 0.16 /*Set the trigger level to 160mV*/
:TRIGger:RS232:LEVel? /*The query returns 1.600000e-01*/
:TRIGger:IICset / query

Sets or queries the channel source of SCL in I2C trigger.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Channel source for SCL in the I2C trigger.
enum - Returns the selected SCL source as D0 through D15 or CHAN1 through CHAN4.
:TRIGger:IIC:SCL CHANnel2 /*Set the SCL source to CH2*/
:TRIGger:IIC:SCL? /*The query returns CHAN2*/
:TRIGger:IIC:SCLset / query

Sets or queries the channel source of SCL in the I2C trigger.

NameTypeValuesDescription
sourcediscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Channel source for SCL in the I2C trigger.
enum - Returns the selected source as one of D0 through D15 or CHAN1 through CHAN4.
:TRIGger:IIC:SCL CHANnel2 /*Set the SCL source to CH2*/
:TRIGger:IIC:SCL? /*The query returns CHAN2*/
:TRIGger:IIC:SDAset / query

Sets or queries the channel source of SDA in the I2C trigger.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Channel source used for SDA in the I2C trigger.
enum - The query returns the selected source as D0 through D15 or CHAN1 through CHAN4.
:TRIGger:IIC:SDA CHANnel2
:TRIGger:IIC:SDA?

Set or query the trigger condition in I2C trigger.

NameTypeValuesDescription
trig_typeenumSTARt | RESTart | STOP | NACKnowledge | ADDRess | DATA | ADATaTrigger condition to use for the I2C trigger.
enum - The query returns one of STAR, STOP, NACK, REST, ADDR, DATA, or ADAT.
:TRIGger:IIC:WHEN RESTart
:TRIGger:IIC:WHEN?

Sets or queries the address bits used for I2C trigger when the trigger condition is ADDRess or ADATa.

NameTypeValuesDescription
bitsenum7 | 8 | 10Address bit width to use for the trigger.
integer - Returns the selected address bit width.
:TRIGger:IIC:AWIDth 10
:TRIGger:IIC:AWIDth?

Sets or queries the I2C trigger address when the trigger condition is ADDRess or ADATa. The valid range depends on the current address-bit setting.

NameTypeValuesDescription
adrinteger0 - 2^n-1I2C trigger address value.
integer - Returns the current address value.
:TRIGger:IIC:ADDRess 100
:TRIGger:IIC:ADDRess?

Set or query the data direction when the trigger condition is ADDRess or ADATa in I2C trigger.

NameTypeValuesDescription
direnumREAD | WRITe | RWRiteData direction for the I2C trigger.
enum - The query returns READ, WRIT, or RWR.
:TRIGger:IIC:DIRection RWRite /*Set the data direction to read/write*/
:TRIGger:IIC:DIRection? /*The query returns RWR*/

Set or query the data when the trigger condition is DATA or ADATa in I2C trigger.

NameTypeValuesDescription
datainteger0 - 2^40-1Data value to store for the I2C trigger condition.
integer - The query returns an integer.
:TRIGger:IIC:DATA 64
:TRIGger:IIC:DATA?

Sets or queries the trigger level of SCL in I2C trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level of SCL in I2C trigger.
string - The query returns the trigger level of SCL in scientific notation.
:TRIGger:IIC:CLEVel 0.16
:TRIGger:IIC:CLEVel? /*The query returns 1.600000e-01*/

Set or query the trigger level of SDA in I2C trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level of SDA.
string - The query returns the trigger level of SDA in scientific notation.
:TRIGger:IIC:DLEVel 0.16
:TRIGger:IIC:DLEVel?
:TRIGger:SPIset / query

Sets or queries the channel source used for SCL in SPI trigger setup.

NameTypeValuesDescription
sourcediscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Channel source for SCL in the SPI trigger.
discrete - Returns the selected source as D0 through D15 or CHAN1 through CHAN4.
:TRIGger:SPI:SCL CHANnel1 /*Set the channel source of SCL to CH1*/
:TRIGger:SPI:SCL? /*The query returns CHAN1*/
:TRIGger:SPI:SCLset / query

Sets or queries the channel source of SCL in SPI trigger. When one or more of channels D0 to D7 is turned on, CH4 cannot be selected; when one or more of D8 to D15 is turned on, CH3 cannot be selected.

NameTypeValuesDescription
sourcediscreteD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Channel source of SCL in SPI trigger.
:TRIGger:SPI:SCL CHANnel1
:TRIGger:SPI:SCL?
:TRIGger:SPI:SDAset / query

Sets or queries the channel source of SDA in SPI trigger. When channels D0 to D7 are on, CH4 cannot be selected; when D8 to D15 are on, CH3 cannot be selected.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Channel source for SDA in SPI trigger.
enum - Returns the current SDA channel source.
:TRIGger:SPI:SDA CHANnel2
:TRIGger:SPI:SDA?

Set or query the trigger condition in SPI trigger. When the trigger condition is set to TIMeout, the :TRIGger:SPI:TIMeout command is used to set the timeout value.

NameTypeValuesDescription
trig_typeenumCS | TIMeoutTrigger condition for SPI trigger.
enum - The query returns CS or TIM.
:TRIGger:SPI:WHEN TIMeout /*Set the trigger condition to TIMeout*/
:TRIGger:SPI:WHEN? /*The query returns TIM*/

Set or query the data bits of the SDA channel in SPI trigger.

NameTypeValuesDescription
widthinteger4 - 32Number of data bits for the SDA channel.
integer - The query returns an integer.
:TRIGger:SPI:WIDTh 10 /*Set the data bits of the SDA channel to 10*/
:TRIGger:SPI:WIDTh? /*The query returns 10*/

Sets or queries the SPI trigger data value. The valid range depends on the configured data bits, up to 32 bits.

NameTypeValuesDescription
datainteger0 - 2^32-1SPI trigger data value.
integer - The query returns an integer.
:TRIGger:SPI:DATA 5
:TRIGger:SPI:DATA?

Sets or queries the timeout value used when the SPI trigger condition is TIMeout. The default unit is seconds.

NameTypeValuesDescription
time_valuereal100ns - 1sTimeout value to use for the SPI trigger.
real - Returns the timeout value in scientific notation.
:TRIGger:SPI:TIMeout 0.001 /*Set the timeout value to 1ms*/
:TRIGger:SPI:TIMeout? /*The query returns 1.000000e-03*/

Set or query the clock edge used for SPI trigger sampling. POSitive samples SDA on the rising edge; NEGative samples SDA on the falling edge.

NameTypeValuesDescription
slopeenumPOSitive | NEGativeClock edge selection for SPI trigger sampling.
enum - Returns the current clock edge as POS or NEG.
:TRIGger:SPI:SLOPe POSitive
:TRIGger:SPI:SLOPe?

Sets or queries the trigger level of the SCL channel in SPI trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level for the SCL channel.
real - The query returns the trigger level of the SCL channel in scientific notation.
:TRIGger:SPI:CLEVel 0.16
:TRIGger:SPI:CLEVel?

Sets or queries the trigger level of the SDA channel in SPI trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level for the SDA channel.
string - The query returns the trigger level of the SDA channel in scientific notation.
:TRIGger:SPI:DLEVel 0.16
:TRIGger:SPI:DLEVel?

Sets or queries the trigger level of the CS channel in SPI trigger. The unit is the same as the current amplitude unit.

NameTypeValuesDescription
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level of the CS channel in SPI trigger.
real - The query returns the trigger level of the CS channel in scientific notation.
:TRIGger:SPI:SLEVel 0.16
:TRIGger:SPI:SLEVel?

Set or query the CS mode when the trigger condition is CS in SPI trigger.

NameTypeValuesDescription
modeenumHIGH | LOWCS mode.
enum - The query returns HIGH or LOW.
:TRIGger:SPI:MODE LOW /*Set the CS mode to low*/
:TRIGger:SPI:MODE? /*The query returns LOW*/
:TRIGger:SPI:CSset / query

Sets or queries the data source of the CS signal in SPI trigger. The query returns the currently selected source.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4Data source for the CS signal in SPI trigger.
enum - Returns the selected source as D0 through D15 or CHAN1 through CHAN4.
:TRIGger:SPI:CS CHANnel2 /*Set the data source of the CS signal to CH2*/
:TRIGger:SPI:CS? /*The query returns CHAN2*/

:WAVeform:SOURceset / query

Sets or queries which channel the waveform data is read from.

NameTypeValuesDescription
sourceenumD0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATHSelects the waveform source channel.
enum - Returns the currently selected waveform source.
:WAVeform:SOURce CHANnel2 /*Set the channel to CH2*/
:WAVeform:SOURce? /*The query returns CHAN2*/
:WAVeform:MODEset / query

Sets or queries the reading mode used by :WAVeform:DATA?.

NameTypeValuesDescription
modeenumNORMal | MAXimum | RAWSelects the waveform reading mode.
enum - Returns the current waveform reading mode.
:WAVeform:MODE RAW
:WAVeform:MODE?
:WAVeform:FORMatset / query

Set or query the return format of the waveform data.

NameTypeValuesDescription
formatenumWORD | BYTE | ASCiiSelects the waveform data return format.
enum - The query returns WORD, BYTE, or ASC.
:WAVeform:FORMat WORD
:WAVeform:FORMat?

Reads the waveform data. The returned format depends on the currently selected waveform data format: WORD/BYTE returns a TMC data block, and ASCII returns voltage values separated by commas.

block - Returns waveform data in a format determined by :WAVeform:FORMat. WORD or BYTE format returns a TMC data description header followed by waveform data; ASCII format returns the actual voltage values of each waveform point in scientific notation, separated by commas.
:WAV:DATA?

Queries the time difference between two neighboring points of the specified channel source in the X direction. The returned value depends on the current data reading mode and is returned in scientific notation.

real - The XINCrement value in scientific notation; its meaning and unit depend on the current data reading mode and channel source.
:WAVeform:XINCrement? /*The query returns 1.000000e-08*/

Queries the start time of the waveform data for the currently selected X-direction source. The returned value depends on the current data reading mode and is given in scientific notation.

real - The XORigin value in scientific notation.
:WAVeform:XORigin? /*The query returns -6.000000e-06*/

Queries the reference time of the specified channel source in the X direction. The query returns 0, meaning the first point on the screen or in internal memory.

integer - Returns 0 (the first point on the screen or in internal memory).

Queries the waveform increment of the specified channel source in the Y direction. The unit is the same as the current amplitude unit, and the return value depends on the current data reading mode.

real - The query returns the YINCrement in scientific notation.
:WAVeform:YINCrement? /*The query returns 8.000000e-03*/

Queries the vertical offset relative to the vertical reference position of the specified channel source in the Y direction. The return value depends on the current data reading mode.

integer - Returns the Y-origin as an integer.
:WAVeform:YORigin? /*The query returns 25*/

Queries the vertical reference position of the specified channel source in the Y direction. The value is always 127.

integer - Returns 127.
:WAVeform:STARtset / query

Sets or queries the start point of waveform data reading. The actual valid range depends on the oscilloscope memory depth and selected waveform data return format.

NameTypeValuesDescription
stainteger1 - 1200Start point of waveform data reading.
integer - Returns the current start point.
:WAVeform:STARt 100 /*Set the start point to 100*/
:WAVeform:STARt? /*The query returns 100*/
:WAVeform:STOPset / query

Set or query the stop point of waveform data reading.

NameTypeValuesDescription
stopinteger1 - 1200Stop point for waveform data reading.
None

Queries and returns all waveform parameters for the currently selected waveform data format.

string - Returns 10 waveform parameters separated by commas: <format>,<type>,<points>,<count>,<xincrement>,<xorigin>,<xreference>,<yincrement>,<yorigin>,<yreference>.
:WAVeform:PREamble? /*The query returns 0,2,6000000,1,1.000000e-09,-3.000000e-03,0,4.132813e-0 1,0,122*/