/

Rigol

/

Rigol DS1202Z-E

SCPI COMMAND REFERENCE

Rigol DS1202Z-E

Rigol DS1202Z-E

The Rigol DS1202Z-E is Rigol's oscilloscope in the DS1000Z-E Series Digital Oscilloscope family. Its SCPI remote-control interface exposes 394 commands across 26 subsystems - 336 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.

394

Commands

336

Settable

58

Queries

26

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 for optimum waveform display.

:CLEarset / query

Clear all the waveforms on the screen. If the oscilloscope is in the RUN state, 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

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

:SINGleset / query

Set the oscilloscope to the 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. This command 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 an integer between 2 and 1024.
:ACQuire:AVERages 128
:ACQuire:AVERages?
:ACQuire:MDEPthset / query

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

NameTypeValuesDescription
mdepenumAUTO | 12000 | 120000 | 1200000 | 12000000 | 24000000Memory depth setting.
enum (pts) - 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 acquisition mode of the oscilloscope.

NameTypeValuesDescription
typeenumNORMal | AVERages | PEAK | HRESolutionAcquisition mode to use.

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 front-panel keys are disabled.

Sets or queries the bandwidth limit parameter of the specified channel. OFF disables the bandwidth limit; 20M enables the 20 MHz limit.

NameTypeValuesDescription
ndiscrete1 | 2Specifies the channel number.
typeenum20M | OFFSets the channel bandwidth limit state.
enum - Returns the bandwidth limit state.
:CHANnel1:BWLimit 20M
:CHANnel1:BWLimit?

Sets or queries the coupling mode of the specified channel.

NameTypeValuesDescription
ndiscrete1 | 2
couplingenumAC | DC | GNDSelects the channel coupling mode.
enum - Returns the current 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
ndiscrete1 | 2
boolboolean1 | ON | 0 | OFFTurns the specified channel display on or off.
:CHANnel1:DISPlay ON
:CHANnel1:DISPlay?

Enables or disables waveform inversion for the specified channel, or queries the inversion status.

NameTypeValuesDescription
ndiscrete1 | 2Channel number.
boolenum1 | ON | 0 | OFFTurns waveform inversion on or off.
enum - Query returns the inversion 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 - 2Specifies the channel number.
offsetreal-1000V - +1000VSets the vertical offset of the specified channel; allowable range depends on probe ratio and vertical scale.
real - The query returns the vertical offset in scientific notation.
:CHANnel1:OFFSet 0.01
:CHANnel1:OFFSet?

Sets or queries the vertical range of the specified channel. The default unit is V.

NameTypeValuesDescription
ndiscrete1 | 2Specified channel number.
rangereal8mV - 80VVertical range; the allowed range depends on the probe ratio (1X: 8mV to 80V, 10X: 80mV to 800V).
real - The query returns the vertical range in scientific notation.
:CHANnel1:RANGe 8
:CHANnel1:RANGe?
: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 s.

NameTypeValuesDescription
ndiscrete1 | 2Specifies the channel number.
valreal-100ns - 100nsDelay calibration time to set; values are adjusted to the nearest allowed step for the current horizontal timebase.
real - Returns the delay calibration time in scientific notation.
:CHANnel1:TCAL 0.00000002
:CHANnel1:TCAL?

Set or query the vertical scale of the specified channel. The default unit is V, and the valid range depends on the current probe ratio.

NameTypeValuesDescription
ndiscrete1 | 2Channel number.
scalerealVVertical scale for the selected channel.
real - The query 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 range of the vertical scale.

NameTypeValuesDescription
ndiscrete1 | 2Channel number.
attendiscrete0.01 | 0.02 | 0.05 | 0.1 | 0.2 | 0.5 | 1 | 2 | 5 | 10 | 20 | 50 | 100 | 200 | 500 | 1000Probe attenuation ratio.
:CHANnel1:PROBe 10 /*Set the probe ratio of CH1 to 10X*/
:CHANnel1:PROBe? /*The query returns 1.000000e+01*/

Sets or queries the amplitude display unit of the specified channel.

NameTypeValuesDescription
ndiscrete-Channel number.
unitsenumVOLTage | WATT | AMPere | UNKNownAmplitude display unit.
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*/

Enable or disable the fine adjustment of the vertical scale of the specified channel, or query the fine adjustment status of the vertical scale of the specified channel.

NameTypeValuesDescription
ndiscrete1 | 2
boolboolean1 | ON | 0 | OFFEnables or disables fine adjustment of the vertical scale.
:CHANnel1:VERNier ON
:CHANnel1:VERNier?

:CURSor:MODEset / query

Sets or queries the cursor measurement mode. XY mode is valid only when the horizontal timebase mode is XY.

NameTypeValuesDescription
modeenumOFF | MANual | TRACk | AUTO | XYCursor measurement mode.
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 - The query returns the current cursor type.
:CURSor:MANual:TYPE Y
:CURSor:MANual:TYPE?

Sets or queries the cursor type in manual cursor measurement mode. X selects vertical cursors for time measurements; Y selects horizontal cursors for voltage measurements.

NameTypeValuesDescription
typeenumX | YSelects the manual cursor type.
enum - Returns the current manual cursor type.
:CURSor:MANual:TYPE Y /*select the Y type cursors*/
:CURSor:MANual:TYPE? /*The query returns Y*/

Sets or queries the channel source used by the manual cursor measurement mode. Only the currently enabled channel can be selected.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | MATHChannel source for manual cursor measurements.
enum - The query returns the selected source as CHAN1, CHAN2, or MATH.
:CURSor:MANual:SOURce CHANnel2 /*Set the channel source to CH2*/
:CURSor:MANual:SOURce? /*The query returns CHAN2*/

Sets or queries the horizontal unit in manual cursor measurement mode. The unit determines whether AX, BX, and BX-AX are shown in seconds, hertz, degrees, or percent.

NameTypeValuesDescription
unitenumS | HZ | DEGRee | PERCentHorizontal unit for manual cursor measurement results.
enum - 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*/

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

NameTypeValuesDescription
unitenumPERCent | SOURceSelects whether AY, BY, and BY-AY are expressed in percent or use the current source unit.
enum - The query returns PERC or SOUR.
:CURSor:MANual:VUNit PERCent /*Set the system to express AY, BY, and BY-AY in the measurement results in percentage*/
:CURSor:MANual:VUNit? /*The query returns PERC*/

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

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

Set or query the horizontal position of cursor B in the manual cursor measurement mode.

NameTypeValuesDescription
xinteger5 - 594Horizontal position of cursor B in manual cursor measurement mode.
integer - The query returns an integer between 5 and 594.
:CURSor:MANual:BX 200
:CURSor:MANual:BX?

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

NameTypeValuesDescription
yinteger5 - 394Vertical pixel position of cursor A.
integer - The query returns an integer between 5 and 394.
*:CURSor:MANual:AY 200
*:CURSor:MANual:AY?

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

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

Query the X value of cursor A in the 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*/

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

real - Returns the Y value of cursor A in scientific notation; when the signal source is CHANnel1|CHANnel2|MATH, it returns the Y value in scientific notation.
: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*/

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

real - Returns the Y value of cursor B in scientific notation; when the signal source is CHANnel1|CHANnel2|MATH, the returned value is the cursor B Y value.
*:CURSor:MANual:BYValue? /*The query returns -2.000000e+00*/

Query 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 value of the difference between the X values of cursor A and cursor B (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*/"
:CURSor:TRACkset / query

Sets or queries the channel source of cursor A in track cursor measurement mode.

NameTypeValuesDescription
sourceenumOFF | CHANnel1 | CHANnel2 | MATHChannel source for cursor A.
:CURSor:TRACk:SOURce1 CHANnel2 /*Set the channel source to CH2*/
:CURSor:TRACk:SOURce1? /*The query returns CHAN2*/

Queries the difference between the Y values of cursor A and cursor B (BY-AY) in manual cursor measurement mode. The unit depends on the currently selected vertical unit, and the result is returned in scientific notation when the source is CHANnel1, CHANnel2, or MATH.

real - Returns the Y-value difference between cursor B and cursor A (BY-AY) in scientific notation when the signal source is CHANnel1, CHANnel2, or MATH.
:CURSor:MANual:YDELta? /*The query returns -4.000000e+00*/

Set or query the channel source of cursor A in the track cursor measurement mode. Only enabled channels can be selected as the source.

NameTypeValuesDescription
sourceenumOFF | CHANnel1 | CHANnel2 | MATHChannel source for cursor A.
enum - Returns the selected source as OFF, CHAN1, CHAN2, or MATH.
:CURSor:TRACk:SOURce1 CHANnel2
:CURSor:TRACk:SOURce1?

Set or query the channel source of cursor B in track cursor measurement mode. Only enabled channels can be selected.

NameTypeValuesDescription
sourceenumOFF | CHANnel1 | CHANnel2 | MATHChannel source for cursor B.
enum - The query returns OFF, CHAN1, CHAN2, or MATH.
:CURSor:TRACk:SOURce2 CHANnel2
:CURSor:TRACk:SOURce2?
:CURSor:TRACk:AXset / query

Sets or queries the horizontal position of cursor A in track cursor measurement mode. The position is defined by the screen pixel coordinate.

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

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

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

Query the vertical position of cursor A in track cursor measurement mode. The query returns 4294967295 when cursor A exceeds the vertical range of the screen display.

integer - The vertical position of cursor A, returned as an integer.
::CURSor:TRACk:AY? /*The query returns 284*/

Query the vertical position of cursor B in the track cursor measurement mode. The pixel coordinate screen range is from (0,0) to (600,400); if cursor B exceeds the vertical range of the display, the query returns 4294967295.

integer - The query returns the vertical position of cursor B as an integer.
:CURSor:TRACk:BY? /*The query returns 200*/

Query the X value of cursor A in the track cursor measurement mode. The default unit is s.

real - 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 channel unit currently selected.

real - The Y value of cursor A in scientific notation.

Queries the X value of cursor B in track cursor measurement mode. The default unit is seconds, and the value is returned in scientific notation.

real (s) - Returns 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 unit is the same as the currently selected channel unit.

real - Returns 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.

real (s) - The difference between the X values of cursor A and cursor B, returned 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 Y-value difference in scientific notation.
:CURSor:TRACk:YDELta? /*The query returns 8.000000e-01*/
:CURSor:AUTOset / query

The auto cursor function can measure waveform parameters; this command is the group heading for auto-cursor commands. The slice documents related subcommands, but not a direct setter/query action for :CURSor:AUTO itself.

Queries the reciprocal of the absolute value of the difference between the X values of cursor A and cursor B 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*/

Selects which auto-cursor measured parameter is active from the five parameters enabled last, or queries the currently measured parameter. The auto cursor function can measure 37 waveform parameters.

NameTypeValuesDescription
itemenumOFF | ITEM1 | ITEM2 | ITEM3 | ITEM4 | ITEM5Selects the parameter to be measured by the auto cursor.
enum - Returns the parameter currently measured by the auto cursor.
:CURSor:AUTO:ITEM?

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

integer - The horizontal position of cursor A, or 4294967295 when cursor A is not required.

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

integer - The horizontal position of cursor B in auto cursor measurement.

Queries the vertical position of cursor A in auto cursor measurement. The position is returned as a screen pixel coordinate, and if cursor A of Y type is not required for the measurement item, 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 position is expressed as a screen pixel coordinate, and the query returns 4294967295 when cursor B of Y type is not required for the selected measurement item.

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

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

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

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

real - Returns the Y value of cursor A in scientific notation. If cursor A of Y type is not required for the measurement item, the query returns 9.9E37.

Queries the X value of cursor B in auto cursor measurement. If cursor B of X type is not required for the selected measurement item, the query returns 9.9E37.

real - 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; when cursor B of Y type is not required for some measurement items, the query returns 9.9E37.

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

Sets or queries the XY cursor horizontal positions. The command group is only valid 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.

NameTypeValuesDescription
xinteger5 - 394Horizontal cursor position in the XY display area.
integer - Returns the horizontal cursor position as 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 the XY cursor measurement mode.

NameTypeValuesDescription
xinteger5 - 394Horizontal cursor B position in XY mode.
integer - The query returns 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 - 394
integer - The query returns an integer between 5 and 394.
:CURSor:XY:AY 200
:CURSor:XY:AY?
:CURSor:XY:BYset / query

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

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

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

real - Returns 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 XY cursor measurement mode. The unit depends on the amplitude unit of the corresponding channel.

real - 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 query returns 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 - Returns the Y value of cursor B in scientific notation.
:CURSor:XY:BYValue? /*The query returns -2.000000e+00*/

:DECoder<n>:MODEset / query

Sets or queries the decoder type for decoder <n>. The available modes are parallel, UART, SPI, and I2C decoding.

NameTypeValuesDescription
ndiscrete1 | 2
modeenumPARallel | UART | SPI | IICSelects the decoder type.
:DECoder1:MODE SPI
:DECoder1:MODE?

Turn on or off the decoder, or query the decoder status.

NameTypeValuesDescription
ndiscrete1 - 2
boolboolean1 | ON | 0 | OFFTurns the decoder display on or off.
integer - The query returns 1 or 0.
:DECoder1:DISPlay ON /*Turn on Decoder 1*/
:DECoder1:DISPlay? /*The query returns 1*/

Set or query the bus display format.

NameTypeValuesDescription
ndiscrete-Decoder index.
fmtenumHEX | ASCii | DEC | BIN | LINEBus display format.
enum - The query returns HEX, ASC, DEC, BIN, or LINE.
: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. The valid position range is 50 to 350.

NameTypeValuesDescription
ndiscrete1 | 2
posinteger50 - 350Vertical position of the bus on the screen.
integer - An integer between 50 and 350.
:DECoder1:POSition 350
:DECoder1:POSition?

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

NameTypeValuesDescription
ndiscrete1 | 2Decoder index.
threreal(-4 x VerticalScale - VerticalOffset) - (4 x VerticalScale - VerticalOffset)Threshold level for the specified analog channel.
real - The query returns the threshold level in scientific notation.
:DECoder1:THREshold:CHANnel1 1.5
:DECoder1:THREshold:CHANnel1?

Set the threshold level of the specified analog channel for a decoder. The query returns the level in scientific notation.

NameTypeValuesDescription
ndiscrete1 | 2Decoder index.
threreal-4 x VerticalScale - VerticalOffset - 4 x VerticalScale - VerticalOffsetThreshold level of the specified analog channel.
real - Returns the threshold level in scientific notation.
:DECoder1:THREshold:CHANnel1 1.5 /*Set the threshold level of CH1 to 1.5V*/
:DECoder1:THREshold:CHANnel1? /*The query returns 1.500000e+00*/

Turns the auto threshold function of the analog channels on or off, or queries its status. By default the function is on; turning it off allows the threshold level to be set manually.

NameTypeValuesDescription
ndiscrete1 | 2Decoder index.
boolenum1 | ON | 0 | OFFEnables or disables auto threshold.
enum - Returns 1 or 0 indicating the auto threshold status.
:DECoder1:THREshold:AUTO OFF /*Turn off the auto threshold function*/

Turns the label display function on or off, or queries its status. When enabled, the bus label is displayed at the lower-upper side of the bus (when bus display is on).

NameTypeValuesDescription
ninteger1 - 2Decoder number.
boolboolean1 | ON | 0 | OFFEnables or disables label display.
integer - The query returns 1 or 0.
:DECoder1:CONFig:LABel ON
:DECoder1:CONFig:LABel?

Turn on or off the bus display function, or query its status. When enabled, the bus is displayed on the screen and its vertical display position can be adjusted with :DECoder<n>:POSition.

NameTypeValuesDescription
<n>discrete1 - 2Decoder number.
<bool>boolean1 | ON | 0 | OFFTurns the bus display on or off.
integer - The query returns 1 or 0.
:DECoder1:CONFig:LINE OFF /*Turn off the bus display function*/
:DECoder1:CONFig:LINE? /*The query returns 0*/

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

NameTypeValuesDescription
<n>integer1 - 2Decoder number.
<bool>boolean1 | ON | 0 | OFFEnables or disables the format display function.
enum - The query returns the format display status as 1 or 0.

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

NameTypeValuesDescription
ninteger1 - 2Decoder number.
boolenum1 | ON | 0 | OFFEnables or disables the endian display function.
enum - Returns the current endian display function status as 1 or 0.
:DECoder1:CONFig:ENDian ON /*Turn on the endian display function*/
:DECoder1:CONFig:ENDian? /*The query returns 1*/

Turns the width display function on or off, or queries its status. When enabled, the width of each frame of data is shown at the right of the endian display when bus display is on.

NameTypeValuesDescription
ndiscrete1 - 2
boolboolean1|ON | 0|OFFTurns the width display function on or off.
integer - The query returns 1 or 0.
:DECoder1:CONFig:WIDth ON
:DECoder1:CONFig:WIDth?

Query the current digital sample rate. The digital sample rate is related to the currently selected data source; by default, the data source is "Trace" and the sample rate is related to the horizontal time base.

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

Sets the RS232 decoding parameters for decoder <n>. The command group includes TX, RX, polarity, endian, baud, width, stop, and parity settings.

Set or query the TX channel source of RS232 decoding. The TX and RX channel sources cannot both be set to OFF.

NameTypeValuesDescription
ndiscrete1 | 2Decoder index.
txenumCHANnel1 | CHANnel2 | OFFTX channel source for RS232 decoding.
enum - Returns the TX channel source state.
:DECoder1:UART:TX CHANnel2
:DECoder1:UART:TX?

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

NameTypeValuesDescription
ndiscrete1 | 2Decoder number selector.
rxenumCHANnel1 | CHANnel2 | OFFRX channel source for RS232 decoding.
:DECoder1:UART:RX CHANnel2
:DECoder1:UART:RX?

Sets or queries the polarity of RS232 decoding.

NameTypeValuesDescription
ndiscrete1 - 2Decoder number.
polenumNEGative | POSitivePolarity setting for RS232 decoding.
enum - Returns the decoder polarity.
:DECoder1:UART:POLarity NEGative
:DECoder1:UART:POLarity? /*The query returns NEG*/

Set or query the endian of RS232 decoding.

NameTypeValuesDescription
ndiscrete-Decoder number.
endianenumLSB | MSBEndian setting for RS232 decoding.
enum - The query returns LSB or MSB.
:DECoder1:UART:ENDian MSB /*Set the endian of RS232 decoding to MSB*/
:DECoder1:UART:ENDian? /*The query returns MSB*/

Set or query the baud rate of RS232 decoding. The default unit is bps (baud per second).

NameTypeValuesDescription
ndiscrete-
baudintegerbpsBaud rate for RS232 decoding.

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

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

Set or query the stop bit after each frame of data in RS232 decoding.

NameTypeValuesDescription
ndiscrete-
stopdiscrete1 | 1.5 | 2Stop bit value after each frame of data in RS232 decoding.
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*/

Sets or queries the parity check mode used for RS232 decoding. The query returns the current parity setting.

NameTypeValuesDescription
ndiscrete1 | 2Decoder index.
parityenumNONE | EVEN | ODDEven-odd check mode for the decoded data.
enum - Returns the current parity setting.
: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
ndiscrete1 | 2Decoder number.
clkenumCHANnel1 | CHANnel2Clock channel source for I2C decoding.

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

NameTypeValuesDescription
clkenumCHANnel1 | CHANnel2Signal source for the I2C clock channel.
enum - Returns the selected clock channel source as CHAN1 or CHAN2.
:DECoder1:IIC:CLK CHANnel1
:DECoder1:IIC:CLK?

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

NameTypeValuesDescription
datenumCHANnel1 | CHANnel2Signal source for the I2C data channel.
enum - The query returns the selected channel source.
:DECoder1:IIC:DATA CHANnel1
: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 include the R/W bit.

NameTypeValuesDescription
ndiscrete1 | 2
addrenumNORMal | RWSelects whether the decoded address includes the R/W bit.
enum - Returns the current address mode, NORM or RW.
:DECoder1:IIC:ADDRess RW /*Set the address of I2C decoding to include the R/W
bit*/
:DECoder1:IIC:ADDRess? /*The query returns RW*/

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

NameTypeValuesDescription
ndiscrete1 | 2
clkenumCHANnel1 | CHANnel2Signal source of the clock channel in SPI decoding.
enum - Returns the clock channel source as CHAN1 or CHAN2.
:DECoder1:SPI:CLK CHANnel1
:DECoder1:SPI:CLK?

Set or query the MISO channel source in SPI decoding.

NameTypeValuesDescription
ndiscrete1 - 2
misoenumCHANnel1 | CHANnel2 | OFFSelects the MISO channel source for SPI decoding.
:DECoder1:SPI:MISO <miso>
:DECoder1:SPI:MISO?

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

NameTypeValuesDescription
ndiscrete1 | 2Decoder number selector.
mosidiscreteCHANnel1 | CHANnel2 | OFFMOSI channel source for SPI decoding.
enum - The query returns the selected MOSI source.
:DECoder1:SPI:MOSI CHANnel1 /*Set the MOSI channel source in SPI decoding to
CH1*/
:DECoder1:SPI:MOSI? /*The query returns CHAN1*/

Sets or queries the CS channel source used for SPI decoding. This command is only valid in CS mode (:DECoder<n>:SPI:MODE).

NameTypeValuesDescription
ndiscrete1 | 2Decoder number.
csenumCHANnel1 | CHANnel2CS channel source.
enum - The query returns the CS channel source.
:DECoder1:SPI:CS CHANnel2
:DECoder1:SPI:CS?

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

NameTypeValuesDescription
ninteger1 - 2
CsNcsenumNCS | CSSelects whether NCS (low level valid) or CS (high level valid) is used as the chip-select polarity.
enum - The query returns the selected CS polarity.
:DECoder1:SPI:SELect CS
:DECoder1:SPI:SELect? /*The query returns CS*/

Set or query the frame synchronization mode of SPI decoding. In CS mode, frame synchronization is based on the chip select line; in TIMeout mode, it is based on the timeout time.

NameTypeValuesDescription
ninteger1 - 2Decoder index.
modeenumCS | TIMeoutFrame synchronization mode for SPI decoding.
enum - The query returns the current frame synchronization mode.
:DECoder1:SPI:MODE CS
:DECoder1:SPI:MODE?

Set or query the timeout time in the timeout mode of SPI decoding. The default unit is seconds.

NameTypeValuesDescription
ndiscrete1 | 2
tmorealsTimeout time used for SPI frame synchronization in timeout mode.

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

NameTypeValuesDescription
ninteger1 - 2Decoder number.
polenumNEGative | POSitivePolarity of the SDA data line.
enum - The query returns NEG or POS.
:DECoder1:SPI:POLarity NEG ative /*Set the polarity of the SDA data line in SPI decoding to negative*/
:DECoder1:SPI:POLarity? /*The query returns NEG*/

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

NameTypeValuesDescription
ninteger1 - 2
edgeenumRISE | FALL
enum - The query returns RISE or FALL.
:DECoder1:SPI:EDGE FALL /*Set the instrument to sample data on the falling edge
of the clock in SPI decoding*/
:DECoder1:SPI:EDGE? /*The query returns FALL*/

Sets or queries the endian used for SPI decoding data.

NameTypeValuesDescription
endianenumLSB | MSBSelects the SPI data endian.
enum - Returns the current endian setting.
:DECoder1:SPI:ENDian MSB
:DECoder1:SPI:ENDian?

Set or query the number of bits of each frame of data in SPI decoding.

NameTypeValuesDescription
<n>discrete1 | 2
widinteger8 - 32Number of bits in each SPI decoding frame.
integer - The query returns an integer between 8 and 32.
:DECoder1:SPI:WIDTh 16 /*Set the data width in SPI decoding to 16*/
:DECoder1:SPI:WIDTh? /*The query returns 16*/

Sets the parallel decoding parameters for decoder n. The page lists related subcommands for CLK, EDGE, WIDTh, BITX, SOURce, POLarity, NREJect, NRTime, CCOMpensation, and PLOT.

Sets or queries the CLK channel source for parallel decoding.

NameTypeValuesDescription
<n>integer1 - 2Decoder number.
<clk>enumCHANnel1 | CHANnel2 | OFFSelects the CLK channel source.
enum - The query returns the CLK channel source as CHAN1, CHAN2, or OFF.
:DECoder1:PARallel:CLK CHANnel1
:DECoder1:PARallel:CLK?

Sets or queries the edge type used by the clock channel when the instrument samples the data channel in parallel decoding.

NameTypeValuesDescription
edgeenumRISE | FALL | BOTHEdge type of the clock channel used for sampling in parallel decoding.
enum - Returns the current edge setting.
:DECoder1:PARallel:EDGE RISE
:DECoder1:PARallel:EDGE?

Set or query the data width, namely the number of bits of each frame of data, of the parallel bus.

NameTypeValuesDescription
nenum1 | 2
widinteger1 - 16
integer - The query returns an integer between 1 and 16.
:DECoder1:PARallel:WIDTh 16
:DECoder1:PARallel:WIDTh?

Set or query the data bit that requires a channel source on the parallel bus. The bit index is constrained by the current parallel data width.

NameTypeValuesDescription
ndiscrete1 | 2Decoder index.
bitinteger0 - (data width - 1)Current data bit index.
integer - The query returns the current data bit in integer.
:DECoder1:PARallel:BITX 2
:DECoder1:PARallel:BITX? /*The query returns 2*/

Set or query the channel source of the data bit currently selected.

NameTypeValuesDescription
src--Channel source for the selected data bit.

Set or query the data polarity of parallel decoding.

NameTypeValuesDescription
ninteger1 - 2
polenumNEGative | POSitiveSelects the data polarity: NEGative means the low level is 1, and POSitive means the high level is 1.
enum - The query returns NEG or POS.
:DECoder1:PARallel:POLarity NEGative /*Set the data polarity of parallel decoding to negative*/
:DECoder1:PARallel:POLarity? /*The query returns NEG*/

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

NameTypeValuesDescription
ninteger1 - 2Decoder number.
boolboolean1 | ON | 0 | OFFEnables or disables noise rejection.

Sets or queries the noise rejection time of parallel decoding. The default unit is seconds; before using it, turn on noise rejection with :DECoder<n>:PARallel:NREJect.

NameTypeValuesDescription
ndiscrete1 | 2Decoder index.
timereal0.00s - 100msNoise rejection time.
real - 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.

NameTypeValuesDescription
ndiscrete-
compreal-100ms - 100msClock compensation time for parallel decoding.
real - The query returns the compensation time in scientific notation.
:DECoder1:PARallel:CCOMpensation 0.01
:DECoder1:PARallel:CCOMpensation?

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

NameTypeValuesDescription
nenum1 | 2Decoder number selector.
boolboolean-Turns the parallel decode curve display on or off.
: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.

Read the data stream of the image currently displayed on the screen, with optional settings for color, invert display, and image format. The instrument returns the image data preceded by a TMC block header.

NameTypeValuesDescription
coloroptenumON | OFFColor image mode; ON denotes color and OFF denotes intensity-graded color.
invertoptenum1 | ON | 0 | OFFInvert display setting; 1|ON turns the invert function on and 0|OFF turns it off.
formatoptenumBMP24 | BMP8 | PNG | JPEG | TIFFFormat of the returned image data stream.
block - A data stream containing a TMC block header followed by the image data currently displayed on the screen.
:DISPlay:DATA? [<color>,<invert>,<format>]
:DISPlay:TYPEset / query

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

NameTypeValuesDescription
typeenumVECTors | DOTSSelects the waveform display mode.
enum - Returns the current display mode.
:DISPlay:TYPE DOTS /*Select dots display mode*/
:DISPlay:TYPE? /*The query returns DOTS*/

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 MIN, 0.1, 0.2, 0.5, 1, 5, 10, or INF.
:DISPlay:GRADing:TIME 0.1
:DISPlay:GRADing:TIME?

Set or query the waveform brightness.

NameTypeValuesDescription
timeinteger0 - 100Brightness level to set, from 0 to 100.
integer - The query returns an integer between 0 and 100.
*:DISPlay:WBRightness 50 /*Set the waveform brightness to 50%*/
*:DISPlay:WBRightness? /*The query returns 50*/
:DISPlay:GRIDset / query

Sets or queries the grid type of the screen display.

NameTypeValuesDescription
gridenumFULL | HALF | NONEGrid type to display.
:DISPlay:GRID NONE /*Turn the background grid and coordinate off*/
:DISPlay:GRID? /*The query returns NONE*/

Set or query 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 the decoding event table on or off, or queries its status. This command is only valid when the decoder is turned on (:DECoder<n>:DISPlay).

NameTypeValuesDescription
ndiscrete1 | 2Selects the decoding event table number.
boolenum1 | ON | 0 | OFFTurns the decoding event table on or off.
:ETABle1:DISP ON
:ETABle1:DISP?

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

NameTypeValuesDescription
ninteger1 - 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

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

NameTypeValuesDescription
ninteger1 - 2Event table index.
viewenumPACKage | DETail | PAYLoadDisplay mode of the event table.
enum - Returns the current event table display mode as PACK, DET, or PAYL.
:ETABle1:VIEW PAYLoad /*Set the display mode of the event table to PAYLoad*/
:ETABle1:VIEW? /*The query returns PAYL*/

Set or query the current column of the event table. The available column values depend on the selected decoder mode.

NameTypeValuesDescription
ndiscrete1 | 2
colenumDATA | TX | RX | MISO | MOSI
enum - The query returns DATA, TX, RX, MISO, or MOSI.
:ETABle1:COLumn DATA
:ETABle1:COLumn?
:ETABle<n>:ROWset / query

Set or query the current row of the event table.

NameTypeValuesDescription
ndiscrete1 | 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 /*Set the current row to 2*/
:ETABle1:ROW? /*The query returns 2*/
:ETABle<n>:SORTset / query

Set or query the display type of the decoding results in the event table.

NameTypeValuesDescription
ndiscrete1 | 2
sortenumASCend | DESCendControls whether events are displayed in chronological order or reverse chronological order.
enum - The query returns ASC or DESC.
:ETABle1:SORT DESCend
:ETABle1:SORT?

Reads the current event table data.

NameTypeValuesDescription
ndiscrete1 | 2Selects the event table to read.
definite_length_block - Returns the event table data in TMC data format with a description header followed by the valid data bytes.
: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 the 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.

Sets or queries the time interval between frames in waveform recording. The default unit is seconds.

NameTypeValuesDescription
intervalreal100ns - 10sTime interval between recorded waveform frames.
real - The query returns the time interval currently set in scientific notation.
:FUNCtion:WRECord:FINTerval 0.001
:FUNCtion:WRECord:FINTerval?

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 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*/

Starts or stops waveform recording, or queries the recording status. Before using it, waveform recording must be enabled with :FUNCtion:WRECord:ENABle.

NameTypeValuesDescription
optenumRUN | STOPSelects whether waveform recording starts or stops.
enum - Returns the waveform 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 its status. Waveform recording can only be enabled when the horizontal timebase mode is YT and the horizontal timebase is lower than 200 ms.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the waveform recording function.
: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 index for waveform playback.
integer - The query returns an integer.
:FUNCtion:WREPlay:FSTart 5
:FUNCtion:WREPlay:FSTart?

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

NameTypeValuesDescription
endinteger1 - the maximum number of frames recordedEnd frame of waveform playback.
integer - The query returns the end frame value.
:FUNCtion:WREPlay:FEND 4096 /*Set the end frame of waveform playback to
:FUNCtion:WREPlay:FEND? /*The query returns 4096*/

Queries the maximum number of frames that can be played, which is the same as the maximum number of frames recorded.

integer - The maximum number of frames can be played, namely the maximum number of frames recorded.
:FUNCtion:WREPlay:FMAX?

Sets or queries the time interval between frames in waveform playback. The default unit is seconds.

NameTypeValuesDescription
intervalreal100ns - 10sTime interval between frames in waveform playback.
real - Returns 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 cycle playback or single playback mode.
enum - Returns REP for repeat mode or SING for single mode.
:FUNCtion:WREPlay:MODE REPeat
:FUNCtion:WREPlay:MODE? /*The query returns REP*/

Sets or queries the waveform playback direction. FORWard means positive direction from the start frame to the end frame, and BACKward means negative direction from the end frame to the start frame.

NameTypeValuesDescription
direnumFORWard | BACKwardWaveform playback direction.
enum - Returns the playback direction as FORW or BACK.
:FUNCtion:WREPlay:DIRection FORWard
:FUNCtion:WREPlay:DIRection?

Start, pause, or stop the waveform playback, or query the status of the waveform playback.

NameTypeValuesDescription
optenumPLAY | PAUSe | STOPSelects the waveform playback operation.
:FUNCtion:WREPlay:OPERate PLAY /*Start the waveform playback*/
:FUNCtion:WREPlay:OPERate? /*The query returns PLAY if the playback is in progress and returns STOP if the playback finishes*/

Set or query the current frame in waveform playback.

NameTypeValuesDescription
curinteger1 - the maximum number of frames recordedCurrent frame number to select for 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-Integer value corresponding to the standard event status register enable bits; bit 1 and bit 6 are always treated as 0.
integer - The query returns an integer equal to the sum of the weights of all bits that have already been set in the register.
*ESE 16
*ESE?
*ESR?query

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

integer - The query returns an integer equal to the sum of the weights of all bits in the standard event status register.
*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 (bit 0) 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 constrained to decimal numbers corresponding to binary numbers XXXXXX00, with bit 0 and bit 1 always treated as 0.

NameTypeValuesDescription
valueinteger0 - 255Enable register value for the status byte register set.
integer - The query returns the integer 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 - Returns an integer equal to the sum of the weights of all bits in the register.
*TST?query

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

integer - Returns a decimal integer containing the self-test results.
*WAIset / query

Wait for the current operation to finish. Subsequent commands are executed only after the current command has completed.

: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 | OFFEnables or disables DHCP configuration mode.
enum - Returns the current DHCP configuration mode status as 1 or 0.
: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
boolenum1 | ON | 0 | OFFEnables or disables Auto IP configuration mode.
:LAN:GATewayset / query

Sets or queries the default gateway for the oscilloscope. The address must be entered as nnn,nnn,nnn,nnn, and the command is used in Auto IP or Static IP mode.

NameTypeValuesDescription
stringstring-Default gateway address in ASCII string form.
string - Returns the current gateway address 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. The address format is nnn,nnn,nnn,nnn and the command is valid in Auto IP or Static IP mode.

NameTypeValuesDescription
stringstring-DNS address in ASCII string format.
string - Returns the current DNS address as a string.

Queries the MAC address of the instrument. The address is displayed in the format 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 must 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
:LAN:MANual?
:LAN:INITiateset / query

Initiates the network parameters. Run this after confirming the oscilloscope is properly connected to the network.

:LAN:IPADdressset / query

Sets or queries the IP address of the instrument. The IP configuration mode must be static IP, and DHCP and auto IP must be disabled.

NameTypeValuesDescription
stringstring-IP address in nnn,nnn,nnn,nnn format; the first section must be 0 to 223 except 127, and the other three sections must be 0 to 255.
string - Returns the current IP address as a string.
:LAN:IPADdress 192.168.1.10
:LAN:IPADdress?
:LAN:SMASkset / query

Sets or queries the subnet mask. The subnet mask must be entered as an IPv4 address string in nnn,nnn,nnn,nnn format, and the instrument must be in static IP mode with DHCP and auto IP disabled.

NameTypeValuesDescription
stringstring-Subnet mask in nnn,nnn,nnn,nnn format.
string - Returns the current subnet mask as a string.
:LAN:SMASk 255.255.255.0
:LAN:SMASk?

Queries the current network configuration status.

enum - Returns the current network configuration status.

Queries the VISA address of the instrument.

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

Applies the network configuration.

:MATH:DISPlayset / query

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

NameTypeValuesDescription
boolboolean1 | ON | 0 | OFFEnables or disables the math operation function.
boolean - 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:OPERator INTG /*Set the operator of the math operation to integration*/
:MATH:OPERator? /*The query returns INTG*/
:MATH:SOURce1set / query

Sets or queries source A of an algebraic operation, functional operation, or the outer layer operation of a compound operation. When FX is selected, related FX source and operator commands can be used to set the inner layer operation.

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2 | FXSource selection for the operation.
enum - Returns the selected source.
:MATH:SOURce1 CHANnel2
:MATH:SOURce1?
:MATH:SOURce2set / query

Set or query source B of algebraic operation or the outer layer operation of a compound operation. When FX is selected, inner-layer source and operator commands can be used.

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2 | FXSelects the source for source B of an algebraic operation or the outer-layer operation of a compound operation.
enum - Returns the selected source.
:MATH:LSOUrce1set / query

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

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2Selects the source for logic operation A.
enum - The query returns CHAN1 or CHAN2.
:MATH:LSOUrce1 CHANnel1
:MATH:LSOUrce1?
:MATH:LSOUrce2set / query

Set or query source B of the logic operation. This command is only applicable to logic operations that require two signal sources.

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2Selects the source B signal channel.
enum - The query returns CHAN1 or CHAN2.
::MATH:LSOUrce2 CHANnel1
::MATH:LSOUrce2?
:MATH:SCALeset / query

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

NameTypeValuesDescription
scalereal1p - 5TVertical scale of the operation result.
:MATH:OFFSetset / query

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

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

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

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables inversion of the operation result display.
enum - Returns the inverted display mode status as 1 or 0.
:MATH:INVert <bool>
:MATH:INVert?
:MATH:RESetset / query

Resets the math operation result display scaling. The instrument adjusts the vertical scale of the operation result to the most proper value according to the current operator and the horizontal timebase of the source.

:MATH:FFT:SOURceset / query

Set or query the source of the FFT operation/filter.

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2FFT source.
enum - The query returns CHAN1 or CHAN2.
:MATH:FFT:SOURce CHANnel1 /* Set the source of FFT operation to CH1*/
:MATH:FFT:SOURce? /* The query returns CHAN1*/
:MATH:FFT:WINDowset / query

Set or query the window function of the FFT operation.

NameTypeValuesDescription
wndenumRECTangle | BLACkman | HANNing | HAMMing | FLATtop | TRIangleSelects the FFT window function.
enum - Returns the current window function as a short keyword.
:MATH:FFT:WINDow RECTangle
:MATH:FFT:WINDow?
:MATH:FFT:SPLitset / query

Enable or disable the half-screen display mode of the FFT operation, or query the status of that mode.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the FFT half-screen display mode.
enum - Returns the FFT half-screen display mode status as 1 or 0.
:MATH:FFT:SPLit OFF
:MATH:FFT:SPLit?
:MATH:FFT:UNITset / query

Set or query the vertical 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 - 1/20Horizontal scale of the FFT operation result.
string - The query returns the horizontal scale in scientific notation.
:MATH:FFT:HSCale 500000
:MATH:FFT:HSCale?

Set or query 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 rateCenter frequency of the FFT operation result.
real - The current center frequency in scientific notation.
:MATH:FFT:HCENter 10000000
:MATH:FFT:HCENter?
:MATH:FFT:MODEset / query

Sets or queries the FFT mode.

NameTypeValuesDescription
modeenumTRACe | MEMorySelects the data source used for the FFT operation.
enum - Returns the current FFT mode as TRAC or MEM.
:MATH:FFT:MODE TRACe
:MATH:FFT:MODE?

Set or query the filter type. The filter can be configured as low pass, high pass, band pass, or band stop.

NameTypeValuesDescription
typeenumLPASs | HPASs | BPASs | BSTOPSelects the filter type.
enum - Returns the current filter type as LPAS, HPAS, BPAS, or BSTOP.
:MATH:FILTer:W1set / query

Sets or queries the cutoff frequency (ωc1) for the low pass/high pass filter, or cutoff frequency 1 for 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 to set; the valid range depends on the selected filter type.
real - Returns the current cutoff frequency, or cutoff frequency 1, in scientific notation.
::MATH:FILTer:W1 1000000
::MATH:FILTer:W1?
:MATH:FILTer:W2set / query

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

NameTypeValuesDescription
freq2realHzCutoff frequency 2 for the band pass/band stop filter.
real - The query returns the current cutoff frequency 2 in scientific notation.

Sets or queries the start point of the waveform math operation. The command is invalid for FFT; sending it modifies the start points of all operations except FFT.

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

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

NameTypeValuesDescription
endinteger(Start point currently set+1) - 1199
integer - The query returns an integer.
:MATH:OPTion:END <end>
: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. This command is invalid for the FFT operation and has the same function as :MATH:INVert.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables inverted display mode.
integer - The query returns 1 or 0.
:MATH:OPTion:INVert ON /*Enable the inverted display mode*/
:MATH:OPTion:INVert? /*The query returns 1*/

Set or query the sensitivity of the logic operation. The default unit is div, namely the current vertical scale.

NameTypeValuesDescription
sensreal0 - 0.96Sensitivity of the logic operation.
real - The current sensitivity in scientific notation.
:MATH:OPTion:SENSitivity 0.24 /*Set the sensitivity of the logic operation to 0.24div*/
:MATH:OPTion:SENSitivity? /*The query returns 2.400000e-01*/

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 the auto scale status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables auto scale.
enum - The query returns the auto scale status as 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 (V) - The query returns the threshold level as a real value in volts.
:MATH:OPTion:THReshold1 <thre>
:MATH:OPTion:THReshold1?

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

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

Set or query source A of the inner layer operation of a compound operation.

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2Source selection for the inner layer operation.
enum - The query returns CHAN1 or CHAN2.

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

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2
enum - The query returns CHAN1 or CHAN2.
:MATH:OPTion:FX:SOURce2 CHANnel1
:MATH:OPTion:FX:SOURce2?

Set or query the operator of the inner layer operation of a 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

Enable or disable the pass/fail test, or query its status.

NameTypeValuesDescription
boolboolean1 | ON | 0 | OFFEnables or disables the pass/fail test.
integer - The query returns 1 or 0.
:MASK:ENABle ON /*Enable the pass/fail test*/
:MASK:ENABle? /*The query returns 1*/
:MASK:SOURceset / query

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

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Source channel for the pass/fail test.
:MASK:OPERateset / query

Run or stop the pass/fail test, or query its status. The pass/fail test must be enabled first with :MASK:ENABle.

NameTypeValuesDescription
operenumRUN | STOPSelects whether to run or stop the pass/fail test.
enum - Returns the current pass/fail test status.
:MASK:OPERate RUN /*Run the pass/fail test*/
:MASK:OPERate? /*The query returns RUN*/
:MASK:MDISplayset / query

Enables or disables the statistic information for the pass/fail test when the mask test is enabled. The query returns the current display status as 1 or 0.

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

Turns the "Stop on Fail" function on or off, or queries its status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFTurns the Stop on Fail function on or off.
enum - The query returns 1 or 0.
:MASK:SOOutput ON /*Turn the "Stop on Fail" function on*/
:MASK:SOOutput? /*The query returns 1*/
: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 on or off.
:MASK:OUTPut ON
:MASK:OUTPut?
: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 for 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 for the pass/fail test mask.
real - The query returns the vertical adjustment parameter in scientific notation.
:MASK:Y 0.36
:MASK:Y?
:MASK:CREateset / query

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

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

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

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

integer - The number of failed frames in the pass/fail test.

Query 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 and failed frames as well as the total number of frames in the pass/fail test to 0.

:MEASure:SOURceset / query

Set or query the source of the current measurement parameter.

NameTypeValuesDescription
sourenumCHANnel1 | CHANnel2 | MATHSelects the source used for measurement parameters.
enum - The query returns CHAN1, CHAN2, or MATH.
:MEASure:SOURce CHANnel2
:MEASure:SOURce?

Set or query the source of the frequency counter, or disable the frequency counter.

NameTypeValuesDescription
sourenumCHANnel1 | CHANnel2 | OFFSource for the frequency counter.
enum - The query returns CHAN1, CHAN2, or OFF.
:MEASure:COUNter:SOURce CHANnel2
:MEASure:COUNter:SOURce?

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

real (Hz) - The frequency counter measurement result in scientific notation. If the frequency counter is disabled, 0.0000000e+00 is returned.
: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 order is determined by the order in which they were turned on, and clearing items does not change that order.

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

Recover the measurement item which has been cleared.

NameTypeValuesDescription
itemdiscreteITEM1 | ITEM2 | ITEM3 | ITEM4 | ITEM5 | ALL
:MEASure:RECover ITEM1

Enable or disable the all measurement function, or query its status. The all measurement function can measure multiple waveform parameters at the same time.

NameTypeValuesDescription
boolboolean1 | ON | 0 | OFFEnable or disable the all measurement function.
boolean - Returns 1 when the all measurement function is enabled, or 0 when it is disabled.

Sets or queries the source(s) of the all measurement function.

NameTypeValuesDescription
srcenumCHANnel1 | CHANnel2 | MATHSource for the all measurement function.
enum - The query returns CHAN1, CHAN2, or MATH; multiple sources are separated by commas.
:MEASure:AMSource CHANnel1,CHANnel2
:MEASure:AMSource?

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

NameTypeValuesDescription
valueinteger7 - 95Upper limit of the threshold, in percent of amplitude.
integer - Returns the upper limit of the threshold as 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.
integer - The query returns 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, for time, delay, and phase measurements.

NameTypeValuesDescription
valueinteger5 - 93Lower threshold limit value.
:MEASure:SETup:MIN 53 /*Set the lower limit of the threshold to 53%*/
:MEASure:SETup:MIN? /*The query returns 53*/

Sets or queries source A for Phase 1→2 measurements.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Selects the source channel.
enum - Returns CHAN1 or CHAN2.
:MEASure:SETup:PSA CHANnel1
:MEASure:SETup:PSA?

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

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Selects the source channel for phase measurement B.
enum - Returns the current source as CHAN1 or CHAN2.
:MEASure:SETup:PSB CHANnel2
:MEASure:SETup:PSB? /*The query returns CHAN2*/

Sets or queries source A of Delay 1→2 measurements.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Source A for the delay measurement.
enum - The query returns CHAN1 or CHAN2.
:MEASure:SETup:DSA CHANnel1
:MEASure:SETup:DSA?

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

NameTypeValuesDescription
sourcediscreteCHANnel1 | CHANnel2Source B selection.
enum - The query returns CHAN1 or CHAN2.
:MEASure:SETup:DSB CHANnel2
:MEASure:SETup:DSB?

Enable or disable the statistic function, or query the status of the statistic function.

NameTypeValuesDescription
boolboolean1 | ON | 0 | OFFEnables or disables the statistic function.
integer - The query returns 1 or 0.
:MEASure:STATistic:DISPlay ON
:MEASure:STATistic:DISPlay?

Set or query the statistic mode.

NameTypeValuesDescription
modeenumDIFFerence | EXTRemumSelects the statistic mode.
:MEASure:STATistic:MODE <mode>
:MEASure:STATistic:MODE?

Enables the statistic function for a specified waveform parameter of a source, or queries the statistic result for that parameter. Single-source parameters need one source; two-source measurements 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 | NEDGesParameter to be measured or queried.
srcoptdiscreteCHANnel1 | CHANnel2 | MATHSource of the measurement parameter.
srcoptdiscreteCHANnel1 | CHANnel2 | MATHSecond source for two-source measurements.
typediscreteMAXimum | MINimum | CURRent | AVERages | DEViationStatistic result type to query.
:MEASure:ITEMset / query

Measures a waveform parameter of the specified source, or queries the measurement result for that parameter. Some items require one source and others require two; if omitted, the default sources are taken from the measurement source/setup commands.

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 item to be measured or queried.
srcoptdiscreteCHANnel1 | CHANnel2 | MATHSource of the parameter to be measured.
srcoptdiscreteCHANnel1 | CHANnel2 | MATHSecond source for measurements that require two sources.
numeric - The query returns the measurement result in scientific notation.
:MEASure:ITEM OVERshoot,CHANnel2 /*Enable the overshoot measurement of CH2*/
:MEASure:ITEM? OVERshoot,CHANnel2 /*The query returns 8.888889e-03*/

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

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the REF function.
:REFerence:DISPlay ON
:REFerence:DISPlay?

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

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10Specifies the reference channel number.
boolboolean-Enables or disables the selected reference channel.
:REFerence1:ENABle ON
:REFerence1:ENABle?

Sets or queries the source of the current reference channel. Only enabled channels can be selected as the source.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10Reference channel number.
sourceenumCHANnel1 | CHANnel2 | MATHSource selected for the current reference channel.
enum - Returns the current source as CHAN1, CHAN2, or MATH.
:REFerence1:SOURce CHANnel1
:REFerence1:SOURce?

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 reference channel; the valid range depends on the probe ratio.
real - The query returns 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 | 10Specifies the reference channel number.
offsetreal-10 x RefVerticalScale - 10 x RefVerticalScaleSets the vertical offset for 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 | 10Reference channel number to reset.

Select the current reference channel.

NameTypeValuesDescription
ndiscrete-Reference channel number to select.

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

NameTypeValuesDescription
ninteger1 - 10Reference channel number.

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

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10Reference channel number.
colorenumGRAY | GREEn | LBLue | Magenta | ORANgeDisplay color for the reference channel.
enum - The query returns the abbreviated color code for the current reference channel.
:REFerence1:COLor GREEn
:REFerence1:COLor?

Sets or queries the image type used when storing images.

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

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

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFTurns the image invert function on or off.
enum - Returns the invert status.
:STORage:IMAGe:INVERT ON /*Turn on the invert function when storing images*/
:STORage:IMAGe:INVERT? /*The query returns ON*/

Sets the image color used when storing images to color (ON) or intensity graded color (OFF), or queries the current image color setting.

NameTypeValuesDescription
boolenumON | OFFSelects whether stored images use color or intensity graded color.
enum - Returns the current image color setting as ON or OFF.
:STORage:IMAGe:COLor ON /*Set the image color when storing images to color*/
:STORage:IMAGe:COLor? /*The query returns ON*/

Enables or disables the AUTO key on the front panel, or queries the AUTO key status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables the AUTO key.
:SYSTem:AUToscale ON
:SYSTem:AUToscale?
:SYSTem:BEEPerset / query

Enables or disables the beeper, or queries its status.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFTurns the beeper on or off.
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 query returns the error message as "<message number>,<message content>".

string - Returns the error message in "<message number>,<message content>" format; <message number> is an integer and <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.

NameTypeValuesDescription
langenumSCHinese | TCHinese | ENGLish | PORTuguese | GERMan | POLish | KORean | JAPAnese | FRENch | RUSSianSystem language to select.
enum - Returns the current language code: SCH, TCH, ENGL, PORT, GERM, POL, KOR, JAPA, FREN, or RUSS.
:SYSTem:LANGuage SCHinese
: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 keyboard lock.
enum - The query returns the keyboard lock status as 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 | DEFaultConfiguration to recall on power-on.
enum - The query returns LAT or DEF.
:SYSTem:PON LATest
:SYSTem:PON?

Install an option license. The license is a 28-byte ASCII string; hyphens should be omitted and only uppercase letters and numbers are allowed.

NameTypeValuesDescription
licensestring-Option license to install.
:SYSTem:OPTion:INSTall PDUY9N9QTS9PQSWPLAETRD3UJHYA

Query the number of analog channels of the instrument.

integer - The query always returns 2.
:SYSTem:SETupset / query

Imports the oscilloscope setting parameters from a previously saved setup stream to restore the instrument to a specified setting. The query form returns the current setup data for export/import use.

NameTypeValuesDescription
setup_streamblock-The specified setting parameters of the oscilloscope; this must be the return value previously acquired from :SYSTem:SETup?.
block - Returns the oscilloscope setup data in binary format, preceded by a TMC data description header (#NXXXXXX;).

Enables or disables the delayed sweep, or queries the delayed sweep status.

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

Set or query the delayed timebase offset. The default unit is seconds.

NameTypeValuesDescription
offsetreal-(LeftTime - DelayRange/2) - (RightTime - DelayRange/2)Delayed timebase offset.
real (s) - The query returns the delayed timebase offset in scientific notation.
:TIMebase:DELay:OFFSet 0.000002
:TIMebase:DELay:OFFSet?

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

NameTypeValuesDescription
scalereal50/(current sample rate x amplification factor) - main timebase scale currently setDelayed timebase scale.
real - The query 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*/

Set or query the main timebase offset. The default unit is s.

NameTypeValuesDescription
offsetreal-0.5 x MemDepth/SampleRate - 10 x MainScaleMain timebase offset.
real - The query returns the main timebase offset in scientific notation.
:TIMebase:MAIN:OFFSet 0.0002 /*Set the main timebase offset to 20ms*/
:TIMebase:MAIN:OFFSet? /*The query returns 2.0000000e-04*/

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

NameTypeValuesDescription
scalereal5ns/div - 50s/divMain timebase scale.
string - The query returns the main timebase scale in scientific notation.
:TIMebase:MAIN:SCALe 0.0002
:TIMebase:MAIN:SCALe?
:TIMebase:MODEset / query

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

NameTypeValuesDescription
modeenumMAIN | XY | ROLLHorizontal timebase mode to select.
enum - The query returns the current horizontal timebase mode.
:TIMebase:MODE 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 | SPITrigger type to select.
:TRIGger:MODE SLOPe /*Select slope trigger*/
:TRIGger:MODE? /*The query returns SLOP*/

Selects or queries the trigger coupling type. It applies only to edge trigger with an analog channel source.

NameTypeValuesDescription
coupleenumAC | DC | LFReject | HFRejectSets the trigger coupling type.
enum - Returns the current trigger coupling type as AC, DC, LFR, or HFR.
:TRIGger:COUPling LFReject
:TRIGger:COUPling?

Queries the current trigger status.

enum - Returns the current trigger status.
:TRIGger:SWEepset / query

Set or query the trigger mode.

NameTypeValuesDescription
sweepenumAUTO | NORMal | SINGleSelects the trigger mode.
enum - The query returns AUTO, NORM, or SING.
:TRIGger:SWEep SINGle
:TRIGger:SWEep?
:TRIGger:HOLDoffset / query

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

NameTypeValuesDescription
valuereal16ns - 10sTrigger holdoff time to set.
real (s) - 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. Noise rejection reduces the possibility of noise trigger.

NameTypeValuesDescription
boolenum1 | ON | 0 | OFFEnables or disables noise rejection.
:TRIGger:NREJect ON /*Enable noise rejection*/
:TRIGger:NREJect? /*The query returns 1*/

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

integer - Returns the trigger position as an integer. -2 means the instrument is not triggered and there is no trigger position; -1 means the instrument is triggered outside internal memory; values greater than 0 are the position in internal memory corresponding to the trigger position.
:TRIGger:POSition? /*The query returns 100*/
:TRIGger:EDGeset / query

Sets or queries edge trigger settings. The slice lists the edge trigger source and slope subcommands under this command.

":TRIGger:EDGe:SOURce CHANnel1"
":TRIGger:EDGe:SOURce?"
":TRIGger:EDGe:SLOPe NEGative"
":TRIGger:EDGe:SLOPe?"

Sets or queries the trigger source used for edge trigger mode.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | ACTrigger source for edge trigger.
enum - The query returns the selected trigger source as CHAN1, CHAN2, or AC.
:TRIGger:EDGe:SOURce CHANnel1
:TRIGger:EDGe:SOURce?

Sets or queries the edge type in edge trigger.

NameTypeValuesDescription
slopeenumPOSitive | NEGative | RFALlSelects the edge polarity used for edge triggering.
enum - The query returns POS, NEG, or RFAL.
:TRIGger:EDGe:SLOPe NEGative
:TRIGger:EDGe:SLOPe?

Sets or queries 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 - OFFSetTrigger level to set for edge triggering.
real - The query returns the trigger level in scientific notation.
:TRIGger:EDGe:LEVel 0.16
:TRIGger:EDGe:LEVel?
:TRIGger:PULSeset / query

Set or query the pulse width trigger source. The query returns the current source as CHAN1 or CHAN2.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Trigger source for pulse width trigger.

Set or query the trigger source in pulse width trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Trigger source for pulse width trigger.
enum - The query returns CHAN1 or CHAN2.
: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. Different conditions use either a specified pulse width or upper and lower pulse widths, depending on the selected mode.

NameTypeValuesDescription
whenenumPGReater | PLESs | NGReater | NLESs | PGLess | NGLessTrigger condition for pulse width trigger.
enum - Returns the current trigger condition as PGR, PLES, NGR, NLES, PGL, or NGL.
:TRIGger:PULSe:WHEN NLESs
:TRIGger:PULSe:WHEN?

Sets or queries the pulse width in pulse width trigger. The default unit is s.

NameTypeValuesDescription
widthreal8ns - 10sPulse width to set.
string - The query returns the pulse width in scientific notation.
:TRIGger:PULSe:WIDTh 0.000003
:TRIGger:PULSe:WIDTh?

Sets or queries the upper pulse width in pulse width trigger. The default unit is seconds; the query returns the upper pulse width in scientific notation.

NameTypeValuesDescription
widthreal16ns - 10sUpper pulse width value to set.
real - The query returns the upper pulse width in scientific notation.
:TRIGger:PULSe:UWIDth 0.000003
:TRIGger:PULSe:UWIDth?

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

NameTypeValuesDescription
widthreal8ns - 9.99sLower pulse width value.
real - 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 - OFFSetTrigger level.
real - The query returns the trigger level in scientific notation.
:TRIGger:PULSe:LEVel 0.16
:TRIGger:PULSe:LEVel?
:TRIGger:SLOPeset / query

Set the trigger source or trigger condition in slope trigger. The command list shows related slope-trigger subcommands for time, limits, window, and levels.

Sets or queries the trigger source in slope trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Trigger source for slope trigger.
enum - Returns the current slope trigger source.
:TRIGger:SLOPe:SOURce CHANnel2
:TRIGger:SLOPe:SOURce?

Set or query the trigger condition in slope trigger. For PGReater/PLESs and NGReater/NLESs, a time value is required; for PGLess/NGLess, upper and lower time limits are used.

NameTypeValuesDescription
whenenumPGReater | PLESs | NGReater | NLESs | PGLess | NGLessSlope trigger condition.
enum - Returns the current slope-trigger condition as an abbreviated keyword.
:TRIGger:SLOPe:WHEN PGLess
:TRIGger:SLOPe:WHEN?

Sets or queries the time value used in slope trigger. The default unit is seconds.

NameTypeValuesDescription
timereal8ns - 10sTime value for the slope trigger.
:TRIGger:SLOPe:TIME 0.000003
:TRIGger:SLOPe:TIME?

Sets or queries the upper limit of the time in slope trigger. The default unit is seconds, and the query returns the upper limit in scientific notation.

NameTypeValuesDescription
timereal16ns - 10sUpper limit of the time in slope trigger.
string - 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-limit time value for the slope trigger.
string - The query returns the lower limit of the time in scientific notation.
:TRIGger:SLOPe:TLOWer 0.000003
:TRIGger:SLOPe:TLOWer?

Set or query the vertical window type in slope trigger.

NameTypeValuesDescription
windowenumTA | TB | TABVertical window type for slope trigger. TA adjusts only the upper limit, TB only the lower limit, and TAB adjusts both limits at the same time.
enum - 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.
real - The query returns the upper limit of the trigger level in scientific notation.
:TRIGger:SLOPe:ALEVel 0.16 /*Set the upper limit of the trigger level to 160mV*/
:TRIGger:SLOPe:ALEVel? /*The query returns 1.600000e-01*/

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 query returns the lower limit of the trigger level in scientific notation.
:TRIGger:SLOPe:BLEVel 0.16
:TRIGger:SLOPe:BLEVel?
:TRIGger:VIDeoset / query

Select or query the video trigger source in video trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Trigger source for video trigger.
:TRIGger:VIDeo:SOURce CHANnel2
:TRIGger:VIDeo:SOURce?

Selects the video trigger source, or queries the current source. The source can be set to channel 1 or channel 2.

NameTypeValuesDescription
sourcediscreteCHANnel1 | CHANnel2Video trigger source.
enum - The query returns the current trigger source as CHAN1 or CHAN2.
:TRIGger:VIDeo:SOURce CHANnel2
:TRIGger:VIDeo:SOURce?

Select or query the video polarity in video trigger.

NameTypeValuesDescription
polarityenumPOSitive | NEGativeVideo polarity to use for triggering.
enum - The query returns POS or NEG.
:TRIGger:VIDeo:POLarity POSitive /*Set or query the video polarity to positive*/
:TRIGger:VIDeo:POLarity? /*The query returns POS*/

Set or query the sync type in video trigger.

NameTypeValuesDescription
modeenumODDField | EVENfield | LINE | ALINesSync type used for video trigger.
enum - The query returns the current sync type as one of the listed keywords.
:TRIGger:VIDeo:MODE <mode>
:TRIGger:VIDeo:MODE?

Set or query the line number when the video trigger sync type is LINE. The valid line range depends on the selected video standard.

NameTypeValuesDescription
lineinteger1 - 525Line number to use for video trigger line selection.
integer - Returns the current line number.
:TRIGger:VIDeo:LINE 100
:TRIGger:VIDeo:LINE?

Sets or queries the video standard used by video trigger.

NameTypeValuesDescription
standardenumPALSecam | NTSC | 480P | 576PVideo standard to use for triggering.
enum - Returns the current video standard as PALSecam, NTSC, 480P, or 576P.
:TRIGger:VIDeo:STANdard <standard>
:TRIGger:VIDeo:STANdard?

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 for video trigger.
string - The query returns the trigger level in scientific notation.
:TRIGger:VIDeo:LEVel 0.16
:TRIGger:VIDeo:LEVel?
:TRIGger:PATTernset / query

Set or query the pattern of each channel in pattern trigger.

NameTypeValuesDescription
pa_ch1enumH | L | X | R | FPattern state for analog channel CH1.
pa_ch2optenumH | L | X | R | FPattern state for analog channel CH2.
:TRIGger:PATTern:PATTern H,R,L,X /*Set the pattern of CH1 to H. The pattern of CH2 remains unchanged*/
:TRIGger:PATTern:PATTern? /*The query returns H,X*/

Sets or queries the pattern of each channel in pattern trigger. When setting, <pa_ch1> and optional <pa_ch2> specify the CH1 and CH2 pattern states; omitted parameters leave the corresponding channel unchanged.

NameTypeValuesDescription
pa_ch1enumH | L | X | R | FPattern state for analog channel CH1.
pa_ch2optenumH | L | X | R | FPattern state for analog channel CH2.
enum - Returns the patterns of all channels, separated by commas.
:TRIGger:PATTern:PATTern H,R,L,X /*Set the pattern of CH1 to H. The pattern of CH2 remains unchanged*/
:TRIGger:PATTern:PATTern? /*The query returns H,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 | CHANnel2Specified channel.
levelreal-5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSetTrigger level to set.
real - The query returns the trigger level in scientific notation.
:TRIGger:PATTern:LEVel CHANnel2,0.16
:TRIGger:PATTern:LEVel? CHANnel2

Set or query the pattern of each channel in duration trigger. Users can send one or two channel pattern values; omitting the second parameter leaves CH2 unchanged.

NameTypeValuesDescription
type_ch1enumH | L | XPattern state for CH1.
type_ch2optenumH | L | XPattern state for CH2.

Sets or queries the trigger source used in duration trigger mode.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Trigger source for duration trigger.
enum - The query returns the trigger source as CHAN1 or CHAN2.
:TRIGger:DURATion:SOURce CHANnel2
:TRIGger:DURATion:SOURce?

Set or query the pattern of each channel in duration trigger. You can send one value to set CH1 only, or two comma-separated values to set both channels.

NameTypeValuesDescription
type_ch1enumH | L | XPattern state for CH1 in the duration trigger.
type_ch2optenumH | L | XPattern state for CH2 in the duration trigger.
enum - Returns the patterns of all channels, separated by commas.

Sets or queries the trigger condition in duration trigger. The condition determines whether the oscilloscope triggers when the pattern duration is greater than, less than, or within the specified time limits.

NameTypeValuesDescription
whenenumGREater | LESS | GLESsTrigger condition for duration trigger.
enum - Returns the current trigger condition as GRE, LESS, or GLES.
:TRIGger:DURATion:WHEN LESS
:TRIGger:DURATion:WHEN? /*The query returns LESS*/

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

NameTypeValuesDescription
NR3real8ns - 10sDuration time upper limit; valid range depends on the trigger condition (LESS or GLESs).
real - Returns the duration time upper limit in scientific notation.
:TRIGger:DURATion:TUPPer 0.000003
:TRIGger:DURATion:TUPPer?

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

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

Set or query the timeout trigger source, edge slope, or timeout time via the related subcommands. The command list shows the available subcommands for timeout triggering.

Set or query the trigger source in timeout trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Selects the timeout trigger source channel.
enum - The query returns CHAN1 or CHAN2.
:TRIGger:TIMeout:SOURce CHANnel2 /*Set the trigger source to CH2*/
:TRIGger:TIMeout:SOURce? /*The query returns CHAN2*/

Set or query the edge type in timeout trigger.

NameTypeValuesDescription
slopeenumPOSitive | NEGative | RFALlEdge type used to start timing when the input signal crosses the trigger level.
enum - The query returns POS, NEG, or RFAL.
:TRIGger:TIMeout:SLOPe NEGative
:TRIGger:TIMeout:SLOPe?

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

NameTypeValuesDescription
NR3real16ns - 10sTimeout time value.
real - The query returns the timeout time in scientific notation.
:TRIGger:TIMeout:TIMe 0.002
:TRIGger:TIMeout:TIMe? /*The query returns 2.000000e-03*/
:TRIGger:RUNTset / query

Selects the trigger source used for runt triggering, or queries the current source. The source can be set to channel 1 or channel 2.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Trigger source for runt trigger.
:TRIGger:RUNT:SOURce CHANnel2
:TRIGger:RUNT:SOURce?

Sets or queries the trigger source in runt trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Trigger source for runt trigger.
enum - The query returns CHAN1 or CHAN2.
:TRIGger:RUNT:SOURce CHANnel2 /*Set the trigger source to CH2*/
:TRIGger:RUNT:SOURce? /*The query returns CHAN2*/

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? /*The query returns NEG*/

Set or query the qualifier in the runt trigger.

NameTypeValuesDescription
whenenumNONE | GREater | LESS | GLESsQualifier for the runt trigger condition.
enum - The query returns 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; the valid range depends on the runt trigger qualifier.
real - Returns the pulse width upper limit in scientific notation.
:TRIGger:RUNT:WUPPer 0.02
:TRIGger:RUNT:WUPPer?

Sets or queries the pulse width lower limit in runt trigger. This command is only available when :TRIGger:RUNT:WHEN is GREater or GLESs.

NameTypeValuesDescription
<NR3>real8ns - 10sPulse width lower limit; range is 8 ns to 10 s when the qualifier is GREater.
real - 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 - OFFSetTrigger level upper limit for runt trigger.
real - 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 in 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 for runt trigger.
real - 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*/

Sets or queries the trigger source in windows trigger.

NameTypeValuesDescription
sourcediscreteCHANnel1 | CHANnel2Trigger source for windows trigger.
enum - The query returns CHAN1 or CHAN2.
:TRIGger:WINDows:SOURce CHANnel2
:TRIGger:WINDows:SOURce?

Sets or queries the windows trigger slope/type in the windows trigger system.

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

Sets or queries the trigger position in windows trigger. The position can be EXIT, ENTER, or TIMe.

NameTypeValuesDescription
posenumEXIT | ENTER | TIMeSelects when the trigger occurs relative to the specified trigger level range.
enum - Returns EXIT, ENTER, or TIM when queried.
:TRIGger:WINDows:POSition ENTER /*Set the trigger position to enter*/
:TRIGger:WINDows:POSition? /*The query returns ENTER*/

Set or query the hold time in windows trigger.

NameTypeValuesDescription
hold timereal8ns - 10sHold time for the windows trigger.
string - The query returns the hold time in scientific notation.
:TRIGger:WINDows:TIMe 0.002
:TRIGger:WINDows:TIMe?

Sets or queries 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?

Set or query 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 - OFFSetTrigger level lower limit.
real - The query returns the trigger level lower limit in scientific notation.
:TRIGger:WINDows:BLEVel 0.05
:TRIGger:WINDows:BLEVel?
:TRIGger:DELayset / query

Set or query the trigger source A in delay trigger. The command selects channel 1 or 2 as the source.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Trigger source A for delay trigger.

Sets or queries the trigger source A in delay trigger.

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

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

NameTypeValuesDescription
slopeenumPOSitive | NEGativeSelects the edge type for delay trigger edge A.

Sets or queries trigger source B in delay trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Selects the trigger source B.
enum - The query returns CHAN1 or CHAN2.
:TRIGger:DELay:SB CHANnel2 /*Set the trigger source B to CH2*/
:TRIGger:DELay:SB? /*The query returns CHAN2*/

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

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

Sets or queries the delay type in delay trigger.

NameTypeValuesDescription
typeenumGREater | LESS | GLESs | GOUTSelects the delay trigger comparison mode.
enum - The query returns the current delay type as GOUT, GRE, LESS, or GLES.
:TRIGger:DELay:TYPe GOUT
:TRIGger:DELay:TYPe?

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

NameTypeValuesDescription
NR3real16ns - 10sUpper limit of the delay time.
: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, and the command is only available when the delay type is GREater, GOUT, or GLESs.

NameTypeValuesDescription
<NR3>real8ns - 10sLower limit of the delay time; valid 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

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

NameTypeValuesDescription
sourcediscrete-Data source for the setup/hold trigger.
:TRIGger:SHOLd:DSrc CHANnel1 /*Set the data source to CH1*/
:TRIGger:SHOLd:DSrc? /*The query returns CHAN1*/

Sets or queries the data source in setup/hold trigger.

NameTypeValuesDescription
sourcediscrete-Data source selection.
enum - The query returns CHAN1 or CHAN2.
:TRIGger:SHOLd:DSrc CHANnel1
:TRIGger:SHOLd:DSrc?

Sets or queries the clock source in setup/hold trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Selects the clock source.
:TRIGger:SHOLd:CSrc CHANnel2 /*Set the clock source to CH2*/
:TRIGger:SHOLd:CSrc? /*The query returns CHAN2*/

Sets or queries the edge type in the setup/hold trigger.

NameTypeValuesDescription
slopeenumPOSitive | NEGativeSelects the trigger edge type.
enum - The query returns POS or NEG.
: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 pattern used by the setup/hold trigger.
enum - Returns the current pattern state.
:TRIGger:SHOLd:PATTern L
:TRIGger:SHOLd:PATTern?

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?

Set or query the setup time in setup/hold trigger. The default unit is s.

NameTypeValuesDescription
NR3real8ns - 1sSetup time value.
string - The query returns the setup time in scientific notation.
:TRIGger:SHOLd:STIMe 0.002
:TRIGger:SHOLd:STIMe?

Set or query the hold time in setup/hold trigger. The default unit is s.

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

Nth edge trigger subsystem command. It provides subcommands for setting the trigger source and slope.

Sets or queries the trigger source in Nth edge trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Trigger source for Nth edge trigger.
enum - The query returns CHAN1 or CHAN2.
: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 to trigger on the rising or falling edge of the input signal.
:TRIGger:NEDGe:SLOPe NEGative
:TRIGger:NEDGe:SLOPe?

Set or query the idle time in Nth edge trigger. The default unit is s.

NameTypeValuesDescription
<NR3>real16ns - 10sIdle time in Nth edge trigger.
string - The query 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
<NR1>integer1 - 65535Number of edges in Nth edge trigger.
integer - The query returns an integer between 1 and 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.
real - The query returns the trigger level in scientific notation.
:TRIGger:NEDGe:LEVel 0.16
:TRIGger:NEDGe:LEVel?
:TRIGger:RS232set / query

Set the RS232 trigger configuration. The page lists the related RS232 trigger subcommands but does not document syntax, parameters, or return value for :TRIGger:RS232 itself.

Set or query the trigger source in RS232 trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Trigger source.
enum - The query returns CHAN1 or CHAN2.
:TRIGger:RS232:SOURce CHANnel2
:TRIGger:RS232:SOURce?

Set or query the RS232 trigger condition.

NameTypeValuesDescription
whenenumSTARt | ERRor | PARity | DATARS232 trigger condition.
enum - Returns the current trigger condition as STAR, ERR, PAR, or DATA.
:TRIGger:RS232:WHEN ERRor /*Set the trigger condition to error frame*/
:TRIGger:RS232:WHEN? /*The query returns ERR*/

Sets or queries the RS232 trigger parity type when the trigger condition is ERRor or PARity. When the trigger condition is PARity, NONE cannot be selected and the default parity is ODD.

NameTypeValuesDescription
parityenumEVEN | ODD | NONEParity type to use for the RS232 trigger condition.
enum - The query returns the parity type.
:TRIGger:RS232:PARity EVEN /*Set the parity type to even*/
:TRIGger:RS232:PARity? /*The query returns EVEN*/

Set or query the stop bit when the trigger condition is ERRor in RS232 trigger.

NameTypeValuesDescription
bitinteger1 | 2Stop bit value.
integer - The query returns 1 or 2.
:TRIGger:RS232:STOP 2 /*Set the stop bit to 2*/
:TRIGger:RS232:STOP? /*The query returns 2*/

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

NameTypeValuesDescription
datainteger0 - 2n-1Data value to use for the RS232 trigger condition.
integer - The query returns an integer.
:TRIGger:RS232:DATA 10 /*Set the data to 10*/
:TRIGger:RS232:DATA? /*The query returns 10*/

Sets or queries the data bits when the trigger condition is DATA in RS232 trigger.

NameTypeValuesDescription
widthenum5 | 6 | 7 | 8Data bits width for RS232 trigger.
enum - The query returns 5, 6, 7, or 8.
:TRIGger:RS232:WIDTh 6
:TRIGger:RS232:WIDTh?

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

NameTypeValuesDescription
baud_rateenum2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200 | 230400 | 460800 | 921600 | 1000000 | USERBaud rate used for the RS232 trigger.
enum - The query returns an integer or USER.
:TRIGger:RS232:BAUD 4800
:TRIGger:RS232:BAUD?

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

NameTypeValuesDescription
user baudinteger110 - 20000000User-defined baud rate used for the RS232 trigger.
integer - The query returns the user-defined baud rate.
: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.
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
sourcediscrete-Channel source for SCL in the I2C trigger.
enum - The query returns the selected channel source.
: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 I2C trigger.

NameTypeValuesDescription
sourcediscreteCHANnel1 | CHANnel2Channel source for SCL.
enum - The query returns the selected channel source.
:TRIGger:IIC:SCL CHANnel2
:TRIGger:IIC:SCL?
:TRIGger:IIC:SDAset / query

Set or query the channel source of SDA in I2C trigger.

NameTypeValuesDescription
sourcediscreteCHANnel1 | CHANnel2
enum - The query returns CHAN1 or CHAN2.
*:TRIGger:IIC:SDA CHANnel2
*:TRIGger:IIC:SDA?

Sets or queries the trigger condition in I2C trigger.

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

Sets or queries the number of address bits used for I2C trigger conditions ADDRess or ADATa.

NameTypeValuesDescription
bitsenum7 | 8 | 10Number of address bits to use.
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 DATA. The allowed range depends on the current address bits.

NameTypeValuesDescription
adrinteger0 - 2^n-1I2C trigger address.
integer - Returns the current I2C trigger address.
: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 | RWRiteSelects the I2C trigger data direction.
enum - The query returns the current direction as 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 use for the I2C trigger.
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 for SCL in I2C trigger.
string - Returns the trigger level of SCL in scientific notation.
:TRIGger:IIC:CLEVel 0.16
:TRIGger:IIC:CLEVel?

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 for SDA in I2C trigger.
string - The query returns the trigger level of SDA in scientific notation.
:TRIGger:IIC:DLEVel 0.16
:TRIGger:IIC:DLEVel?
:TRIGger:SPIset / query

Command list entry for SPI trigger settings. This slice only identifies the related subcommands; it does not document any direct action for :TRIGger:SPI itself.

:TRIGger:SPI:SCLset / query

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

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Channel source for SCL.
enum - The query returns CHAN1 or CHAN2.
:TRIGger:SPI:SCL CHANnel1
:TRIGger:SPI:SCL?
:TRIGger:SPI:SDAset / query

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

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Channel source for SDA.
enum - The query returns CHAN1 or CHAN2.
:TRIGger:SPI:SDA CHANnel2
:TRIGger:SPI:SDA?

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

NameTypeValuesDescription
trig_typeenumCS | TIMeoutTrigger condition to use for SPI triggering.
enum - The query returns CS or TIM.
:TRIGger:SPI:WHEN TIMeout
:TRIGger:SPI:WHEN?

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

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

Set or query the data in SPI trigger.

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

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

NameTypeValuesDescription
time_valuereal100ns - 1sTimeout value to use for the SPI trigger TIMeout condition.
real - Returns the timeout value in scientific notation.
:TRIGger:SPI:TIMeout 0.001
:TRIGger:SPI:TIMeout?

Set or query the clock edge in SPI trigger.

NameTypeValuesDescription
slopeenumPOSitive | NEGativeSelects which clock edge is used for SPI sampling.
enum - The query returns POS or NEG.
:TRIGger:SPI:SLOPe POSitive /*Set the clock edge to POSitive*/
:TRIGger:SPI:SLOPe? /*The query returns POS*/

Set or query 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 - OFFSet)Trigger level of 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? /*The query returns 1.600000e-01*/

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

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

Set or query 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 for 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 for SPI trigger.
enum - The query returns HIGH or LOW.
:TRIGger:SPI:MODE LOW
:TRIGger:SPI:MODE?
:TRIGger:SPI:CSset / query

Sets or queries the data source of the CS signal in SPI trigger.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2Selects the CS signal data source.
enum - The query returns CHAN1 or CHAN2.
:TRIGger:SPI:CS CHANnel2
:TRIGger:SPI:CS?

:WAVeform:SOURceset / query

Sets or queries the channel from which waveform data will be read. If MATH is selected, only NORMal can be selected in :WAVeform:MODE.

NameTypeValuesDescription
sourceenumCHANnel1 | CHANnel2 | MATHSelects the waveform source channel.
enum - The query returns the selected source as CHAN1, CHAN2, or MATH.
:WAVeform:SOURce CHANnel2
:WAVeform:SOURce?
:WAVeform:MODEset / query

Set or query the waveform reading mode used by :WAVeform:DATA?.

NameTypeValuesDescription
modeenumNORMal | MAXimum | RAWSelects the waveform data reading mode.
:WAVeform:MODE <mode>
:WAVeform:MODE?
:WAVeform:FORMatset / query

Set or query the return format of the waveform data. The query returns the current format.

NameTypeValuesDescription
formatenumWORD | BYTE | ASCiiReturn format of the waveform data.
enum - The query returns the waveform data format.
:WAVeform:FORMat WORD
:WAVeform:FORMat? /*The query returns WORD*/

Reads the waveform data. The returned data format depends on the currently selected :WAVeform:FORMat setting; in WORD or BYTE mode the response includes a TMC data description header followed by waveform data, and in ASCii mode it returns voltage values in scientific notation separated by commas.

block - Returns waveform data in the selected format. WORD or BYTE mode returns a TMC data description header followed by waveform data; ASCii mode returns actual voltage values 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 channel source.

real - Returns the XINCrement in scientific notation.
: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 channel source, and is returned in scientific notation.

real (s) - Returns 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.

numeric - Returns 0, namely the first point on the screen or in the 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 value depends on the current data reading mode.

real - The YINCrement value 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 returned integer depends on the current waveform data reading mode.

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

Query the vertical reference position of the specified channel source in the Y direction. YREFerence is always 127 (the screen bottom is 0 and the screen top is 255).

integer - The query returns 127.
:WAVeform:STARtset / query

Set or query the start point of waveform data reading. The valid range depends on the current waveform data reading mode and memory depth.

NameTypeValuesDescription
stainteger1 - 1200Start point of waveform data reading.
qualifieroptenumNORMal | MAX | RAWSelects the range context for the start point: NORMal, MAX, or RAW.
integer - Returns the start point of waveform data reading.
:WAVeform:STARt 100
:WAVeform:STARt? /*The query returns 100*/
:WAVeform:STOPset / query

Set or query the stop point of waveform data reading.

NameTypeValuesDescription
stopinteger1 - 1200Stop point of waveform data reading; the valid range depends on the waveform data format and memory depth. NORMal allows 1 to 1200, MAX allows 1 to the number of effective points currently on the screen, and RAW allows 1 to the current maximum memory depth.
integer - The query returns the stop point as an integer.
:WAVeform:STOP 500
:WAVeform:STOP? /*The query returns 500*/

Queries and returns all waveform parameters as a comma-separated list of 10 values.

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*/