Enable the waveform auto setting function. The oscilloscope automatically adjusts the vertical scale, horizontal timebase, and trigger mode according to the input signal for optimum waveform display.
SCPI COMMAND REFERENCE
The Rigol MSO1104Z is Rigol's oscilloscope in the MSO1000Z family. Its SCPI remote-control interface exposes 407 commands across 27 subsystems - 349 settable and 58 queries - and every command is documented here with its parameters, accepted values, return format, and a copy-paste PyVISA example for automating test and measurement.
407
Commands
349
Settable
58
Queries
27
Subsystems
SCPI
Verified
2026-07-16
All commands
Clear all the waveforms on the screen. If the oscilloscope is in the RUN state, the waveform will still be displayed. This command is equivalent to pressing the CLEAR key on the front panel.
Starts the oscilloscope. This command is equivalent to pressing the RUN/STOP key on the front panel.
Stop the oscilloscope. This command is equivalent to pressing the RUN/STOP key on the front panel.
Sets the oscilloscope to single trigger mode. It is equivalent to pressing the SINGLE key on the front panel or sending :TRIGger:SWEep SINGle.
Generate a trigger signal forcefully. It is only applicable to the normal and single trigger modes and is equivalent to pressing the FORCE key in the trigger control area on the front panel.
Set or query the number of averages under the average acquisition mode.
| Name | Type | Values | Description |
|---|---|---|---|
| count | integer | 2 - 1024 | Number of averages to set. |
:ACQuire:AVERages 128 :ACQuire:AVERages?
Sets or queries the oscilloscope memory depth, i.e. the number of waveform points stored in a single trigger sample. When AUTO is selected, the instrument chooses the memory depth automatically according to the current sample rate.
| Name | Type | Values | Description |
|---|---|---|---|
| mdep | enum | AUTO | 12000 | 120000 | 1200000 | 12000000 | 24000000 | Memory depth setting; valid values depend on the enabled channel configuration. |
:ACQuire:MDEPth 12000 /*Set the memory depth to 12000pts*/ :ACQuire:MDEPth? /*The query returns 12000*/
Set or query the oscilloscope acquisition mode.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | NORMal | AVERages | PEAK | HRESolution | Acquisition mode to use. |
:ACQuire:TYPE AVERages :ACQuire:TYPE?
Queries the current sample rate. The default unit is Sa/s.
:ACQuire:SRATe? /*The query returns 2.000000e+09*/
Exit the self-calibration at any time.
Starts the oscilloscope self-calibration. During self-calibration, all channels must be disconnected from the inputs and most keys are disabled.
Sets or queries the bandwidth limit parameter of the specified channel. Enabling the bandwidth limit attenuates high-frequency components above 20 MHz; OFF disables the limit.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | Specifies the channel number. |
| type | enum | 20M | OFF | Selects the channel bandwidth limit state. |
:CHANnel1:BWLimit 20M /*Enable the 20MHz bandwidth limit*/ :CHANnel1:BWLimit? /*The query returns 20M*/
Set or query the coupling mode of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | |
| coupling | enum | AC | DC | GND | Selects the channel coupling mode. |
:CHANnel1:COUPling AC /*Select the AC coupling mode*/ :CHANnel1:COUPling? /*The query returns AC*/
Enable or disable the specified channel, or query the channel display status.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 4 | Specifies the channel number. |
| bool | boolean | - | Turns the specified channel display on or off. |
:CHANnel1:DISPlay ON :CHANnel1:DISPlay?
Enable or disable waveform invert for the specified channel, or query its status.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 4 | Specified channel number. |
| bool | enum | 1 | ON | 0 | OFF | Enables or disables waveform inversion. |
:CHANnel1:INVert ON :CHANnel1:INVert?
Set or query the vertical offset of the specified channel. The default unit is V.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | Channel number. |
| offset | real | -100V - +100V | Vertical offset of the specified channel. The allowed range depends on probe ratio and vertical scale. |
:CHANnel1:OFFSet 0.01 :CHANnel1:OFFSet? /*The query returns 1.000000e-02*/
Set or query the vertical range of the specified channel. The default unit is V.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | Specifies the channel number. |
| range | real | 8mV - 80V | Sets the vertical range; allowed range depends on probe ratio. |
:CHANnel1:RANGe 8 /*Set the vertical range of CH1 to 8V*/ :CHANnel1:RANGe? /*The query returns 8.000000e+00*/
Sets or queries the delay calibration time of the specified channel to calibrate the zero offset of that channel. The default unit is seconds.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | Specifies the channel number. |
| val | real | -100ns - 100ns | Sets the delay calibration time. |
:CHANnel1:TCAL 0.00000002 /*Set the delay calibration time to 20ns*/ :CHANnel1:TCAL? /*The query returns 2.000000e-08*/
Set or query the vertical scale of the specified channel. The default unit is V.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | Channel number. |
| scale | real | 1mV - 10V | Vertical scale of the specified channel; the valid range depends on the current probe ratio. |
:CHANnel1:SCALe 1 /*Set the vertical scale of CH1 to 1V*/ :CHANnel1:SCALe? /*The query returns 1.000000e+00*/
Set or query the probe ratio of the specified channel. Setting the probe ratio affects the vertical scale range.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | |
| atten | discrete | 0.01 | 0.02 | 0.05 | 0.1 | 0.2 | 0.5 | 1 | 2 | 5 | 10 | 20 | 50 | 100 | 200 | 500 | 1000 |
:CHANnel1:PROBe 10 :CHANnel1:PROBe?
Set or query the amplitude display unit of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | |
| units | enum | VOLTage | WATT | AMPere | UNKNown |
:CHANnel1:UNITs VOLTage /*Set the amplitude display unit of CH1 to V*/ :CHANnel1:UNITs? /*The query returns VOLT*/
Enables or disables the fine adjustment of the vertical scale for the specified channel. The query returns the fine adjustment status as 1 or 0.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 4 | Channel number. |
| bool | boolean | 1 | ON | 0 | OFF | Turns fine adjustment of the vertical scale on or off. |
:CHANnel1:VERNier ON :CHANnel1:VERNier?
Sets or queries the cursor measurement mode.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | OFF | MANual | TRACk | AUTO | XY | Cursor measurement mode to select. |
:CURSor:MODE MANual :CURSor:MODE?
Set or query the cursor type in manual cursor measurement mode.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | X | Y | Selects the manual cursor type. |
:CURSor:MANual:TYPE Y :CURSor:MANual:TYPE?
Sets or queries the cursor type in manual cursor measurement mode. X selects the X-type cursors and Y selects the Y-type cursors; when the manual cursor source is LA, Y cannot be selected.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | X | Y | Cursor type to use for manual cursor measurement mode. |
:CURSor:MANual:TYPE Y :CURSor:MANual:TYPE?
Sets or queries the channel source for the manual cursor measurement mode. Only the currently enabled channel can be selected; when LA is selected, the cursor type cannot be set to Y.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | LA | Channel source used by the manual cursor measurement mode. |
:CURSor:MANual:SOURce CHANnel2 /*Set the channel source to CH2*/ :CURSor:MANual:SOURce? /*The query returns CHAN2*/
Set or query the horizontal unit in the manual cursor measurement mode.
| Name | Type | Values | Description |
|---|---|---|---|
| unit | enum | S | HZ | DEGRee | PERCent | Selects the horizontal unit used for cursor measurement results. |
:CURSor:MANual:TUNit DEGRee /*Set the horizontal unit to "degree"*/ :CURSor:MANual:TUNit? /*The query returns DEGR*/
Sets or queries the vertical unit used in manual cursor measurement mode. PERCent expresses AY, BY, and BY-AY in percentage, while SOURce uses the current source unit.
| Name | Type | Values | Description |
|---|---|---|---|
| unit | enum | PERCent | SOURce | Vertical unit for manual cursor measurement results. |
:CURSor:MANual:VUNit PERCent :CURSor:MANual:VUNit?
Sets or queries the horizontal position of cursor A in manual cursor measurement mode.
| Name | Type | Values | Description |
|---|---|---|---|
| x | integer | 5 - 594 | Horizontal position of cursor A. |
:CURSor:MANual:AX 200 :CURSor:MANual:AX?
Sets or queries the horizontal position of cursor B in manual cursor measurement mode.
| Name | Type | Values | Description |
|---|---|---|---|
| x | integer | 5 - 594 | Horizontal position of cursor B. |
:CURSor:MANual:BX 200 :CURSor:MANual:BX?
Set or query the vertical position of cursor A in manual cursor measurement mode.
| Name | Type | Values | Description |
|---|---|---|---|
| y | integer | 5 - 394 | Vertical position of cursor A in pixel coordinates. |
:CURSor:MANual:AY 200 /*Set the vertical position of cursor A to 200*/ :CURSor:MANual:AY? /*The query returns 200*/
Sets or queries the vertical position of cursor B in the manual cursor measurement mode. The position is specified as a screen pixel Y coordinate.
| Name | Type | Values | Description |
|---|---|---|---|
| y | integer | 5 - 394 | Vertical position of cursor B. |
:CURSor:MANual:BY 200 ::CURSor:MANual:BY?
Queries the X value of cursor A in manual cursor measurement mode. The unit depends on the horizontal unit currently selected.
:CURSor:MANual:AXValue? /*The query returns -4.000000e-06*/
Queries the Y value of cursor A in manual cursor measurement mode. The unit depends on the currently selected vertical unit; for CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH sources it returns the Y value in scientific notation, and for LA it returns the decimal value corresponding to the sum of the binary weights of D15 to D0 at cursor A.
: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.
:CURSor:MANual:BXValue? /*The query returns 4.000000e-06*/
Query the Y value of cursor B in manual cursor measurement mode. The unit depends on the vertical unit currently selected; for channel signals the value is returned in scientific notation, and for LA it is returned as a decimal value based on D15 to D0 bit weights.
:CURSor:MANual:BYValue? /*The query returns -2.000000e+00*/
Queries the difference between the X values of cursor A and cursor B (BX-AX) in manual cursor measurement mode. The unit depends on the horizontal unit currently selected.
:CURSor:MANual:XDELta? /*The query returns 8.000000e-06*/
Queries the reciprocal of the absolute difference between cursor A and cursor B X values (1/|dX|) in manual cursor measurement mode. The unit depends on the currently selected horizontal unit.
:CURSor:MANual:IXDELta? /*The query returns 1.250000e+05*/
Queries the difference between the Y values of cursor A and cursor B in manual cursor measurement mode. The unit depends on the currently selected vertical unit.
:CURSor:MANual:YDELta? /*The query returns -4.000000e+00*/
Set or query the channel source of cursor A in track cursor measurement mode.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | OFF | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | Channel source for cursor A. |
Sets or queries the channel source of cursor A in the track cursor measurement mode. Only enabled channels can be selected.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | OFF | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | Channel source for cursor A in track cursor measurement mode. |
:CURSor:TRACk:SOURce1 CHANnel2 :CURSor:TRACk:SOURce1?
Sets or queries the channel source of cursor B in track cursor measurement mode. Only enabled channels can be selected as the source.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | OFF | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | Channel source for cursor B. |
:CURSor:TRACk:SOURce2 CHANnel2 /*Set the channel source to CH2*/ :CURSor:TRACk:SOURce2? /*The query returns CHAN2*/
Set or query the horizontal position of cursor A in the track cursor measurement mode.
| Name | Type | Values | Description |
|---|---|---|---|
| x | integer | 5 - 594 | Horizontal cursor position in pixels. |
:CURSor:TRACk:AX 200 :CURSor:TRACk:AX?
Sets or queries the horizontal position of cursor B in track cursor measurement mode.
| Name | Type | Values | Description |
|---|---|---|---|
| x | integer | 5 - 594 | Horizontal cursor B position in pixel coordinates. |
:CURSor:TRACk:BX 200 :CURSor:TRACk:BX?
Queries the vertical position of cursor A in the track cursor measurement mode. If cursor A exceeds the vertical screen range, the query returns 4294967295.
:CURSor:TRACk:AY? /*The query returns 284*/
Queries the vertical position of cursor B in the track cursor measurement mode. If cursor B exceeds the vertical range of the screen display, the query returns 4294967295.
Queries the X value of cursor A in track cursor measurement mode. The default unit is seconds.
:CURSor:TRACk:AXValue? /*The query returns -4.000000e-06*/
Query the Y value of cursor A in the track cursor measurement mode. The unit is the same as the currently selected channel unit.
:CURSor:TRACk:AYValue? /*The query returns -4.000000e-01*/
Queries the X value of cursor B in the track cursor measurement mode. The default unit is s.
:CURSor:TRACk:BXValue? /*The query returns 4.000000e-06*/
Queries the Y value of cursor B in track cursor measurement mode. The returned value is in scientific notation and uses the same unit as the currently selected channel unit.
: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.
: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.
:CURSor:TRACk:YDELta? /*The query returns 8.000000e-01*/
Queries the reciprocal of the absolute difference between cursor A and cursor B X values (1/|dX|) in track cursor measurement mode. The default unit is Hz.
:CURSor:TRACk:IXDELTA? /*The query returns 1.250000e+05*/
The auto cursor function can measure waveform parameters. This command selects which of the five enabled parameters will be measured, or queries the currently selected parameter.
:CURSor:AUTO:ITEM ITEM3 :CURSor:AUTO:ITEM? /*The query returns ITEM3*/
Selects which of the five auto-cursor measurement item sets is used, or queries the currently selected set. This command is only valid in auto cursor mode.
| Name | Type | Values | Description |
|---|---|---|---|
| item | enum | OFF | ITEM1 | ITEM2 | ITEM3 | ITEM4 | ITEM5 | Selects the auto-cursor measurement item set. |
:CURSor:AUTO:ITEM ITEM3 :CURSor:AUTO:ITEM?
Queries the horizontal position of cursor A in auto cursor measurement. The cursor position is based on screen pixel coordinates; if cursor A X is not required for some measurement items, the query returns 4294967295.
Queries the horizontal position of cursor B in auto cursor measurement. If cursor B of X type is not required for the selected measurement item, the query returns 4294967295.
Query the vertical position of cursor A in auto cursor measurement. In some measurement items where cursor A of Y type is not required, the query returns 4294967295.
Queries the vertical position of cursor B in auto cursor measurement. The query returns an integer screen pixel coordinate, with 4294967295 returned when cursor B is not required for the current measurement item.
:CURSor:AUTO:BY?
Queries the X value of cursor A in auto cursor measurement. The unit depends on the currently selected horizontal unit.
:CURSor:AUTO:AXValue? /*The query returns -4.000000e-06*/
Query the Y value of cursor A in auto cursor measurement. The unit depends on the vertical unit currently selected.
:CURSor:AUTO:AYValue? /*The query returns -4.000000e-01*/
Queries the X value of cursor B in auto cursor measurement. The unit depends on the currently selected horizontal unit.
:CURSor:AUTO:BXValue? /*The query returns -4.000000e-06*/
Queries the Y value of cursor B in auto cursor measurement. The unit depends on the currently selected vertical unit; if cursor B of Y type is not required for some measurement items, the query returns 9.9E37.
:CURSor:AUTO:BYValue? /*The query returns 4.000000e-01*/
The :CURSor:XY commands are used only when the horizontal timebase mode is XY.
Sets or queries the horizontal position of cursor A in XY cursor measurement mode. The query returns an integer position value.
| Name | Type | Values | Description |
|---|---|---|---|
| x | integer | 5 - 394 | Horizontal cursor A position. |
:CURSor:XY:AX 200 :CURSor:XY:AX?
Sets or queries the horizontal position of cursor B in XY cursor measurement mode. The position is specified as a pixel coordinate in the XY display area.
| Name | Type | Values | Description |
|---|---|---|---|
| x | integer | 5 - 394 | Horizontal position of cursor B. |
:CURSor:XY:BX 200 :CURSor:XY:BX?
Set or query the vertical position of cursor A in the XY cursor measurement mode.
| Name | Type | Values | Description |
|---|---|---|---|
| y | integer | 5 - 394 | Vertical cursor position in XY mode. |
:CURSor:XY:AY 200 /*Set the vertical position of cursor A to 200*/ :CURSor:XY:AY? /*The query returns 200*/
Sets or queries the vertical position of cursor B in XY cursor measurement mode. The query returns the position as an integer between 5 and 394.
| Name | Type | Values | Description |
|---|---|---|---|
| y | integer | 5 - 394 | Vertical position of cursor B. |
:CURSor:XY:BY 200 :CURSor:XY:BY?
Queries the X value of cursor A in XY cursor measurement mode. The unit depends on the amplitude unit of the corresponding channel.
:CURSor:XY:AXValue? /*The query returns 2.000000e+00*/
Queries the Y value of cursor A in the XY cursor measurement mode. The unit depends on the amplitude unit of the corresponding channel.
: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.
: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.
:CURSor:XY:BYValue? /*The query returns -2.000000e+00*/
Set or query the decoder type.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 2 | |
| mode | enum | PARallel | UART | SPI | IIC | Selects the decoder type. |
:DECoder1:MODE SPI :DECoder1:MODE?
Turns the decoder display on or off, or queries the decoder display status.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | Decoder index. |
| bool | boolean | 1 | ON | 0 | OFF | Turns the decoder display on or off. |
:DECoder1:DISPlay ON :DECoder1:DISPlay?
Set or query the bus display format.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| fmt | enum | HEX | ASCii | DEC | BIN | LINE | Bus display format to use. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | Decoder number. |
| pos | integer | 50 - 350 | Vertical position of the bus on the screen. |
:DECoder1:POSition 300 :DECoder1:POSition?
Set or query the threshold level of the specified analog channel.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | discrete | 1 - 2 | Specifies the analog channel group number. |
| <thre> | real | (-4 x VerticalScale - VerticalOffset) - (4 x VerticalScale - VerticalOffset) | Threshold level to set for the specified analog channel. |
:DECoder1:THREshold:CHANnel4 1.5 :DECoder1:THREshold:CHANnel4?
Sets or queries the threshold level of the specified analog channel.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | discrete | 1 | 2 | Specifies the decoder index. |
| <thre> | real | (-4 x VerticalScale - VerticalOffset) - (4 x VerticalScale - VerticalOffset) | Sets the threshold level for the specified analog channel. |
:DECoder1:THREshold:CHANnel4 1.5 :DECoder1:THREshold:CHANnel4?
Sets or queries the threshold level of the specified analog channel. The query returns the level in scientific notation.
| Name | Type | Values | Description |
|---|---|---|---|
| thre | real | -4 x VerticalScale - VerticalOffset - 4 x VerticalScale - VerticalOffset | Threshold level for the specified analog channel. |
:DECoder1:THREshold:CHANnel4 1.5 :DECoder1:THREshold:CHANnel4?
Set or query the threshold level of the specified analog channel. The query returns the level in scientific notation.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | Selects the decoder channel number. |
| thre | real | -4 x VerticalScale - VerticalOffset - 4 x VerticalScale - VerticalOffset | Threshold level for the specified analog channel. |
:DECoder1:THREshold:CHANnel4 1.5 :DECoder1:THREshold:CHANnel4?
Turns the auto threshold function of the analog channels on or off, or queries its status.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 2 | Decoder number. |
| bool | boolean | 1 | ON | 0 | OFF | Enables or disables the auto threshold function. |
:DECoder1:THREshold:AUTO OFF :DECoder1:THREshold:AUTO?
Turn on or off the label display function, or query the status of the label display function.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | discrete | 1 | 2 | |
| <bool> | boolean | 1 | ON | 0 | OFF |
:DECoder1:CONFig:LABel ON /*Turn on the label display function*/ :DECoder1:CONFig:LABel? /*The query returns 1*/
Turns on or off the bus display function, or queries its current status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the bus display function. |
:DECoder1:CONFig:LINE OFF :DECoder1:CONFig:LINE?
Turns on or off the format display function, or queries its status. When enabled, the current bus display format is shown to the right of the label display when bus display is on.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Turns the format display function on or off. |
:DECoder1:CONFig:FORMat OFF :DECoder1:CONFig:FORMat? /*The query returns 0*/
Turns on or off the endian display function in serial bus decoding, or queries its status. This command is invalid in parallel decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | discrete | 1 | 2 | Decoder number. |
| <bool> | boolean | 1 | ON | 0 | OFF | Enables or disables the endian display function. |
:DECoder1:CONFig:ENDian ON :DECoder1:CONFig:ENDian?
Turn on or off the width display function, or query the status of the width display function.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| bool | enum | 1 | ON | 0 | OFF | Turns the width display function on or off. |
:DECoder1:CONFig:WIDth ON :DECoder1:CONFig:WIDth?
Query the current digital sample rate.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 |
:DECoder1:CONFig:SRATe? /*The query returns 1.000000e+08*/
Set or query the TX channel source of RS232 decoding. When OFF is selected, no TX channel source is set; TX and RX cannot both be OFF.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | Decoder index. |
| tx | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF | TX channel source for RS232 decoding. |
:DECoder1:UART:TX CHAN2 :DECoder1:UART:TX?
Sets or queries the TX channel source used for RS232 decoding. The TX source cannot be OFF at the same time as the RX source.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| tx | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF |
:DECoder1:UART:TX CHAN2 :DECoder1:UART:TX?
Sets or queries the RX channel source used for RS232 decoding. When OFF is selected, no RX channel source is set, and RX and TX cannot both be OFF.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| rx | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF |
:DECoder1:UART:RX CHAN4 /*Set the RX channel source to CH4*/ :DECoder1:UART:RX? /*The query returns CHAN4*/
Set or query the polarity of RS232 decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| pol | enum | NEGative | POSitive | Selects the decoding polarity; negative polarity uses high level as 0 and low level as 1, and positive polarity uses high level as 1 and low level as 0. |
:DECoder1:UART:POLarity NEGative :DECoder1:UART:POLarity?
Sets or queries the endian of RS232 decoding for the specified decoder. The query returns LSB or MSB.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | Decoder index. |
| endian | enum | LSB | MSB | Selects the endian used for RS232 decoding. |
:DECoder1:UART:ENDian MSB :DECoder1:UART:ENDian?
Sets or queries the baud rate used for RS232 decoding. The default unit is bps (baud per second).
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| baud | integer | 110 - 20M | Baud rate of RS232 decoding. |
:DECoder1:UART:BAUD 57600 :DECoder1:UART:BAUD?
Set or query the width of each frame of data in RS232 decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| wid | integer | 5 - 8 | Sets the data width in RS232 decoding. |
:DECoder1:UART:WIDTh 7 :DECoder1:UART:WIDTh?
Sets or queries the stop bit used after each frame of data in RS232 decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| stop | discrete | 1 | 1.5 | 2 |
:DECoder1:UART:STOP 1.5 /*Set the stop bit in RS232 decoding to 1.5*/ :DECoder1:UART:STOP? /*The query returns 1.5*/
Set or query the even-odd check mode of the data transmission in RS232 decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| parity | enum | NONE | EVEN | ODD |
:DECoder1:UART:PARity ODD :DECoder1:UART:PARity?
Sets or queries the signal source of the clock channel used for I2C decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | Decoder number. |
| clk | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Signal source of the clock channel. |
:DECoder1:IIC:CLK D0 :DECoder1:IIC:CLK?
Sets or queries the signal source of the I2C clock channel used for decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | Decoder number. |
| clk | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Signal source for the I2C clock channel. |
:DECoder1:IIC:CLK D0 :DECoder1:IIC:CLK?
Sets or queries the signal source of the I2C data channel used for decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | Decoder number. |
| dat | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Signal source for the I2C data channel. |
:DECoder1:IIC:DATA D1 :DECoder1:IIC:DATA?
Sets or queries the address mode of I2C decoding. NORMal means the address bits do not include the R/W bit; RW means they do.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| addr | enum | NORMal | RW | Selects whether the I2C address bits include the R/W bit. |
:DECoder1:IIC:ADDRess RW :DECoder1:IIC:ADDRess?
Sets or queries the signal source of the clock channel used for SPI decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| clk | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Signal source for the SPI clock channel. |
:DECoder1:SPI:CLK D0 :DECoder1:SPI:CLK?
Sets or queries the signal source of the clock channel used for SPI decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | Decoder number. |
| clk | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Signal source of the SPI clock channel. |
:DECoder1:SPI:CLK D0 /*Set the signal source of the clock channel in SPI decoding to D0*/ :DECoder1:SPI:CLK? /*The query returns D0*/
Sets or queries the MISO channel source used in SPI decoding. OFF disables the MISO source; MISO and MOSI cannot both be OFF.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | Decoder number. |
| miso | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF | Selects the MISO channel source. |
Set or query the MOSI channel source in SPI decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | |
| mosi | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF | Selects the MOSI channel source. |
:DECoder1:SPI:MOSI D1 /*Set the MOSI channel source in SPI decoding to D1*/ :DECoder1:SPI:MOSI? /*The query returns D1*/
Sets or queries the CS channel source used for SPI decoding. This command is only valid in CS mode.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | Decoder index. |
| cs | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Selects the CS channel source. |
:DECoder1:SPI:CS CHANnel4 :DECoder1:SPI:CS?
Sets or queries the CS polarity in SPI decoding. NCS means the low level is valid, and CS means the high level is valid.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | Decoder number. |
| CsNcs | enum | NCS | CS | Selects whether low level (NCS) or high level (CS) is active for chip select. |
:DECoder1:SPI:SELect CS :DECoder1:SPI:SELect?
Sets or queries the frame synchronization mode of SPI decoding. CS uses the chip select line for frame synchronization; TIMeout uses the timeout time.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | integer | 1 - 2 | Decoder number. |
| mode | enum | CS | TIMeout | Frame synchronization mode. |
:DECoder1:SPI:MODE CS :DECoder1:SPI:MODE?
Sets or queries the timeout time used in the timeout mode of SPI decoding. The default unit is seconds, and the value must be greater than the maximum clock pulse width and lower than the idle time between frames.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| tmo | real | s | Timeout time for SPI frame synchronization in timeout mode. |
:DECoder1:SPI:TIMeout 0.000005 :DECoder1:SPI:TIMeout?
Sets or queries the polarity of the SDA data line in SPI decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 2 | |
| pol | enum | NEGative | POSitive | Selects whether low level or high level is interpreted as 1. |
:DECoder1:SPI:POLarity NEG ative :DECoder1:SPI:POLarity?
Set or query the clock type when the instrument samples the data line in SPI decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 2 | |
| edge | enum | RISE | FALL | Clock sampling edge used in SPI decoding. |
:DECoder1:SPI:EDGE FALL :DECoder1:SPI:EDGE?
Sets or queries the endian of the SPI decoding data.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | discrete | 1 | 2 | |
| endian | enum | LSB | MSB | Selects the data endian used for SPI decoding. |
:DECoder1:SPI:ENDian MSB :DECoder1:SPI:ENDian?
Sets or queries the number of bits of each frame of data in SPI decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | enum | 1 | 2 | Decoder number selector. |
| wid | integer | 8 - 32 | Number of bits per SPI data frame. |
:DECoder1:SPI:WIDTh 16 :DECoder1:SPI:WIDTh?
Sets or queries the CLK channel source used for parallel decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| clk | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF |
:DECoder1:PARallel:CLK D0 :DECoder1:PARallel:CLK?
Sets or queries the CLK channel source used for parallel decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| clk | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF |
:DECoder1:PARallel:CLK D0 :DECoder1:PARallel:CLK?
Sets or queries the edge type of the clock channel used when sampling the data channel in parallel decoding. If no clock channel is selected, the instrument samples when the channel data jumps.
| Name | Type | Values | Description |
|---|---|---|---|
| edge | enum | RISE | FALL | BOTH | Edge type used for sampling the parallel data channel. |
:DECoder1:PARallel:EDGE BOTH :DECoder1:PARallel:EDGE?
Sets or queries the data width, i.e. the number of bits in each parallel-bus frame. After setting the width, the user should set the bit and source assignments for each bit with the related BITX and SOURce commands.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| wid | integer | 1 - 16 |
:DECoder1:PARallel:WIDTh 16 :DECoder1:PARallel:WIDTh?
Sets or queries the data bit that requires a channel source on the parallel bus. Use :DECoder<n>:PARallel:WIDTh to set the data width before selecting the bit.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| bit | integer | 0 - data width - 1 |
:DECoder1:PARallel:BITX 2 :DECoder1:PARallel:BITX?
Sets or queries the channel source of the currently selected parallel data bit. Use :DECoder<n>:PARallel:BITX to select the desired bit before sending this command.
| Name | Type | Values | Description |
|---|---|---|---|
| <n> | discrete | 1 | 2 | Decoder index. |
| <src> | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Channel source for the selected data bit. |
:DECoder1:PARallel:SOURce CHANnel2 :DECoder1:PARallel:SOURce?
Sets or queries the data polarity of parallel decoding.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| pol | enum | NEGative | POSitive | Sets the data polarity to negative or positive. |
:DECoder1:PARallel:POLarity NEGative :DECoder1:PARallel:POLarity?
Turns the noise rejection function of parallel decoding on or off, or queries its status.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 2 | Decoder index. |
| bool | enum | 1 | ON | 0 | OFF | Turns noise rejection on or off. |
:DECoder1:PARallel:NREJect ON :DECoder1:PARallel:NREJect?
Sets or queries the noise rejection time of parallel decoding. The default unit is seconds, and the command should be used after enabling noise rejection with :DECoder<n>:PARallel:NREJect.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| time | real | 0.00s - 100ms |
:DECoder1:PARallel:NRTime 0.01 :DECoder1:PARallel:NRTime?
Set or query the clock compensation time of parallel decoding. The default unit is s. Setting the compensation time can make fine adjustment of the phase deviation between the clock line and data line.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| comp | real | -100ms - 100ms |
:DECoder1:PARallel:CCOMpensation 0.01 :DECoder1:PARallel:CCOMpensation?
Turns the curve function of parallel decoding on or off, or queries its status. When enabled, the variation trend of the bus data is displayed in vector diagram form.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | - | Decoder index. |
| bool | enum | 1 | ON | 0 | OFF | Turns the curve function on or off. |
:DECoder1:PARallel:PLOT ON :DECoder1:PARallel:PLOT?
Clear all the waveforms on the screen. If the oscilloscope is in the RUN state, waveform will still be displayed.
Reads the data stream of the image currently displayed on the screen and lets you specify image color, invert display, and output format. If omitted, the currently selected image color and invert status are used and the format defaults to BMP24.
| Name | Type | Values | Description |
|---|---|---|---|
| coloropt | enum | ON | OFF | Color of the image; ON denotes color and OFF denotes intensity graded color. |
| invertopt | enum | 1 | ON | 0 | OFF | Invert function state; 1|ON turns invert on and 0|OFF turns it off. |
| formatopt | enum | BMP24 | BMP8 | PNG | JPEG | TIFF | Format of the image data stream. |
:DISPlay:DATA? [<color>,<invert>,<format>]
Set or query the display mode of the waveform on the screen.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | VECTors | DOTS | Display mode of the waveform on the screen. |
:DISPlay:TYPE DOTS :DISPlay:TYPE?
Set or query the persistence time. The default unit is s.
| Name | Type | Values | Description |
|---|---|---|---|
| time | enum | MIN | 0.1 | 0.2 | 0.5 | 1 | 5 | 10 | INFinite | Persistence time setting. |
:DISPlay:GRADing:TIME 0.1 /*Set the persistence time to 0.1s*/ :DISPlay:GRADing:TIME? /*The query returns 0.1*/
Set or query the waveform brightness.
| Name | Type | Values | Description |
|---|---|---|---|
| time | integer | 0 - 100 |
:DISPlay:WBRightness 50 :DISPlay:WBRightness?
Sets or queries the grid type of the screen display.
| Name | Type | Values | Description |
|---|---|---|---|
| grid | enum | FULL | HALF | NONE | Selects the screen display grid style. |
Sets or queries the brightness of the screen grid.
| Name | Type | Values | Description |
|---|---|---|---|
| brightness | integer | 0 - 100 | Brightness level of the screen grid. |
:DISPlay:GBRightness 60 :DISPlay:GBRightness?
Turns on or off the decoding event table, or queries its status. This command is only valid when the decoder is turned on (:DECoder<n>:DISPlay).
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| bool | enum | 1 | ON | 0 | OFF | Turns the decoding event table on or off. |
:ETABle1:DISP ON :ETABle1:DISP?
Set or query the data display format of the event table.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | |
| fmt | enum | HEX | ASCii | DEC | Selects the event table data display format. |
:ETABle1:FORMat ASCii :ETABle1:FORMat?
Sets or queries the display mode of the event table. The query returns PACK, DET, or PAYL.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | Event table number. |
| view | enum | PACKage | DETAil | PAYLoad | Display mode of the event table. |
:ETABle1:VIEW PAYLoad :ETABle1:VIEW?
Set or query the current column of the event table. The available column choices depend on the selected decoder; the query returns the current column selection.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | Event table index. |
| col | enum | DATA | TX | RX | MISO | MOSI | Current event table column. |
:ETABle1:COLumn DATA :ETABle1:COLumn?
Sets or queries the current row of the event table.
| Name | Type | Values | Description |
|---|---|---|---|
| n | enum | 1 | 2 | |
| row | integer | 1 - the maximum number of rows of the current event table |
:ETABle1:ROW 2 :ETABle1:ROW?
Sets or queries the display type of the decoding results in the event table.
| Name | Type | Values | Description |
|---|---|---|---|
| sort | enum | ASCend | DESCend | Display order of the decoding results in the event table. |
:ETABle1:SORT DESCend :ETABle1:SORT?
Reads the current event table data. The query returns the event table data in TMC block format with a data description header.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | Selects the event table number. |
:ETABle1:DATA? /*The query returns the data as shown in the figure above*/
Set or query the end frame of waveform recording.
| Name | Type | Values | Description |
|---|---|---|---|
| frame | integer | 1 - the maximum number of frames can be recorded currently | End frame of waveform recording. |
: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.
Set or query the time interval between frames in waveform recording. The default unit is s.
| Name | Type | Values | Description |
|---|---|---|---|
| interval | real | 100ns - 10s | Time interval between frames in waveform recording. |
:FUNCtion:WRECord:FINTerval 0.001 /*Set the time interval to 1ms*/ :FUNCtion:WRECord:FINTerval? /*The query returns 1.000000e-03*/
Turns the recording-finish sound prompt on or off, or queries its current status. When enabled, the instrument sounds a prompt when recording finishes regardless of the system beep setting.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | 1 | ON | 0 | OFF | Enables or disables the sound prompt when waveform recording finishes. |
:FUNCtion:WRECord:PROMpt 1 /*Turn on the sound prompt when the recording finishes*/ :FUNCtion:WRECord:PROMpt? /*The query returns 1*/
Start or stop the waveform recording, or query the recording status. Before using it, waveform recording must be enabled with :FUNCtion:WRECord:ENABle.
| Name | Type | Values | Description |
|---|---|---|---|
| opt | enum | RUN | STOP | Starts or stops waveform recording. |
:FUNCtion:WRECord:OPERate RUN /*Start the waveform recording*/ :FUNCtion:WRECord:OPERate? /*The query returns RUN if the recording is in progress and returns STOP if the recording has already finished*/
Turn on or off the waveform recording function, or query the status of the waveform recording function.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables waveform recording. |
:FUNCtion:WRECord:ENABle 1 :FUNCtion:WRECord:ENABle?
Sets or queries the start frame of waveform playback.
| Name | Type | Values | Description |
|---|---|---|---|
| sta | integer | 1 - the maximum number of frames recorded | Start frame number for waveform playback. |
:FUNCtion:WREPlay:FSTart 5 /*Set the start frame of waveform playback to 5*/ :FUNCtion:WREPlay:FSTart? /*The query returns 5*/
Set or query the end frame of waveform playback. The end frame cannot be lower than the start frame of waveform playback and can only be set when a waveform is currently recorded.
| Name | Type | Values | Description |
|---|---|---|---|
| end | integer | 1 - the maximum number of frames recorded | End frame of waveform playback. |
:FUNCtion:WREPlay:FEND 4096 :FUNCtion:WREPlay:FEND?
Query the maximum number of frames that can be played, which is the maximum number of frames recorded. The query returns an integer.
Sets or queries the time interval between frames in waveform playback. The default unit is seconds; the interval can only be set when a waveform is currently recorded and not during recording or playback.
| Name | Type | Values | Description |
|---|---|---|---|
| interval | real | 100ns - 10s | Time interval between frames in waveform playback. |
:FUNCtion:WREPlay:FINTerval 0.001 :FUNCtion:WREPlay:FINTerval?
Set or query the waveform playback mode.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | REPeat | SINGle | Selects the waveform playback mode. |
:FUNCtion:WREPlay:MODE REPeat :FUNCtion:WREPlay:MODE? /*The query returns REP*/
Sets or queries the waveform playback direction.
| Name | Type | Values | Description |
|---|---|---|---|
| dir | enum | FORWard | BACKward | Playback direction. |
:FUNCtion:WREPlay:DIRection FORWard :FUNCtion:WREPlay:DIRection?
Start, pause, or stop waveform playback, or query the waveform playback status. This command is only valid when a waveform has already been recorded.
| Name | Type | Values | Description |
|---|---|---|---|
| opt | enum | PLAY | PAUSe | STOP | Playback control option. |
:FUNCtion:WREPlay:OPERate PLAY :FUNCtion:WREPlay:OPERate?
Sets or queries the current frame in waveform playback.
| Name | Type | Values | Description |
|---|---|---|---|
| cur | integer | 1 - the maximum number of frames recorded | Current frame number in waveform playback. |
:FUNCtion:WREPlay:FCURrent 300 /*Set the current frame in waveform playback to 300*/ :FUNCtion:WREPlay:FCURrent? /*The query returns 300*/
Clear all the event registers and clear the error queue.
Set or query the enable register for the standard event status register set.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | - | Decimal value corresponding to the enabled bits of the standard event status register set. |
*ESE 16 *ESE?
Query and clear the standard event status register. The return value is an integer representing the event register bits, with bits 1 and 6 always treated as 0.
Query the ID string of the instrument.
Sets the Operation Complete bit in the standard event status register to 1 after the current operation is finished.
Restore the instrument to the default state.
Set or query the enable register for the status byte register set. The value is limited to the decimal numbers corresponding to binary XXXXXX00, since bits 0 and 1 are always treated as 0.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 0 - 255 | Enable register value for the status byte register set. |
*SRE 16 *SRE?
Query the event register for the status byte register. The status byte register is set to 0 after this command is executed.
*STB?
Performs a self-test and then returns the self-test results.
Wait for the current operation to finish. The subsequent command is executed only after the current command has completed.
Sets or queries the current active digital channel, user-defined channel group, or NONE. Only channels or groups currently turned on can be selected.
| Name | Type | Values | Description |
|---|---|---|---|
| digital | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | Selects one of channels D0 to D15. |
| group | enum | GROUP1 | GROUP2 | GROUP3 | GROUP4 | Selects one of the user-defined channel groups. |
| state | enum | NONE | Deselects any active channel or channel group. |
:LA:ACTive D3 :LA:ACTive?
Sets the auto ordering mode of the waveforms of the channels turned on on the screen. Mode 0 orders waveforms D15 to D0 from top to bottom; mode 1 orders them D0 to D15 from top to bottom.
| Name | Type | Values | Description |
|---|---|---|---|
| n | enum | 0 | 1 | Selects the auto ordering mode. |
Turns the specified digital channel on or off, or queries its status. The query returns 1 or 0.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 0 - 15 | Specifies the digital channel number to control. |
| bool | boolean | 1 | ON | 0 | OFF | Turns the specified digital channel on or off. |
:LA:DIGital3:DISPlay ON /*Turn D3 on*/ :LA:DIGital3:DISPlay? /*The query returns 1*/
Sets or queries the display position of the specified digital channel waveform on the screen. The position range depends on the waveform display mode: SMALl uses 0 to 15, and LARGe uses 0 to 7.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 0 - 15 | Specifies the digital channel number. |
| position | integer | 0 - 15 | Sets the display position of the waveform on the screen; valid range depends on the waveform display mode. |
:LA:DIGital1:POSition 3 :LA:DIGital1:POSition?
Set or query the label of the specified digital channel.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 0 - 15 | Specifies the digital channel index. |
| label | string | - | Sets the channel label as an ASCII string up to 4 characters using uppercase letters and numbers. |
:LA:DIGital0:LABel ACK :LA:DIGital0:LABel?
Turns on or off the specified digital channel, user-defined channel group, or default channel group. The query returns the on/off status of the specified digital channel, group, or pod as 1 or 0.
| Name | Type | Values | Description |
|---|---|---|---|
| digital | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | Specifies a digital channel. |
| group | discrete | GROUP1 | GROUP2 | GROUP3 | GROUP4 | Specifies a user-defined channel group. |
| pod | discrete | POD1 | POD2 | Specifies a default channel group. |
| bool | boolean | 1 | ON | 0 | OFF | Turns the specified channel, group, or pod on or off. |
:LA:DISPlay POD1,ON :LA:DISPlay? POD1 /*The query returns 1*/
Turns the specified default channel group on or off, or queries its status. There are two groups: POD1 (D0 to D7) and POD2 (D8 to D15).
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | Selects the default channel group number. |
| bool | enum | 1 | ON | 0 | OFF | Turns the specified channel group on or off. |
:LA:POD1:DISPlay 1 :LA:POD1:DISPlay?
Set or query the threshold of the specified channel group. The default unit is V.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 2 | |
| thre | real | -15.0V - +15.0V |
:LA:POD1:THReshold 3.3 /*Set the threshold of POD1 (D0 to D7) to 3.3V*/ :LA:POD1:THReshold? /*The query returns 3.300000e+00*/
Sets or queries the display size of the waveforms of the channels turned on on the screen. Small mode allows up to 16 waveforms; large mode allows up to 8 and is only available when no more than 8 channels are on.
| Name | Type | Values | Description |
|---|---|---|---|
| size | enum | SMALl | LARGe | Display size of the waveforms. |
:LA:SIZE SMALl :LA:SIZE?
Turn the LA function on or off, or query its current status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Turns the logic analyzer function on or off. |
:LA:STATe ON :LA:STATe?
Sets or queries the delay calibration time of the digital channels. The default unit is seconds.
| Name | Type | Values | Description |
|---|---|---|---|
| tcal | real | -100ns - 100ns | Delay calibration time to apply for zero-offset calibration. |
:LA:TCALibrate 0.00000002 /*Set the delay calibration time to 20ns*/ :LA:TCALibrate? /*The query returns 2.000000e-08*/
Turns on or off the DHCP configuration mode, or queries the on/off status of the current DHCP configuration mode.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Turns DHCP configuration mode on or off. |
:LAN:DHCP ON :LAN:DHCP?
Turns on or off the Auto IP configuration mode; or queries the on/off status of the current Auto IP configuration mode.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | 1 | ON | 0 | OFF | Enables or disables Auto IP configuration mode. |
Sets or queries the default gateway. The address format is nnn,nnn,nnn,nnn, and the command is used in Auto IP or Static IP mode.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | ASCII string specifying the gateway address in nnn,nnn,nnn,nnn format. |
:LAN:GATeway 192.168.1.1 /*Sets the default gateway to 192.168.1.1.*/ :LAN:GATeway? /*The query returns the current gateway.*/
Sets or queries the DNS address. When used, the IP configuration mode should be Auto IP or Static IP mode.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | DNS address in the form nnn,nnn,nnn,nnn. |
Queries the MAC address of the instrument. The address is displayed in the form 00-19-AF-30-00-00.
Turns on or off the static IP configuration mode, or queries its on/off status. When static IP mode is valid, DHCP and Auto IP should be disabled manually.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Turns static IP configuration mode on or off. |
:LAN:MANual ON /*Enables the static IP configuration mode.*/ :LAN:MANual? /*The query returns 1.*/
Initiates the network parameters. Before running the command, confirm that the oscilloscope has been connected to the network properly.
Sets or queries the IP address of the instrument. The IP address string must be in nnn.nnn.nnn.nnn format, and static IP mode must be enabled with DHCP and auto IP disabled.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | IP address to set, in nnn.nnn.nnn.nnn format. |
:LAN:IPADdress 192.168.1.10 :LAN:IPADdress?
Sets or queries the subnet mask.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | Subnet mask value in the format nnn.nnn.nnn.nnn, with each section ranging from 0 to 255. |
:LAN:SMASk 255.255.255.0 :LAN:SMASk?
Queries the current network configuration status.
Queries the VISA address of the instrument.
:LAN:VISA?
Applies the network configuration.
Enable or disable the math operation function, or query the math operation status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the math operation function. |
:MATH:DISPlay ON :MATH:DISPlay?
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.
| Name | Type | Values | Description |
|---|---|---|---|
| opt | enum | ADD | SUBTract | MULTiply | DIVision | AND | OR | XOR | NOT | FFT | INTG | DIFF | SQRT | LOG | LN | EXP | ABS | FILTer | Operator to use for the math operation. |
Sets or queries source A for algebraic operations, the source for functional operations, or the outer-layer source for compound operations. When FX is selected, related inner-layer source and operator commands are used.
| Name | Type | Values | Description |
|---|---|---|---|
| src | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | FX | Source selection. |
:MATH:SOURce1 CHANnel3 :MATH:SOURce1?
Sets or queries source B of an algebraic operation, or the outer-layer operation of a compound operation. It applies only when the outer-layer operation is algebraic.
| Name | Type | Values | Description |
|---|---|---|---|
| src | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | FX | Selects source B for the algebraic operation. |
*No examples beyond the invocation lines were provided in the slice*
Set or query source A of logic operation. The logic operations include A&&B, A||B, A^B, and !A.
| Name | Type | Values | Description |
|---|---|---|---|
| src | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Selects the source for the logic operation. |
:MATH:LSOUrce1 D3 /*Set source A of logic operation to D3*/ :MATH:LSOUrce1? /*The query returns D3*/
Sets or queries source B of a logic operation. This command is only applicable to logic operations that require two signal sources.
| Name | Type | Values | Description |
|---|---|---|---|
| src | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Selects the source B used for the logic operation. |
:MATH:LSOUrce2 D4 /*Set source B of logic operation to D4*/ :MATH:LSOUrce2? /*The query returns D4*/
Sets or queries the vertical scale of the operation result. The unit depends on the selected operator and source unit, and for intg/diff operations it also depends on the current timebase.
| Name | Type | Values | Description |
|---|---|---|---|
| scale | real | 1p - 5T | Vertical scale value in a 1-2-5 step sequence. |
:MATH:SCALe 2 :MATH:SCALe?
Set or query the vertical offset of the operation result. The unit depends on the selected operator and the source unit.
| Name | Type | Values | Description |
|---|---|---|---|
| offs | real | -1000 x MathVerticalScale - 1000 x MathVerticalScale | Vertical offset of the operation result, related to the vertical scale of the operation result. |
*:MATH:OFFSet 8 *:MATH:OFFSet?
Enable or disable the inverted display mode of the operation result, or query the current inverted display mode status. The command is invalid for the FFT operation and has the same function as :MATH:OPTion:INVert.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enable or disable inverted display mode. |
:MATH:INVert ON :MATH:INVert?
Resets the operation result display scale to the most proper value based on the current operator and the source horizontal timebase.
Set or query the source of FFT operation/filter.
| Name | Type | Values | Description |
|---|---|---|---|
| src | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Source channel for the FFT operation/filter. |
:MATH:FFT:SOURce CHANnel3 :MATH:FFT:SOURce?
Set or query the window function of the FFT operation. Spectral leakage can be reduced by selecting an appropriate window for the waveform being measured.
| Name | Type | Values | Description |
|---|---|---|---|
| wnd | enum | RECTangle | BLACkman | HANNing | HAMMing | FLATtop | TRIangle | FFT window function to use. |
:MATH:FFT:WINDow BLACkman :MATH:FFT:WINDow?
Enables or disables the half-screen display mode of the FFT operation, or queries the current status of that mode.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables half-screen display mode. |
:MATH:FFT:SPLit OFF /*Disable the half-screen display mode*/ :MATH:FFT:SPLit? /*The query returns 0*/
Set or query the vertical unit of the FFT operation result.
| Name | Type | Values | Description |
|---|---|---|---|
| unit | enum | VRMS | DB | Vertical unit of the FFT operation result. |
:MATH:FFT:UNIT VRMS :MATH:FFT:UNIT?
Sets or queries the horizontal scale of the FFT operation result. The default unit is Hz.
| Name | Type | Values | Description |
|---|---|---|---|
| hsc | real | 1/1000 of FFT sample rate - 1/20 of FFT sample rate | Horizontal scale of the FFT operation result. |
:MATH:FFT:HSCale 500000 :MATH:FFT:HSCale?
Sets or queries the center frequency of the FFT operation result, relative to the horizontal center of the screen. The default unit is Hz.
| Name | Type | Values | Description |
|---|---|---|---|
| cent | real | 0 - (0.4 x FFT sample rate) | Center frequency of the FFT operation result. |
:MATH:FFT:HCENter 10000000 :MATH:FFT:HCENter?
Set or query the FFT mode.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | TRACe | MEMory | Selects whether the FFT uses the displayed waveform data or the waveform stored in memory. |
:MATH:FFT:MODE TRACe :MATH:FFT:MODE?
Sets or queries the filter type. The available types are low pass, high pass, band pass, and band stop.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | LPASs | HPASs | BPASs | BSTOP | Filter type to set. |
*:MATH:FILTer:TYPE LPASs *:MATH:FILTer:TYPE?
Set or query the cutoff frequency (ωc1) of the low pass/high pass filter, or cutoff frequency 1 (ωc1) of the band pass/band stop filter. The default unit is Hz.
| Name | Type | Values | Description |
|---|---|---|---|
| freq1 | real | 0.005 x screen sample rate - 0.1 x screen sample rate | Cutoff frequency 1. For LPASs or BPASs/BSTOP, the allowed range depends on the filter type and the screen sample rate. |
:MATH:FILTer:W1 1000000 :MATH:FILTer:W1?
Sets or queries the cutoff frequency 2 (ωc2) of the band pass or band stop filter. The default unit is Hz.
| Name | Type | Values | Description |
|---|---|---|---|
| freq2 | real | 0.01 x screen sample rate - 0.1 x screen sample rate | Cutoff frequency 2 for the filter. |
:MATH:FILTer:W2 1500000 :MATH:FILTer:W2?
Sets or queries the start point of the waveform math operation. The command is invalid for FFT; the selected source is divided into 1200 horizontal parts from 0 to 1199.
| Name | Type | Values | Description |
|---|---|---|---|
| sta | integer | 0 - (End point currently set - 1) | Start point index for the waveform math operation. |
:MATH:OPTion:STARt 50 :MATH:OPTion:STARt?
Sets or queries the end point of the waveform math operation. This command is invalid for the FFT operation and affects all operations except FFT.
| Name | Type | Values | Description |
|---|---|---|---|
| end | integer | (Start point currently set+1) - 1199 | End point of the waveform math operation. |
:MATH:OPTion:END 200 :MATH:OPTion:END?
Enable or disable the inverted display mode of the operation result, or query the inverted display mode status of the operation result.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | 1 | ON | 0 | OFF | Enables or disables the inverted display mode of the operation result. |
:MATH:OPTion:INVert ON :MATH:OPTion:INVert?
Sets or queries the sensitivity of the logic operation. The default unit is div (the current vertical scale), and the command applies only to logic operations (A&&B, A||B, A^B, and !A).
| Name | Type | Values | Description |
|---|---|---|---|
| <sens> | real | 0 - 0.96 | Sensitivity of the logic operation. |
:MATH:OPTion:SENSitivity 0.24 :MATH:OPTion:SENSitivity?
Set or query the smoothing window width of differential operation (diff). This command is only applicable to differential operation (diff).
| Name | Type | Values | Description |
|---|---|---|---|
| dist | integer | 3 - 201 | Smoothing window width. |
:MATH:OPTion:DIStance 25 :MATH:OPTion:DIStance?
Enable or disable the auto scale setting of the operation result, or query its status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1|ON | 0|OFF | Enables or disables auto scale. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| thre | real | -4 x VerticalScale - VerticalOffset - 4 x VerticalScale - VerticalOffset | Threshold level for source A in logic operations. |
Sets or queries the threshold level of source B in logic operations. The default unit is V; the command applies only to A&&B, A||B, and A^B logic operations when source B is an analog channel.
| Name | Type | Values | Description |
|---|---|---|---|
| thre | real | -4 x VerticalScale - VerticalOffset - 4 x VerticalScale - VerticalOffset | Threshold level of source B in logic operations. |
:MATH:OPTion:THReshold2 0.5 :MATH:OPTion:THReshold2?
Sets or queries source A of the inner layer operation of a compound operation.
| Name | Type | Values | Description |
|---|---|---|---|
| src | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Selects the source channel for the inner layer operation. |
:MATH:OPTion:FX:SOURce1 CHANnel1 :MATH:OPTion:FX:SOURce1?
Set or query source B of the inner layer operation of compound operation.
| Name | Type | Values | Description |
|---|---|---|---|
| src | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Source B of the inner layer operation of compound operation. |
:MATH:OPTion:FX:SOURce2 CHANnel1 :MATH:OPTion:FX:SOURce2?
Set or query the operator of the inner layer operation of compound operation.
| Name | Type | Values | Description |
|---|---|---|---|
| op | enum | ADD | SUBTract | MULTiply | DIVision |
:MATH:OPTion:FX:OPERator ADD :MATH:OPTion:FX:OPERator?
Enables or disables the pass/fail test, or queries its current status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Enables or disables the pass/fail test. |
:MASK:ENABle ON :MASK:ENABle? /*The query returns 1*/
Set or query the source of the pass/fail test.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Selects the source channel for the pass/fail test. |
:MASK:SOURce CHANnel2 /*Set the source of the pass/fail test to CH2*/ :MASK:SOURce? /*The query returns CHAN2*/
Run or stop the pass/fail test, or query the status of the pass/fail test.
| Name | Type | Values | Description |
|---|---|---|---|
| oper | enum | RUN | STOP | Run or stop the pass/fail test. |
:MASK:OPERate RUN /*Run the pass/fail test*/ :MASK:OPERate? /*The query returns RUN*/
Enables or disables the statistic information when the pass/fail test is enabled, or queries its status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Turns the statistic information on or off. |
:MASK:MDISplay ON /*Enable the statistic information*/ :MASK:MDISplay? /*The query returns 1*/
Turn the "Stop on Fail" function on or off, or query its status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the Stop on Fail function. |
[?25l
Enable or disable the sound prompt when failed waveforms are detected, or query its status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Turns the sound prompt off or on. |
:MASK:OUTPut ON /*Enable the sound prompt*/ :MASK:OUTPut? /*The query returns 1*/
Set or query the horizontal adjustment parameter in the pass/fail test mask. The default unit is div.
| Name | Type | Values | Description |
|---|---|---|---|
| x | real | 0.02 - 4 | Horizontal adjustment parameter in the pass/fail test mask. |
:MASK:X 0.28 :MASK:X?
Set or query the vertical adjustment parameter in the pass/fail test mask. The default unit is div.
| Name | Type | Values | Description |
|---|---|---|---|
| y | real | 0.04 - 5.12 | Vertical adjustment parameter. |
:MASK:Y 0.36 :MASK:Y? /*The query returns 3.600000e-01*/
Create the pass/fail test mask using the current horizontal and vertical adjustment parameters.
Queries the number of passed frames in the pass/fail test.
Query the number of failed frames in the pass/fail test.
Queries the total number of frames in the pass/fail test.
Reset the numbers of passed frames, failed frames, and total frames in the pass/fail test to 0.
Sets or queries the source of the current measurement parameter. The source can be an analog channel, a digital channel, or MATH; for digital channels only currently turned-on channels can be selected.
| Name | Type | Values | Description |
|---|---|---|---|
| sour | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | Source of the measurement parameter. |
:MEASure:SOURce CHANnel2 :MEASure:SOURce?
Sets or queries the source of the frequency counter, or disables the frequency counter.
| Name | Type | Values | Description |
|---|---|---|---|
| sour | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | OFF | Source used by the frequency counter, or OFF to disable it. |
:MEASure:COUNter:SOURce CHANnel2 /*Set the source of the frequency counter to :MEASure:COUNter:SOURce? /*The query returns CHAN2*/
Queries the measurement result of the frequency counter. The default unit is Hz; if the counter is disabled, the query returns 0.0000000e+00.
:MEASure:COUNter:VALue? /*The query returns 1.000004e+03*/
Clears one or all of the last five enabled measurement items. The item selection is determined by the order in which measurement items were turned on.
| Name | Type | Values | Description |
|---|---|---|---|
| item | enum | ITEM1 | ITEM2 | ITEM3 | ITEM4 | ITEM5 | ALL | Selects which measurement item to clear. |
:MEASure:CLEar ITEM1 /*Clear ITEM1*/
Recover the measurement item that has been cleared.
| Name | Type | Values | Description |
|---|---|---|---|
| item | enum | ITEM1 | ITEM2 | ITEM3 | ITEM4 | ITEM5 | ALL | Selects one of the last five measurement items or all items to recover. |
:MEASure:RECover <item>
Enable or disable the all measurement function, or query its status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the all measurement function. |
:MEASure:ADISplay ON :MEASure:ADISplay?
Set or query the source(s) of the all measurement function.
| Name | Type | Values | Description |
|---|---|---|---|
| src | discrete | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | Source for the all measurement function. |
:MEASure:AMSource CHANnel1,CHANnel3 :MEASure:AMSource?
Sets or queries the upper limit of the threshold, expressed as a percentage of amplitude, used in time, delay, and phase measurements.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 7 - 95 | Upper limit of the threshold percentage. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 6 - 94 | Middle point of the threshold in percent of amplitude. |
:MEASure:SETup:MID 89 :MEASure:SETup:MID?
Sets or queries the lower limit of the threshold, expressed as a percentage of amplitude, used in time, delay, and phase measurements. Changing this value can affect measurement results and may automatically raise the middle point if needed.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 5 - 93 | Lower limit of the threshold percentage of amplitude. |
:MEASure:SETup:MIN 53 :MEASure:SETup:MIN?
Set or query source A of Phase 1→2 and Phase 1→2 measurements.
| Name | Type | Values | Description |
|---|---|---|---|
| source | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Source A for the phase measurement. |
:MEASure:SETup:PSA CHANnel1 :MEASure:SETup:PSA?
Sets or queries source B for Phase 1→2 and Phase 1→2 measurements.
| Name | Type | Values | Description |
|---|---|---|---|
| source | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Source B for the phase measurement. |
:MEASure:SETup:PSB CHANnel2 /*Set source B of phase measurement to CH2*/ :MEASure:SETup:PSB? /*The query returns CHAN2*/
Set or query source A of Delay 1→2 and Delay 1→2 measurements.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 |
:MEASure:SETup:DSA CHANnel1 :MEASure:SETup:DSA?
Sets or queries source B for Delay 1→2 and Delay 1→2 measurements.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Source B selection for the delay measurement. |
:MEASure:SETup:DSB CHANnel2 /*Set source B of delay measurement to CH2*/ :MEASure:SETup:DSB? /*The query returns CHAN2*/
Enable or disable the statistic function, or query its status. When enabled, the oscilloscope displays statistic results for up to 5 measurement items turned on last.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | 1 | ON | 0 | OFF | Enables or disables the statistic function. |
:MEASure:STATistic:DISPlay ON :MEASure:STATistic:DISPlay?
Set or query the statistic mode. The query returns DIFF or EXTR.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | DIFFerence | EXTRemum | Selects the statistic mode. |
:MEASure:STATistic:MODE DIFFerence /*Select the difference mode*/ :MEASure:STATistic:MODE? /*The query returns DIFF*/
Clear the history data and restart statistics generation.
Enables the statistic function for a waveform parameter of the specified source, or queries the statistic result for a waveform parameter of the specified source. If source arguments are omitted, the source defaults to the one selected by :MEASure:SOURce or the setup commands noted in the manual.
| Name | Type | Values | Description |
|---|---|---|---|
| item | discrete | VMAX | 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 | NEDGes | Statistic item to measure. |
| srcopt | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | Source of the parameter to be measured. |
| srcopt | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | Second source for measurements that require two sources. |
:MEASure:STATistic:ITEM VPP,CHANnel2 :MEASure:STATistic:ITEM? MAXimum,VPP
Measures any waveform parameter of the specified source, or queries the measurement result for that parameter. Some measurements require one source; RDELay, FDELay, RPHase, and FPHase require two sources.
| Name | Type | Values | Description |
|---|---|---|---|
| item | discrete | VMAX | 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 | NEDGes | Measurement parameter to be measured. |
| srcopt | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | Source of the parameter to be measured. |
| srcopt | discrete | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | Second source for measurements that require two sources. |
:MEASure:ITEM OVERshoot,CHANnel2 :MEASure:ITEM? OVERshoot,CHANnel2
Enable or disable the REF function, or query its status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Enables or disables the REF function. |
:REFerence:DISPlay ON /*Enable the REF function*/ :REFerence:DISPlay? /*The query returns 1*/
Enable or disable the specified reference channel, or query its status.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 - 10 | Selects the reference channel number. |
| bool | boolean | - | Enables or disables the selected reference channel. |
:REFerence1:ENABle ON :REFerence1:ENABle?
Set or query the source of the current reference channel. Only currently enabled channels can be selected as the source.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 10 | Reference channel number. |
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | Source channel for the current reference channel. |
:REFerence1:SOURce CHANnel1 /*Set the source of reference channel 1 to CH1*/ :REFerence1:SOURce? /*The query returns CHAN1*/
Set or query the vertical scale of the specified reference channel. The unit is the same as the unit of the source.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Reference channel number. |
| scale | real | 1mV - 10V | Vertical scale of the specified reference channel; the valid range depends on probe ratio. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Reference channel number. |
| offset | real | -10 x RefVerticalScale - 10 x RefVerticalScale | Vertical offset of the specified reference channel. |
:REFerence1:VOFFset 0.5 :REFerence1:VOFFset?
Reset the vertical scale and vertical offset of the specified reference channel to their default values.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Select the current reference channel. Only reference channels currently turned on can be selected as the current reference channel.
| Name | Type | Values | Description |
|---|---|---|---|
| n | discrete | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Reference channel number to select. |
Store the waveform of the current reference channel to internal memory as a reference waveform.
| Name | Type | Values | Description |
|---|---|---|---|
| n | enum | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Reference channel number. |
Set or query the display color of the current reference channel.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 10 | Reference channel number. |
| color | enum | GRAY | GREEn | LBLue | MAGenta | ORANge | Display color for the reference channel. |
:REFerence1:COLor GREEn /*Set the display color of reference channel 1 (the current reference channel) to GREEn*/ :REFerence1:COLor? /*The query returns GREE*/
Set or query the image type when storing images.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | PNG | BMP8 | BMP24 | JPEG | TIFF | Image file type to use when storing images. |
:STORage:IMAGe:TYPE PNG /*Set the image type when storing images to PNG*/ :STORage:IMAGe:TYPE? /*The query returns PNG*/
Turns the image invert function on or off when storing images, or queries the current invert status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables invert for stored images. |
:STORage:IMAGe:INVERT ON /*Turn on the invert function when storing images*/ :STORage:IMAGe:INVERT? /*The query returns ON*/
Set the image color when storing images to color (ON) or intensity graded color (OFF), or query the current image color setting.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Selects image color storage mode: ON for color, OFF for intensity graded color. |
:STORage:IMAGe:COLor ON :STORage:IMAGe:COLor?
Enables or disables the AUTO key on the front panel, or queries the AUTO key status. When disabled, Auto Scale operation is invalid.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the AUTO key on the front panel. |
:SYSTem:AUToscale ON :SYSTem:AUToscale?
Enables or disables the beeper, or queries the beeper status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Selects whether the beeper is enabled or disabled. |
:SYSTem:BEEPer ON /*Enable the beeper*/ :SYSTem:BEEPer? /*The query returns 1*/
Queries and deletes the last system error message. The returned message is formatted as "<message number>,<message content>".
Queries the number of grids in the horizontal direction of the instrument screen. The query always returns 12.
Set or query the system language. The language is not affected by *RST.
| Name | Type | Values | Description |
|---|---|---|---|
| lang | enum | SCHinese | TCHinese | ENGLish | PORTuguese | GERMan | POLish | KORean | JAPAnese | FRENch | RUSSian | System language to select. |
:SYSTem:LANGuage SCHinese /*Set the system language to simplified Chinese*/ :SYSTem:LANGuage? /*The query returns SCH*/
Enable or disable the keyboard lock function, or query its status.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the keyboard lock function. |
Set or query the system configuration to be recalled when the oscilloscope is powered on again after power-off.
| Name | Type | Values | Description |
|---|---|---|---|
| pon | enum | LATest | DEFault | System configuration to recall on power-up. |
:SYSTem:PON LATest :SYSTem:PON?
Install an option license. The license must be obtained from RIGOL and entered as a 28-byte string with hyphens omitted.
| Name | Type | Values | Description |
|---|---|---|---|
| license | string | - | Option license string; 28 bytes, uppercase English letters and numbers only. |
:SYSTem:OPTion:INSTall PDUY9N9QTS9PQSWPLAETRD3UJHYA
Uninstalls the installed options.
Query the number of analog channels of the instrument. The query always returns 4.
Import the setting parameters of the oscilloscope to restore it to a specified setting. The query returns the oscilloscope setup data stream, which can be saved and later reused as the setter argument.
| Name | Type | Values | Description |
|---|---|---|---|
| setup_stream | block | - | Specified setting parameters of the oscilloscope; this is the return value of :SYSTem:SETup? and cannot be set manually. |
Enable or disable the delayed sweep, or query the status of the delayed sweep.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 1 | ON | 0 | OFF | Enables or disables the delayed sweep. |
:TIMebase:DELay:ENABle ON :TIMebase:DELay:ENABle?
Sets or queries the delayed timebase offset. The default unit is seconds.
| Name | Type | Values | Description |
|---|---|---|---|
| offset | real | -(LeftTime - DelayRange/2) - (RightTime - DelayRange/2) | Delayed timebase offset to set. |
:TIMebase:DELay:OFFSet 0.000002 /*Set the delayed timebase offset to 2μs*/ :TIMebase:DELay:OFFSet? /*The query returns 2.0000000e-06*/
Sets or queries the delayed timebase scale. The default unit is s/div, and the scale is limited by the current main timebase scale and a calculated minimum value.
| Name | Type | Values | Description |
|---|---|---|---|
| scale | real | Refer to Explanation - Refer to Explanation | Delayed timebase scale. |
:TIMebase:DELay:SCALe 0.00000005 /*Set the delayed timebase scale to 50ns/div*/ :TIMebase:DELay:SCALe? /*The query returns 5.0000000e-08*/
Sets or queries the main timebase offset. The default unit is seconds, and the valid range depends on the current timebase mode and run state.
| Name | Type | Values | Description |
|---|---|---|---|
| offset | real | Refer to Explanation | Main timebase offset to set. |
:TIMebase:MAIN:OFFSet 0.0002 :TIMebase:MAIN:OFFSet?
Sets or queries the main timebase scale. The default unit is s/div.
| Name | Type | Values | Description |
|---|---|---|---|
| scale | real | 5ns/div - 50s/div | Main timebase scale value; YT mode uses 5ns/div to 50s/div in 1-2-5 steps, and Roll mode uses 200ms/div to 50s/div in 1-2-5 steps. |
:TIMebase:MAIN:SCALe 0.0002 /*Set the main timebase scale to 200μs/div*/ :TIMebase:MAIN:SCALe? /*The query returns 2.0000000e-04*/
Set or query the horizontal timebase mode. MAIN corresponds to YT mode, XY to XY mode, and ROLL to Roll mode.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | MAIN | XY | ROLL | Horizontal timebase mode. |
:TIMebase:MODE XY /*Set the horizontal timebase mode to XY*/ :TIMebase:MODE? /*The query returns XY*/
Select or query the trigger type.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | EDGE | PULSe | RUNT | WIND | NEDG | SLOPe | VIDeo | PATTern | DELay | TIMeout | DURation | SHOLd | RS232 | IIC | SPI | Sets the trigger type. |
:TRIGger:MODE SLOPe :TRIGger:MODE?
Select or query the trigger coupling type. This command is only applicable to edge trigger when the signal source is an analog channel.
| Name | Type | Values | Description |
|---|---|---|---|
| couple | enum | AC | DC | LFReject | HFReject | Trigger coupling type. |
:TRIGger:COUPling LFReject :TRIGger:COUPling?
Queries the current trigger status.
Set or query the trigger mode.
| Name | Type | Values | Description |
|---|---|---|---|
| sweep | enum | AUTO | NORMal | SINGle | Trigger sweep mode to select. |
:TRIGger:SWEep SINGle :TRIGger:SWEep? /*The query returns SING*/
Set or query the trigger holdoff time. The default unit is s.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | 16ns - 10s | Trigger holdoff time. |
:TRIGger:HOLDoff 0.0000002 :TRIGger:HOLDoff?
Enable or disable noise rejection, or query the status of noise rejection.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | boolean | - | Enables or disables noise rejection. |
:TRIGger:NREJect ON :TRIGger:NREJect?
Query the position in internal memory that corresponds to the waveform trigger position.
:TRIGger:POSition? /*The query returns 100*/
Set or query the edge trigger settings. The page lists related subcommands for source, slope, and level.
Set or query the trigger source in edge trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | AC | Selects the edge trigger source. |
:TRIGger:EDGe:SOURce CHANnel1 /*Set the trigger source to CH1*/ :TRIGger:EDGe:SOURce? /*The query returns CHAN1*/
Set or query the edge type in edge trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| slope | enum | POSitive | NEGative | RFALl | Selects the trigger edge type. |
:TRIGger:EDGe:SLOPe NEGative /*Set the edge type to falling edge*/ :TRIGger:EDGe:SLOPe? /*The query returns NEG*/
Set or query the trigger level in edge trigger. The unit is the same as the current amplitude unit of the selected signal source.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | (-5 x VerticalScale - OFFSet) - (5 x VerticalScale - OFFSet) | Trigger level. |
:TRIGger:EDGe:LEVel 0.16 :TRIGger:EDGe:LEVel?
Sets or queries the trigger source in pulse width trigger. The source can be one of the digital channels D0-D15 or analog channels CHANnel1-CHANnel4.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source for pulse width trigger. |
:TRIGger:PULSe:SOURce CHANnel1 /*Set the trigger source to CH1*/ :TRIGger:PULSe:SOURce? /*The query returns CHAN1*/
Sets or queries the trigger source in pulse width trigger. When D0 to D7 are turned on, CH4 cannot be selected; when D8 to D15 are turned on, CH3 cannot be selected.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source. |
:TRIGger:PULSe:SOURce CHANnel1 /*Set the trigger source to CH1*/ :TRIGger:PULSe:SOURce? /*The query returns CHAN1*/
Sets or queries the trigger condition in pulse width trigger. The condition selects whether the oscilloscope triggers on positive or negative pulse widths being greater or less than the specified width, or within a specified window.
| Name | Type | Values | Description |
|---|---|---|---|
| when | enum | PGReater | PLESs | NGReater | NLESs | PGLess | NGLess | Trigger condition for pulse width triggering. |
:TRIGger:PULSe:WHEN NLESs :TRIGger:PULSe:WHEN? /*The query returns NELS*/
Set or query the pulse width in pulse width trigger. The default unit is s.
| Name | Type | Values | Description |
|---|---|---|---|
| width | real | 8ns - 10s | Pulse width used by the trigger condition. |
:TRIGger:PULSe:WIDTh 0.000003 :TRIGger:PULSe:WIDTh? /*The query returns3.000000e-06*/
Set or query the upper pulse width in pulse width trigger. The default unit is s.
| Name | Type | Values | Description |
|---|---|---|---|
| width | real | 16ns - 10s | Upper pulse width value. |
:TRIGger:PULSe:UWIDth 0.000003 /*Set the upper pulse width to 3μs*/ :TRIGger:PULSe:UWIDth? /*The query returns3.000000e-06*/
Set or query the lower pulse width in pulse width trigger. The default unit is s.
| Name | Type | Values | Description |
|---|---|---|---|
| width | real | 8ns - 9.99s | Lower pulse width. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet |
:TRIGger:PULSe:LEVel 0.16 :TRIGger:PULSe:LEVel?
Sets or queries the trigger source in slope trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source for slope trigger. |
Set or query the trigger source in slope trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source. |
:TRIGger:SLOPe:SOURce CHANnel2 :TRIGger:SLOPe:SOURce?
Sets or queries the slope-trigger condition. The setting selects one of six condition keywords; the query returns the current condition abbreviation.
| Name | Type | Values | Description |
|---|---|---|---|
| when | enum | PGReater | PLESs | NGReater | NLESs | PGLess | NGLess | Trigger condition for slope trigger. |
:TRIGger:SLOPe:WHEN NLESs /*Set the trigger condition to NLESs*/ :TRIGger:SLOPe:WHEN? /*The query returns NLES*/
Sets or queries the time value used in slope trigger. The default unit is seconds, and the command is available only when :TRIGger:SLOPe:WHEN is PGReater, PLESs, NGReater, or NLESs.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | 8ns - 10s | Time value for the slope trigger condition. |
:TRIGger:SLOPe:TIME 0.000003 :TRIGger:SLOPe:TIME?
Set or query the upper limit of the time in slope trigger. The default unit is s.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | 16ns - 10s | Upper limit of the time in slope trigger. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | 8ns - 9.99s | Lower time limit for slope trigger. |
:TRIGger:SLOPe:TLOWer 0.000000020 :TRIGger:SLOPe:TLOWer?
Sets or queries the vertical window type in slope trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| window | enum | TA | TB | TAB | Vertical window type for slope trigger. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Upper limit of the trigger level. |
:TRIGger:SLOPe:ALEVel 0.16 :TRIGger:SLOPe:ALEVel?
Sets or queries the lower limit of the trigger level in slope trigger. The unit is the same as the current amplitude unit.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Lower limit of the trigger level. |
:TRIGger:SLOPe:BLEVel 0.16 :TRIGger:SLOPe:BLEVel?
Selects or queries the video trigger source.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Sets the video trigger source. |
:TRIGger:VIDeo:SOURce CHANnel2 :TRIGger:VIDeo:SOURce?
Selects or queries the trigger source in video trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source for video trigger. |
:TRIGger:VIDeo:SOURce CHANnel2 :TRIGger:VIDeo:SOURce?
Selects or queries the video polarity used for video trigger. The query returns the current polarity as POS or NEG.
| Name | Type | Values | Description |
|---|---|---|---|
| polarity | enum | POSitive | NEGative | Video trigger polarity to set. |
:TRIGger:VIDeo:POLarity POSitive :TRIGger:VIDeo:POLarity?
Set or query the sync type in video trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | ODDField | EVENfield | LINE | ALINes | Selects the video trigger sync type. |
:TRIGger:VIDeo:MODE ODDField /*Set the sync type to odd field*/ :TRIGger:VIDeo:MODE? /*The query returns ODDF*/
Set or query the line number when the video trigger sync type is LINE.
| Name | Type | Values | Description |
|---|---|---|---|
| line | integer | 1 - 625 | Line number to use for the LINE video trigger sync type; valid range depends on the video standard. |
:TRIGger:VIDeo:LINE 100 :TRIGger:VIDeo:LINE?
Set or query the video standard used by video trigger. The query returns the current standard.
| Name | Type | Values | Description |
|---|---|---|---|
| standard | enum | PALSecam | NTSC | 480P | 576P | Video standard to select. |
:TRIGger:VIDeo:STANdard NTSC /*Select NTSC video standard*/ :TRIGger:VIDeo:STANdard? /*The query returns NTSC*/
Set or query the trigger level in video trigger. The unit is the same as the current amplitude unit.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Trigger level value. |
:TRIGger:VIDeo:LEVel 0.16 :TRIGger:VIDeo:LEVel?
Command list entry for trigger pattern settings. The page slice only references the subcommands :TRIGger:PATTern:PATTern and :TRIGger:PATTern:LEVel, but does not document the command itself.
Sets or queries the pattern for each channel in pattern trigger. The query returns the patterns of the 4 analog channels, or all 20 channels when any digital channel is on.
| Name | Type | Values | Description |
|---|---|---|---|
| pa_ch1 | enum | H | L | X | R | F | Pattern state for CH1. |
| pa_ch2opt | enum | H | L | X | R | F | Pattern state for CH2. |
| pa_ch3opt | enum | H | L | X | R | F | Pattern state for CH3. |
| pa_ch4opt | enum | H | L | X | R | F | Pattern state for CH4. |
| pa_d0opt | enum | H | L | X | R | F | Pattern state for digital channel D0. |
| pa_d1opt | enum | H | L | X | R | F | Pattern state for digital channel D1. |
| pa_d2opt | enum | H | L | X | R | F | Pattern state for digital channel D2. |
| pa_d3opt | enum | H | L | X | R | F | Pattern state for digital channel D3. |
| pa_d4opt | enum | H | L | X | R | F | Pattern state for digital channel D4. |
| pa_d5opt | enum | H | L | X | R | F | Pattern state for digital channel D5. |
| pa_d6opt | enum | H | L | X | R | F | Pattern state for digital channel D6. |
| pa_d7opt | enum | H | L | X | R | F | Pattern state for digital channel D7. |
| pa_d8opt | enum | H | L | X | R | F | Pattern state for digital channel D8. |
| pa_d9opt | enum | H | L | X | R | F | Pattern state for digital channel D9. |
| pa_d10opt | enum | H | L | X | R | F | Pattern state for digital channel D10. |
| pa_d11opt | enum | H | L | X | R | F | Pattern state for digital channel D11. |
| pa_d12opt | enum | H | L | X | R | F | Pattern state for digital channel D12. |
| pa_d13opt | enum | H | L | X | R | F | Pattern state for digital channel D13. |
| pa_d14opt | enum | H | L | X | R | F | Pattern state for digital channel D14. |
| pa_d15opt | enum | H | L | X | R | F | Pattern state for digital channel D15. |
:TRIGger:PATTern:PATTern H,R,L,X /*Set the patterns of CH1 to CH4 to H,R,L,X. The patterns of the other channels remain unchanged*/ :TRIGger:PATTern:PATTern? /*The query returns H,R,L,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X*/
Sets or queries the trigger level of the specified channel in pattern trigger. The unit is the same as the current amplitude unit.
| Name | Type | Values | Description |
|---|---|---|---|
| chan | discrete | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Specified channel for the pattern trigger level. |
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Trigger level to set for the specified channel. |
:TRIGger:PATTern:LEVel CHANnel2,0.16 /*Set the trigger level of CH2 to 160mV*/ :TRIGger:PATTern:LEVel? CHANnel2 /*The query returns 1.600000e-01*/
Sets or queries the trigger source in duration trigger. The source can be one of the digital channels D0-D15 or CHANnel1-CHANnel4.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source to use for duration trigger. |
Sets or queries the trigger source in duration trigger. When certain digital channels are on, some analog channels cannot be selected.
| Name | Type | Values | Description |
|---|---|---|---|
| source | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source to select. |
:TRIGger:DURATion:SOURce CHANnel2 /*Set the trigger source to CH2*/ :TRIGger:DURATion:SOURce? /*The query returns CHAN2*/
Sets or queries the pattern of each channel in duration trigger. For queries, it returns the patterns of the 4 analog channels when all digital channels are off, or all 20 channels when any digital channel is on.
| Name | Type | Values | Description |
|---|---|---|---|
| type_ch1 | enum | H | L | X | Pattern for analog channel CH1. |
| type_ch2opt | enum | H | L | X | Pattern for analog channel CH2. |
| type_ch3opt | enum | H | L | X | Pattern for analog channel CH3. |
| type_ch4opt | enum | H | L | X | Pattern for analog channel CH4. |
| type_d0opt | enum | H | L | X | Pattern for digital channel D0. |
:TRIGger:DURATion:TYPe L,X,H,L /*Set the patterns of CH1 to CH4 to L,X,H,L. The :TRIGger:DURATion:TYPe? /*The query returns
Sets or queries the trigger condition in duration trigger. The available conditions are GREater, LESS, and GLESs.
| Name | Type | Values | Description |
|---|---|---|---|
| when | enum | GREater | LESS | GLESs | Selects the duration trigger condition. |
:TRIGger:DURATion:WHEN LESS :TRIGger:DURATion:WHEN?
Sets or queries the duration time upper limit in duration trigger. The default unit is seconds, and the command is available when :TRIGger:DURATion:WHEN is LESS or GLESs.
| Name | Type | Values | Description |
|---|---|---|---|
| <NR3> | real | 8ns - 10s | Duration time upper limit; valid range depends on the trigger condition. |
:TRIGger:DURATion:TUPPer 0.000003 :TRIGger:DURATion:TUPPer?
Sets or queries the duration time lower limit in duration trigger. The default unit is seconds, and the command is available when :TRIGger:DURATion:WHEN is GREater or GLESs.
| Name | Type | Values | Description |
|---|---|---|---|
| <NR3> | real | 8ns - 9.99s | Duration time lower limit. |
:TRIGger:DURATion:TLOWer 0.000003 :TRIGger:DURATion:TLOWer?
Selects the timeout trigger subsystem. The page slice only lists related subcommands for source, slope, and time, and does not provide standalone syntax or behavior for the parent command.
Sets or queries the trigger source used for timeout triggering.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Selects the trigger source. |
:TRIGger:TIMeout:SOURce CHANnel2 :TRIGger:TIMeout:SOURce?
Set or query the edge type in timeout trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| slope | enum | POSitive | NEGative | RFALl | Edge type used by the timeout trigger. |
Set or query the timeout time in timeout trigger. The default unit is s.
| Name | Type | Values | Description |
|---|---|---|---|
| timeout time | real | 16ns - 10s | Timeout time value. |
:TRIGger:TIMeout:TIMe 0.002 /*Set the timeout time to 2ms*/ :TRIGger:TIMeout:TIMe? /*The query returns 2.000000e-03*/
Sets the runt trigger source, polarity, and related runt trigger settings listed on the page. This is the parent command for the RUNT trigger subsystem and has no direct syntax shown in the slice.
Set or query the trigger source in runt trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Selects the runt trigger source channel. |
:TRIGger:RUNT:SOURce CHANnel2 :TRIGger:RUNT:SOURce?
Set or query the pulse polarity in runt trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| polarity | enum | POSitive | NEGative | Selects whether the instrument triggers on the positive or negative runt pulse. |
:TRIGger:RUNT:POLarity NEGative :TRIGger:RUNT:POLarity?
Sets or queries the qualifier used for runt trigger qualification. The query returns the current qualifier as NONE, GRE, LESS, or GLES.
| Name | Type | Values | Description |
|---|---|---|---|
| when | enum | NONE | GREater | LESS | GLESs | Qualifier for runt trigger condition selection. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| NR3 | real | 8ns - 10s | Pulse width upper limit for runt trigger. |
:TRIGger:RUNT:WUPPer 0.02 :TRIGger:RUNT:WUPPer?
Set or query the pulse width lower limit in runt trigger. The default unit is s.
| Name | Type | Values | Description |
|---|---|---|---|
| <NR3> | real | 8ns - 10s | Pulse width lower limit; when the qualifier is GREater the range is 8 ns to 10 s, and when the qualifier is GLESs the range is 8 ns to 9.99 s. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet |
:TRIGger:RUNT:ALEVel 0.16 :TRIGger:RUNT:ALEVel?
Sets or queries the trigger level lower limit for runt trigger. The unit is the same as the current amplitude unit.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Trigger level lower limit. |
:TRIGger:RUNT:BLEVel 0.16 /*Set the trigger level lower limit to 160mV*/ :TRIGger:RUNT:BLEVel? /*The query returns 1.600000e-01*/
Root windows trigger command; the page slice only lists its subcommands and does not document a direct syntax, parameters, or return value for :TRIGger:WINDows itself.
Sets or queries the trigger source in window trigger mode.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Selects the trigger source channel. |
:TRIGger:WINDows:SOURce CHANnel2 :TRIGger:WINDows:SOURce?
Set or query the windows type in windows trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | POSitive | NEGative | RFALl | Selects the windows trigger slope/type. |
:TRIGger:WINDows:SLOPe NEGative :TRIGger:WINDows:SLOPe?
Set or query the trigger position in windows trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| pos | enum | EXIT | ENTER | TIMe | Specifies the trigger position mode in windows trigger. |
:TRIGger:WINDows:POSition ENTER :TRIGger:WINDows:POSition?
Sets or queries the hold time used in windows trigger. The query returns the hold time in scientific notation.
| Name | Type | Values | Description |
|---|---|---|---|
| <NR3> | real | 8ns - 10s | Hold time value for windows trigger. |
:TRIGger:WINDows:TIMe 0.002 :TRIGger:WINDows:TIMe?
Set or query the trigger level upper limit in windows trigger. The unit is the same as the current amplitude unit.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Trigger level upper limit. |
:TRIGger:WINDows:ALEVel 0.16 :TRIGger:WINDows:ALEVel?
Sets or queries the trigger level lower limit in windows trigger. The unit is the same as the current amplitude unit.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | (-5 x VerticalScale - OFFSet) - (5 x VerticalScale - OFFSet) | Trigger level lower limit. |
:TRIGger:WINDows:BLEVel 0.05 :TRIGger:WINDows:BLEVel?
Set the trigger source A in delay trigger. The query returns the current source as CHAN1, CHAN2, CHAN3, or CHAN4.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source A for delay trigger. |
:TRIGger:DELay:SA CHANnel2 :TRIGger:DELay:SA?
Sets or queries trigger source A in delay trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source A for delay trigger. |
:TRIGger:DELay:SA CHANnel2 :TRIGger:DELay:SA?
Set or query the edge type of edge A in delay trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| slope | enum | POSitive | NEGative | Edge type for delay trigger edge A. |
:TRIGger:DELay:SLOPA NEGative :TRIGger:DELay:SLOPA?
Sets or queries trigger source B in delay trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source B for delay trigger. |
:TRIGger:DELay:SB CHANnel4 :TRIGger:DELay:SB?
Sets or queries the edge type of edge B in delay trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| slope | enum | POSitive | NEGative | Selects the slope for edge B in delay trigger. |
:TRIGger:DELay:SLOPB NEGative :TRIGger:DELay:SLOPB?
Sets or queries the delay type in delay trigger. The available types are GREater, LESS, GLESs, and GOUT.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | GREater | LESS | GLESs | GOUT | Delay trigger mode. |
:TRIGger:DELay:TYPe GOUT /*Set the delay type to ><*/ :TRIGger:DELay:TYPe? /*The query returns GOUT*/
Sets or queries the upper limit of the delay time in delay trigger. The default unit is seconds; the command is only available when the delay type is LESS, GOUT, or GLESs.
| Name | Type | Values | Description |
|---|---|---|---|
| <NR3> | real | 16ns - 10s | Upper 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.
| Name | Type | Values | Description |
|---|---|---|---|
| delay time lower limit | real | 8ns - 10s | Lower limit of the delay time; the allowed range depends on the delay type. |
:TRIGger:DELay:TLOWer 0.002 :TRIGger:DELay:TLOWer?
Sets or queries the setup/hold trigger command group. The slice does not document a direct :TRIGger:SHOLd command body beyond its subcommands.
Sets or queries the data source used in setup/hold trigger. The query returns the selected channel identifier.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Data source for the setup/hold trigger. |
:TRIGger:SHOLd:DSrc CHANnel1 :TRIGger:SHOLd:DSrc?
Set or query the clock source in setup/hold trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Selects the clock source. |
:TRIGger:SHOLd:CSrc CHANnel2 /*Set the clock source to CH2*/ :TRIGger:SHOLd:CSrc? /*The query returns CHAN2*/
Set or query the edge type in setup/hold trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| slope | enum | POSitive | NEGative | Edge type for the setup/hold trigger. |
:TRIGger:SHOLd:SLOPe NEGative /*Set the edge type to falling edge*/ :TRIGger:SHOLd:SLOPe? /*The query returns NEG*/
Set or query the data type in setup/hold trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| pattern | enum | H | L | Selects the data level used for the setup/hold trigger pattern. |
:TRIGger:SHOLd:PATTern L :TRIGger:SHOLd:PATTern? /*The query returns L*/
Set or query the setup type in setup/hold trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | SETup | HOLd | SETHOLd | Selects the setup/hold trigger mode. |
:TRIGger:SHOLd:TYPe SETHOLd :TRIGger:SHOLd:TYPe?
Sets or queries the setup time in setup/hold trigger. The default unit is seconds and the command is only available when the setup type is SETup or SETHOLd.
| Name | Type | Values | Description |
|---|---|---|---|
| <NR3> | real | 8ns - 1s | Setup time value. |
:TRIGger:SHOLd:STIMe 0.002 /*Set the setup time to 2ms*/ :TRIGger:SHOLd:STIMe? /*The query returns 2.000000e-03*/
Sets or queries the hold time in setup/hold trigger. The default unit is seconds, and the command is only available when the setup type is HOLD or SETHOLd.
| Name | Type | Values | Description |
|---|---|---|---|
| <NR3> | real | 8ns - 1s | Hold time value. |
:TRIGger:SHOLd:HTIMe 0.002 /*Set the hold time to 2ms*/ :TRIGger:SHOLd:HTIMe? /*The query returns 2.000000e-03*/
Selects the Nth edge trigger subsystem. The slice only documents the related source and slope subcommands, not any direct parameters for this command.
Sets or queries the trigger source used for Nth edge triggering. The allowed sources are the digital channels D0 to D15 or CHANnel1 to CHANnel4, with channel-selection restrictions noted in the explanation.
| Name | Type | Values | Description |
|---|---|---|---|
| source | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source for Nth edge trigger. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| slope | enum | POSitive | NEGative | Selects whether the trigger occurs on the rising or falling edge. |
:TRIGger:NEDGe:SLOPe NEGative /*Set the edge type to falling edge*/ :TRIGger:NEDGe:SLOPe? /*The query returns NEG*/
Sets or queries the idle time in Nth edge trigger. The default unit is seconds.
| Name | Type | Values | Description |
|---|---|---|---|
| idle time | real | 16ns - 10s | Idle time in Nth edge trigger. |
:TRIGger:NEDGe:IDLE 0.002 :TRIGger:NEDGe:IDLE?
Set or query the number of edges in Nth edge trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| NR1 | integer | 1 - 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.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Trigger level to set for the Nth edge trigger. |
[?
Sets or queries the trigger source used for RS232 trigger. The source can be one of the digital channels D0-D15 or CHANnel1-CHANnel4, subject to channel availability constraints.
| Name | Type | Values | Description |
|---|---|---|---|
| source | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Trigger source in RS232 trigger. |
Sets or queries the trigger source for RS232 triggering.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Selects the RS232 trigger source. |
:TRIGger:RS232:SOURce CHANnel2 /*Set the trigger source to CH2*/ :TRIGger:RS232:SOURce? /*The query returns CHAN2*/
Sets or queries the trigger condition in RS232 trigger. The setting selects whether triggering occurs on the start frame position, error frame, parity check error, or data bit position.
| Name | Type | Values | Description |
|---|---|---|---|
| when | enum | STARt | ERRor | PARity | DATA | Trigger condition to use for RS232 triggering. |
:TRIGger:RS232:WHEN ERRor :TRIGger:RS232:WHEN?
Set or query the parity type used for RS232 trigger conditions ERRor or PARity. When the trigger condition is PARity, NONE is not allowed and the default parity type is ODD.
| Name | Type | Values | Description |
|---|---|---|---|
| parity | enum | EVEN | ODD | NONE | Parity type for the RS232 trigger. |
:TRIGger:RS232:PARity EVEN :TRIGger:RS232:PARity?
Sets or queries the stop bit used when the RS232 trigger condition is ERROR. The query returns 1 or 2.
| Name | Type | Values | Description |
|---|---|---|---|
| bit | integer | 1 | 2 | Stop bit value. |
:TRIGger:RS232:STOP 2 :TRIGger:RS232:STOP?
Sets or queries the RS232 trigger data value used when the trigger condition is DATA. The query returns an integer.
| Name | Type | Values | Description |
|---|---|---|---|
| data | integer | 0 - 2n-1 | Data value to compare against in the RS232 DATA trigger condition. |
:TRIGger:RS232:DATA 10 :TRIGger:RS232:DATA?
Set or query the data bits when the trigger condition is DATA in RS232 trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| width | enum | 5 | 6 | 7 | 8 | Number of data bits to use for the RS232 trigger condition. |
:TRIGger:RS232:WIDTh 6 :TRIGger:RS232:WIDTh?
Sets or queries the baud rate used for RS232 trigger. The default unit is bps.
| Name | Type | Values | Description |
|---|---|---|---|
| baud_rate | enum | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200 | 230400 | 460800 | 921600 | 1000000 | USER | Baud rate selection for the RS232 trigger. |
:TRIGger:RS232:BAUD 4800 /*Set the baud rate to 4800bps*/ :TRIGger:RS232:BAUD? /*The query returns 4800*/
Set or query the user-defined baud rate in RS232 trigger. The default unit is bps.
| Name | Type | Values | Description |
|---|---|---|---|
| user baud | integer | 110 - 20000000 | User-defined baud rate value. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Trigger level for the RS232 trigger. |
:TRIGger:RS232:LEVel 0.16 /*Set the trigger level to 160mV*/ :TRIGger:RS232:LEVel? /*The query returns 1.600000e-01*/
Sets or queries the channel source of SCL in I2C trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Channel source for SCL in the I2C trigger. |
:TRIGger:IIC:SCL CHANnel2 /*Set the SCL source to CH2*/ :TRIGger:IIC:SCL? /*The query returns CHAN2*/
Sets or queries the channel source of SCL in the I2C trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| source | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Channel source for SCL in the I2C trigger. |
:TRIGger:IIC:SCL CHANnel2 /*Set the SCL source to CH2*/ :TRIGger:IIC:SCL? /*The query returns CHAN2*/
Sets or queries the channel source of SDA in the I2C trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Channel source used for SDA in the I2C trigger. |
:TRIGger:IIC:SDA CHANnel2 :TRIGger:IIC:SDA?
Set or query the trigger condition in I2C trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| trig_type | enum | STARt | RESTart | STOP | NACKnowledge | ADDRess | DATA | ADATa | Trigger condition to use for the I2C trigger. |
:TRIGger:IIC:WHEN RESTart :TRIGger:IIC:WHEN?
Sets or queries the address bits used for I2C trigger when the trigger condition is ADDRess or ADATa.
| Name | Type | Values | Description |
|---|---|---|---|
| bits | enum | 7 | 8 | 10 | Address bit width to use for the trigger. |
:TRIGger:IIC:AWIDth 10 :TRIGger:IIC:AWIDth?
Sets or queries the I2C trigger address when the trigger condition is ADDRess or ADATa. The valid range depends on the current address-bit setting.
| Name | Type | Values | Description |
|---|---|---|---|
| adr | integer | 0 - 2^n-1 | I2C trigger address value. |
:TRIGger:IIC:ADDRess 100 :TRIGger:IIC:ADDRess?
Set or query the data direction when the trigger condition is ADDRess or ADATa in I2C trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| dir | enum | READ | WRITe | RWRite | Data direction for the I2C trigger. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| data | integer | 0 - 2^40-1 | Data value to store for the I2C trigger condition. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Trigger level of SCL in I2C trigger. |
:TRIGger:IIC:CLEVel 0.16 :TRIGger:IIC:CLEVel? /*The query returns 1.600000e-01*/
Set or query the trigger level of SDA in I2C trigger. The unit is the same as the current amplitude unit.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Trigger level of SDA. |
:TRIGger:IIC:DLEVel 0.16 :TRIGger:IIC:DLEVel?
Sets or queries the channel source used for SCL in SPI trigger setup.
| Name | Type | Values | Description |
|---|---|---|---|
| source | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Channel source for SCL in the SPI trigger. |
:TRIGger:SPI:SCL CHANnel1 /*Set the channel source of SCL to CH1*/ :TRIGger:SPI:SCL? /*The query returns CHAN1*/
Sets or queries the channel source of SCL in SPI trigger. When one or more of channels D0 to D7 is turned on, CH4 cannot be selected; when one or more of D8 to D15 is turned on, CH3 cannot be selected.
| Name | Type | Values | Description |
|---|---|---|---|
| source | discrete | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Channel source of SCL in SPI trigger. |
:TRIGger:SPI:SCL CHANnel1 :TRIGger:SPI:SCL?
Sets or queries the channel source of SDA in SPI trigger. When channels D0 to D7 are on, CH4 cannot be selected; when D8 to D15 are on, CH3 cannot be selected.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Channel source for SDA in SPI trigger. |
:TRIGger:SPI:SDA CHANnel2 :TRIGger:SPI:SDA?
Set or query the trigger condition in SPI trigger. When the trigger condition is set to TIMeout, the :TRIGger:SPI:TIMeout command is used to set the timeout value.
| Name | Type | Values | Description |
|---|---|---|---|
| trig_type | enum | CS | TIMeout | Trigger condition for SPI trigger. |
:TRIGger:SPI:WHEN TIMeout /*Set the trigger condition to TIMeout*/ :TRIGger:SPI:WHEN? /*The query returns TIM*/
Set or query the data bits of the SDA channel in SPI trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| width | integer | 4 - 32 | Number of data bits for the SDA channel. |
:TRIGger:SPI:WIDTh 10 /*Set the data bits of the SDA channel to 10*/ :TRIGger:SPI:WIDTh? /*The query returns 10*/
Sets or queries the SPI trigger data value. The valid range depends on the configured data bits, up to 32 bits.
| Name | Type | Values | Description |
|---|---|---|---|
| data | integer | 0 - 2^32-1 | SPI trigger data value. |
:TRIGger:SPI:DATA 5 :TRIGger:SPI:DATA?
Sets or queries the timeout value used when the SPI trigger condition is TIMeout. The default unit is seconds.
| Name | Type | Values | Description |
|---|---|---|---|
| time_value | real | 100ns - 1s | Timeout value to use for the SPI trigger. |
:TRIGger:SPI:TIMeout 0.001 /*Set the timeout value to 1ms*/ :TRIGger:SPI:TIMeout? /*The query returns 1.000000e-03*/
Set or query the clock edge used for SPI trigger sampling. POSitive samples SDA on the rising edge; NEGative samples SDA on the falling edge.
| Name | Type | Values | Description |
|---|---|---|---|
| slope | enum | POSitive | NEGative | Clock edge selection for SPI trigger sampling. |
:TRIGger:SPI:SLOPe POSitive :TRIGger:SPI:SLOPe?
Sets or queries the trigger level of the SCL channel in SPI trigger. The unit is the same as the current amplitude unit.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Trigger level for the SCL channel. |
:TRIGger:SPI:CLEVel 0.16 :TRIGger:SPI:CLEVel?
Sets or queries the trigger level of the SDA channel in SPI trigger. The unit is the same as the current amplitude unit.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Trigger level for the SDA channel. |
:TRIGger:SPI:DLEVel 0.16 :TRIGger:SPI:DLEVel?
Sets or queries the trigger level of the CS channel in SPI trigger. The unit is the same as the current amplitude unit.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -5 x VerticalScale - OFFSet - 5 x VerticalScale - OFFSet | Trigger level of the CS channel in SPI trigger. |
:TRIGger:SPI:SLEVel 0.16 :TRIGger:SPI:SLEVel?
Set or query the CS mode when the trigger condition is CS in SPI trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | HIGH | LOW | CS mode. |
:TRIGger:SPI:MODE LOW /*Set the CS mode to low*/ :TRIGger:SPI:MODE? /*The query returns LOW*/
Sets or queries the data source of the CS signal in SPI trigger. The query returns the currently selected source.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | Data source for the CS signal in SPI trigger. |
:TRIGger:SPI:CS CHANnel2 /*Set the data source of the CS signal to CH2*/ :TRIGger:SPI:CS? /*The query returns CHAN2*/
Sets or queries which channel the waveform data is read from.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 | D15 | CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | MATH | Selects the waveform source channel. |
:WAVeform:SOURce CHANnel2 /*Set the channel to CH2*/ :WAVeform:SOURce? /*The query returns CHAN2*/
Sets or queries the reading mode used by :WAVeform:DATA?.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | NORMal | MAXimum | RAW | Selects the waveform reading mode. |
:WAVeform:MODE RAW :WAVeform:MODE?
Set or query the return format of the waveform data.
| Name | Type | Values | Description |
|---|---|---|---|
| format | enum | WORD | BYTE | ASCii | Selects the waveform data return format. |
:WAVeform:FORMat WORD :WAVeform:FORMat?
Reads the waveform data. The returned format depends on the currently selected waveform data format: WORD/BYTE returns a TMC data block, and ASCII returns voltage values separated by commas.
:WAV:DATA?
Queries the time difference between two neighboring points of the specified channel source in the X direction. The returned value depends on the current data reading mode and is returned in scientific notation.
:WAVeform:XINCrement? /*The query returns 1.000000e-08*/
Queries the start time of the waveform data for the currently selected X-direction source. The returned value depends on the current data reading mode and is given in scientific notation.
:WAVeform:XORigin? /*The query returns -6.000000e-06*/
Queries the reference time of the specified channel source in the X direction. The query returns 0, meaning the first point on the screen or in internal memory.
Queries the waveform increment of the specified channel source in the Y direction. The unit is the same as the current amplitude unit, and the return value depends on the current data reading mode.
:WAVeform:YINCrement? /*The query returns 8.000000e-03*/
Queries the vertical offset relative to the vertical reference position of the specified channel source in the Y direction. The return value depends on the current data reading mode.
:WAVeform:YORigin? /*The query returns 25*/
Queries the vertical reference position of the specified channel source in the Y direction. The value is always 127.
Sets or queries the start point of waveform data reading. The actual valid range depends on the oscilloscope memory depth and selected waveform data return format.
| Name | Type | Values | Description |
|---|---|---|---|
| sta | integer | 1 - 1200 | Start point of waveform data reading. |
:WAVeform:STARt 100 /*Set the start point to 100*/ :WAVeform:STARt? /*The query returns 100*/
Set or query the stop point of waveform data reading.
| Name | Type | Values | Description |
|---|---|---|---|
| stop | integer | 1 - 1200 | Stop point for waveform data reading. |
None
Queries and returns all waveform parameters for the currently selected waveform data format.
:WAVeform:PREamble? /*The query returns 0,2,6000000,1,1.000000e-09,-3.000000e-03,0,4.132813e-0 1,0,122*/