Notices RIGOL products are covered by P.R.C. and foreign patents, issued and pending. RIGOL reserves the right to modify or change parts of or all the specifications and pricing policies at the company’s sole decision. Information in this publication replaces all previously released materials.
Content Conventions in this Manual: The DS2000E series includes the following models. Unless otherwise noted, this manual takes DS2202E as an example to illustrate the functions and usage of the command system of the DS2000E series. Model Analog Bandwidth...
RIGOL 1 SCPI Overview 1 SCPI Overview SCPI (Standard Commands for Programmable Instruments) is a standardized instrument programming language that is built upon the standard IEEE 488.1 and IEEE 488.2 and conforms to various standards (such as the floating point operation rule in IEEE 754 standard, ISO 646 7-bit coded character for information interchange (equivalent to ASCII programming)).
RIGOL 1 SCPI Overview Symbol Description The following symbols will not be sent with the commands. Braces {} The parameters enclosed in the braces are optional and are usually separated by the vertical bar "|". When you use the command, one of the parameters must be selected.
RIGOL 1 SCPI Overview Real The parameter can be any real number within the effective value range and this command accepts decimal and scientific notation parameter input. For example, :FUNCtion:WREPlay:INTerval <interval> :FUNCtion:WREPlay:INTerval? Wherein, <interval> can be set to any real number between 0.0000001 (or 1e-07, namely 100ns) to 10 (or 1e+01, namely 10s).
RIGOL 2 Command System 2 Command System This chapter introduces the command subsystems of DS2000E command set. The topics of this chapter: :AUToscale :CLEar :RUN :STOP :SINGle :TFORce :TLHAlf IEEE 488.2 Common Commands ...
RIGOL 2 Command System :AUToscale Syntax :AUToscale Description Enable the waveform auto setting function. The oscilloscope adjusts the vertical scale, horizontal time base and trigger mode according to the input signal automatically to realize optimum waveform display. The function of this command is the same with that of AUTO on the front panel.
RIGOL 2 Command System :SINGle Syntax :SINGle Description Set the oscilloscope to single trigger mode. Explanation In single trigger mode, the oscilloscope triggers once the trigger conditions are met and then stops. In single trigger mode, using the :TFORce command can generate a trigger signal forcefully.
RIGOL 2 Command System IEEE 488.2 Common Commands The IEEE 488.2 standard defines some common commands used for querying the basic information of the instrument or executing basic operations. These commands usually start with "*" and the keyword of the command is usually 3-character long.
RIGOL 2 Command System *ESE Syntax *ESE <mask> *ESE? Description Set or query the enable register for the standard event status register set. Parameter Name Type Range Default <mask> Integer 0 to 255 Explanation <mask> is the sum of the binary weights (expressed in decimal) of all the bits between bit 0 and bit ...
Description Query the current device information. Return Format The query returns RIGOL TECHNOLOGIES,<model>,<serial number>,<software version>. Wherein, <model> is the model number of the instrument. <serial number> is the serial number of the instrument. <software version> is the software version of the instrument.
RIGOL 2 Command System *OPC Syntax *OPC *OPC? Description Set the Operation Complete bit (bit 0) in the standard event status register to 1 after the current operation is finished. Query whether the current operation is finished. Return Format The query returns 1 if the current operation is finished; otherwise, returns 0.
RIGOL 2 Command System *SRE Syntax *SRE <mask> *SRE? Description Set or query the enable register for the state byte register set. Parameter Name Type Range Default <mask> Integer 0 to 255 Explanation <mask> is the sum of the binary weights (expressed in decimal) of all the bits between bit 0 and bit ...
RIGOL 2 Command System *STB? Syntax *STB? Description Query the condition register for the state byte register set. Explanation Definitions of the bits of SRE register: Weights Name Enable OPER Operation Status Reg Not used Event Status Bit Message Available...
RIGOL 2 Command System *TST? Syntax *TST? Description Perform a self-test and query the result. Explanation The self-test result is denoted by a 32-bit binary number. If the corresponding binary bit is 0, the self-test item passes the test; while 1 indicates a failure. The return value is the decimal integer corresponding to the binary number.
RIGOL 2 Command System :ACQuire Commands :ACQuire:AVERages :ACQuire:MDEPth :ACQuire:SRATe? :ACQuire:TYPE :ACQuire:AALias :ACQuire:AVERages Syntax :ACQuire:AVERages <count> :ACQuire:AVERages? Description Set or query the number of averages in average acquisition mode. Parameter Name Type Range Default <count> Discrete...
RIGOL 2 Command System :ACQuire:MDEPth Syntax :ACQuire:MDEPth <mdep> :ACQuire:MDEPth? Description Set or query the memory depth of the oscilloscope; namely the number of waveform points that can be stored in a single trigger sample. The default unit is pts (points).
RIGOL 2 Command System :ACQuire:TYPE Syntax :ACQuire:TYPE <type> :ACQuire:TYPE? Description Set or query the acquisition mode of the sample. Parameter Name Type Range Default <type> Discrete {NORMal|AVERages|PEAK|HRESolution} NORMal Explanation NORMal: the oscilloscope samples the signal at equal time interval. For most of waveforms, this ...
RIGOL 2 Command System :ACQuire:AALias Syntax :ACQuire:AALias <bool> :ACQuire:AALias? Description Enable or disable the antialiasing function of the oscilloscope; or query the current state of the antialiasing function of the oscilloscope. Parameter Name Type Range Default <bool> Bool {{1|ON}|{0|OFF}} 0|OFF Return Format The query returns 1 or 0.
RIGOL 2 Command System :BUS<n>:DISPlay Syntax :BUS<n>:DISPlay <bool> :BUS<n>:DISPlay? Description Enable or disable the display of the specified bus; or query the current display status of the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <bool> Bool {{1|ON}|{0|OFF}}...
RIGOL 2 Command System :BUS<n>:EVENt Syntax :BUS<n>:EVENt <bool> :BUS<n>:EVENt? Description Enable or disable the event table of the specified bus; or query the current status of the event table of the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <bool>...
RIGOL 2 Command System :BUS<n>:DATA? Syntax :BUS<n>:DATA? Description Read the decoding event table data. Parameter Name Type Range Default <n> Discrete {1|2} Return Format The query returns the decoding event table data in the following format. #9000000141RS232 Time,TX,TX ERR, -6.1352322E-03,*,, -4.0554402E-03,R,,...
RIGOL 2 Command System :BUS<n>:PARallel :BUS<n>:PARallel:CLK :BUS<n>:PARallel:SLOPe :BUS<n>:PARallel:BSET :BUS<n>:PARallel:THReshold :BUS<n>:PARallel:OFFSet :BUS<n>:PARallel:CLK Syntax :BUS<n>:PARallel:CLK <sour> :BUS<n>:PARallel:CLK? Description Set or query the clock channel source of parallel decoding on the specified bus. Parameter Name Type Range Default <n>...
Page 36
RIGOL 2 Command System Explanation POSitive: rising edge NEGative: falling edge BOTH: rising/falling edge When no clock channel is set (refer to the :BUS<n>:PARallel:CLK command), the oscilloscope samples data once the channel data jumps and the edge set by this command will be ignored.
Page 37
RIGOL 2 Command System :BUS<n>:PARallel:THReshold Syntax :BUS<n>:PARallel:THReshold <sour>,<thre> :BUS<n>:PARallel:THReshold? <sour> Description Set or query the analog channel threshold of parallel decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <sour> Discrete {CHANnel1|CHANnel2} <thre> Real (-5 x VerticalScale - OFFSet) to (+5 x VerticalScale - OFFSet) Note: For the VerticalScale, refer to the :CHANnel<n>:SCALe...
Page 38
RIGOL 2 Command System :BUS<n>:PARallel:OFFSet Syntax :BUS<n>:PARallel:OFFSet <val> :BUS<n>:PARallel:OFFSet? Description Set or query the vertical offset of parallel decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} Normal : -166 to 148 <val> Integer Statistic : -163 to 143...
RIGOL 2 Command System :BUS<n>:RS232 (Option) :BUS<n>:RS232:TX :BUS<n>:RS232:RX :BUS<n>:RS232:POLarity :BUS<n>:RS232:ENDian :BUS<n>:RS232:BAUD :BUS<n>:RS232:BUSer :BUS<n>:RS232:DBITs :BUS<n>:RS232:SBITs :BUS<n>:RS232:PARity :BUS<n>:RS232:PACKet :BUS<n>:RS232:PEND :BUS<n>:RS232:TTHReshold :BUS<n>:RS232:RTHReshold :BUS<n>:RS232:OFFSet :BUS<n>:RS232:TX Syntax :BUS<n>:RS232:TX <source> :BUS<n>:RS232:TX? Description Set or query the TX channel source of RS232 decoding on the specified bus.
Page 40
RIGOL 2 Command System :BUS<n>:RS232:RX Syntax :BUS<n>:RS232:RX <source> :BUS<n>:RS232:RX? Description Set or query the RX channel source of RS232 decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <source> Discrete {CHANnel1|CHANnel2|OFF} Explanation When OFF is selected, no RX channel source will be set. The TX channel source and RX channel source cannot both be set to OFF.
Page 41
RIGOL 2 Command System :BUS<n>:RS232:ENDian Syntax :BUS<n>:RS232:ENDian <endian> :BUS<n>:RS232:ENDian? Description Set or query the endian of data transmission of RS232 decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <endian> Discrete {MSB|LSB} Return Format The query returns MSB or LSB.
Page 42
RIGOL 2 Command System :BUS<n>:RS232:BUSer Syntax :BUS<n>:RS232:BUSer <baud> :BUS<n>:RS232:BUSer? Description Set or query the user-defined baud rate of data transmission of RS232 decoding on the specified bus. The default unit is bps. Parameter Name Type Range Default <n> Discrete {1|2} <baud>...
Page 43
RIGOL 2 Command System :BUS<n>:RS232:SBITs Syntax :BUS<n>:RS232:SBITs <stop bits> :BUS<n>:RS232:SBITs? Description Set or query the stop bit after each frame of data of RS232 decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <stop bits> Discrete {1|1.5|2}...
Page 44
RIGOL 2 Command System :BUS<n>:RS232:PACKet Syntax :BUS<n>:RS232:PACKet <bool> :BUS<n>:RS232:PACKet? Description Enable or disable the packet end in data transmission; or query the current status of the packet end in data transmission. Parameter Name Type Range Default <n> Discrete {1|2} <bool>...
Page 45
RIGOL 2 Command System :BUS<n>:RS232:TTHReshold Syntax :BUS<n>:RS232:TTHReshold <tthre> :BUS<n>:RS232:TTHReshold? Description Set or query the TX channel threshold of R232 decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <tthre> Real (-5 x VerticalScale - OFFSet) to (+5 x VerticalScale - OFFSet) Note: For the VerticalScale, refer to the :CHANnel<n>:SCALe...
Page 46
RIGOL 2 Command System :BUS<n>:RS232:OFFSet Syntax :BUS<n>:RS232:OFFSet <val> :BUS<n>:RS232:OFFSet? Description Set or query the vertical offset of RS232 decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} Normal : -166 to 148 <val> Integer Statistic : -163 to 143...
RIGOL 2 Command System :BUS<n>:IIC (Option) :BUS<n>:IIC:SCLK:SOURce :BUS<n>:IIC:SCLK:THReshold :BUS<n>:IIC:SDA:SOURce :BUS<n>:IIC:SDA:THReshold :BUS<n>:IIC:OFFSet :BUS<n>:IIC:SCLK:SOURce Syntax :BUS<n>:IIC:SCLK:SOURce <sour> :BUS<n>:IIC:SCLK:SOURce? Description Set or query the clock channel source of I2C decoding on the specified bus. Parameter Name Type Range Default <n>...
Page 48
RIGOL 2 Command System Return Format The query returns the clock channel threshold of I2C decoding on the specified bus in scientific notation. :BUS<n>:IIC:SDA:SOURce Syntax :BUS<n>:IIC:SDA:SOURce <sour> :BUS<n>:IIC:SDA:SOURce? Description Set or query the data channel source of I2C decoding on the specified bus.
Page 49
RIGOL 2 Command System :BUS<n>:IIC:OFFSet Syntax :BUS<n>:IIC:OFFSet <val> :BUS<n>:IIC:OFFSet? Description Set or query the vertical offset of I2C decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} Normal : -166 to 148 <val> Integer Statistic : -163 to 143...
RIGOL 2 Command System :BUS<n>:SPI (Option) :BUS<n>:SPI:SCLK:SOURce :BUS<n>:SPI:SCLK:SLOPe :BUS<n>:SPI:SCLK:THReshold :BUS<n>:SPI:SDA:SOURce :BUS<n>:SPI:SDA:POLarity :BUS<n>:SPI:SDA:THReshold :BUS<n>:SPI:DBITs :BUS<n>:SPI:ENDian :BUS<n>:SPI:OFFSet :BUS<n>:SPI:TIMeout:TIME :BUS<n>:SPI:SCLK:SOURce Syntax :BUS<n>:SPI:SCLK:SOURce <sour> :BUS<n>:SPI:SCLK:SOURce? Description Set or query the clock channel source of SPI decoding on the specified bus.
Page 51
RIGOL 2 Command System :BUS<n>:SPI:SCLK:SLOPe Syntax :BUS<n>:SPI:SCLK:SLOPe <pos> :BUS<n>:SPI:SCLK:SLOPe? Description Set or query the clock edge type of SPI decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <pos> Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG.
Page 52
RIGOL 2 Command System :BUS<n>:SPI:SDA:SOURce Syntax :BUS<n>:SPI:SDA:SOURce <sour> :BUS<n>:SPI:SDA:SOURce? Description Set or query the data channel source of SPI decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <sour> Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns CHAN1 or CHAN2.
Page 53
RIGOL 2 Command System :BUS<n>:SPI:SDA:THReshold Syntax :BUS<n>:SPI:SDA:THReshold <thre> :BUS<n>:SPI:SDA:THReshold? Description Set or query the data channel threshold of SPI decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <thre> Real (-5 x VerticalScale - OFFSet) to (+5 x VerticalScale - OFFSet) Note: For the VerticalScale, refer to the :CHANnel<n>:SCALe...
Page 54
RIGOL 2 Command System :BUS<n>:SPI:ENDian Syntax :BUS<n>:SPI:ENDian <endian> :BUS<n>:SPI:ENDian? Description Set or query the endian of data transmission of SPI decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <endian> Discrete {MSB|LSB} Return Format The query returns MSB or LSB.
Page 55
RIGOL 2 Command System Return Format The query returns the vertical offset of SPI decoding on the specified bus in integer. :BUS<n>:SPI:TIMeout:TIME Syntax :BUS<n>:SPI:TIMeout:TIME <val> :BUS<n>:SPI:TIMeout:TIME? Description Set or query the timeout time of SPI decoding on the specified bus. The default unit is s.
RIGOL 2 Command System :BUS<n>:CAN (Option) :BUS<n>:CAN:SOURce :BUS<n>:CAN:STYPe :BUS<n>:CAN:BAUD :BUS<n>:CAN:BUSer :BUS<n>:CAN:SPOint :BUS<n>:CAN:THReshold :BUS<n>:CAN:OFFSet :BUS<n>:CAN:SOURce Syntax :BUS<n>:CAN:SOURce <sour> :BUS<n>:CAN:SOURce? Description Set or query the channel source of CAN decoding on the specified bus. Parameter...
Page 57
RIGOL 2 Command System :BUS<n>:CAN:BAUD Syntax :BUS<n>:CAN:BAUD <baud> :BUS<n>:CAN:BAUD? Description Set or query the signal rate of CAN decoding on the specified bus. The default unit is b/s. Parameter Name Type Range Default <n> Discrete {1|2} <baud> Discrete {100000|125000|250000|400000|500000|800000|1000000|USER} 500000 Note: When the signal rate is set to USER, you can use the :BUS<n>:CAN:BUSer...
Page 58
RIGOL 2 Command System Description Set or query the sample position (expressed in percentage) of CAN decoding on the specified bus. Parameter Name Type Range Default <n> Discrete {1|2} <spo> Integer 5 to 95 Return Format The query returns the sample position of CAN decoding on the specified bus in integer.
Page 59
RIGOL 2 Command System Parameter Name Type Range Default <n> Discrete {1|2} Normal : -166 to 148 <val> Integer Statistic : -163 to 143 Half screen : -103 to 52 Note : The screen display is normal and the statistic function is not enabled (refer to :MEASure:STATistic:DISPlay command).
RIGOL 2 Command System :CALCulate:ADD :CALCulate:ADD:SA :CALCulate:ADD:SB :CALCulate:ADD:INVert :CALCulate:ADD:VSCale :CALCulate:ADD:VOFFset :CALCulate:ADD:SA :CALCulate:ADD:SB Syntax :CALCulate:ADD:SA <source> :CALCulate:ADD:SA? :CALCulate:ADD:SB <source> :CALCulate:ADD:SB? Description Set or query the channel source of source A in the addition operation. Set or query the channel source of source B in the addition operation.
Page 62
RIGOL 2 Command System :CALCulate:ADD:INVert Syntax :CALCulate:ADD:INVert <bool> :CALCulate:ADD:INVert? Description Enable or disable the inverted display of the addition operation result; or query the current status of the inverted display of the addition operation result. Parameter Name Type Range Default <bool>...
Page 63
RIGOL 2 Command System :CALCulate:ADD:VOFFset Syntax :CALCulate:ADD:VOFFset <offs> :CALCulate:ADD:VOFFset? Description Set or query the vertical offset of the addition operation result. The unit is related to the amplitude unit of the signal source channel. Parameter Name Type Range Default <offs>...
RIGOL 2 Command System :CALCulate:SUB :CALCulate:SUB:SA :CALCulate:SUB:SB :CALCulate:SUB:INVert :CALCulate:SUB:VSCale :CALCulate:SUB:VOFFset :CALCulate:SUB:SA :CALCulate:SUB:SB Syntax :CALCulate:SUB:SA <source> :CALCulate:SUB:SA? :CALCulate:SUB:SB <source> :CALCulate:SUB:SB? Description Set or query the channel source of source A in the subtraction operation. Set or query the channel source of source B in the subtraction operation.
Page 65
RIGOL 2 Command System :CALCulate:SUB:INVert Syntax :CALCulate:SUB:INVert <bool> :CALCulate:SUB:INVert? Description Enable or disable the inverted display of the subtraction operation result; or query the current status of the inverted display of the subtraction operation result. Parameter Name Type Range Default <bool>...
Page 66
RIGOL 2 Command System :CALCulate:SUB:VOFFset Syntax :CALCulate:SUB:VOFFset <offs> :CALCulate:SUB:VOFFset? Description Set or query the vertical offset of the subtraction operation result. The unit is related to the amplitude unit of the signal source channel. Parameter Name Type Range Default <offs>...
RIGOL 2 Command System :CALCulate:MULTiply :CALCulate:MULTiply:SA :CALCulate:MULTiply:SB :CALCulate:MULTiply:INVert :CALCulate:MULTiply:VSCale :CALCulate:MULTiply:VOFFset :CALCulate:MULTiply:SA :CALCulate:MULTiply:SB Syntax :CALCulate:MULTiply:SA <source> :CALCulate:MULTiply:SA? :CALCulate:MULTiply:SB <source> :CALCulate:MULTiply:SB? Description Set or query the channel source of source A in the multiplication operation. Set or query the channel source of source B in the multiplication operation.
Page 68
RIGOL 2 Command System :CALCulate:MULTiply:INVert Syntax :CALCulate:MULTiply:INVert <bool> :CALCulate:MULTiply:INVert? Description Enable or disable the inverted display of the multiplication operation result; or query the current status of the inverted display of the multiplication operation result. Parameter Name Type Range Default <bool>...
Page 69
RIGOL 2 Command System :CALCulate:MULTiply:VOFFset Syntax :CALCulate:MULTiply:VOFFset <offs> :CALCulate:MULTiply:VOFFset? Description Set or query the vertical offset of the multiplication operation result. Parameter Name Type Range Default <offs> Real (-40 x VScale) to (40 x VScale) Note: For the VScale (the vertical scale of MATH), refer to the :CALCulate:MULTiply:VSCale command.
RIGOL 2 Command System :CALCulate:DIVision :CALCulate:DIVision:SA :CALCulate:DIVision:SB :CALCulate:DIVision:INVert :CALCulate:DIVision:VSCale :CALCulate:DIVision:VOFFset :CALCulate:DIVision:SA :CALCulate:DIVision:SB Syntax :CALCulate:DIVision:SA <source> :CALCulate:DIVision:SA? :CALCulate:DIVision:SB <source> :CALCulate:DIVision:SB? Description Set or query the channel source of source A in the division operation. Set or query the channel source of source B in the division operation.
Page 71
RIGOL 2 Command System :CALCulate:DIVision:INVert Syntax :CALCulate:DIVision:INVert <bool> :CALCulate:DIVision:INVert? Description Enable or disable the inverted display of the division operation result; or query the current status of the inverted display of the division operation result. Parameter Name Type Range Default <bool>...
Page 72
RIGOL 2 Command System :CALCulate:DIVision:VOFFset Syntax :CALCulate:DIVision:VOFFset <offs> :CALCulate:DIVision:VOFFset? Description Set or query the vertical offset of the division operation result. Parameter Name Type Range Default <offs> Real (-40 x VScale) to (40 x VScale) Note: For the VScale (the vertical scale of MATH), refer to the :CALCulate:DIVision:VSCale command.
RIGOL 2 Command System :CALCulate:FFT :CALCulate:FFT:SOURce :CALCulate:FFT:WINDow :CALCulate:FFT:SPLit :CALCulate:FFT:VSMode :CALCulate:FFT:VSCale :CALCulate:FFT:VOFFset :CALCulate:FFT:HSCale :CALCulate:FFT:HOFFset :CALCulate:FFT:HSPan :CALCulate:FFT:HCENter :CALCulate:FFT:SOURce Syntax :CALCulate:FFT:SOURce <source> :CALCulate:FFT:SOURce? Description Set or query the signal source of FFT operation.
Page 74
RIGOL 2 Command System :CALCulate:FFT:WINDow Syntax :CALCulate:FFT:WINDow <window> :CALCulate:FFT:WINDow? Description Set or query the window function of the FFT operation. Parameter Name Type Range Default <window> Discrete {RECTangle|HANNing|HAMMing|BLACkman} RECTangle Explanation The window function can effectively reduce the spectrum leakage effect.
Page 75
RIGOL 2 Command System :CALCulate:FFT:VSMode Syntax :CALCulate:FFT:VSMode <vmode> :CALCulate:FFT:VSMode? Description Set or query the vertical scale type of the FFT operation result. Parameter Name Type Range Default <vmode> Discrete {VRMS|DB} Return Format The query returns VRMS or DB. :CALCulate:FFT:VSCale Syntax :CALCulate:FFT:VSCale <vscale>...
Page 76
RIGOL 2 Command System :CALCulate:FFT:VOFFset Syntax :CALCulate:FFT:VOFFset <offs> :CALCulate:FFT:VOFFset? Description Set or query the vertical offset of the FFT operation result. The unit is related to the current vertical scale type of FFT operation and the amplitude unit of the signal source channel.
Page 77
RIGOL 2 Command System :CALCulate:FFT:HSCale Syntax :CALCulate:FFT:HSCale <hscale> :CALCulate:FFT:HSCale? Description Set or query the horizontal coefficient of FFT operation. This command indirectly sets the horizontal scale of FFT operation. Parameter Name Type Range Default <hscale> Discrete {1|2|3|4} Note: You can use the :CALCulate:FFT:HSPan command to set the horizontal scale of FFT operation directly.
Page 78
RIGOL 2 Command System :CALCulate:FFT:HOFFset Syntax :CALCulate:FFT:HOFFset <offs> :CALCulate:FFT:HOFFset? Description Set or query the horizontal offset of the FFT operation result. The unit is Hz. Parameter Name Type Range Default <offs> Real Refer to Explanation Explanation The range of <offs> is related to the on/off status of the anti-aliasing function, the current FFT ...
Page 79
RIGOL 2 Command System :CALCulate:FFT:HSPan Syntax :CALCulate:FFT:HSPan <span> :CALCulate:FFT:HSPan? Description Set or query the horizontal scale of the FFT operation result. The unit is Hz/div. Parameter Name Type Range Default Refer to Explanation <span> Discrete 1.25MHz/div Explanation The FFT horizontal scale is related to the current FFT sample rate of the screen (Sa). It can be Sa/20, ...
Page 80
RIGOL 2 Command System :CALCulate:FFT:HCENter Syntax :CALCulate:FFT:HCENter <center> :CALCulate:FFT:HCENter? Description Set or query the center frequency of the FFT operation result. The unit is Hz. Parameter Name Type Range Default Horizontal offset of the operation result + 7 x (the current <center>...
RIGOL 2 Command System :CALCulate:LOGic :CALCulate:LOGic:SA :CALCulate:LOGic:SB :CALCulate:LOGic:INVert :CALCulate:LOGic:VSCale :CALCulate:LOGic:VOFFset :CALCulate:LOGic:OPERator :CALCulate:LOGic:ATHReshold :CALCulate:LOGic:BTHReshold :CALCulate:LOGic:SA :CALCulate:LOGic:SB Syntax :CALCulate:LOGic:SA <source> :CALCulate:LOGic:SA? :CALCulate:LOGic:SB <source> :CALCulate:LOGic:SB? Description Set or query the channel source of source A in the logic operation.
Page 82
RIGOL 2 Command System :CALCulate:LOGic:INVert Syntax :CALCulate:LOGic:INVert <bool> :CALCulate:LOGic:INVert? Description Enable or disable the inverted display of the logic operation result; or query the current status of the inverted display of the logic operation result. Parameter Name Type Range Default <bool>...
Page 83
RIGOL 2 Command System :CALCulate:LOGic:VOFFset Syntax :CALCulate:LOGic:VOFFset <offs> :CALCulate:LOGic:VOFFset? Description Set or query the vertical offset of the logic operation result. Parameter Name Type Range Default <offs> Real (-40 x VScale) to (40 x VScale) Note: For the VScale (the vertical scale of MATH), refer to the :CALCulate:LOGic:VSCale command.
Page 84
RIGOL 2 Command System :CALCulate:LOGic:ATHReshold :CALCulate:LOGic:BTHReshold Syntax :CALCulate:LOGic:ATHReshold <thre> :CALCulate:LOGic:ATHReshold? :CALCulate:LOGic:BTHReshold <thre> :CALCulate:LOGic:BTHReshold? Description Set or query the threshold of source A in the logic operation. Set or query the threshold of source B in the logic operation. Parameter Name...
RIGOL 2 Command System :CALCulate:ADVanced :CALCulate:ADVanced:EXPRession :CALCulate:ADVanced:INVert :CALCulate:ADVanced:VARiable1 :CALCulate:ADVanced:VARiable2 :CALCulate:ADVanced:VSCale :CALCulate:ADVanced:VOFFset :CALCulate:ADVanced:EXPRession Syntax :CALCulate:ADVanced:EXPRession <expression> :CALCulate:ADVanced:EXPRession? Description Set or query the expression of advanced operation. Parameter Name Type Range Default <expression> ASCII string Refer to Explanation...
Page 86
RIGOL 2 Command System :CALCulate:ADVanced:INVert Syntax :CALCulate:ADVanced:INVert <bool> :CALCulate:ADVanced:INVert? Description Enable or disable the inverted display of the advanced operation result; or query the current status of the inverted display of the advanced operation result. Parameter Name Type Range Default <bool>...
Page 87
RIGOL 2 Command System :CALCulate:ADVanced:VARiable1 :CALCulate:ADVanced:VARiable2 Syntax :CALCulate:ADVanced:VARiable1 <numeric_value> :CALCulate:ADVanced:VARiable1? :CALCulate:ADVanced:VARiable2 <numeric_value> :CALCulate:ADVanced:VARiable2? Description Set or query the variable1 in the advanced operation expression. Set or query the variable2 in the advanced operation expression. Parameter Name Type Range Default Refer to Explanation <numeric_value>...
Page 88
RIGOL 2 Command System :CALCulate:ADVanced:VSCale Syntax :CALCulate:ADVanced:VSCale <numeric_value> :CALCulate:ADVanced:VSCale? Description Set or query the vertical scale of the advanced operation result. The unit is related to the advanced operation expression. Parameter Name Type Range Default The default range is from 0.02V to 500V.
RIGOL 2 Command System :CALibrate Commands :CALibrate:DATE? :CALibrate:STARt :CALibrate:TIME? :CALibrate:QUIT :CALibrate:DATE? Syntax :CALibrate:DATE? Description Query the date of the last calibration. Return Format The query returns the date in <year>,<month>,<day> format. Wherein, <day> and <month> are double-digit figures, and <year>...
RIGOL 2 Command System :CALibrate:TIME? Syntax :CALibrate:TIME? Description Query the time of the last calibration. Return Format The query returns the time in <hours>,<minutes>,<seconds> format. Wherein, <hours>, <minutes>, and <seconds> are all double-digit figures. For example, 15,19,25. :CALibrate:QUIT Syntax :CALibrate:QUIT Description Exit the self-calibration at any time.
RIGOL 2 Command System :CHANnel<n>:COUPling Syntax :CHANnel<n>:COUPling <coupling> :CHANnel<n>:COUPling? Description Set or query the coupling mode of the specified analog channel. Parameter Name Type Range Default <n> Discrete {1|2} <coupling> Discrete {AC|DC|GND} Explanation AC: the DC components of the signal under test are blocked.
RIGOL 2 Command System :CHANnel<n>:INVert Syntax :CHANnel<n>:INVert <bool> :CHANnel<n>:INVert? Description Enable or disable the inverted display of the specified analog channel; or query the current status of the inverted display of the specified analog channel. Parameter Name Type Range Default <n>...
RIGOL 2 Command System :CHANnel<n>:OFFSet Syntax :CHANnel<n>:OFFSet <offset> :CHANnel<n>:OFFSet? Description Set or query the vertical offset of the specified analog channel. The default unit is V. Parameter Name Type Range Default <n> Discrete {1|2} When the input impedance is 50Ω and the probe ratio is 1X: 500μV/div to 50mV/div: -2V to 2V...
RIGOL 2 Command System :CHANnel<n>:SCALe Syntax :CHANnel<n>:SCALe <scale> :CHANnel<n>:SCALe? Description Set or query the vertical scale of the specified analog channel. The default unit is V/div. Parameter Name Type Range Default <n> Discrete {1|2} When the input impedance is 50Ω...
RIGOL 2 Command System :CHANnel<n>:PROBe Syntax :CHANnel<n>:PROBe <atten> :CHANnel<n>:PROBe? Description Set or query the probe attenuation ratio of the specified analog channel. Parameter Name Type Range Default <n> Discrete {1|2} {0.01|0.02|0.05|0.1|0.2|0.5|1|2|5|10|20| <atten> Discrete 50|100|200|500|1000} Explanation After setting the probe ratio, multiply the sampled signal by the specified multiple, and then display ...
RIGOL 2 Command System :CHANnel<n>:VERNier Syntax :CHANnel<n>:VERNier <bool> :CHANnel<n>:VERNier? Description Enable or disable the fine adjustment function of the vertical scale of the specified analog channel; or query the current status of the fine adjustment function of the vertical scale of the specified analog channel.
RIGOL 2 Command System :CHANnel<n>:TCAL Syntax :CHANnel<n>:TCAL <time> :CHANnel<n>:TCAL? Description Set or query the delay calibration time of the specified analog channel. The default unit is s. Parameter Name Type Range Default <n> Discrete {1|2} <time> Real -200ns to 200ns Note: When the horizontal timebase is greater than or equal to 10us, the delay calibration time cannot be adjusted.
RIGOL 2 Command System :CURSor Commands :CURSor:MODE :CURSor:MANual :CURSor:TRACk :CURSor:MODE Syntax :CURSor:MODE <mode> :CURSor:MODE? Description Set or query the cursor measurement mode. Parameter Name Type Range Default <mode> Discrete {OFF|MANual|TRACk|AUTO|XY} Explanation OFF: disable the cursor measurement. ...
RIGOL 2 Command System :CURSor:MANual :CURSor:MANual:TYPE :CURSor:MANual:SOURce :CURSor:MANual:TUNit :CURSor:MANual:VUNit :CURSor:MANual:CAX :CURSor:MANual:CBX :CURSor:MANual:CAY :CURSor:MANual:CBY :CURSor:MANual:AXValue? :CURSor:MANual:BXValue? :CURSor:MANual:AYValue? :CURSor:MANual:BYValue? :CURSor:MANual:XDELta? :CURSor:MANual:IXDelta? :CURSor:MANual:YDELta? :CURSor:MANual:TYPE Syntax :CURSor:MANual:TYPE <type> :CURSor:MANual:TYPE? Description Set or query the cursor type of manual measurement with cursor.
Page 101
RIGOL 2 Command System :CURSor:MANual:SOURce Syntax :CURSor:MANual:SOURce <source> :CURSor:MANual:SOURce? Description Set or query the channel source of manual measurement with cursor. Parameter Name Type Range Default <source> Discrete {CHANnel1|CHANnel2|MATH|NONE} CHANnel1 Note: Only channels currently enabled can be selected as the channel source.
Page 102
RIGOL 2 Command System :CURSor:MANual:VUNit Syntax :CURSor:MANual:VUNit <unit> :CURSor:MANual:VUNit? Description Set or query vertical unit in manual measurement with cursor. Parameter Name Type Range Default <unit> Discrete {SUNit|PERCent} SUNit SUNit: in the measurement results, the units of A->Y, B->Y, and △Y will be automatically set to the Explanation ...
Page 103
RIGOL 2 Command System :CURSor:MANual:CAX :CURSor:MANual:CBX Syntax :CURSor:MANual:CAX <ax> :CURSor:MANual:CAX? :CURSor:MANual:CBX <bx> :CURSor:MANual:CBX? Description Set or query the horizontal position of cursor A (X cursor) in manual measurement with cursor. Set or query the horizontal position of cursor B (X cursor) in manual measurement with cursor.
Page 104
RIGOL 2 Command System :CURSor:MANual:CAY :CURSor:MANual:CBY Syntax :CURSor:MANual:CAY <ay> :CURSor:MANual:CAY? :CURSor:MANual:CBY <by> :CURSor:MANual:CBY? Description Set or query the vertical position of cursor A (Y cursor) in manual measurement with cursor. Set or query the vertical position of cursor B (Y cursor) in manual measurement with cursor.
Page 105
RIGOL 2 Command System :CURSor:MANual:AXValue? :CURSor:MANual:BXValue? Syntax :CURSor:MANual:AXValue? :CURSor:MANual:BXValue? Description Query the X value at cursor A (X cursor) in manual measurement with cursor. Query the X value at cursor B (X cursor) in manual measurement with cursor. Explanation For the horizontal position of cursor A, refer to the :CURSor:MANual:CAX command.
Page 106
RIGOL 2 Command System :CURSor:MANual:XDELta? Syntax :CURSor:MANual:XDELta? Query the difference △X between the X values at cursor A and cursor B in manual measurement with Description cursor. Explanation For the horizontal position of cursor A, refer to the :CURSor:MANual:CAX command.
Page 107
RIGOL 2 Command System :CURSor:MANual:YDELta? Syntax :CURSor:MANual:YDELta? Query the difference △Y between the Y values at cursor A and cursor B in manual measurement with Description cursor. Explanation For the vertical position of cursor A, refer to the :CURSor:MANual:CAY command.
RIGOL 2 Command System :CURSor:TRACk :CURSor:TRACk:SOURce1 :CURSor:TRACk:SOURce2 :CURSor:TRACk:CAX :CURSor:TRACk:CBX :CURSor:TRACk:CAY? :CURSor:TRACk:CBY? :CURSor:TRACk:AXValue? :CURSor:TRACk:AYValue? :CURSor:TRACk:BXValue? :CURSor:TRACk:BYValue? :CURSor:TRACk:XDELta? :CURSor:TRACk:YDELta? :CURSor:TRACk:IXDelta? :CURSor:TRACk:SOURce1 :CURSor:TRACk:SOURce2 Syntax :CURSor:TRACk:SOURce1 <source> :CURSor:TRACk:SOURce1? :CURSor:TRACk:SOURce2 <source> :CURSor:TRACk:SOURce2? Description Set or query the channel source of cursor A in track measurement with cursor.
Page 109
RIGOL 2 Command System :CURSor:TRACk:CAX :CURSor:TRACk:CBX Syntax :CURSor:TRACk:CAX <ax> :CURSor:TRACk:CAX? :CURSor:TRACk:CBX <bx> :CURSor:TRACk:CBX? Description Set or query the horizontal position of cursor A in track measurement with cursor. Set or query the horizontal position of cursor B in track measurement with cursor.
Page 110
RIGOL 2 Command System :CURSor:TRACk:AXValue? :CURSor:TRACk:AYValue? Syntax :CURSor:TRACk:AXValue? :CURSor:TRACk:AYValue? Description Query the X value at cursor A in track measurement with cursor. Query the Y value at cursor A in track measurement with cursor. Explanation For the horizontal position of cursor A, refer to the :CURSor:TRACk:CAX command.
Page 111
RIGOL 2 Command System :CURSor:TRACk:XDELta? Syntax :CURSor:TRACk:XDELta? Query the difference △X between the X values at cursor A and cursor B in track measurement with cursor Description and the unit is s. Explanation For the horizontal position of cursor A, refer to the :CURSor:TRACk:CAX command.
Page 112
RIGOL 2 Command System :CURSor:TRACk:IXDelta? Syntax :CURSor:TRACk:IXDelta? Description Query the reciprocal (1/△X) of the difference between the X values at cursor A and cursor B in track measurement with cursor. The unit is Hz. Explanation For the horizontal position of cursor A, refer to the :CURSor:TRACk:CAX command.
RIGOL 2 Command System :DISPlay Commands :DISPlay:CLEar :DISPlay:TYPE :DISPlay:GRADing:TIME :DISPlay:WBRightness :DISPlay:GRID :DISPlay:GBRightness :DISPlay:MPERsistence :DISPlay:DATA? :DISPlay:CLEar Syntax :DISPlay:CLEar Description Clear all the waveforms on the screen. The function of this command is the same with that of CLEAR on the front panel.
RIGOL 2 Command System :DISPlay:TYPE Syntax :DISPlay:TYPE <type> :DISPlay:TYPE? Description Set or query the display type of the waveform on the screen. Parameter Name Type Range Default <type> Discrete {VECTors|DOTS} VECTors Explanation VECTors: the sample points are connected by lines and displayed. Normally, this mode can provide ...
RIGOL 2 Command System :DISPlay:GRADing:TIME Syntax :DISPlay:GRADing:TIME <time> :DISPlay:GRADing:TIME? Description Set or query the persistence time and the unit is s. Parameter Name Type Range Default <time> Discrete {MIN|0.05|0.1|0.2|0.5|1|2|5|10|20|INFinite} Explanation MIN: set the persistence time to its minimum to view the waveform changing in high refresh rate.
RIGOL 2 Command System :DISPlay:GRID Syntax :DISPlay:GRID <grid> :DISPlay:GRID? Description Set or query the grid type of screen display. Parameter Name Type Range Default <grid> Discrete {FULL|HALF|NONE} FULL Explanation FULL: turn the background grid and coordinate on. HALF: turn the background grid off and coordinate on.
RIGOL 2 Command System :DISPlay:MPERsistence Syntax :DISPlay:MPERsistence <time> :DISPlay:MPERsistence? Description Set or query the menu display time and the unit is s. Parameter Name Type Range Default <time> Discrete {1|2|5|10|20|INFinite} INFinite Return Format The query returns the menu display time set.
RIGOL 2 Command System :DISPlay:DATA? Syntax :DISPlay:DATA? Description Read the bitmap data stream of the image currently displayed. Explanation The command is sent from the PC to the instrument through the VISA interface. The instrument responds to the command, and directly returns the bitmap data stream of the image currently displayed to the buffer area of the PC.
RIGOL 2 Command System :FUNCtion Commands :FUNCtion:WRMode :FUNCtion:WRECord :FUNCtion:WREPlay :FUNCtion:WANalyze :FUNCtion:WRMode Syntax :FUNCtion:WRMode <mode> :FUNCtion:WRMode? Description Set or query the mode of waveform record. Parameter Name Type Range Default <mode> Discrete {OFF|RECord|PLAY|KEEP|ANALyze} Explanation RECord: recording mode;...
RIGOL 2 Command System :FUNCtion:WRECord :FUNCtion:WRECord:FEND :FUNCtion:WRECord:FMAX? :FUNCtion:WRECord:INTerval :FUNCtion:WRECord:OPERate :FUNCtion:WRECord:FEND Syntax :FUNCtion:WRECord:FEND <frame> :FUNCtion:WRECord:FEND? Description Set or query the end frame of waveform record. Parameter Name Type Range Default 1 to the maximum number of frames that <frame>...
Page 122
RIGOL 2 Command System :FUNCtion:WRECord:FMAX? Syntax :FUNCtion:WRECord:FMAX? Description Query the maximum number of frames that can be recorded currently. Explanation The maximum number of frames that can be recorded refers to the maximum end frame of waveform recording that can be set (please refer to the :FUNCtion:WRECord:FEND command).
Page 123
RIGOL 2 Command System :FUNCtion:WRECord:OPERate Syntax :FUNCtion:WRECord:OPERate <oper> :FUNCtion:WRECord:OPERate? Description Start or stop the waveform recording; or query the current status of the waveform recording. Parameter Name Type Range Default <oper> Discrete {RECord|STOP} STOP Return Format The query returns REC or STOP.
RIGOL 2 Command System :FUNCtion:WREPlay :FUNCtion:WREPlay:MODE :FUNCtion:WREPlay:INTerval :FUNCtion:WREPlay:FSTart :FUNCtion:WREPlay:FCURrent :FUNCtion:WREPlay:FEND :FUNCtion:WREPlay:FMAX? :FUNCtion:WREPlay:OPERate :FUNCtion:WREPlay:TTAG :FUNCtion:WREPlay:CTAG? :FUNCtion:WREPlay:MODE Syntax :FUNCtion:WREPlay:MODE <mode> :FUNCtion:WREPlay:MODE? Description Set or query the mode of waveform playback. Parameter Name Type...
Page 125
RIGOL 2 Command System :FUNCtion:WREPlay:INTerval Syntax :FUNCtion:WREPlay:INTerval <interval> :FUNCtion:WREPlay:INTerval? Description Set or query the time interval in waveform playback, and the unit is s. Parameter Name Type Range Default <interval> Real 100ns to 10s 100ns Return Format The query returns the time interval in waveform playback in scientific notation.
Page 126
RIGOL 2 Command System :FUNCtion:WREPlay:FCURrent Syntax :FUNCtion:WREPlay:FCURrent <frame> :FUNCtion:WREPlay:FCURrent? Description Set or query the current frame in waveform playback. Parameter Name Type Range Default <frame> Integer 1 to the number of frames recorded The number of frames recorded Explanation For the number of frames recorded, please refer to the :FUNCtion:WREPlay:FMAX? command.
Page 127
RIGOL 2 Command System :FUNCtion:WREPlay:FMAX? Syntax :FUNCtion:WREPlay:FMAX? Description Query the maximum end frame (namely the maximum number of frames of waveform recorded) in waveform playback. Return Format The query returns the maximum end frame in waveform playback in integer. :FUNCtion:WREPlay:OPERate Syntax :FUNCtion:WREPlay:OPERate <oper>...
Page 128
RIGOL 2 Command System :FUNCtion:WREPlay:TTAG Syntax :FUNCtion:WREPlay:TTAG <bool> :FUNCtion:WREPlay:TTAG? Description Enable or disable the time tag in waveform playback; or query the current status of the time tag in waveform playback. Parameter Name Type Range Default <bool> Bool {{1|ON}|{0|OFF}} 0|OFF Return Format The query returns 1 or 0.
Page 130
RIGOL 2 Command System :FUNCtion:WANalyze:SOURce Syntax :FUNCtion:WANalyze:SOURce <sour> :FUNCtion:WANalyze:SOURce? Description Set or query the channel source for the waveform analysis. Parameter Name Type Range Default <sour> Discrete {CHANnel1|CHANnel2} CHANnel1 Note: Only channel currently enabled can be selected as the channel source.
Page 131
RIGOL 2 Command System :FUNCtion:WANalyze:TDISp Syntax :FUNCtion:WANalyze:TDISp <bool> :FUNCtion:WANalyze:TDISp? Description Enable or disable the template display; or query the current status of template display. Parameter Name Type Range Default <bool> Bool {{1|ON}|{0|OFF}} 1|ON Return Format The query returns 1 or 0.
Page 132
RIGOL 2 Command System :FUNCtion:WANalyze:SETup:SFRame :FUNCtion:WANalyze:SETup:EFRame Syntax :FUNCtion:WANalyze:SETup:SFRame <sframe> :FUNCtion:WANalyze:SETup:SFRame? :FUNCtion:WANalyze:SETup:EFRame <eframe> :FUNCtion:WANalyze:SETup:EFRame? Description Set or query the start frame of waveform analysis. Set or query the end frame of waveform analysis. Parameter Name Type Range Default <sframe> Integer 1 to the number of frames recorded <eframe>...
Page 133
RIGOL 2 Command System :FUNCtion:WANalyze:SETup:THReshold Syntax :FUNCtion:WANalyze:SETup:THReshold <NR1> :FUNCtion:WANalyze:SETup:THReshold? Description Set or query the threshold of waveform analysis, and the unit is %. Parameter Name Type Range Default <NR1> Integer 1 to 99 Explanation The threshold is used to judge whether the data frame is an error frame. The data frame will be judged as an error frame if the (relative) difference between it and the template is greater than or equal to the threshold currently set.
Page 134
RIGOL 2 Command System :FUNCtion:WANalyze:STEMplate Syntax :FUNCtion:WANalyze:STEMplate Description Set the waveform analysis template when the analysis mode is trace. Explanation After the analysis starts, the oscilloscope compares each frame of data measured with the data in the template to determine whether error frame exists according to the threshold set.
Page 135
RIGOL 2 Command System :FUNCtion:WANalyze:CANCel Syntax :FUNCtion:WANalyze:CANCel Description Give up the waveform analysis. Explanation After stopping the waveform analysis, you can use the :FUNCtion:WANalyze:STARt command to restart the waveform analysis. :FUNCtion:WANalyze:PREVious Syntax :FUNCtion:WANalyze:PREVious Description Locate the error frame previous to the current error frame.
Page 136
RIGOL 2 Command System :FUNCtion:WANalyze:ECURrent Syntax :FUNCtion:WANalyze:ECURrent <NR1> :FUNCtion:WANalyze:ECURrent? Description Set or query the number of the current error frame. Parameter Name Type Range Default <NR1> Integer 1 to the total number of error frames Return Format The query returns the number of the current error frame in integer.
RIGOL 2 Command System :LAN:AUToip Syntax :LAN:AUToip <bool> :LAN:AUToip? Description Enable or disable the auto IP configuration mode; or query the current status of the auto IP configuration mode. Parameter Name Type Range Default <bool> Bool {{1|ON}|{0|OFF}} 1|ON Explanation When the three IP configuration types are all turned on, the priority of the parameter configuration ...
RIGOL 2 Command System :LAN:GATeway Syntax :LAN:GATeway <string> :LAN:GATeway? Description Set or query the gateway. Parameter Name Type Range Default Refer to Explanation <string> ASCII string Explanation The format of <string> is nnn,nnn,nnn,nnn. Wherein, the range of the first nnn is from 1 to 223 ...
RIGOL 2 Command System :LAN:MAC? Syntax :LAN:MAC? Description Query the MAC address of the instrument. This address is displayed on the oscilloscope in "00-19-AF-30-00-00" format. Return Format The query returns the MAC address in string. For example, 0019af300000. :LAN:MANual Syntax :LAN:MANual <bool>...
RIGOL 2 Command System :LAN:INITiate Syntax :LAN:INITiate Description Initialize the network parameters. Before using this command, make sure that the oscilloscope has been connected to the network correctly. :LAN:IPADdress Syntax :LAN:IPADdress <string> :LAN:IPADdress? Description Set or query the IP address of the instrument.
RIGOL 2 Command System :LAN:SMASk Syntax :LAN:SMASk <string> :LAN:SMASk? Description Set or query the subnet mask. Parameter Name Type Range Default Refer to Explanation <string> ASCII string Explanation The format of <string> is nnn,nnn,nnn,nnn. Wherein, the range of the nnn is from 0 to 255.
RIGOL 2 Command System :LAN:VISA? Syntax :LAN:VISA? Description Query the VISA address of the instrument. Return Format The query returns the VISA address in string. For example, TCPIP::172.16.3.119::INSTR. :LAN:APPLy Syntax :LAN:APPLy Description Apply the network configuration. 2-127 DS2000E Programming Guide...
RIGOL 2 Command System :MASK:SOURce Syntax :MASK:SOURce <source> :MASK:SOURce? Description Set or query the measurement source of the pass/fail test. Parameter Name Type Range Default <source> Discrete {CHANnel1|CHANnel2} CHANnel1 Explanation Only the channel enabled can be selected as the measurement source of the pass/fail test.
RIGOL 2 Command System :MASK:MDISplay Syntax :MASK:MDISplay <bool> :MASK:MDISplay? Description When the pass/fail test is enabled, enable or disable the message display; or query the current status of the message display. Parameter Name Type Range Default <bool> Bool {{1|ON}|{0|OFF}} 0|OFF...
RIGOL 2 Command System :MASK:OUTPut Syntax :MASK:OUTPut <type> :MASK:OUTPut? Description Set or query the output mode when the test fails. Parameter Name Type Range Default <type> Discrete {FAIL|FSOund} FAIL Explanation FAIL: when a failed waveform is detected, the oscilloscope displays the statistic results and outputs a ...
RIGOL 2 Command System :MASK:X :MASK:Y Syntax :MASK:X <x> :MASK:X? :MASK:Y <y> :MASK:Y? Description Set or query the horizontal adjustment parameter of the pass/fail test mask, and the unit is div. Set or query the vertical adjustment parameter of the pass/fail test mask, and the unit is div.
RIGOL 2 Command System :MASK:PASSed? Syntax :MASK:PASSed? Description Query the number of frames that pass the pass/fail test. Return Format The query returns the number of frames that pass the pass/fail test in integer. :MASK:FAILed? Syntax :MASK:FAILed? Description Query the number of failed frames in the pass/fail test.
RIGOL 2 Command System :MASK:RESet Syntax :MASK:RESet Description Reset the number of passed frames, the number of failed frames and the total number of frames. Explanation After this command is sent, the number of passed frames, the number of failed frames and the total ...
RIGOL 2 Command System :MEASure:COUNter:SOURce Syntax :MEASure:COUNter:SOURce <sour> :MEASure:COUNter:SOURce? Description Set or query the measurement source of the frequency counter or disable the frequency counter measurement. Parameter Name Type Range Default <sour> Discrete {CHANnel1|CHANnel2|EXT|OFF} Return Format The query returns CHAN1, CHAN2, EXT, or OFF.
RIGOL 2 Command System :MEASure:CLEar Syntax :MEASure:CLEar <item> Description Clear any or all of the last five measurement items that are enabled. Parameter Name Type Range Default <item> Discrete {ITEM1|ITEM2|ITEM3|ITEM4|ITEM5|ALL} Explanation The last five measurement items are derermined according to the order in which they are enabled and they will not change as you delete one or more measurement items.
RIGOL 2 Command System :MEASure:ADISplay Syntax :MEASure:ADISplay <bool> :MEASure:ADISplay? Description Enable or disable all measurement; or query the current status of all measurement. Parameter Name Type Range Default <bool> Bool {{1|ON}|{0|OFF}} 0|OFF Explanation All measurement can measure all the time and voltage parameters of the current measurement ...
RIGOL 2 Command System :MEASure:STATistic:DISPlay Syntax :MEASure:STATistic:DISPlay <bool> :MEASure:STATistic:DISPlay? Description Enable or disable the statistic function; or query the current status of the statistic function. Parameter Name Type Range Default <bool> Bool {{1|ON}|{0|OFF}} 0|OFF Explanation When the statistic function is enabled, the system will make statistics and display the measurement results of at most five measurement items that are enabled last.
RIGOL 2 Command System :MEASure:STATistic:RESet Syntax :MEASure:STATistic:RESet Description Clear the history statistic data and make statistic again. :MEASure:SETup:TYPE Syntax :MEASure:SETup:TYPE <type> :MEASure:SETup:TYPE? Description Set or query the type of measurement setting. Parameter Name Type Range Default <type> Discrete {DELay|PHASe|THReshold} DELay Return Format The query returns DEL, PHAS, or THR.
RIGOL 2 Command System :MEASure:SETup:MAX :MEASure:SETup:MID :MEASure:SETup:MIN Syntax :MEASure:SETup:MAX <max> :MEASure:SETup:MAX? :MEASure:SETup:MID <mid> :MEASure:SETup:MID? :MEASure:SETup:MIN <min> :MEASure:SETup:MIN? Description Set or query the upper limit of the threshold level in the auto measurement of the analog channels. The unit is %.
RIGOL 2 Command System :MEASure:SETup:PSA :MEASure:SETup:PSB Syntax :MEASure:SETup:PSA <sourceA> :MEASure:SETup:PSA? :MEASure:SETup:PSB <sourceB> :MEASure:SETup:PSB? Description Set or query the channel source of source A in phase deviation measurements. Set or query the channel source of source B in phase deviation measurements.
RIGOL 2 Command System :MEASure:SETup:DSA :MEASure:SETup:DSB Syntax :MEASure:SETup:DSA <sourceA> :MEASure:SETup:DSA? :MEASure:SETup:DSB <sourceB> :MEASure:SETup:DSB? Description Set or query the channel source of source A in delay time measurements. Set or query the channel source of source B in delay time measurements.
RIGOL 2 Command System :MEASure:AREA Syntax :MEASure:AREA <area> :MEASure:AREA? Description Set or query the measurement range. Parameter Name Type Range Default <area> Discrete {SCReen|CREGion} SCReen Explanation SCReen: waveforms within the screen region. CREGion: region specified by cursor A (refer to the...
RIGOL 2 Command System :MEASure:CREGion:CAX :MEASure:CREGion:CBX Syntax :MEASure:CREGion:CAX <cax> :MEASure:CREGion:CAX? :MEASure:CREGion:CBX <cbx> :MEASure:CREGion:CBX? Description When the measurement range is set to cursor region, use this command to set or query the position of cursor A. When the measurement range is set to cursor region, use this command to set or query the position of cursor B.
RIGOL 2 Command System :MEASure:HISTory:DISPlay Syntax :MEASure:HISTory:DISPlay <bool> :MEASure:HISTory:DISPlay? Description Enable or disable the measurement history; or query the current on/off status of the measurement history. Parameter Name Type Range Default <bool> Bool {{1|ON}|{0|OFF}} 0|OFF Explanation The measurement history cannot be enabled when there is not any measured item.
RIGOL 2 Command System :MEASure:FDELay Syntax 1 :MEASure:FDELay <chanA>,<chanB> Description 1 Enable the delay (falling edge-falling edge) measurement function between the two specified channels. Syntax 2 :MEASure:FDELay? <chanA>,<chanB> Description 2 Enable the delay (falling edge-falling edge) measurement function between the two specified channels and return the measurement result (the unit is s).
Page 165
RIGOL 2 Command System :MEASure:FDELay:SMAXimum :MEASure:FDELay:SMINimum :MEASure:FDELay:SCURrent :MEASure:FDELay:SAVerage :MEASure:FDELay:SDEViation Syntax 1 :MEASure:FDELay:SMAXimum <chanA>,<chanB> :MEASure:FDELay:SMINimum <chanA>,<chanB> :MEASure:FDELay:SCURrent <chanA>,<chanB> :MEASure:FDELay:SAVerage <chanA>,<chanB> :MEASure:FDELay:SDEViation <chanA>,<chanB> Description 1 Enable the delay (falling edge-falling edge) measurement function between the two specified channels and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:F2RDelay Syntax 1 :MEASure:F2RDelay <chanA>,<chanB> Description 1 Enable the delay (falling edge-rising edge) measurement function between the two specified channels. Syntax 2 :MEASure:F2RDelay? <chanA>,<chanB> Description 2 Enable the delay (falling edge-rising edge) measurement function between the two specified channels and return the measurement result (the unit is s).
Page 167
RIGOL 2 Command System :MEASure:F2RDelay:SMAXimum :MEASure:F2RDelay:SMINimum :MEASure:F2RDelay:SCURrent :MEASure:F2RDelay:SAVerage :MEASure:F2RDelay:SDEViation Syntax 1 :MEASure:F2RDelay:SMAXimum <chanA>,<chanB> :MEASure:F2RDelay:SMINimum <chanA>,<chanB> :MEASure:F2RDelay:SCURrent <chanA>,<chanB> :MEASure:F2RDelay:SAVerage <chanA>,<chanB> :MEASure:F2RDelay:SDEViation <chanA>,<chanB> Description 1 Enable the delay (falling edge-rising edge) measurement function between the two specified channels and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:FPHase Syntax 1 :MEASure:FPHase <chanA>,<chanB> Description 1 Enable the phase deviation (falling edge-falling edge) measurement function between the two specified channels. Syntax 2 :MEASure:FPHase? <chanA>,<chanB> Description 2 Enable the phase deviation (falling edge-falling edge) measurement function between the two specified channels and return the measurement result (the unit is degree).
Page 169
RIGOL 2 Command System :MEASure:FPHase:SMAXimum :MEASure:FPHase:SMINimum :MEASure:FPHase:SCURrent :MEASure:FPHase:SAVerage :MEASure:FPHase:SDEViation Syntax 1 :MEASure:FPHase:SMAXimum <chanA>,<chanB> :MEASure:FPHase:SMINimum <chanA>,<chanB> :MEASure:FPHase:SCURrent <chanA>,<chanB> :MEASure:FPHase:SAVerage <chanA>,<chanB> :MEASure:FPHase:SDEViation <chanA>,<chanB> Description 1 Enable the phase deviation (falling edge-falling edge) measurement function between the two specified channels and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:F2RPhase Syntax 1 :MEASure:F2RPhase <chanA>,<chanB> Description 1 Enable the phase deviation (falling edge-rising edge) measurement function between the two specified channels. Syntax 2 :MEASure:F2RPhase? <chanA>,<chanB> Description 2 Enable the phase deviation (falling edge-rising edge) measurement function between the two specified channels and return the measurement result (the unit is degree).
Page 171
RIGOL 2 Command System :MEASure:F2RPhase:SMAXimum :MEASure:F2RPhase:SMINimum :MEASure:F2RPhase:SCURrent :MEASure:F2RPhase:SAVerage :MEASure:F2RPhase:SDEViation Syntax 1 :MEASure:F2RPhase:SMAXimum <chanA>,<chanB> :MEASure:F2RPhase:SMINimum <chanA>,<chanB> :MEASure:F2RPhase:SCURrent <chanA>,<chanB> :MEASure:F2RPhase:SAVerage <chanA>,<chanB> :MEASure:F2RPhase:SDEViation <chanA>,<chanB> Description 1 Enable the phase deviation (falling edge-rising edge) measurement function between the two specified channels and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:FREQuency Syntax 1 :MEASure:FREQuency <chan> Description 1 Enable the frequency measurement function of the specified channel. Syntax 2 :MEASure:FREQuency? <chan> Description 2 Enable the frequency measurement function of the specified channel and return the measurement result (the unit is Hz).
Page 173
RIGOL 2 Command System :MEASure:FREQuency:SMAXimum :MEASure:FREQuency:SMINimum :MEASure:FREQuency:SCURrent :MEASure:FREQuency:SAVerage :MEASure:FREQuency:SDEViation Syntax 1 :MEASure:FREQuency:SMAXimum <chan> :MEASure:FREQuency:SMINimum <chan> :MEASure:FREQuency:SCURrent <chan> :MEASure:FREQuency:SAVerage <chan> :MEASure:FREQuency:SDEViation <chan> Description 1 Enable the frequency measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:FTIMe Syntax 1 :MEASure:FTIMe <chan> Description 1 Enable the fall time measurement function of the specified channel. Syntax 2 :MEASure:FTIMe? <chan> Description 2 Enable the fall time measurement function of the specified channel and return the measurement result (the unit is s).
Page 175
RIGOL 2 Command System :MEASure:FTIMe:SMAXimum :MEASure:FTIMe:SMINimum :MEASure:FTIMe:SCURrent :MEASure:FTIMe:SAVerage :MEASure:FTIMe:SDEViation Syntax 1 :MEASure:FTIMe:SMAXimum <chan> :MEASure:FTIMe:SMINimum <chan> :MEASure:FTIMe:SCURrent <chan> :MEASure:FTIMe:SAVerage <chan> :MEASure:FTIMe:SDEViation <chan> Description 1 Enable the fall time measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:NDUTy Syntax 1 :MEASure:NDUTy <chan> Description 1 Enable the negative duty cycle measurement function of the specified channel. Syntax 2 :MEASure:NDUTy? <chan> Description 2 Enable the negative duty cycle measurement function of the specified channel and return the measurement result.
Page 177
RIGOL 2 Command System :MEASure:NDUTy:SMAXimum :MEASure:NDUTy:SMINimum :MEASure:NDUTy:SCURrent :MEASure:NDUTy:SAVerage :MEASure:NDUTy:SDEViation Syntax 1 :MEASure:NDUTy:SMAXimum <chan> :MEASure:NDUTy:SMINimum <chan> :MEASure:NDUTy:SCURrent <chan> :MEASure:NDUTy:SAVerage <chan> :MEASure:NDUTy:SDEViation <chan> Description 1 Enable the negative duty cycle measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:NWIDth Syntax 1 :MEASure:NWIDth <chan> Description 1 Enable the negative pulse width measurement function of the specified channel. Syntax 2 :MEASure:NWIDth? <chan> Description 2 Enable the negative pulse width measurement function of the specified channel and return the measurement result (the unit is s).
Page 179
RIGOL 2 Command System :MEASure:NWIDth:SMAXimum :MEASure:NWIDth:SMINimum :MEASure:NWIDth:SCURrent :MEASure:NWIDth:SAVerage :MEASure:NWIDth:SDEViation Syntax 1 :MEASure:NWIDth:SMAXimum <chan> :MEASure:NWIDth:SMINimum <chan> :MEASure:NWIDth:SCURrent <chan> :MEASure:NWIDth:SAVerage <chan> :MEASure:NWIDth:SDEViation <chan> Description 1 Enable the negative pulse width measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:OVERshoot Syntax 1 :MEASure:OVERshoot <chan> Description 1 Enable the overshoot measurement function of the specified channel. Syntax 2 :MEASure:OVERshoot? <chan> Description 2 Enable the overshoot measurement function of the specified channel and return the measurement result.
Page 181
RIGOL 2 Command System :MEASure:OVERshoot:SMAXimum :MEASure:OVERshoot:SMINimum :MEASure:OVERshoot:SCURrent :MEASure:OVERshoot:SAVerage :MEASure:OVERshoot:SDEViation Syntax 1 :MEASure:OVERshoot:SMAXimum <chan> :MEASure:OVERshoot:SMINimum <chan> :MEASure:OVERshoot:SCURrent <chan> :MEASure:OVERshoot:SAVerage <chan> :MEASure:OVERshoot:SDEViation <chan> Description 1 Enable the overshoot measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:PDUTy Syntax 1 :MEASure:PDUTy <chan> Description 1 Enable the positive duty cycle measurement function of the specified channel. Syntax 2 :MEASure:PDUTy? <chan> Description 2 Enable the positive duty cycle measurement function of the specified channel and return the measurement result.
Page 183
RIGOL 2 Command System :MEASure:PDUTy:SMAXimum :MEASure:PDUTy:SMINimum :MEASure:PDUTy:SCURrent :MEASure:PDUTy:SAVerage :MEASure:PDUTy:SDEViation Syntax 1 :MEASure:PDUTy:SMAXimum <chan> :MEASure:PDUTy:SMINimum <chan> :MEASure:PDUTy:SCURrent <chan> :MEASure:PDUTy:SAVerage <chan> :MEASure:PDUTy:SDEViation <chan> Description 1 Enable the positive duty cycle measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:PERiod Syntax 1 :MEASure:PERiod <chan> Description 1 Enable the period measurement function of the specified channel. Syntax 2 :MEASure:PERiod? <chan> Description 2 Enable the period measurement function of the specified channel and return the measurement result.
Page 185
RIGOL 2 Command System :MEASure:PERiod:SMAXimum :MEASure:PERiod:SMINimum :MEASure:PERiod:SCURrent :MEASure:PERiod:SAVerage :MEASure:PERiod:SDEViation Syntax 1 :MEASure:PERiod:SMAXimum <chan> :MEASure:PERiod:SMINimum <chan> :MEASure:PERiod:SCURrent <chan> :MEASure:PERiod:SAVerage <chan> :MEASure:PERiod:SDEViation <chan> Description 1 Enable the period measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:PREShoot Syntax 1 :MEASure:PREShoot <chan> Description 1 Enable the preshoot measurement function of the specified channel. Syntax 2 :MEASure:PREShoot? <chan> Description 2 Enable the preshoot measurement function of the specified channel and return the measurement result.
Page 187
RIGOL 2 Command System :MEASure:PREShoot:SMAXimum :MEASure:PREShoot:SMINimum :MEASure:PREShoot:SCURrent :MEASure:PREShoot:SAVerage :MEASure:PREShoot:SDEViation Syntax 1 :MEASure:PREShoot:SMAXimum <chan> :MEASure:PREShoot:SMINimum <chan> :MEASure:PREShoot:SCURrent <chan> :MEASure:PREShoot:SAVerage <chan> :MEASure:PREShoot:SDEViation <chan> Description 1 Enable the preshoot measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:PWIDth Syntax 1 :MEASure:PWIDth <chan> Description 1 Enable the positive pulse width measurement function of the specified channel. Syntax 2 :MEASure:PWIDth? <chan> Description 2 Enable the positive pulse width measurement function of the specified channel and return the measurement result.
Page 189
RIGOL 2 Command System :MEASure:PWIDth:SMAXimum :MEASure:PWIDth:SMINimum :MEASure:PWIDth:SCURrent :MEASure:PWIDth:SAVerage :MEASure:PWIDth:SDEViation Syntax 1 :MEASure:PWIDth:SMAXimum <chan> :MEASure:PWIDth:SMINimum <chan> :MEASure:PWIDth:SCURrent <chan> :MEASure:PWIDth:SAVerage <chan> :MEASure:PWIDth:SDEViation <chan> Description 1 Enable the positive pulse width measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:RTIMe Syntax 1 :MEASure:RTIMe <chan> Description 1 Enable the rise time measurement function of the specified channel. Syntax 2 :MEASure:RTIMe? <chan> Description 2 Enable the rise time measurement function of the specified channel and return the measurement result (the unit is s).
Page 191
RIGOL 2 Command System :MEASure:RTIMe:SMAXimum :MEASure:RTIMe:SMINimum :MEASure:RTIMe:SCURrent :MEASure:RTIMe:SAVerage :MEASure:RTIMe:SDEViation Syntax 1 :MEASure:RTIMe:SMAXimum <chan> :MEASure:RTIMe:SMINimum <chan> :MEASure:RTIMe:SCURrent <chan> :MEASure:RTIMe:SAVerage <chan> :MEASure:RTIMe:SDEViation <chan> Description 1 Enable the rise time measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:RDELay Syntax 1 :MEASure:RDELay <chanA>,<chanB> Description 1 Enable the delay (rising edge-rising edge) measurement function between the two specified channels. Syntax 2 :MEASure:RDELay? <chanA>,<chanB> Description 2 Enable the delay (rising edge-rising edge) measurement function between the two specified channels and return the measurement result (the unit is s).
Page 193
RIGOL 2 Command System :MEASure:RDELay:SMAXimum :MEASure:RDELay:SMINimum :MEASure:RDELay:SCURrent :MEASure:RDELay:SAVerage :MEASure:RDELay:SDEViation Syntax 1 :MEASure:RDELay:SMAXimum <chanA>,<chanB> :MEASure:RDELay:SMINimum <chanA>,<chanB> :MEASure:RDELay:SCURrent <chanA>,<chanB> :MEASure:RDELay:SAVerage <chanA>,<chanB> :MEASure:RDELay:SDEViation <chanA>,<chanB> Description 1 Enable the delay (rising edge-rising edge) measurement function between the two specified channels and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:R2FDelay Syntax1 :MEASure:R2FDelay <chanA>,<chanB> Description1 Enable the delay (rising edge-falling edge) measurement function between the two specified channels. Syntax2 :MEASure:R2FDelay? <chanA>,<chanB> Description2 Enable the delay (rising edge-falling edge) measurement function between the two specified channels and return the measurement result (the unit is s).
Page 195
RIGOL 2 Command System :MEASure:R2FDelay:SMAXimum :MEASure:R2FDelay:SMINimum :MEASure:R2FDelay:SCURrent :MEASure:R2FDelay:SAVerage :MEASure:R2FDelay:SDEViation Syntax 1 :MEASure:R2FDelay:SMAXimum <chanA>,<chanB> :MEASure:R2FDelay:SMINimum <chanA>,<chanB> :MEASure:R2FDelay:SCURrent <chanA>,<chanB> :MEASure:R2FDelay:SAVerage <chanA>,<chanB> :MEASure:R2FDelay:SDEViation <chanA>,<chanB> Description 1 Enable the delay (rising edge-falling edge) measurement function between the two specified channels and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:RPHase Syntax 1 :MEASure:RPHase <chanA>,<chanB> Description 1 Enable the phase deviation (rising edge-rising edge) measurement function between the two specified channels. Syntax 2 :MEASure:RPHase? <chanA>,<chanB> Description 2 Enable the phase deviation (rising edge-rising edge) measurement function between the two specified channels and return the measurement result (the unit is degree).
Page 197
RIGOL 2 Command System :MEASure:RPHase:SMAXimum :MEASure:RPHase:SMINimum :MEASure:RPHase:SCURrent :MEASure:RPHase:SAVerage :MEASure:RPHase:SDEViation Syntax 1 :MEASure:RPHase:SMAXimum <chanA>,<chanB> :MEASure:RPHase:SMINimum <chanA>,<chanB> :MEASure:RPHase:SCURrent <chanA>,<chanB> :MEASure:RPHase:SAVerage <chanA>,<chanB> :MEASure:RPHase:SDEViation <chanA>,<chanB> Description 1 Enable the phase deviation (rising edge-rising edge) measurement function between the two specified channels and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:R2FPhase Syntax 1 :MEASure:R2FPhase <chanA>,<chanB> Description 1 Enable the phase deviation (rising edge-falling edge) measurement function between the two specified channels. Syntax 2 :MEASure:R2FPhase? <chanA>,<chanB> Description 2 Enable the phase deviation (rising edge-falling edge) measurement function between the two specified channels and return the measurement result (the unit is degree).
Page 199
RIGOL 2 Command System :MEASure:R2FPhase:SMAXimum :MEASure:R2FPhase:SMINimum :MEASure:R2FPhase:SCURrent :MEASure:R2FPhase:SAVerage :MEASure:R2FPhase:SDEViation Syntax 1 :MEASure:R2FPhase:SMAXimum <chanA>,<chanB> :MEASure:R2FPhase:SMINimum <chanA>,<chanB> :MEASure:R2FPhase:SCURrent <chanA>,<chanB> :MEASure:R2FPhase:SAVerage <chanA>,<chanB> :MEASure:R2FPhase:SDEViation <chanA>,<chanB> Description 1 Enable the phase deviation (rising edg-falling edge) measurement function between the two specified channels and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:VAMP Syntax 1 :MEASure:VAMP <chan> Description 1 Enable the amplitude measurement function of the specified channel. Syntax 2 :MEASure:VAMP? <chan> Description 2 Enable the amplitude measurement function of the specified channel and return the measurement result.
Page 201
RIGOL 2 Command System :MEASure:VAMP:SMAXimum :MEASure:VAMP:SMINimum :MEASure:VAMP:SCURrent :MEASure:VAMP:SAVerage :MEASure:VAMP:SDEViation Syntax 1 :MEASure:VAMP:SMAXimum <chan> :MEASure:VAMP:SMINimum <chan> :MEASure:VAMP:SCURrent <chan> :MEASure:VAMP:SAVerage <chan> :MEASure:VAMP:SDEViation <chan> Description 1 Enable the amplitude measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:VAVG Syntax 1 :MEASure:VAVG <chan> Description 1 Enable the amplitude average measurement function of the specified channel. Syntax 2 :MEASure:VAVG? <chan> Description 2 Enable the amplitude average measurement function of the specified channel and return the measurement result.
Page 203
RIGOL 2 Command System :MEASure:VAVG:SMAXimum :MEASure:VAVG:SMINimum :MEASure:VAVG:SCURrent :MEASure:VAVG:SAVerage :MEASure:VAVG:SDEViation Syntax 1 :MEASure:VAVG:SMAXimum <chan> :MEASure:VAVG:SMINimum <chan> :MEASure:VAVG:SCURrent <chan> :MEASure:VAVG:SAVerage <chan> :MEASure:VAVG:SDEViation <chan> Description 1 Enable the amplitude average measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:VBASe Syntax 1 :MEASure:VBASe <chan> Description 1 Enable the amplitude base value measurement function of the specified channel. Syntax 2 :MEASure:VBASe? <chan> Description 2 Enable the amplitude base value measurement function of the specified channel and return the measurement result.
Page 205
RIGOL 2 Command System :MEASure:VBASe:SMAXimum :MEASure:VBASe:SMINimum :MEASure:VBASe:SCURrent :MEASure:VBASe:SAVerage :MEASure:VBASe:SDEViation Syntax 1 :MEASure:VBASe:SMAXimum <chan> :MEASure:VBASe:SMINimum <chan> :MEASure:VBASe:SCURrent <chan> :MEASure:VBASe:SAVerage <chan> :MEASure:VBASe:SDEViation <chan> Description 1 Enable the amplitude base value measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:VMAX Syntax 1 :MEASure:VMAX <chan> Description 1 Enable the amplitude maximum value measurement function of the specified channel. Syntax 2 :MEASure:VMAX? <chan> Description 2 Enable the amplitude maximum value measurement function of the specified channel and return the measurement result.
Page 207
RIGOL 2 Command System :MEASure:VMAX:SMAXimum :MEASure:VMAX:SMINimum :MEASure:VMAX:SCURrent :MEASure:VMAX:SAVerage :MEASure:VMAX:SDEViation Syntax 1 :MEASure:VMAX:SMAXimum <chan> :MEASure:VMAX:SMINimum <chan> :MEASure:VMAX:SCURrent <chan> :MEASure:VMAX:SAVerage <chan> :MEASure:VMAX:SDEViation <chan> Description 1 Enable the amplitude maximum value measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:VMIN Syntax 1 :MEASure:VMIN <chan> Description 1 Enable the amplitude minimum value measurement function of the specified channel. Syntax 2 :MEASure:VMIN? <chan> Description 2 Enable the amplitude minimum value measurement function of the specified channel and return the measurement result.
Page 209
RIGOL 2 Command System :MEASure:VMIN:SMAXimum :MEASure:VMIN:SMINimum :MEASure:VMIN:SCURrent :MEASure:VMIN:SAVerage :MEASure:VMIN:SDEviation Syntax 1 :MEASure:VMIN:SMAXimum <chan> :MEASure:VMIN:SMINimum <chan> :MEASure:VMIN:SCURrent <chan> :MEASure:VMIN:SAVerage <chan> :MEASure:VMIN:SDEViation <chan> Description 1 Enable the amplitude minimum value measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:VPP Syntax 1 :MEASure:VPP <chan> Description 1 Enable the peak-peak value measurement function of the specified channel. Syntax 2 :MEASure:VPP? <chan> Description 2 Enable the peak-peak value measurement function of the specified channel and return the measurement result.
Page 211
RIGOL 2 Command System :MEASure:VPP:SMAXimum :MEASure:VPP:SMINimum :MEASure:VPP:SCURrent :MEASure:VPP:SAVerage :MEASure:VPP:SDEViation Syntax 1 :MEASure:VPP:SMAXimum <chan> :MEASure:VPP:SMINimum <chan> :MEASure:VPP:SCURrent <chan> :MEASure:VPP:SAVerage <chan> :MEASure:VPP:SDEViation <chan> Description 1 Enable the peak-peak value measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:VRMS Syntax 1 :MEASure:VRMS <chan> Description 1 Enable the RMS value measurement function on the whole signal of the specified channel. Syntax 2 :MEASure:VRMS? <chan> Description 2 Enable the RMS value measurement function on the whole signal of the specified channel and return the measurement result.
Page 213
RIGOL 2 Command System :MEASure:VRMS:SMAXimum :MEASure:VRMS:SMINimum :MEASure:VRMS:SCURrent :MEASure:VRMS:SAVerage :MEASure:VRMS:SDEViation Syntax 1 :MEASure:VRMS:SMAXimum <chan> :MEASure:VRMS:SMINimum <chan> :MEASure:VRMS:SCURrent <chan> :MEASure:VRMS:SAVerage <chan> :MEASure:VRMS:SDEViation <chan> Description 1 Enable the RMS value measurement function on the whole signal of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:PVRMs Syntax 1 :MEASure:PVRMs <chan> Description 1 Enable the RMS value measurement function within a single period of the specified channel. Syntax 2 :MEASure:PVRMs? <chan> Description 2 Enable the RMS value measurement function within a single period of the specified channel and return the measurement result.
Page 215
RIGOL 2 Command System :MEASure:PVRMs:SMAXimum :MEASure:PVRMs:SMINimum :MEASure:PVRMs:SCURrent :MEASure:PVRMs:SAVerage :MEASure:PVRMs:SDEViation Syntax 1 :MEASure:PVRMs:SMAXimum <chan> :MEASure:PVRMs:SMINimum <chan> :MEASure:PVRMs:SCURrent <chan> :MEASure:PVRMs:SAVerage <chan> :MEASure:PVRMs:SDEViation <chan> Description 1 Enable the RMS value measurement function within a single period of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:VTOP Syntax 1 :MEASure:VTOP <chan> Description 1 Enable the amplitude top value measurement function of the specified channel. Syntax 2 :MEASure:VTOP? <chan> Description 2 Enable the amplitude top value measurement function of the specified channel and return the measurement result.
Page 217
RIGOL 2 Command System :MEASure:VTOP:SMAXimum :MEASure:VTOP:SMINimum :MEASure:VTOP:SCURrent :MEASure:VTOP:SAVerage :MEASure:VTOP:SDEViation Syntax 1 :MEASure:VTOP:SMAXimum <chan> :MEASure:VTOP:SMINimum <chan> :MEASure:VTOP:SCURrent <chan> :MEASure:VTOP:SAVerage <chan> :MEASure:VTOP:SDEViation <chan> Description 1 Enable the amplitude top value measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:MARea Syntax 1 :MEASure:MARea <chan> Description 1 Enable the area measurement function of the specified channel. Syntax 2 :MEASure:MARea? <chan> Description 2 Enable the area measurement function of the specified channel and return the measurement result (the unit is Vs).
Page 219
RIGOL 2 Command System :MEASure:MARea:SMAXimum :MEASure:MARea:SMINimum :MEASure:MARea:SCURrent :MEASure:MARea:SAVerage :MEASure:MARea:SDEViation Syntax 1 :MEASure:MARea:SMAXimum <chan> :MEASure:MARea:SMINimum <chan> :MEASure:MARea:SCURrent <chan> :MEASure:MARea:SAVerage <chan> :MEASure:MARea:SDEViation <chan> Description 1 Enable the area measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :MEASure:MPARea Syntax 1 :MEASure:MPARea <chan> Description 1 Enable the period area measurement function of the specified channel. Syntax 2 :MEASure:MPARea? <chan> Description 2 Enable the period area measurement function of the specified channel and return the measurement result (the unit is Vs).
Page 221
RIGOL 2 Command System :MEASure:MPARea:SMAXimum :MEASure:MPARea:SMINimum :MEASure:MPARea:SCURrent :MEASure:MPARea:SAVerage :MEASure:MPARea:SDEViation Syntax 1 :MEASure:MPARea:SMAXimum <chan> :MEASure:MPARea:SMINimum <chan> :MEASure:MPARea:SCURrent <chan> :MEASure:MPARea:SAVerage <chan> :MEASure:MPARea:SDEViation <chan> Description 1 Enable the period area measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :RECall Commands :RECall:SETup :RECall:TRACe :RECall:WAVeform :RECall:SETup Syntax :RECall:SETup <file_spec> Description Recall the setup file stored in the external memory. Parameter Name Type Range Default <file_spec> ASCII string Refer to Explanation Explanation Beforing recalling the setup file, use the...
RIGOL 2 Command System :RECall:TRACe Syntax :RECall:TRACe <file_spec> Description Recall the trace file stored in the external memory. Parameter Name Type Range Default Refer to Explanation <file_spec> ASCII string Explanation Beforing recalling the trace file, use the :SAVE:TRACe[:STARt] command to store the corresponding ...
RIGOL 2 Command System :REFerence<n>:ENABle Syntax :REFerence<n>:ENABle <bool> :REFerence<n>:ENABle? Description Turn on or off the specified reference channel; or query the status of the specified reference channel. Parameter Name Type Range Default <n> Discrete {1|2|3|4|5|6|7|8|9|10} Ref1: 1|ON <bool> Bool {{1|ON}|{0|OFF}}...
RIGOL 2 Command System :REFerence:CURRent? Syntax :REFerence:CURRent? Description Query the current REF channel. Return Format The query returns REFn; wherein, n is an integer from 1 to 10. :REFerence:DISPlay Syntax :REFerence:DISPlay <bool> :REFerence:DISPlay? Description Turn on or off the REF control menu; or query whether the REF control menu is turned on.
RIGOL 2 Command System :REFerence:SAVe Syntax :REFerence:SAVe Description Store the waveform (screen region) of the specified signal source to the internal memory as the reference waveform of the current reference channel and display the waveform on the screen. Explanation This operation can only store the reference waveform in the volatile memory and the waveform will be cleared at power-off.
RIGOL 2 Command System :REFerence:VSCale Syntax :REFerence:VSCale <vscale> :REFerence:VSCale? Description Set or query the vertical scale of the current refrence channel waveform. The unit is the same with that of the current signal source. Parameter Name Type Range Default <vscale>...
RIGOL 2 Command System :REFerence:VOFFset Syntax :REFerence:VOFFset <voffset> :REFerence:VOFFset? Description Set or query the vertical offset of the current reference channel waveform. The unit is the same with that of the current signal source. Parameter Name Type Range Default <voffset>...
RIGOL 2 Command System :SAVE:CSV[:STARt] Syntax :SAVE:CSV[:STARt] <file_spec> Description Save the waveform data on the screen into the external memory in "*.csv" format. Parameter Name Type Range Default Refer to Explanation <file_spec> ASCII string Explanation <file_spec> includes the file storage directory and the filename with suffix. Its length cannot exceed ...
RIGOL 2 Command System :SAVE:CSV:FACTors Syntax :SAVE:CSV:FACTors <bool> :SAVE:CSV:FACTors? Description Enable or disable the parameter storage function of CSV storage; or query whether the parameter storage function of CSV storage is enabled. Parameter Name Type Range Default <bool> Bool {{1|ON}|{0|OFF}}...
RIGOL 2 Command System :SAVE:FORMat Syntax :SAVE:FORMat <format> :SAVE:FORMat? Description Set or query the storage format. Parameter Name Type Range Default <format> Discrete {TRACe|WAVeform|SETup|PICTure|CSV} PICTure Return Format The query returns TRAC, WAV, SET, PICT, or CSV. :SAVE:IMAGe[:STARt] Syntax :SAVE:IMAGe[:STARt] <file_spec>...
RIGOL 2 Command System :SAVE:IMAGe:TYPE Syntax :SAVE:IMAGe:TYPE <type> :SAVE:IMAGe:TYPE? Description Set or query the picture type of picture storage. Parameter Name Type Range Default <type> Discrete {BMP24bit|JPEG|PNG|TIFF} Return Format The query returns BMP24, JPEG, PNG, or TIFF. :SAVE:IMAGe:FACTors Syntax :SAVE:IMAGe:FACTors <bool>...
RIGOL 2 Command System :SAVE:SETup[:STARt] Syntax :SAVE:SETup[:STARt] {<internal_loc>|<file_spec>} Description Store the current parameter settings of the oscilloscope into the internal or external memory in "*.stp" format. Parameter Name Type Range Default <internal_loc> ASCII string C:\LocalSetup0.stp to C:\LocalSetup9.stp Refer to Explanation <file_spec>...
RIGOL 2 Command System :SAVE:TRACe[:STARt] Syntax :SAVE:TRACe[:STARt] {<file_spec>} Description Store the waveform trace into the external memory in "*.trc" format. Parameter Name Type Range Default <file_spec> ASCII string Refer to Explanation Explanation <file_spec> includes the file storage directory and the filename with suffix. Its length cannot exceed 64 characters.
RIGOL 2 Command System :SAVE:REFerence[:STARt] Syntax :SAVE:REFerence[:STARt] {<internal_loc>|<file_spec>} Description Store the reference waveform currently stored by the oscilloscope into the internal or external memory in "*.ref" format. Parameter Name Type Range Default <internal_loc> ASCII string C:\LocalREF0.ref to C:\LocalREF9.ref Refer to Explanation <file_spec>...
RIGOL 2 Command System :SAVE:MTESt[:STARt] Syntax :SAVE:MTESt[:STARt] {<internal_loc>|<file_spec>} Description Store the current pass/fail test mask into the internal or external memory in "*.pf" format. Parameter Name Type Range Default <internal_loc> ASCII string C:\LocalPF0.pf to C:\LocalPF9.pf Refer to Explanation <file_spec> ASCII string Explanation This command is only available when the pass/fail test function is enabled (refer to :MASK:ENABle).
RIGOL 2 Command System :SYSTem:AOUTput Syntax :SYSTem:AOUTput <aux output> :SYSTem:AOUTput? Description Set or query the type of the signal output from the [Trigger Out] connector on the rear panel. Parameter Name Type Range Default <aux output> Discrete {TOUT|PFAil} TOUT Explanation TOUT: output a signal that can reflect the current acquisition rate of the oscilloscope via the ...
RIGOL 2 Command System :SYSTem:BEEPer Syntax :SYSTem:BEEPer <bool> :SYSTem:BEEPer? Description Enable or disable the beeper; or query the status of the beeper. Parameter Name Type Range Default <bool> Bool {{1|ON}|{0|OFF}} 0|OFF Return Format The query returns 1 or 0. :SYSTem:DATE Syntax :SYSTem:DATE <year>,<month>,<day>...
RIGOL 2 Command System :SYSTem:ERRor[:NEXT]? Syntax :SYSTem:ERRor[:NEXT]? Description Query and delete the last system error message. Return Format The query returns the error message in "<Message Number>,<Message Content>" format. Wherein, <Message Number> is an integer and <Message Content> is a double-quotated ASCII string. For example, -410,"Query INTERRUPTED".
RIGOL 2 Command System :SYSTem:GAMount? Syntax :SYSTem:GAMount? Description Query the number of grids on the screen horizontally. Return Format The query returns the number of grids on the screen horizontally in integer. For this oscilloscope, the return value is always 14.
RIGOL 2 Command System :SYSTem:KEY:PRESs Syntax :SYSTem:KEY:PRESs <key> Description Press the specified key on the front panel of the oscilloscope. Parameter Name Type Range Default {CH1|CH2|MATH|REF|DECode1|DECode2|AOFF| MOFF|F1|F2|F3|F4|F5|F6|F7|QPRevious|QNEXt| VPOSition|VPOSition1|VPOSition2|VSCale|VSCale1| VSCale2|HSCale|HPOSition|HMENu|KFUNction| TLEVel|TMENu|TFORce|TMODe|CLEar|AUTO|RSTop| <key> Discrete SINGle|QPRInt|MEASure|ACQuire|STORage| CURSor|DISPlay|UTILity|HELP|SRECord|ERECord| PPAuse|FFP10|FFP20|FFP30|FFP40|FFP50| FFP60|FFP70|FFN10|FFN20|FFN30|FFN40| FFN50|FFN60|FFN70} Explanation The ranges of <key> correspond to the keys on the front panel of the oscilloscope. The definitions are as follows.
Page 245
RIGOL 2 Command System TMENu: press MENU in the trigger control area. TFORce: press FORCE in the trigger control area. TMODe: press MODE in the trigger control area. RSTop: press RUN/STOP. QPRInt: press the print key.
RIGOL 2 Command System :SYSTem:KEY:INCRease :SYSTem:KEY:DECRease Syntax :SYSTem:KEY:INCRease <key>[,<val>] :SYSTem:KEY:DECRease <key>[,<val>] Description Rotate the specified knob clockwise. Rotate the specified knob counterclockwise. Parameter Name Type Range Default {VPOSition|VPOSition1|VPOSition2| <key> Discrete VSCale|VSCale1|VSCale2|HSCale|HPOSition| KFUNction|TLEVel|SFINd} Determined by the range of the parameter corresponding to <val>...
RIGOL 2 Command System :SYSTem:LANGuage Syntax :SYSTem:LANGuage <lang> :SYSTem:LANGuage? Description Set or query the system language. Parameter Name Type Range Default {SCHinese|TCHinese|KORean|JAPanese|ENGLish|GERMan| <lang> Discrete PORTuguese|POLish|FRENch|RUSSian} Return Format The query returns SCH, TCH, KOR, JAP, ENGL, GERM, PORT, POL, FREN, or RUSS.
You can use the key to generate the option license by taking the following steps: Log in RIGOL official website (www.rigol.com); click SERVICE Software License Register to enter the product license register interface.
RIGOL 2 Command System :SYSTem:OPTion:VALid? Syntax :SYSTem:OPTion:VALid? <module> Description Query the status of the options of the oscilloscope. Parameter Name Type Range Default <module> Discrete {TRIGger|DECode|CAN|MEMDepth} Explanation TRIGger: advanced trigger option DECode: decoding option CAN: CAN protocol analysis option (include CAN trigger and CAN decoding) ...
RIGOL 2 Command System :SYSTem:PSTatus Syntax :SYSTem:PSTatus <sat> :SYSTem:PSTatus? Description Set or query the power status of the oscilloscope. Parameter Name Type Range Default <sat> Discrete {DEFault|OPEN} Explanation DEFault: you need to press the power key on the front panel to start the oscilloscope after the ...
RIGOL 2 Command System :SYSTem:SSAVer:TIME Syntax :SYSTem:SSAVer:TIME <time> :SYSTem:SSAVer:TIME? Description Set or query the screen saver time. Parameter Name Type Range Default {1MIN|2MIN|5MIN|15MIN|30MIN| <time> Discrete 45MIN|60MIN|2HOur|5HOur|OFF} Explanation After the oscilloscope enters idle state for the specified period of time, the screen saver program will be enabled.
RIGOL 2 Command System :SYSTem:TIME Syntax :SYSTem:TIME <hours>,<minutes>,<seconds> :SYSTem:TIME? Description Set or query the system time. Parameter Name Type Range Default <hours> Integer 0 to 23 <minutes> Integer 0 to 59 <seconds> Integer 0 to 59 Return Format The query returns the current time in string.
RIGOL 2 Command System :SYSTem:VERSion? Syntax :SYSTem:VERSion? Description Query the SCPI version number of the oscilloscope. Return Format The query always returns 1999.0. 2-237 DS2000E Programming Guide...
RIGOL 2 Command System :TIMebase:DELay:OFFSet Syntax :TIMebase:DELay:OFFSet <offset> :TIMebase:DELay:OFFSet? Description Set or query the horizontal offset of the delayed sweep and the unit is s. Parameter Name Type Range Default <offset> Real -(LeftTime - DelayRange/2) to (RightTime - DelayRange/2) Note:...
RIGOL 2 Command System :TIMebase[:MAIN]:OFFSet Syntax :TIMebase[:MAIN]:OFFSet <offset> :TIMebase[:MAIN]:OFFSet? Description Set or query the horizontal offset of the main time base and the unit is s. Parameter Name Type Range Default The range of <offset> is related to the horizontal time base mode (refer to the :TIMebase:MODE) and the operating state of the oscilloscope.
RIGOL 2 Command System :TIMebase[:MAIN]:SCALe Syntax :TIMebase[:MAIN]:SCALe <scale_value> :TIMebase[:MAIN]:SCALe? Description Set or query the main time base and the unit is s/div. Parameter Name Type Range Default The range is related to the horizontal time base mode of the oscilloscope <scale_value>...
RIGOL 2 Command System :TIMebase:HREF:MODE Syntax :TIMebase:HREF:MODE <href> :TIMebase:HREF:MODE? Description Set or query the horizontal reference mode; namely the refrence position of the horizontal expansion and compression of the screen waveform. Parameter Name Type Range Default <href> Discrete {CENTer|TPOSition|USER} CENTer...
RIGOL 2 Command System :TIMebase:MODE Syntax :TIMebase:MODE <mode> :TIMebase:MODE? Description Set or query the horizontal time base mode. Parameter Name Type Range Default <mode> Discrete {MAIN|XY|ROLL} MAIN Explanation MAIN: Y-T mode XY: X-Y mode ROLL: Roll mode ...
RIGOL 2 Command System :TRIGger:COUPling Syntax :TRIGger:COUPling <couple> :TRIGger:COUPling? Description Set or query the trigger coupling mode. Parameter Name Type Range Default <couple> Discrete {DC|AC|LFReject|HFReject} Explanation DC: allow DC and AC components to pass through the trigger path. AC: block the DC components and attanuate signals lower than 75Hz.
RIGOL 2 Command System :TRIGger:MODE Syntax :TRIGger:MODE <mode> :TRIGger:MODE? Description Set or query the trigger type. Parameter Name Type Range Default {EDGE|PULSe|RUNT|WIND|NEDG|SLOPe|VIDeo|PATTern| <mode> Discrete EDGE DELay|TIMeout|DURATion|SHOLd|RS232|IIC|SPI|USB|CAN } Return Format The query returns EDGE, PULS, RUNT, WIND, NEDG, SLOP, VID, PATT, DEL, TIM, DURAT, SHOL, RS232, IIC, SPI, USB, or CAN.
RIGOL 2 Command System :TRIGger:STATus? Syntax :TRIGger:STATus? Description Query the current trigger status. Return Format The query returns TD, WAIT, RUN, AUTO, or STOP. 2-247 DS2000E Programming Guide...
RIGOL 2 Command System :TRIGger:SWEep Syntax :TRIGger:SWEep <sweep> :TRIGger:SWEep? Description Set or query the trigger mode. Parameter Name Type Range Default <sweep> Discrete {AUTO|NORMal|SINGle} AUTO Explanation AUTO: After this mode is selected, the oscilloscope starts searching for trigger signals that meet the specified condition.
RIGOL 2 Command System :TRIGger:CAN (Option) :TRIGger:CAN:BAUD :TRIGger:CAN:BUSer :TRIGger:CAN:SOURce :TRIGger:CAN:STYPe :TRIGger:CAN:WHEN :TRIGger:CAN:SPOint :TRIGger:CAN:FTYPe :TRIGger:CAN:LEVel :TRIGger:CAN:BAUD Syntax :TRIGger:CAN:BAUD <baud_rate> :TRIGger:CAN:BAUD? Description Set or query the signal rate of CAN trigger. The unit is b/s.
Page 266
RIGOL 2 Command System :TRIGger:CAN:BUSer Syntax :TRIGger:CAN:BUSer <user baud> :TRIGger:CAN:BUSer? Description Set or query the user-defined signal rate of CAN trigger. The unit is b/s. Parameter Name Type Range Default <user baud> Integer 10000 to 1000000 50000 Return Format The query returns the user-defined signal rate of CAN trigger in integer.
Page 267
RIGOL 2 Command System :TRIGger:CAN:STYPe Syntax :TRIGger:CAN:STYPe <stype> :TRIGger:CAN:STYPe? Description Set or query the signal type of CAN trigger. Parameter Name Type Range Default <stype> Discrete {RX|TX|H|L|DIFFerential} Return Format The query returns RX, TX, H, L, or DIFF. :TRIGger:CAN:WHEN Syntax :TRIGger:CAN:WHEN <when>...
Page 268
RIGOL 2 Command System :TRIGger:CAN:SPOint Syntax :TRIGger:CAN:SPOint <spo> :TRIGger:CAN:SPOint? Description Set or query the sample point (expressed in percentage) of CAN trigger. Parameter Name Type Range Default <spo> Integer 5 to 95 Return Format The query returns the sample point of CAN trigger in integer.
Page 269
RIGOL 2 Command System :TRIGger:CAN:LEVel Syntax :TRIGger:CAN:LEVel <level> :TRIGger:CAN:LEVel? Description Set or query the trigger level of CAN trigger when the trigger source is CHANnel1 or CHANnel2. The unit is the same with the current amplitude unit. Parameter Name Type...
RIGOL 2 Command System :TRIGger:DELay (Option) :TRIGger:DELay:SA :TRIGger:DELay:SB :TRIGger:DELay:SLOPA :TRIGger:DELay:SLOPB :TRIGger:DELay:TLOWer :TRIGger:DELay:TUPPer :TRIGger:DELay:TYPe :TRIGger:DELay:SA :TRIGger:DELay:SB Syntax :TRIGger:DELay:SA <SourceA> :TRIGger:DELay:SA? :TRIGger:DELay:SB <SourceB> :TRIGger:DELay:SB? Description Set or query the source channel of signal source A of delay trigger.
Page 271
RIGOL 2 Command System :TRIGger:DELay:SLOPA :TRIGger:DELay:SLOPB Syntax :TRIGger:DELay:SLOPA <slope> :TRIGger:DELay:SLOPA? :TRIGger:DELay:SLOPB <slope> :TRIGger:DELay:SLOPB? Description Set or query the edge type of signal source A of delay trigger. Set or query the edge type of signal source B of delay trigger.
Page 272
RIGOL 2 Command System :TRIGger:DELay:TUPPer Syntax :TRIGger:DELay:TUPPer <tupper> :TRIGger:DELay:TUPPer? Description Set or query the upper limit of the delay time of delay trigger. Parameter Name Type Range Default When the delay type is LESS: 2ns to 4 s <tupper> Real...
RIGOL 2 Command System :TRIGger:DURATion (Option) :TRIGger:DURATion:SOURce :TRIGger:DURATion:TLOWer :TRIGger:DURATion:TUPPer :TRIGger:DURATion:TYPe :TRIGger:DURAtion:WHEN :TRIGger:DURATion:SOURce Syntax :TRIGger:DURATion:SOURce <source> :TRIGger:DURATion:SOURce? Description Set or query the trigger source of duration trigger. Parameter Name Type Range Default <source> Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2.
Page 274
RIGOL 2 Command System :TRIGger:DURATion:TUPPer Syntax :TRIGger:DURATion:TUPPer <tupper> :TRIGger:DURATion:TUPPer? Description Set or query the upper limit of the duration time of duration trigger. The unit is s. Parameter Name Type Range Default When the trigger condition is LESS: 2ns to 4s <tupper>...
Page 275
RIGOL 2 Command System :TRIGger:DURATion:TYPe Syntax :TRIGger:DURATion:TYPe <pa_ch1>[,<pa_ch2>] :TRIGger:DURATion:TYPe? Description Set or query the pattern of each channel of duration trigger. Parameter Name Type Range Default <pa_ch1> Discrete {H,L,X} <pa_ch2> Discrete {H,L,X} Explanation The patterns consist of 2 analog channels.
Page 276
RIGOL 2 Command System :TRIGger:DURAtion:WHEN Syntax :TRIGger:DURATion:WHEN <when> :TRIGger:DURATion:WHEN? Description Set or query the trigger condition of duration trigger. Parameter Name Type Range Default <when> Discrete {GREater|LESS|GLESs} GREater Explanation GREater: you need to specify a time. The oscilloscope triggers when the duration of the pattern is ...
RIGOL 2 Command System :TRIGger:EDGe :TRIGger:EDGe:LEVel :TRIGger:EDGe:SLOPe :TRIGger:EDGe:SOURce :TRIGger:EDGe:LEVel Syntax :TRIGger:EDGe:LEVel <level> :TRIGger:EDGe:LEVel? Description Set or query the trigger level of edge trigger when the trigger source is CHANnel1, CHANnel2, or EXT. The unit is the same with the current amplitude unit.
Page 278
RIGOL 2 Command System :TRIGger:EDGe:SLOPe Syntax :TRIGger:EDGe:SLOPe <slope> :TRIGger:EDGe:SLOPe? Description Set or query the edge type of edge trigger. Parameter Name Type Range Default <slope> Discrete {POSitive|NEGative|RFALl} POSitive Explanation POSitive: trigger on the rising edge of the input signal when the voltage level meets the preset ...
RIGOL 2 Command System :TRIGger:IIC :TRIGger:IIC:ADDRess :TRIGger:IIC:AWIDth :TRIGger:IIC:CLEVel :TRIGger:IIC:DLEVel :TRIGger:IIC:DATA :TRIGger:IIC:DIRection :TRIGger:IIC:SCL :TRIGger:IIC:SDA :TRIGger:IIC:WHEN :TRIGger:IIC:ADDRess Syntax :TRIGger:IIC:ADDRess <adr> :TRIGger:IIC:ADDRess? Description Set or query the address value of I2C trigger when the trigger condition is Address or A&D.
Page 280
RIGOL 2 Command System :TRIGger:IIC:AWIDth Syntax :TRIGger:IIC:AWIDth <bits> :TRIGger:IIC:AWIDth? Description Set or query the number of bits of the address of I2C trigger when the trigger condition is Address or A&D. Parameter Name Type Range Default <bits> Discrete {7|8|10} Explanation...
Page 281
RIGOL 2 Command System :TRIGger:IIC:CLEVel :TRIGger:IIC:DLEVel Syntax :TRIGger:IIC:CLEVel <level> :TRIGger:IIC:CLEVel? :TRIGger:IIC:DLEVel <level> :TRIGger:IIC:DLEVel? Description Set or query the trigger level of I2C trigger when the channel source of the clock line is CHANnel1 or CHANnel2. The unit is the same with the current amplitude unit.
Page 282
RIGOL 2 Command System :TRIGger:IIC:DATA Syntax :TRIGger:IIC:DATA <dat> :TRIGger:IIC:DATA? Description Set or query the data value of I2C trigger when the trigger condition is Data or A&D. Parameter Name Type Range Default <dat> Integer Refer to Explanation Explanation To set the trigger condition of I2C trigger, refer to the :TRIGger:IIC:WHEN command.
Page 283
RIGOL 2 Command System :TRIGger:IIC:SCL :TRIGger:IIC:SDA Syntax :TRIGger:IIC:SCL <scl> :TRIGger:IIC:SCL? :TRIGger:IIC:SDA <sda> :TRIGger:IIC:SDA? Description Set or query the channel source of the clock line of I2C trigger. Set or query the channel source of the data line of I2C trigger.
Page 284
RIGOL 2 Command System :TRIGger:IIC:WHEN Syntax :TRIGger:IIC:WHEN <trig_type> :TRIGger:IIC:WHEN? Description Set or query the trigger condition of I2C trigger. Parameter Name Type Range Default <trig_type> Discrete {STARt|RESTart|STOP|NACKnowledge|ADDRess|DATA|ADATa} STARt Explanation STARt: trigger when SDA data transitions from high level to low level while SCL is high level.
RIGOL 2 Command System :TRIGger:NEDGe (Option) :TRIGger:NEDGe:EDGE :TRIGger:NEDGe:IDLE :TRIGger:NEDGe:LEVel :TRIGger:NEDGe:SLOPe :TRIGger:NEDGe:SOURce :TRIGger:NEDGe:EDGE Syntax :TRIGger:NEDGe:EDGE <NR1> :TRIGger:NEDGe:EDGE? Description Set or query the edge number of Nth edge trigger. Parameter Name Type Range Default <NR1> Integer 1 to 65535 Return Format The query returns an integer between 1 and 65535.
Page 286
RIGOL 2 Command System :TRIGger:NEDGe:LEVel Syntax :TRIGger:NEDGe:LEVel <level> :TRIGger:NEDGe:LEVel? Description Set or query the trigger level of Nth edge trigger when the trigger source is CHANnel1 or CHANnel2. The unit is the same with the current amplitude unit. Parameter Name...
Page 287
RIGOL 2 Command System :TRIGger:NEDGe:SOURce Syntax :TRIGger:NEDGe:SOURce <source> :TRIGger:NEDGe:SOURce? Description Set or query the trigger source of Nth egde trigger. Parameter Name Type Range Default <source> Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. 2-271 DS2000E Programming Guide...
RIGOL 2 Command System :TRIGger:PATTern :TRIGger:PATTern:LEVel :TRIGger:PATTern:PATTern :TRIGger:PATTern:SOURce :TRIGger:PATTern:LEVel Syntax :TRIGger:PATTern:LEVel <chan>,<level> :TRIGger:PATTern:LEVel? <chan> Description Set or query the trigger level of CHANnel1 or CHANnel2 of pattern trigger. The unit is the same with the current amplitude unit.
Page 289
RIGOL 2 Command System :TRIGger:PATTern:PATTern Syntax :TRIGger:PATTern:PATTern <pa_ch1>[,<pa_ch2>] :TRIGger:PATTern:PATTern? Description Set or query the pattern of each channel of pattern trigger. Parameter Name Type Range Default <pa_ch1> Discrete {H,L,X,R,F} <pa_ch2> Discrete {H,L,X,R,F} Explanation The patterns consist of 2 analog channels.
Page 290
RIGOL 2 Command System :TRIGger:PATTern:SOURce Syntax :TRIGger:PATTern:SOURce <source> :TRIGger:PATTern:SOURce? Description Set or query the trigger source of pattern trigger. Parameter Name Type Range Default <source> Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. 2-274 DS2000E Programming Guide...
RIGOL 2 Command System :TRIGger:PULSe :TRIGger:PULSe:LEVel :TRIGger:PULSe:LWIDth :TRIGger:PULSe:SOURce :TRIGger:PULSe:UWIDth :TRIGger:PULSe:WHEN :TRIGger:PULSe:LEVel Syntax :TRIGger:PULSe:LEVel <level> :TRIGger:PULSe:LEVel? Description Set or query the trigger level of pulse trigger when the trigger source is CHANnel1, CHANnel2, or EXT. The unit is the same with the current amplitude unit.
Page 292
RIGOL 2 Command System :TRIGger:PULSe:LWIDth Syntax :TRIGger:PULSe:LWIDth <width> :TRIGger:PULSe:LWIDth? Description Set or query the lower limit of the pulse width of pulse trigger. The unit is s. Parameter Name Type Range Default When the trigger condition is PGReater or NGReater: 2ns to 4s <width>...
Page 293
RIGOL 2 Command System :TRIGger:PULSe:UWIDth Syntax :TRIGger:PULSe:UWIDth <width> :TRIGger:PULSe:UWIDth? Description Set or query the upper limit of the pulse width of pulse trigger. The unit is s. Parameter Name Type Range Default When the trigger condition is PLESs or NLESs: 2ns to 4s <width>...
Page 294
RIGOL 2 Command System :TRIGger:PULSe:WHEN Syntax :TRIGger:PULSe:WHEN <when> :TRIGger:PULSe:WHEN? Description Set or query the trigger condition of pulse trigger. Parameter Name Type Range Default <when> Discrete {PGReater|PLESs|NGReater|NLESs|PGLess|NGLess} PGReater Explanation PGReater: you need to specify a pulse width (refer to the :TRIGger:PULSe:LWIDth command).
RIGOL 2 Command System :TRIGger:RS232 :TRIGger:RS232:BAUD :TRIGger:RS232:BUSer :TRIGger:RS232:DATA :TRIGger:RS232:LEVel :TRIGger:RS232:PARity :TRIGger:RS232:SOURce :TRIGger:RS232:STOP :TRIGger:RS232:WHEN :TRIGger:RS232:WIDTh :TRIGger:RS232:BAUD Syntax :TRIGger:RS232:BAUD <baud_rate> :TRIGger:RS232:BAUD? Description Set or query the baud rate of RS232 trigger. The unit is bps.
Page 296
RIGOL 2 Command System :TRIGger:RS232:BUSer Syntax :TRIGger:RS232:BUSer <user baud> :TRIGger:RS232:BUSer? Description Set or query the user-defined baud rate of RS232 trigger. The unit is bps. Parameter Name Type Range Default <user baud> Integer 110 to 20000000 9600 Return Format The query returns the user-defined baud rate of RS232 trigger in integer.
Page 297
RIGOL 2 Command System :TRIGger:RS232:LEVel Syntax :TRIGger:RS232:LEVel <level> :TRIGger:RS232:LEVel? Description Set or query the trigger level of RS232 trigger when the trigger source is CHANnel1 or CHANnel2. The unit is the same with the current amplitude unit. Parameter Name Type...
Page 298
RIGOL 2 Command System :TRIGger:RS232:PARity Syntax :TRIGger:RS232:PARity <parity> :TRIGger:RS232:PARity? Description Set or query the even-odd check mode of RS232 trigger when the trigger condition is ERRor, PARity, or DATA. Parameter Name Type Range Default <parity> Discrete {EVEN|ODD|NONE} NONE PARity Note: The even-odd check mode can not be set to NONE when the trigger condition is...
Page 299
RIGOL 2 Command System :TRIGger:RS232:STOP Syntax :TRIGger:RS232:STOP <bit> :TRIGger:RS232:STOP? Description Set or query the stop bit of RS232 trigger when the trigger condition is ERRor, PARity, or DATA. Parameter Name Type Range Default <bit> Discrete {1|2} Explanation To set the trigger condition of RS232 trigger, refer to the :TRIGger:RS232:WHEN command.
Page 300
RIGOL 2 Command System :TRIGger:RS232:WIDTh Syntax :TRIGger:RS232:WIDTh <width> :TRIGger:RS232:WIDTh? Description Set or query the data bits of RS232 trigger when the trigger condition is Data. Parameter Name Type Range Default <width> Discrete {5|6|7|8} Explanation To set the trigger condition of RS232 trigger, refer to the :TRIGger:RS232:WHEN command.
RIGOL 2 Command System :TRIGger:RUNT :TRIGger:RUNT:ALEVel :TRIGger:RUNT:BLEVel :TRIGger:RUNT:SOURce :TRIGger:RUNT:POLarity :TRIGger:RUNT:WHEN :TRIGger:RUNT:WLOWer :TRIGger:RUNT:WUPPer :TRIGger:RUNT:ALEVel :TRIGger:RUNT:BLEVel Syntax :TRIGger:RUNT:ALEVel <alevel> :TRIGger:RUNT:ALEVel? :TRIGger:RUNT:BLEVel <blevel> :TRIGger:RUNT:BLEVel? Description Set or query the upper limit of the trigger level of runt trigger. The unit is the same with the current amplitude unit.
Page 302
RIGOL 2 Command System :TRIGger:RUNT:SOURce Syntax :TRIGger:RUNT:SOURce <source> :TRIGger:RUNT:SOURce? Description Set or query the trigger source of runt trigger. Parameter Name Type Range Default <source> Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. :TRIGger:RUNT:POLarity Syntax :TRIGger:RUNT:POLarity <polarity>...
Page 303
RIGOL 2 Command System :TRIGger:RUNT:WHEN Syntax :TRIGger:RUNT:WHEN <when> :TRIGger:RUNT:WHEN? Description Set or query the qualifier of runt trigger. Parameter Name Type Range Default <when> Discrete {NONE|GREater|LESS|GLESs} NONE Explanation NONE: do not set the trigger condition of runt trigger. GREater: trigger when the runt pulse width is greater than the lower limit of pulse width (refer to ...
Page 304
RIGOL 2 Command System :TRIGger:RUNT:WUPPer Syntax :TRIGger:RUNT:WUPPer <NR3> :TRIGger:RUNT:WUPPer? Description Set or query the upper limit of the pulse width of runt trigger. Parameter Name Type Range Default When the qualifier is LESS: 2ns to 4s <NR3> Real When the qualifier is GLESs: 10ns to 4s...
RIGOL 2 Command System :TRIGger:SHOLd :TRIGger:SHOLd:CSrc :TRIGger:SHOLd:DSrc :TRIGger:SHOLd:HTIMe :TRIGger:SHOLd:PATTern :TRIGger:SHOLd:SLOPe :TRIGger:SHOLd:STIMe :TRIGger:SHOLd:TYPe :TRIGger:SHOLd:CSrc :TRIGger:SHOLd:DSrc Syntax :TRIGger:SHOLd:CSrc <csrc> :TRIGger:SHOLd:CSrc? :TRIGger:SHOLd:DSrc <dsrc> :TRIGger:SHOLd:DSrc? Description Set or query the channel source of the clock line of setup/hold trigger.
Page 306
RIGOL 2 Command System :TRIGger:SHOLd:HTIMe Syntax :TRIGger:SHOLd:HTIMe <NR3> :TRIGger:SHOLd:HTIMe? Description Set or query the hold time of setup/hold trigger. Parameter Name Type Range Default <NR3> Real 2ns to 1s 50ns Explanation Hold time refers to the period of time that the data stays stable and constant after the clock signal of ...
Page 307
RIGOL 2 Command System :TRIGger:SHOLd:SLOPe Syntax :TRIGger:SHOLd:SLOPe <slope> :TRIGger:SHOLd:SLOPe? Description Set or query the edge type of setup/hold trigger. Parameter Name Type Range Default <slope> Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG. :TRIGger:SHOLd:STIMe Syntax :TRIGger:SHOLd:STIMe <NR3>...
Page 308
RIGOL 2 Command System :TRIGger:SHOLd:TYPe Syntax :TRIGger:SHOLd:TYPe <type> :TRIGger:SHOLd:TYPe? Description Set or query the hold type of setup/hold trigger. Parameter Name Type Range Default <type> Discrete {SETup|HOLd|SETHOLd} SETup Explanation SETup: the oscilloscope triggers when the setup time is less than the setting value (refer to ...
RIGOL 2 Command System :TRIGger:SLOPe :TRIGger:SLOPe:ALEVel :TRIGger:SLOPe:BLEVel :TRIGger:SLOPe:TLOWer :TRIGger:SLOPe:TUPPer :TRIGger:SLOPe:SOURce :TRIGger:SLOPe:WHEN :TRIGger:SLOPe:WINDow :TRIGger:SLOPe:ALEVel :TRIGger:SLOPe:BLEVel Syntax :TRIGger:SLOPe:ALEVel <alevel> :TRIGger:SLOPe:ALEVel? :TRIGger:SLOPe:BLEVel <blevel> :TRIGger:SLOPe:BLEVel? Description Set or query the upper limit of the trigger level of slope trigger. The unit is the same with the current amplitude unit.
Page 310
RIGOL 2 Command System :TRIGger:SLOPe:TLOWer Syntax :TRIGger:SLOPe:TLOWer <time> :TRIGger:SLOPe:TLOWer? Description Set or query the lower limit of time of slope trigger. The unit is s. Parameter Name Type Range Default When the trigger condition is PGReater or NGReater: 10ns to 1s <time>...
Page 311
RIGOL 2 Command System :TRIGger:SLOPe:SOURce Syntax :TRIGger:SLOPe:SOURce <source> :TRIGger:SLOPe:SOURce? Description Set or query the trigger source of slope trigger. Parameter Name Type Range Default <source> Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. 2-295 DS2000E Programming Guide...
Page 312
RIGOL 2 Command System :TRIGger:SLOPe:WHEN Syntax :TRIGger:SLOPe:WHEN <when> :TRIGger:SLOPe:WHEN? Description Set or query the trigger condition of slope trigger. Parameter Name Type Range Default <when> Discrete {PGReater|PLESs|NGReater|NLESs|PGLess|NGLess} PGReater Explanation PGReater: you need to specify a time value (refer to the :TRIGger:SLOPe:TLOWer command).
Page 313
RIGOL 2 Command System :TRIGger:SLOPe:WINDow Syntax :TRIGger:SLOPe:WINDow <window> :TRIGger:SLOPe:WINDow? Description Set or query the vertical window type of slope trigger. Parameter Name Type Range Default <window> Discrete {TA|TB|TAB} Explanation Different vertical windows correspond to different trigger level adjustment modes. TA: only adjust the upper limit of the trigger level.
Page 315
RIGOL 2 Command System :TRIGger:SPI:CLEVel :TRIGger:SPI:DLEVel Syntax :TRIGger:SPI:CLEVel <level> :TRIGger:SPI:CLEVel? :TRIGger:SPI:DLEVel <level> :TRIGger:SPI:DLEVel? Description Set or query the trigger level of SPI trigger when the channel source of the clock line is CHANnel1 or CHANnel2. The unit is the same with the current amplitude unit.
Page 316
RIGOL 2 Command System :TRIGger:SPI:DATA Syntax :TRIGger:SPI:DATA <data> :TRIGger:SPI:DATA? Description Set or query the data value of SPI trigger. Parameter Name Type Range Default <data> Integer 0 to 2 Note: In the expression 2 -1, n is the current data bits (refer to the :TRIGger:SPI:WIDTh command).
Page 317
RIGOL 2 Command System :TRIGger:SPI:SLOPe Syntax :TRIGger:SPI:SLOPe <slope> :TRIGger:SPI:SLOPe? Description Set or query the edge type of the clock signal of SPI trigger. Parameter Name Type Range Default <slope> Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG.
Page 318
RIGOL 2 Command System :TRIGger:SPI:WIDTh Syntax :TRIGger:SPI:WIDTh <width> :TRIGger:SPI:WIDTh? Description Set or query the number of bits of data of SPI trigger. Parameter Name Type Range Default <width> Integer 4 to 32 Return Format The query returns the number of bits of data of SPI trigger in integer.
RIGOL 2 Command System :TRIGger:TIMeout (Option) :TRIGger:TIMeout:SOURce :TRIGger:TIMeout:SLOPe :TRIGger:TIMeout:TIMe :TRIGger:TIMeout:SOURce Syntax :TRIGger:TIMeout:SOURce <source> :TRIGger:TIMeout:SOURce? Description Set or query the trigger source of timeout trigger. Parameter Name Type Range Default <source> Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2.
Page 320
RIGOL 2 Command System :TRIGger:TIMeout:SLOPe Syntax :TRIGger:TIMeout:SLOPe <slope> :TRIGger:TIMeout:SLOPe? Description Set or query the edge type of timeout trigger. Parameter Name Type Range Default <slope> Discrete {POSitive|NEGative|ALTernate} POSitive Explanation POSitive: start timing when the rising edge of the input signal passes through the trigger level.
RIGOL 2 Command System :TRIGger:USB (Option) :TRIGger:USB:DMINus :TRIGger:USB:DPLus :TRIGger:USB:MLEVel :TRIGger:USB:PLEVel :TRIGger:USB:SPEed :TRIGger:USB:WHEN :TRIGger:USB:DMINus :TRIGger:USB:DPLus Syntax :TRIGger:USB:DMINus <dm> :TRIGger:USB:DMINus? :TRIGger:USB:DPLus <dp> :TRIGger:USB:DPLus? Description Set or query the channel source of the D- data line of USB trigger.
Page 322
RIGOL 2 Command System :TRIGger:USB:MLEVel :TRIGger:USB:PLEVel Syntax :TRIGger:USB:MLEVel <level> :TRIGger:USB:MLEVel? :TRIGger:USB:PLEVel <level> :TRIGger:USB:PLEVel? Description Set or query the trigger level of USB trigger when the channel source of the D- data line is CHANnel1 or CHANnel2. The unit is the same with the current amplitude unit.
Page 323
RIGOL 2 Command System :TRIGger:USB:SPEed Syntax :TRIGger:USB:SPEed <value> :TRIGger:USB:SPEed? Description Set or query the signal speed of USB trigger Parameter Name Type Range Default <value> Discrete {LOW|FULL} Return Format The query returns LOW or FULL. :TRIGger:USB:WHEN Syntax :TRIGger:USB:WHEN <condition> :TRIGger:USB:WHEN? Description Set or query the trigger condition of USB trigger.
RIGOL 2 Command System :TRIGger:VIDeo (HDTV Option) :TRIGger:VIDeo:MODE :TRIGger:VIDeo:LEVel :TRIGger:VIDeo:LINE :TRIGger:VIDeo:POLarity :TRIGger:VIDeo:SOURce :TRIGger:VIDeo:STANdard :TRIGger:VIDeo:MODE Syntax :TRIGger:VIDeo:MODE <mode> :TRIGger:VIDeo:MODE? Description Set or query the sync type of video trigger. Parameter Name Type Range Default <mode>...
Page 325
RIGOL 2 Command System :TRIGger:VIDeo:LEVel Syntax :TRIGger:VIDeo:LEVel <level> :TRIGger:VIDeo:LEVel? Description Set or query the trigger level of video trigger. The unit is the same with the current amplitude unit. Parameter Name Type Range Default <level> Real (-5 x VerticalScale - OFFSet) to (+5 x VerticalScale - OFFSet) Note: For the VerticalScale, refer to the :CHANnel<n>:SCALe...
Page 326
RIGOL 2 Command System :TRIGger:VIDeo:LINE Syntax :TRIGger:VIDeo:LINE <line> :TRIGger:VIDeo:LINE? Description Set or query the line number of video trigger when the sync type is Line (refer to :TRIGger:VIDeo:MODE command). Parameter Name Type Range Default NTSC: 1 to 525 PAL/SECAM: 1 to 625...
Page 327
RIGOL 2 Command System :TRIGger:VIDeo:POLarity Syntax :TRIGger:VIDeo:POLarity <polarity> :TRIGger:VIDeo:POLarity? Description Set or query the video polarity of video trigger. Parameter Name Type Range Default <polarity> Discrete {POSitive|NEGative} NEGative Return Format The query returns POS or NEG. :TRIGger:VIDeo:SOURce Syntax :TRIGger:VIDeo:SOURce <source>...
Page 328
RIGOL 2 Command System :TRIGger:VIDeo:STANdard Syntax :TRIGger:VIDeo:STANdard <standard> :TRIGger:VIDeo:STANdard? Description Set or query the video standard of video trigger. Parameter Name Type Range Default {PALSecam|NTSC|480P|576P|720P60HZ|720P50HZ|720P30HZ| <standard> Discrete 720P25HZ|720P24HZ|1080P60HZ|1080P50HZ|1080P30HZ| NTSC 1080P25HZ|1080P24HZ|1080I30HZ|1080I25HZ|1080I24HZ} Return Format The query returns the video standard selected. 2-312...
RIGOL 2 Command System :TRIGger:WINDows (Option) :TRIGger:WINDows:ALEVel :TRIGger:WINDows:BLEVel :TRIGger:WINDows:POSition :TRIGger:WINDows:TIMe :TRIGger:WINDows:SOURce :TRIGger:WINDows:SLOPe :TRIGger:WINDows:ALEVel :TRIGger:WINDows:BLEVel Syntax :TRIGger:WINDows:ALEVel <alevel> :TRIGger:WINDows:ALEVel? :TRIGger:WINDows:BLEVel <blevel> :TRIGger:WINDows:BLEVel? Description Set or query the upper limit of the trigger level of windows trigger. The unit is the same as the current amplitude unit.
Page 330
RIGOL 2 Command System :TRIGger:WINDows:POSition Syntax :TRIGger:WINDows:POSition <pos> :TRIGger: WINDows:POSition? Description Set or query the trigger position of windows trigger. Parameter Name Type Range Default <type> Discrete {EXIT|ENTER|TIMe} ENTER Explanation EXIT: trigger when the input signal exits the specified trigger level range.
Page 331
RIGOL 2 Command System :TRIGger:WINDows:SOURce Syntax :TRIGger:WINDows:SOURce <source> :TRIGger:WINDows:SOURce? Description Set or query the trigger source of windows trigger. Parameter Name Type Range Default <source> Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. :TRIGger:WINDows:SLOPe Syntax :TRIGger:WINDows:SLOPe <type>...
RIGOL 2 Command System :WAVeform Commands The :WAVeform commands are used to read the waveform data and its related settings. :WAVeform:MODE command is used to set the reading mode of the waveform data. In different mode, the definition of each parameter is different, as shown in Figure 2-1 and Figure 2-2.
RIGOL 2 Command System :WAVeform:MODE Syntax :WAVeform:MODE <mode> :WAVeform:MODE? Description Set or query the waveform data reading mode. Parameter Name Type Range Default <mode> Discrete {NORMal|RAW|MAXimum} NORMal Explanation NORMal: read the waveform data currently displayed on the screen. RAW: read the waveform data from the internal memory.
RIGOL 2 Command System :WAVeform:FORMat Syntax :WAVeform:FORMat <format> :WAVeform:FORMat? Description Set or query the return format of the waveform data. Parameter Name Type Range Default <format> Discrete {WORD|BYTE|ASCii} BYTE Explanation WORD: each waveform point occupies two bytes (namely 16 bits). The lower 8 bits are valid and the ...
RIGOL 2 Command System :WAVeform:DATA? Syntax :WAVeform:DATA? Description Read the waveform data. Explanation Procedures for reading the screen waveform data: S1. :WAV:SOUR CHAN1 Set the channel source of waveform data reading to CH1 S2. :WAV:MODE NORM Set the waveform data reading mode to NORMal S3.
Page 337
RIGOL 2 Command System Example 1 (read the internal memory waveform data at one time): Assume that the memory depth of the oscilloscope is 70 Kpts, and the return format of the waveform data is WORD, then, the memory depth of the oscilloscope is smaller than the maximum number of waveform points that can be read for a single time (125000), and you can read all the waveform data from the internal memory at one time.
Page 338
RIGOL 2 Command System The corresponding reading procedures are as follows: S1. :STOP Set the instrument to the STOP state (You can only read the waveform data from the internal memory when the oscilloscope is in STOP state.) S2. :WAV:SOUR CHAN1 Set the channel source of waveform data reading to CH1 S3.
Page 339
2 Command System RIGOL description header (WORD or BYTE format). The waveform data in the two adjacent areas are continuous. You can follow the methods below to convert the waveform data read returned in WORD or BYTE format to the voltage value of each point of the waveform.
RIGOL 2 Command System :WAVeform:XINCrement? Syntax :WAVeform:XINCrement? Description Query the time difference between two neighboring points of the channel source currently selected (refer to the :WAVeform:SOURce command) in the X direction. Explanation The return value is related to the current data reading mode: ...
RIGOL 2 Command System :WAVeform:XORigin? Syntax :WAVeform:XORigin? Description Query the start time of the waveform data of the channel source currently selected (refer to :WAVeform:SOURce command) in the X direction. Explanation The return value is related to the current data reading mode: ...
RIGOL 2 Command System :WAVeform:YINCrement? Syntax :WAVeform:YINCrement? Description Query the unit voltage value of the channel source currently selected (refer to the :WAVeform:SOURce command) in the Y direction. The unit is the same as that of the signal source. Explanation...
RIGOL 2 Command System :WAVeform:STARt Syntax :WAVeform:STARt <sta> :WAVeform:STARt? Description Set or query the start point of waveform data reading. Parameter Name Type Range Default NORMal: 1 to 1400 MAXimum: 1 to the number of effective point currently on the <sta>...
RIGOL 2 Command System :WAVeform:STOP Syntax :WAVeform:STOP <stop> :WAVeform:STOP? Description Set or query the stop point of waveform reading. Parameter Name Type Range Default NORMal: 1 to 1400 MAXimum: 1 to the number of effective point currently on the <stop>...
RIGOL 2 Command System :WAVeform:PREamble? Syntax :WAVeform:PREamble? Description Query and return all the waveform parameters. Return Format The query returns 10 waveform parameters separated by commas: <format>,<type>,<points>,<count>,<xincrement>,<xorigin>,<xreference>,<yincrement>,<yorigin> ,<yreference> Wherein, <format>: 0 (BYTE), 1 (WORD) or 2 (ASC). Refer to the :WAVeform:FORMat command.
RIGOL 3 Programming Demos 3 Programming Demos This chapter lists the programming demos to illustrate how to program and control the oscilloscope in the development environments of Excel, LabVIEW, MATLAB, Visual Basic 6.0, and Visual C++ 6.0 using SCPI commands on the basis of NI-VISA.
Programming Preparations Before programming, make the following preparations. Install the Ultra Sigma common PC software. You can download it from RIGOL official website (www.rigol.com). Then, follow the instructions to install the software. When Ultra Sigma is installed, NI-VISA library is installed automatically. In this manual, the default installation directory is C:\Program Files\IVI Foundation\VISA.
RIGOL 3 Programming Demos Excel Programming Demo The program used in this demo: Microsoft Excel 2010 The function realized in this demo: send the *IDN? Command to read the device information. Create a new Excel file. In this demo, the file is named as IDN.xls.
Page 350
RIGOL 3 Programming Demos Enter the VISA descriptor into a cell of the file as shown in the figure below. Click the Developer menu and select the Visual Basic option to open the Microsoft Visual Basic. Click Tools(T) in the Microsoft Visual Basic menu bar and select References. Select VISA Library in the pop-up dialog box and click OK to refer to the VISA Library.
Page 351
RIGOL 3 Programming Demos Explanation: If you cannot find the VISA Library in the list at the left of the figure above, please follow the method below to find it. (1) Make sure that your PC has installed the NI-VISA library.
Page 352
RIGOL 3 Programming Demos viErr = visa.viWrite(viDevice, cmdStr, Len(cmdStr), ret) viErr = visa.viRead(viDevice, idnStr, 128, ret) Sheet1.Cells(2, 2) = idnStr ‘Turn off the device’ visa.viClose (viDevice) visa.viClose (viDefRm) End Sub Add button control: click Insert in the Developer menu, select the desired button in Form Controls and put it into the cell of the Excel.
RIGOL 3 Programming Demos LabVIEW Programming Demo The program used in this demo: LabVIEW 2009 The functions realized in this demo: read the waveform data of CH1 on the screen. 1. Run LabVIEW 2009, create a VI file and name it as DS2000E_Demo_LABVIEW.
Page 354
RIGOL 3 Programming Demos 3. Open the Block Diagram interface. Right-click on the VISA resource name and you can select and add the following functions from VISA Palette from the pop-up menu: VISA Write, VISA Read, VISA Open, and VISA Close.
Page 355
RIGOL 3 Programming Demos The data format is TMC header + waveform data points + terminator. The TMC header is in #NX…X format; wherein, # is the TMC header denoter, N represents that the N bytes following (X…X) are used to describe the length of the waveform data and the terminator represents the ending of the communication.
Page 356
RIGOL 3 Programming Demos 8. The complete program block diagram is as shown in the figure below. 9. Select the device resource from the VISA Resource Name list box and run the program. 3-10 DS2000E Programming Guide...
RIGOL 3 Programming Demos MATLAB Programming Demo The program used in this demo: MATLAB R2009a The function realized in this demo: make FFT operation on the waveform data and draw the waveform. Run the MATLAB software and modify the current directory (namely modify the Current Directory at the top of the software).
Page 358
RIGOL 3 Programming Demos wave = wave'; subplot(211); plot(wave); fftSpec = fft(wave',2048); fftRms = abs( fftSpec'); fftLg = 20*log(fftRms); subplot(212); plot(fftLg); Save the M file under the current directory. In this demo, the M file is named as DS2000E_Demo_MATLAB.m. Run the M file and the running result is as follows.
RIGOL 3 Programming Demos Visual Basic 6.0 Programming Demo The program used in this demo: Visual Basic 6.0 The function realized in this demo: control the on/off state of any channel. Build a standard application program project (Standard EXE) and name it as DS2000E_Demo_VB.
Page 360
RIGOL 3 Programming Demos Double-click CH1 to enter the programming environment. Add the following codes to control CH1 and CH2. The codes of CH1 are as shown below; the codes of CH2 are similar. Dim defrm As Long Dim vi As Long...
RIGOL 3 Programming Demos Visual C++ 6.0 Programming Demo The program used in this demo: Microsoft Visual C++ 6.0 The functions realized in this demo: search for the instrument address, connect the instrument, send command and read the return value.
Page 362
RIGOL 3 Programming Demos Open the Directories tab in ToolsOptions. Select Include files in Show directories for and double-click the blank in Directories to add the path of Include: C:\Program Files\IVI Foundation\VISA\WinNT\include. Select Library files in Show directories for and double-click the blank in Directories to add the path of Lib: C:\Program Files\IVI Foundation\VISA\WinNT\lib\msc.
Page 363
RIGOL 3 Programming Demos Modify the control attribute. Name Text as "Command". Open the Data item in Combo Box attribute and input the following three commands manually. *IDN? :CHAN1:DISP 1 :CHAN1:DISP 0 Open the General item in Edit Box attribute and select Disabled.
Page 364
RIGOL 3 Programming Demos Add codes. Double-click Send and Read to enter the programming environment. Declare the #include <visa.h> of the visa library in the header file and then add the following codes. ViSession defaultRM, vi; char buf [256] = {0};...
Page 365
RIGOL 3 Programming Demos viClose (defaultRM); Save, compile, and run the project. Then, a single exe file can be obtained. When the oscilloscope is correctly connected to the PC, you can select the command *IDN? and click Send and Read to display the return result of the oscilloscope.
Need help?
Do you have a question about the DS2000E Series and is the answer not in the manual?
Questions and answers