RIGOL Programming Guide MSO2000A/DS2000A Series Digital Oscilloscope Sept. 2014 RIGOL Technologies, Inc.
RIGOL Guaranty and Declaration Copyright © 2014 RIGOL Technologies, Inc. All Rights Reserved. Trademark Information RIGOL is a registered trademark of RIGOL Technologies, Inc. Publication Number PGA18103-1110 Software Version 00.03.01 Software upgrade might change or add product features. Please acquire the latest version of the manual from RIGOL website or contact RIGOL to upgrade the software. Notices RIGOL products are covered by P.R.C. and foreign patents, issued and pending.
RIGOL Document Overview This manual guides users to control RIGOL MSO2000A/DS2000A series digital oscilloscope remotely by programming using SCPI commands through the remote interface. MSO2000A/DS2000A can build communication with a PC through the USB, LAN or GPIB (with the USB-GPIB interface converter provided by RIGOL) interface.
RIGOL Contents Contents Guaranty and Declaration ......................................................................................................... I Document Overview ................................................................................................................. II 1 SCPI Overview .....................................................................................................................1-1 Syntax ..........................................................................
RIGOL Contents :BUS:IIC (Option) ...................................................................................................... 2-32 :BUS:SPI (Option) ...................................................................................................... 2-36 :BUS:CAN (Option) .................................................................................................... 2-42 :CALCulate Commands ..........................................................................................
RIGOL Contents :FUNCtion:WRECord ....................................................................................................... 2-102 :FUNCtion:WREPlay........................................................................................................ 2-105 :FUNCtion:WANalyze ...................................................................................................... 2-110 :LA Commands (For MSO2000A/MSO2000A-S) .......................................................................
RIGOL Contents :MASK:FAILed? ............................................................................................................... 2-138 :MASK:TOTal? ................................................................................................................ 2-139 :MASK:RESet .................................................................................................................. 2-139 :MASK:DATA .......................................................................................
RIGOL Contents :MEASure:RPHase .......................................................................................................... 2-185 :MEASure:R2FPhase ....................................................................................................... 2-187 :MEASure:VAMP ............................................................................................................. 2-189 :MEASure:VAVG ..............................................................................................
RIGOL Contents :SAVE:ARB[:STARt] ........................................................................................................ 2-230 :SOURce Commands (For MSO2000A-S/DS2000A-S) ......................................................... 2-231 [:SOURce]:FREQuency[:FIXed] ................................................................................. 2-232 [:SOURce]:PHASe[:ADJust] ......................................................................................
RIGOL Contents :SYSTem:RESet .............................................................................................................. 2-257 :SYSTem:SSAVer:TIME ................................................................................................... 2-258 :SYSTem:SETup ............................................................................................................. 2-258 :SYSTem:TIME ...............................................................................................
RIGOL Contents :TRIGger:TIMeout (Option) ............................................................................................. 2-330 :TRIGger:USB (Option) ................................................................................................... 2-332 :TRIGger:VIDeo (HDTV Option)....................................................................................... 2-335 :TRIGger:WINDows (Option)...........................................................................................
1 SCPI Overview RIGOL 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)). The SCPI commands provide a hierarchical tree structure and consist of multiple subsystems.
RIGOL 1 SCPI Overview Symbol Description The following symbols will not be sent with the commands. 1. Braces {} The parameters enclosed in the braces are optional and are usually separated by the vertical bar "|". When using the command, one of the parameters must be selected. 2. Vertical Bar | The vertical bar is used to separate multiple parameters and one of the parameters must be selected when using the command. 3. Square Brackets [] The content in the square brackets can be omitted. 4.
1 SCPI Overview 4. RIGOL 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 :FUNCtion:WREPlay:INTerval? Wherein, can be set to any real number between 0.0000001 (or 1e-07, namely 100ns) to 10 (or 1e+01, namely 10s). The query returns a real number in scientific notation. 5.
2 Command System RIGOL 2 Command System This chapter introduces the command subsystems of MSO2000A/DS2000A command set. The topics of this chapter: :AUToscale :CLEar :RUN :STOP :SINGle :TFORce :TLHAlf IEEE 488.
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 at the front panel. Explanation This command is invalid when the AUTO function is disabled. For the details, please refer to :SYSTem:AUToscale.
2 Command System RIGOL :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. You can use the :RUN and :STOP command to set the oscilloscope to Auto trigger mode and STOP state respectively. :TFORce Syntax :TFORce Description 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. *CLS *ESE *ESR? *IDN? *OPC *RST *SRE *STB? *TST? *CLS Syntax *CLS Description Clear all the event registers and clear the error queue.
RIGOL 2 Command System *ESE Syntax *ESE *ESE? Description Set or query the enable register for the standard event status register set. Parameter Name Type Range Default Integer 0 to 255 0 Explanation is the sum of the binary weights (expressed in decimal) of all the bits between bit 0 and bit 7 that have already been set. If the bit has already been set, the corresponding binary bit is 1; otherwise, it is 0.
RIGOL 2 Command System *ESR? Syntax *ESR? Description Query the event status register for the standard event register set. Explanation Definitions of the bits of ESE register: Bit Weights Name Enable 7 128 PON Power On 6 64 URQ User Request 5 32 CME Command Error 4 16 EXE Execution Error 3 8 DDE Dev.
2 Command System RIGOL *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. *RST Syntax *RST Description Restore the instrument to the factory setting.
RIGOL 2 Command System *SRE Syntax *SRE *SRE? Description Set or query the enable register for the state byte register set. Parameter Name Type Range Default Integer 0 to 255 0 Explanation is the sum of the binary weights (expressed in decimal) of all the bits between bit 0 and bit 7 that have already been set. If the bit has already been set, the corresponding binary bit is 1; otherwise, it is 0.
RIGOL 2 Command System *STB? Syntax *STB? Description Query the condition register for the state byte register set.
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. The self-test item represented by each bit is as shown below. The bit that is not used is always 0.
RIGOL 2 Command System :ACQuire Commands :ACQuire:AVERages :ACQuire:MDEPth :ACQuire:SRATe? :ACQuire:TYPE :ACQuire:AALias :ACQuire:AVERages Syntax :ACQuire:AVERages :ACQuire:AVERages? Description Set or query the number of averages in average acquisition mode. Parameter Name Type Discrete Range n 2 (n is an integer from 1 to 13) Default 2 Explanation You can use the :ACQuire:TYPE command to select the average acquisition mode.
RIGOL 2 Command System :ACQuire:MDEPth Syntax :ACQuire:MDEPth :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). Parameter Name Type Range Default Discrete Refer to the Explanation AUTO Explanation Interweave: AUTO|14000|140000|1400000|14000000|56000000 (option). Non-interweave: AUTO|7000|70000|700000|7000000|28000000 (option).
RIGOL 2 Command System :ACQuire:TYPE Syntax :ACQuire:TYPE :ACQuire:TYPE? Description Set or query the acquisition mode of the sample. Parameter Name Type Range Default Discrete {NORMal|AVERages|PEAK|HRESolution} NORMal Explanation NORMal: the oscilloscope samples the signal at equal time interval. For most of waveforms, this mode can ensure the optimum display effect.
RIGOL 2 Command System :ACQuire:AALias Syntax :ACQuire:AALias :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 {{1|ON}|{0|OFF}} 0|OFF Return Format The query returns 1 or 0.
RIGOL 2 Command System :BUS Commands :BUS:MODE :BUS:DISPlay :BUS:FORMat :BUS:EVENt :BUS:EEXPort :BUS:DATA? :BUS:PARallel :BUS:RS232 (Option) :BUS:IIC (Option) :BUS:SPI (Option) :BUS:CAN (Option) :BUS:MODE Syntax :BUS:MODE :BUS:MODE? Description Set or query the decoding mode of the specified bus.
RIGOL 2 Command System :BUS:DISPlay Syntax :BUS:DISPlay :BUS: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 Discrete {1|2} -- Bool {{1|ON}|{0|OFF}} 0|OFF Return Format The query returns 1 or 0. :BUS:FORMat Syntax :BUS:FORMat :BUS:FORMat? Description Set or query the display format of the specified bus.
RIGOL 2 Command System :BUS:EVENt Syntax :BUS:EVENt :BUS: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 Discrete {1|2} -- Bool {{1|ON}|{0|OFF}} 0|OFF Explanation This command is only available when the displayof the specified bus is enabled (:BUS:DISPlay). Return Format The query returns 1 or 0.
RIGOL 2 Command System :BUS:DATA? Syntax :BUS:DATA? Description Read the decoding event table data. Parameter Name Type Range Default 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,, -1.9756482E-03,I,, 1.0414385E-04,G,, 2.1839839E-03,O,, 4.2637759E-03,L,, Wherein, #9000000141 is the TMC data block header following which is the data in the event table.
RIGOL 2 Command System :BUS:PARallel :BUS:PARallel:CLK :BUS:PARallel:SLOPe :BUS:PARallel:BSET :BUS:PARallel:THReshold :BUS:PARallel:OFFSet :BUS:PARallel:CLK Syntax :BUS:PARallel:CLK :BUS:PARallel:CLK? Description Set or query the clock channel source of parallel decoding on the specified bus.
RIGOL 2 Command System :BUS:PARallel:SLOPe Syntax :BUS:PARallel:SLOPe :BUS:PARallel:SLOPe? Description Set or query the edge of the clock on which the oscilloscope samples the channel data.
RIGOL 2 Command System :BUS:PARallel:BSET Syntax :BUS:PARallel:BSET [,[,…[,]]] :BUS:PARallel:BSET? Description Set the data width of the specified bus in parallel decoding and the channel source for each bit; or query the channel source of each bit.
RIGOL 2 Command System :BUS:PARallel:THReshold Syntax :BUS:PARallel:THReshold , :BUS:PARallel:THReshold? Description Set or query the analog channel threshold of parallel decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Discrete {CHANnel1|CHANnel2} -- Real -5×VerticalScale–OFFSet to +5×VerticalScale–OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :BUS:PARallel:OFFSet Syntax :BUS:PARallel:OFFSet :BUS:PARallel:OFFSet? Description Set or query the vertical offset in parallel decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Normal Integer [1] : -166 to 148 [2] Statistic : -163 to 143 [3] Half screen Note [1] 0 : -103 to 52 : The screen display is normal and the statistic function is not enabled (refer to the :MEASure:STATistic:DISPlay command).
RIGOL 2 Command System :BUS:RS232 (Option) :BUS:RS232:TX :BUS:RS232:RX :BUS:RS232:POLarity :BUS:RS232:ENDian :BUS:RS232:BAUD :BUS:RS232:BUSer :BUS:RS232:DBITs :BUS:RS232:SBITs :BUS:RS232:PARity :BUS:RS232:PACKet :BUS:RS232:PEND :BUS:RS232:TTHReshold :BUS:RS232:RTHReshold :BUS:RS232:OFFSet :BUS:RS232:TX Syntax :BUS:RS232:TX :BUS:RS232:TX? Description Set or query the TX channel source of R
RIGOL 2 Command System :BUS:RS232:RX Syntax :BUS:RS232:RX :BUS:RS232:RX? Description Set or query the RX channel source of RS232 decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Discrete {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10| D11|D12|D13|D14|D15|CHANnel1|CHANnel2|OFF} 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.
RIGOL 2 Command System :BUS:RS232:ENDian Syntax :BUS:RS232:ENDian :BUS:RS232:ENDian? Description Set or query the endian of data transmission of RS232 decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Discrete {MSB|LSB} LSB Return Format The query returns MSB or LSB.
RIGOL 2 Command System :BUS:RS232:BUSer Syntax :BUS:RS232:BUSer :BUS:RS232:BUSer? Description Set or query the user-defined baud rate of data transmission in RS232 decoding on the specified bus. The default unit is bps. Parameter Name Type Range Default Discrete {1|2} -- Integer 110 to 20000000 9600 Return Format The query returns the user-defined baud rate of data transmission in RS232 decoding on the specified bus in integer.
RIGOL 2 Command System :BUS:RS232:SBITs Syntax :BUS:RS232:SBITs :BUS:RS232:SBITs? Description Set or query the stop bit after each frame of data in RS232 decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Discrete {1|1.5|2} 1 Return Format The query returns 1, 1.5 or 2.
RIGOL 2 Command System :BUS:RS232:PACKet Syntax :BUS:RS232:PACKet :BUS: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 Discrete {1|2} -- Bool {{1|ON}|{0|OFF}} 0|OFF Explanation When the packet end is enabled, several data blocks are combined according to the packet end. Return Format The query returns 1 or 0.
RIGOL 2 Command System :BUS:RS232:TTHReshold Syntax :BUS:RS232:TTHReshold :BUS:RS232:TTHReshold? Description Set or query the TX channel threshold of R232 decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Real -5×VerticalScale–OFFSet to +5×VerticalScale–OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANnel:OFFSet command.
RIGOL 2 Command System :BUS:RS232:OFFSet Syntax :BUS:RS232:OFFSet :BUS:RS232:OFFSet? Description Set or query the vertical offset in RS232 decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Normal Integer [1] : -166 to 148 [2] Statistic : -163 to 143 [3] Half screen Note [1] 0 : -103 to 52 : The screen display is normal and the statistic function is not enabled (refer to the :MEASure:STATistic:DISPlay command).
RIGOL 2 Command System :BUS:IIC (Option) :BUS:IIC:SCLK:SOURce :BUS:IIC:SCLK:THReshold :BUS:IIC:SDA:SOURce :BUS:IIC:SDA:THReshold :BUS:IIC:OFFSet :BUS:IIC:SCLK:SOURce Syntax :BUS:IIC:SCLK:SOURce :BUS:IIC:SCLK:SOURce? Description Set or query the clock channel source of I2C decoding on the specified bus.
RIGOL 2 Command System :BUS:IIC:SCLK:THReshold Syntax :BUS:IIC:SCLK:THReshold :BUS:IIC:SCLK:THReshold? Description Set or query the clock channel threshold of I2C decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Real -5×VerticalScale–OFFSet to +5×VerticalScale–OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANnel:OFFSet command.
RIGOL 2 Command System :BUS:IIC:SDA:THReshold Syntax :BUS:IIC:SDA:THReshold :BUS:IIC:SDA:THReshold? Description Set or query the data channel threshold of I2C decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Real -5×VerticalScale–OFFSet to +5×VerticalScale–OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANnel:OFFSet command.
RIGOL 2 Command System :BUS:IIC:OFFSet Syntax :BUS:IIC:OFFSet :BUS:IIC:OFFSet? Description Set or query the vertical offset in I2C decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Normal Integer [1] : -166 to 148 [2] Statistic : -163 to 143 [3] Half screen Note [1] 0 : -103 to 52 : The screen display is normal and the statistic function is not enabled (refer to the :MEASure:STATistic:DISPlay command).
RIGOL 2 Command System :BUS:SPI (Option) :BUS:SPI:SCLK:SOURce :BUS:SPI:SCLK:SLOPe :BUS:SPI:SCLK:THReshold :BUS:SPI:SDA:SOURce :BUS:SPI:SDA:POLarity :BUS:SPI:SDA:THReshold :BUS:SPI:DBITs :BUS:SPI:ENDian :BUS:SPI:OFFSet :BUS:SPI:TIMeout:TIME :BUS:SPI:SCLK:SOURce Syntax :BUS:SPI:SCLK:SOURce :BUS:SPI:SCLK:SOURce? Description Set or query the clock channel source of SPI decoding on the specified bus.
RIGOL 2 Command System :BUS:SPI:SCLK:SLOPe Syntax :BUS:SPI:SCLK:SLOPe :BUS:SPI:SCLK:SLOPe? Description Set or query the clock edge type in SPI decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG.
RIGOL 2 Command System :BUS:SPI:SDA:SOURce Syntax :BUS:SPI:SDA:SOURce :BUS:SPI:SDA:SOURce? Description Set or query the data channel source of SPI decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Discrete {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10| D11|D12|D13|D14|D15|CHANnel1|CHANnel2} CHANnel2 Return Format The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, CHAN1 or CHAN2.
RIGOL 2 Command System :BUS:SPI:SDA:THReshold Syntax :BUS:SPI:SDA:THReshold :BUS:SPI:SDA:THReshold? Description Set or query the data channel threshold of SPI decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Real -5×VerticalScale–OFFSet to +5×VerticalScale–OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANnel:OFFSet command.
RIGOL 2 Command System :BUS:SPI:ENDian Syntax :BUS:SPI:ENDian :BUS:SPI:ENDian? Description Set or query the endian of data transmission in SPI decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Discrete {MSB|LSB} MSB Return Format The query returns MSB or LSB. :BUS:SPI:OFFSet Syntax :BUS:SPI:OFFSet :BUS:SPI:OFFSet? Description Set or query the vertical offset in SPI decoding on the specified bus.
RIGOL 2 Command System :BUS:SPI:TIMeout:TIME Syntax :BUS:SPI:TIMeout:TIME :BUS:SPI:TIMeout:TIME? Description Set or query the timeout time in SPI decoding on the specified bus. The default unit is s. Parameter Name Type Range Default Discrete {1|2} -- Real 100ns to 1s 1us Return Format The query returns the timeout time in SPI decoding on the specified bus in scientific notation.
RIGOL 2 Command System :BUS:CAN (Option) :BUS:CAN:SOURce :BUS:CAN:STYPe :BUS:CAN:BAUD :BUS:CAN:BUSer :BUS:CAN:SPOint :BUS:CAN:THReshold :BUS:CAN:OFFSet :BUS:CAN:SOURce Syntax :BUS:CAN:SOURce :BUS:CAN:SOURce? Description Set or query the channel source of CAN decoding on the specified bus.
RIGOL 2 Command System :BUS:CAN:STYPe Syntax :BUS:CAN:STYPe :BUS:CAN:STYPe? Description Set or query the signal type of CAN decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Discrete {TX|RX|CANH|CANL|DIFFerential} RX Return Format The query returns TX, RX, CANH, CANL or DIFF. :BUS:CAN:BAUD Syntax :BUS:CAN:BAUD :BUS:CAN:BAUD? Description Set or query the signal rate of CAN decoding on the specified bus.
RIGOL 2 Command System :BUS:CAN:BUSer Syntax :BUS:CAN:BUSer :BUS:CAN:BUSer? Description Set or query the user-defined signal rate of CAN decoding on the specified bus. The default unit is b/s. Parameter Name Type Range Default Discrete {1|2} -- Integer 10000 to 1000000 500000 Return Format The query returns the user-defined signal rate of CAN decoding on the specified bus in integer.
RIGOL 2 Command System :BUS:CAN:THReshold Syntax :BUS:CAN:THReshold :BUS:CAN:THReshold? Description Set ro query the threshold of CAN decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Real -5×VerticalScale–OFFSet to +5×VerticalScale–OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANnel:OFFSet command.
RIGOL 2 Command System :BUS:CAN:OFFSet Syntax :BUS:CAN:OFFSet :BUS:CAN:OFFSet? Description Set or query the vertical offset of CAN decoding on the specified bus. Parameter Name Type Range Default Discrete {1|2} -- Normal Integer [1] : -166 to 148 [2] Statistic : -163 to 143 [3] Half screen Note [1] 0 : -103 to 52 : The screen display is normal and the statistic function is not enabled (refer to the :MEASure:STATistic:DISPlay command).
RIGOL 2 Command System :CALCulate Commands :CALCulate:MODE :CALCulate:ADD :CALCulate:SUB :CALCulate:MULTiply :CALCulate:DIVision :CALCulate:FFT :CALCulate:LOGic :CALCulate:ADVanced :CALCulate:MODE Syntax :CALCulate:MODE :CALCulate:MODE? Description Set or query the math operation type.
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 :CALCulate:ADD:SA? :CALCulate:ADD:SB :CALCulate:ADD:SB? Description Set or query the channel source of signal source A or B of the addition operation.
RIGOL 2 Command System :CALCulate:ADD:VSCale Syntax :CALCulate:ADD:VSCale :CALCulate:ADD:VSCale? Description Set or query the vertical scale of the addition operation result. The unit is related to the amplitude unit of the signal source channel. Parameter Name Type Range Default The default range is from 0.02 to 500. Real The actual range is related to the vertical scale of the signal 2V source channel. Note: For the channel vertical scale, refer to the :CHANnel:SCALe command.
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 :CALCulate:SUB:SA? :CALCulate:SUB:SB :CALCulate:SUB:SB? Description Set or query the channel source of signal source A or B of the subtraction operation.
RIGOL 2 Command System :CALCulate:SUB:VSCale Syntax :CALCulate:SUB:VSCale :CALCulate:SUB:VSCale? Description Set or query the vertical scale of the subtraction operation result. The unit is related to the amplitude unit of the signal source channel. Parameter Name Type Range Default The default range is from 1p to 200. Real The actual range is related to the vertical scale of the 2V signal source channel. Note: For the channel vertical scale, refer to the :CHANnel:SCALe command.
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 :CALCulate:MULTiply:SA? :CALCulate:MULTiply:SB :CALCulate:MULTiply:SB? Description Set or query the channel source of signal source A or B of the multiplication operation.
RIGOL 2 Command System :CALCulate:MULTiply:VSCale Syntax :CALCulate:MULTiply:VSCale :CALCulate:MULTiply:VSCale? Description Set or query the vertical scale of the multiplication operation result. Parameter Name Type Real Range Default The default range is from 50nU to 10MU. The actual range is related to the vertical scale of the signal 2U source channel. Note: For the channel vertical scale, refer to the :CHANnel:SCALe 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 :CALCulate:DIVision:SA? :CALCulate:DIVision:SB :CALCulate:DIVision:SB? Description Set or query the channel source of signal source A or B of the division operation.
RIGOL 2 Command System :CALCulate:DIVision:VSCale Syntax :CALCulate:DIVision:VSCale :CALCulate:DIVision:VSCale? Description Set or query the vertical scale of the division operation result. Parameter Name Type Real Range Default The default range is from 50nU to 50MU. The actual range is related to the vertical scale of the signal 2U source channel. Note: For the channel vertical scale, refer to the :CHANnel:SCALe 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 :CALCulate:FFT:SOURce? Description Set or query the signal source of FFT operation.
RIGOL 2 Command System :CALCulate:FFT:WINDow Syntax :CALCulate:FFT:WINDow :CALCulate:FFT:WINDow? Description Set or query the window function of the FFT operation. Parameter Name Type Range Default Discrete {RECTangle|HANNing|HAMMing|BLACkman} RECTangle Explanation The window function can effectively reduce the spectrum leakage effect.
RIGOL 2 Command System :CALCulate:FFT:VSMode Syntax :CALCulate:FFT:VSMode :CALCulate:FFT:VSMode? Description Set or query the vertical scale type of the FFT operation result. Parameter Name Type Range Default Discrete {VRMS|DB} DB Return Format The query returns VRMS or DB. :CALCulate:FFT:VSCale Syntax :CALCulate:FFT:VSCale :CALCulate:FFT:VSCale? Description Set or query the vertical scale of the FFT operation result.
RIGOL 2 Command System :CALCulate:FFT:VOFFset Syntax :CALCulate:FFT:VOFFset :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. Parameter Name Type Range Default Real -40×VScale to 40×VScale 60dBV Note: For the VScale (the vertical scale of MATH), refer to the :CALCulate:FFT:VSCale command.
RIGOL 2 Command System :CALCulate:FFT:HSCale Syntax :CALCulate:FFT: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 Discrete {1|2|3|4} 2 Note: You can use the :CALCulate:FFT:HSPan command to set the horizontal scale of FFT operation directly.
RIGOL 2 Command System :CALCulate:FFT:HOFFset Syntax :CALCulate:FFT:HOFFset :CALCulate:FFT:HOFFset? Description Set or query the horizontal offset of the FFT operation result. The unit is Hz. Parameter Name Type Range Default Real Refer to the Explanation 0 Explanation The range of is related to the on/off status of the anti-aliasing function, the current FFT sample rate of the screen (Sa) and the current FFT horizontal scale (Hspan).
RIGOL 2 Command System :CALCulate:FFT:HSPan Syntax :CALCulate:FFT:HSPan :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 Discrete Refer to the Explanation 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, Sa/40, Sa/100 and Sa/200.
RIGOL 2 Command System :CALCulate:FFT:HCENter Syntax :CALCulate:FFT:HCENter
:CALCulate:FFT:HCENter? Description Set or query the center frequency of the FFT operation result. The unit is Hz. Parameter Name Type Real Range Horizontal offset of the operation result +7*the current horizontal scale Default 8.75MHz Note: For the horizontal offset, refer to the :CALCulate:FFT:HOFFset command; for the horizontal scale, refer to the :CALCulate:FFT:HSCale and :CALCulate:FFT:HSPan commands.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 :CALCulate:LOGic:SA? :CALCulate:LOGic:SB :CALCulate:LOGic:SB? Description Set or query the channel source of signal source A or B of the logic operation.
RIGOL 2 Command System :CALCulate:LOGic:INVert Syntax :CALCulate:LOGic:INVert :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 {{1|ON}|{0|OFF}} 0|OFF Return Format The query returns 1 or 0.
RIGOL 2 Command System :CALCulate:LOGic:VOFFset Syntax :CALCulate:LOGic:VOFFset :CALCulate:LOGic:VOFFset? Description Set or query the vertical offset of the logic operation result. Parameter Name Type Range Default Real -40×VScale to 40×VScale 0 Note: For the VScale (the vertical scale of MATH), refer to the :CALCulate:LOGic:VSCale command. Return Format The query returns the vertical offset of the logic operation result in scientifc notation.
RIGOL 2 Command System :CALCulate:LOGic:ATHReshold :CALCulate:LOGic:BTHReshold Syntax :CALCulate:LOGic:ATHReshold :CALCulate:LOGic:ATHReshold? :CALCulate:LOGic:BTHReshold :CALCulate:LOGic:BTHReshold? Description Set or query the threshold of signal source A or B of logic operation. Parameter Name Type Range Default Real -4×VerticalScale-OFFSet to 4×VerticalScale-OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
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 :CALCulate:ADVanced:EXPRession? Description Set or query the expression of advanced operation.
RIGOL 2 Command System :CALCulate:ADVanced:INVert Syntax :CALCulate:ADVanced:INVert :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 {{1|ON}|{0|OFF}} 0|OFF Return Format The query returns 1 or 0.
RIGOL 2 Command System :CALCulate:ADVanced:VSCale Syntax :CALCulate:ADVanced:VSCale :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.02 to 500. Real The actual range is related to the advanced 2V operation expression.
2 Command System RIGOL :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 ,, format. Wherein, and are double-digit figures and is a four-digit figure. For example, 2013,10,27. :CALibrate:STARt Syntax :CALibrate:STARt Description The oscilloscope starts to execute self-calibration.
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 ,, format. Wherein, , and 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 Commands :CHANnel:BWLimit :CHANnel:COUPling :CHANnel:DISPlay :CHANnel:INVert :CHANnel:IMPedance :CHANnel:OFFSet :CHANnel:SCALe :CHANnel:PROBe :CHANnel:UNITs :CHANnel:VERNier :CHANnel:TCAL :CHANnel:BWLimit Syntax :CHANnel:BWLimit :CHANnel:BWLimit? Description Set or query bandwidth limit of the specified analog channel.
RIGOL 2 Command System :CHANnel:COUPling Syntax :CHANnel:COUPling :CHANnel:COUPling? Description Set or query the coupling mode of the specified analog channel. Parameter Name Type Range Default Discrete {1|2} -- Discrete {AC|DC|GND} DC Explanation AC: the DC components of the signal under test are blocked. DC: the DC and AC components of the signal under test can both pass the channel.
RIGOL 2 Command System :CHANnel:INVert Syntax :CHANnel:INVert :CHANnel: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 Discrete {1|2} -- Bool {{1|ON}|{0|OFF}} 0|OFF Return Format The query returns 1 or 0.
RIGOL 2 Command System :CHANnel:OFFSet Syntax :CHANnel:OFFSet :CHANnel:OFFSet? Description Set or query the vertical offset of the specified analog channel. The default unit is V.
RIGOL 2 Command System :CHANnel:SCALe Syntax :CHANnel:SCALe :CHANnel:SCALe? Description Set or query the vertical scale of the specified analog channel. The default unit is V.
RIGOL 2 Command System :CHANnel:PROBe Syntax :CHANnel:PROBe :CHANnel:PROBe? Description Set or query the probe attenuation ratio of the specified analog channel. Parameter Name Type Range Default Discrete {1|2} -- Discrete {0.01|0.02|0.05|0.1|0.2|0.
RIGOL 2 Command System :CHANnel:VERNier Syntax :CHANnel:VERNier :CHANnel: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. Parameter Name Type Range Default Discrete {1|2} -- Bool {{1|ON}|{0|OFF}} 0|OFF Explanation By default, the fine adjustment function is disabled.
RIGOL 2 Command System :CHANnel:TCAL Syntax :CHANnel:TCAL
RIGOL 2 Command System :CURSor Commands :CURSor:MODE :CURSor:MANual :CURSor:TRACk :CURSor:MODE Syntax :CURSor:MODE :CURSor:MODE? Description Set or query the cursor measurement mode. Parameter Name Type Range Default Discrete {OFF|MANual|TRACk|AUTO|XY} OFF Explanation OFF: disable the cursor measurement. MANual: enable the manual measurement with cursor. TRACk: enable the track measurement with cursor. AUTO: enable the auto measurement with cursor.
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 :CURSor:MANual:TYPE? Description
RIGOL 2 Command System :CURSor:MANual:SOURce Syntax :CURSor:MANual:SOURce :CURSor:MANual:SOURce? Description Set or query the channel source of manual measurement with cursor. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH|LA|NONE} CHANnel1 Note: Only channels currently enabled can be selected as the channel source. Return Format The query returns CHAN1, CHAN2, MATH, LA or NONE.
RIGOL 2 Command System :CURSor:MANual:VUNit Syntax :CURSor:MANual:VUNit :CURSor:MANual:VUNit? Description Set or query vertical unit in manual measurement with cursor. Parameter Name Type Range Default Discrete {SUNit|PERCent} SUNit Explanation SUNit: in the measurement results, the units of A->Y, B->Y and △Y will be automatically set to the unit of the current source. PERCent: in the measurement results, A->Y, B->Y and △X are expressed in percentage.
RIGOL 2 Command System :CURSor:MANual:CAX :CURSor:MANual:CBX Syntax :CURSor:MANual:CAX :CURSor:MANual:CAX? :CURSor:MANual:CBX :CURSor:MANual:CBX? Description Set or query the horizontal position of cursor A or cursor B (X cursor) in manual measurement with cursor. Parameter Name Type Range Default Integer 0 to 699 150 Integer 0 to 699 550 Explanation The horizontal and vertical positions of the cursor are defined by the pixel coordinate of the screen.
RIGOL 2 Command System :CURSor:MANual:CAY :CURSor:MANual:CBY Syntax :CURSor:MANual:CAY :CURSor:MANual:CAY? :CURSor:MANual:CBY :CURSor:MANual:CBY? Description Set or query the vertical position of cursor A or cursor B (Y cursor) in manual measurement with cursor. Parameter Name Type Range Default Integer 0 to 399 100 Integer 0 to 399 300 Explanation The horizontal and vertical positions of the cursor are defined by the pixel coordinate of the screen.
2 Command System RIGOL :CURSor:MANual:AXValue? :CURSor:MANual:BXValue? Syntax :CURSor:MANual:AXValue? :CURSor:MANual:BXValue? Description Query the X value at cursor A or cursor B (X cursor) in manual measurement with cursor. Explanation For the horizontal position of cursor A, refer to the :CURSor:MANual:CAX command. The unit is determined by the horizontal unit currently selected (refer to the :CURSor:MANual:TUNit command).
RIGOL 2 Command System :CURSor:MANual:XDELta? Syntax :CURSor:MANual:XDELta? Description Query the difference △X between the X values at cursor A and cursor B in manual measurement with cursor. Explanation For the horizontal position of cursor A, refer to the :CURSor:MANual:CAX command. For the horizontal position of cursor B, refer to the :CURSor:MANual:CBX command. The unit is determined by the horizontal unit currently selected (refer to the :CURSor:MANual:TUNit command).
2 Command System RIGOL :CURSor:MANual:YDELta? Syntax :CURSor:MANual:YDELta? Description Query the difference △Y between the Y values at cursor A and cursor B in manual measurement with cursor. Explanation For the vertical position of cursor A, refer to the :CURSor:MANual:CAY command. For the vertical position of cursor B, refer to the :CURSor:MANual:CBY command. The unit is determined by the vertical unit currently selected (refer to the :CURSor:MANual:VUNit 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 :CURSor:TRACk:SOURce1? :CURSor:TRACk:SOURce2 :CURSor:
RIGOL 2 Command System :CURSor:TRACk:CAX :CURSor:TRACk:CBX Syntax :CURSor:TRACk:CAX :CURSor:TRACk:CAX? :CURSor:TRACk:CBX :CURSor:TRACk:CBX? Description Set or query the horizontal position of cursor A or cursor B in track measurement with cursor. Parameter Name Type Range Default Integer 0 to 699 150 Integer 0 to 699 550 Explanation The horizontal and vertical positions of the cursor are defined by the pixel coordinate of the screen.
RIGOL 2 Command System :CURSor:TRACk:AXValue? :CURSor:TRACk:AYValue? Syntax :CURSor:TRACk:AXValue? :CURSor:TRACk:AYValue? Description Query the X or 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. For the vertical position of cursor A, refer to the :CURSor:TRACk:CAY? command.
2 Command System RIGOL :CURSor:TRACk:XDELta? Syntax :CURSor:TRACk:XDELta? Description Query the difference △X between the X values at cursor A and cursor B in track measurement with cursor and the unit is s. Explanation For the horizontal position of cursor A, refer to the :CURSor:TRACk:CAX command. For the horizontal position of cursor B, refer to the :CURSor:TRACk:CBX command.
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 and the unit is Hz. Explanation For the horizontal position of cursor A, refer to the :CURSor:TRACk:CAX command. For the horizontal position of cursor B, refer to the :CURSor:TRACk:CBX command.
2 Command System RIGOL :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 at the front panel. Explanation If the oscilloscope is in RUN state (refer to the :RUN command), new waveforms will still be displayed.
RIGOL 2 Command System :DISPlay:TYPE Syntax :DISPlay:TYPE :DISPlay:TYPE? Description Set or query the display type of the waveform on the screen. Parameter Name Type Range Default Discrete {VECTors|DOTS} VECTors Explanation VECTors: the sample points are connected by lines and displayed. Normally, this mode can provide the most vivid waveform to view the steep edge of the waveform (such as square waveform). DOTS: display the sample points directly.
RIGOL 2 Command System :DISPlay:GRADing:TIME Syntax :DISPlay:GRADing:TIME :DISPlay:GRADing:TIME? Description Set or query the persistence time and the unit is s. Parameter Name Type Range Default Discrete {MIN|0.05|0.1|0.2|0.5|1|2|5|10|20|INFinite} MIN Explanation MIN: set the persistence time to its minimum to view the waveform changing in high refresh rate. Specific Values: a certain value between 0.
RIGOL 2 Command System :DISPlay:GRID Syntax :DISPlay:GRID :DISPlay:GRID? Description Set or query the grid type of screen display. Parameter Name Type Range Default Discrete {FULL|HALF|NONE} FULL Explanation FULL: turn the background grid and coordinate on. HALF: turn the background grid off and coordinate on. NONE: turn the background grid and coordinate off. Return Format The query returns FULL, HALF or NONE.
RIGOL 2 Command System :DISPlay:MPERsistence Syntax :DISPlay:MPERsistence :DISPlay:MPERsistence? Description Set or query the menu display time and the unit is s. Parameter Name Type Range Default Discrete {1|2|5|10|20|INFinite} INFinite Return Format The query returns the menu display time set. :DISPlay:DATA? Syntax :DISPlay:DATA? Description Read the bitmap data stream of the image currently displayed.
RIGOL 2 Command System Note[2]: The width is 800, the height is 480, the bit depth is 24Bit=3Byte, 54 is the size of the bitmap file header. Example 1. Make sure that the buffer is large enough to receive the data stream; otherwise the program might be abnormal when reading the data stream. 2. The returned data stream contains TMC data header and you need to remove the data header to 3.
RIGOL 2 Command System :FUNCtion Commands :FUNCtion:WRMode :FUNCtion:WRECord :FUNCtion:WREPlay :FUNCtion:WANalyze :FUNCtion:WRMode Syntax :FUNCtion:WRMode :FUNCtion:WRMode? Description Set or query the mode of waveform record. Parameter Name Type Range Default Discrete {OFF|RECord|PLAY|KEEP|ANALyze} OFF Explanation RECord: recording mode; PLAY: playback mode; KEEP: constant on mode; ANALyze: analysis 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 :FUNCtion:WRECord:FEND? Description Set or query the end frame of waveform record.
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).
RIGOL 2 Command System :FUNCtion:WRECord:OPERate Syntax :FUNCtion:WRECord:OPERate :FUNCtion:WRECord:OPERate? Description Start or stop the waveform recording; or query the current status of the waveform recording. Parameter Name Type Range Default 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 :FUNCtion:WREPlay:MODE? Description Set or query the mode of waveform playback.
RIGOL 2 Command System :FUNCtion:WREPlay:INTerval Syntax :FUNCtion:WREPlay:INTerval :FUNCtion:WREPlay:INTerval? Description Set or query the time interval in waveform playback and the unit is s. Parameter Name Type Range Default Real 100ns to 10s 100ns Return Format The query returns the time interval in waveform playback in scientific notation.
RIGOL 2 Command System :FUNCtion:WREPlay:FCURrent Syntax :FUNCtion:WREPlay:FCURrent :FUNCtion:WREPlay:FCURrent? Description Set or query the current frame in waveform playback. Parameter Name Type Range Default 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.
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 :FUNCtion:WREPlay:OPERate? Description Execute waveform playback; stop or pause waveform playback; or query the current status of waveform playback.
RIGOL 2 Command System :FUNCtion:WREPlay:TTAG Syntax :FUNCtion:WREPlay:TTAG :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 {{1|ON}|{0|OFF}} 0|OFF Return Format The query returns 1 or 0.
RIGOL 2 Command System :FUNCtion:WANalyze :FUNCtion:WANalyze:MODE :FUNCtion:WANalyze:SOURce :FUNCtion:WANalyze:FCURrent :FUNCtion:WANalyze:TDISp :FUNCtion:WANalyze:SETup:SSTart :FUNCtion:WANalyze:SETup:SSENd :FUNCtion:WANalyze:SETup:SFRame :FUNCtion:WANalyze:SETup:EFRame :FUNCtion:WANalyze:SETup:THReshold :FUNCtion:WANalyze:SETup:XMASk :FUNCtion:WANalyze:SETup:YMASk :FUNCtion:WANalyze:STEMplate :FUNCtion:WANalyze:CMASk :FUNCtion:WANalyze:STARt :FU
RIGOL 2 Command System :FUNCtion:WANalyze:SOURce Syntax :FUNCtion:WANalyze:SOURce :FUNCtion:WANalyze:SOURce? Description Set or query the channel source for the waveform analysis. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Note: Only channel currently enabled can be selected as the channel source. Return Format The query returns CHAN1 or CHAN2.
RIGOL 2 Command System :FUNCtion:WANalyze:TDISp Syntax :FUNCtion:WANalyze:TDISp :FUNCtion:WANalyze:TDISp? Description Enable or disable the template display; or query the current status of template display. Parameter Name Type Range Default Bool {{1|ON}|{0|OFF}} 1|ON Return Format The query returns 1 or 0.
RIGOL 2 Command System :FUNCtion:WANalyze:SETup:SFRame :FUNCtion:WANalyze:SETup:EFRame Syntax :FUNCtion:WANalyze:SETup:SFRame :FUNCtion:WANalyze:SETup:SFRame? :FUNCtion:WANalyze:SETup:EFRame :FUNCtion:WANalyze:SETup:EFRame? Description Set or query the start frame or end frame of waveform analysis.
RIGOL 2 Command System :FUNCtion:WANalyze:SETup:THReshold Syntax :FUNCtion:WANalyze:SETup:THReshold :FUNCtion:WANalyze:SETup:THReshold? Description Set or query the threshold of waveform analysis and the unit is %. Parameter Name Type Range Default Integer 1 to 99 10 Explanation The threshold is used to judge whether the data frame is an error frame.
2 Command System RIGOL :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. :FUNCtion:WANalyze:CMASk Syntax :FUNCtion:WANalyze:CMASk Description Apply the mask currently created.
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.
RIGOL 2 Command System :FUNCtion:WANalyze:ECURrent Syntax :FUNCtion:WANalyze:ECURrent :FUNCtion:WANalyze:ECURrent? Description Set or query the number of the current error frame. Parameter Name Type Range Default Integer 1 to the total number of error frames -- Return Format The query returns the number of the current error frame in integer. :FUNCtion:WANalyze:ECDiff? Syntax :FUNCtion:WANalyze:ECDiff? Description Query the current frame difference.
RIGOL 2 Command System :LA Commands (For MSO2000A/MSO2000A-S) :LA:STATe :LA:ACTive :LA:DISPlay :LA:AUTosort :LA:DELete :LA:SIZE :LA:DIGital:DISPlay :LA:DIGital:POSition :LA:DIGital:LABel :LA:POD:DISPlay :LA:POD:THReshold :LA:GROup:APPend :LA:BUS:CURRent :LA:BUS:DISPlay :LA:BUS:CHANnel :LA:BUS:FORMat :LA:STATe Syntax :LA:STATe :LA:STATe? Description Enable or disable the LA function; or query the status of
RIGOL 2 Command System :LA:ACTive Syntax :LA:ACTive {||none} :LA:ACTive? Description Set or query the current active channel or channel group. Parameter Name Type Discrete Discrete Range {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9| D10|D11|D12|D13|D14|D15} {GROup1|GROup2|GROup3|GROup4} Default D0 -- Explanation is used to select any of channels D0-D15. The channel label and waveform corresponding to the channel selected are displayed in red.
RIGOL 2 Command System :LA:DISPlay Syntax :LA:DISPlay {||}, :LA:DISPlay? {||} Description Turn on or off the specified digital channel, user-defined channel group or default channel group; or query the status of the specified digital channel or channel group.
RIGOL 2 Command System :LA:DELete Syntax :LA:DELete {|} Description Undo the grouping setting of any of the 16 digital channels; or undo the channel setting of any of GROup1 to GROup4. Parameter Name Type Discrete Discrete Range {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9| D10|D11|D12|D13|D14|D15} {GROup1|GROup2|GROup3|GROup4} Default --- Explanation This command is only applicable to grouped channels or channel groups that contains channels.
RIGOL 2 Command System :LA:DIGital:DISPlay Syntax :LA:DIGital:DISPlay :LA:DIGital:DISPlay? Description Turn on or off the specified digital channel; or query the status of the specified digital channel.
RIGOL 2 Command System :LA:DIGital:LABel Syntax :LA:DIGital:LABel
RIGOL 2 Command System :LA:POD:THReshold Syntax :LA:POD:THReshold :LA:POD:THReshold? Description Set or query the threshold of the specified default channel group. The default unit is V. Parameter Name Type Range Default Discrete {1|2} -- Real -20.0V to +20.0V 1.4V Return Format The query returns the threshold of the specified default channel group in scientific notation. :LA:GROup:APPend Syntax :LA:GROup:APPend [,[,]...
RIGOL 2 Command System :LA:BUS:CURRent Syntax :LA:BUS:CURRent :LA:BUS:CURRent? Description Set the specified digital bus as the current bus; or query whether the specified digital bus is the current bus. Parameter Name Type Range Default Integer {1|2} -- Return Format The query returns TURE or FALSE. :LA:BUS:DISPlay Syntax :LA:BUS:DISPlay :LA:BUS:DISPlay? Description Turn on or off the specified digital bus; or query whether the specified digital bus is turned on.
RIGOL 2 Command System :LA:BUS:CHANnel Syntax :LA:BUS:CHANnel :LA:BUS:CHANnel? Description Set or query the channels of the specified digital bus. Parameter Name Type Range Default Integer {1|2} -- Discrete {L|H|HL} BUS1: L BUS2: H Explanation L: the channels of the digital bus are D7-D0; H: the channels of the digital bus are D15-D8; HL: the channels of the digital bus are D15-D0. Return Format The query returns L, H or HL.
RIGOL 2 Command System :LAN Commands :LAN:DHCP :LAN:AUToip :LAN:GATeway :LAN:DNS :LAN:MAC? :LAN:MANual :LAN:INITiate :LAN:IPADdress :LAN:SMASk :LAN:STATus? :LAN:VISA? :LAN:APPLy :LAN:DHCP Syntax :LAN:DHCP :LAN:DHCP? Description Enable or disable the DHCP configuration mode; or query the current status of the DHCP configuration mode.
RIGOL 2 Command System :LAN:AUToip Syntax :LAN:AUToip :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 {{1|ON}|{0|OFF}} 1|ON Explanation When the three IP configuration types are all turned on, the priority of the parameter configuration from high to low is “DHCP”, “Auto IP” and “Static IP”.
RIGOL 2 Command System :LAN:GATeway Syntax :LAN:GATeway :LAN:GATeway? Description Set or query the gateway. Parameter Name Type Range Default ASCII string Refer to the Explanation -- Explanation The format of is nnn,nnn,nnn,nnn. Wherein, the range of the first nnn is from 0 to 223 (except 127) and the ranges of the other three nnn are from 0 to 255.
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 :LAN:MANual? Description Enable or disable the static IP configuration mode; or query the current status of the static IP configuration mode.
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 :LAN:IPADdress? Description Set or query the IP address of the instrument. Parameter Name Type Range Default ASCII string Refer to the Explanation -- Explanation The format of is nnn,nnn,nnn,nnn.
RIGOL 2 Command System :LAN:SMASk Syntax :LAN:SMASk :LAN:SMASk? Description Set or query the subnet mask. Parameter Name Type Range Default ASCII string Refer to the Explanation -- Explanation The format of is nnn,nnn,nnn,nnn. Wherein, the range of the nnn is from 0 to 255. When using this command, the IP configuration mode should be Static IP (refer to the :LAN:MANual command) and the DHCP and Auto IP are disabled.
2 Command System RIGOL :LAN:APPLy Syntax :LAN:APPLy Description Apply the network configuration.
RIGOL 2 Command System :MASK Commands :MASK:ENABle :MASK:SOURce :MASK:OPERate :MASK:MDISplay :MASK:SOOutput :MASK:OUTPut :MASK:X :MASK:Y :MASK:CREate :MASK:PASSed? :MASK:FAILed? :MASK:TOTal? :MASK:RESet :MASK:DATA :MASK:ENABle Syntax :MASK:ENABle :MASK:ENABle? Description Enable or disable the pass/fail test function; or query the current status of the pass/fail test function.
RIGOL 2 Command System :MASK:SOURce Syntax :MASK:SOURce :MASK:SOURce? Description Set or query the measurement source of the pass/fail test. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Explanation Only the channel enabled can be selected as the measurement source of the pass/fail test. Return Format The query returns CHAN1 or CHAN2.
RIGOL 2 Command System :MASK:MDISplay Syntax :MASK:MDISplay :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 {{1|ON}|{0|OFF}} 0|OFF Explanation To enable the message display, first use the :MASK:ENABle command to enable the pass/fail test. Return Format The query returns 1 or 0.
RIGOL 2 Command System :MASK:OUTPut Syntax :MASK:OUTPut :MASK:OUTPut? Description Set or query the output mode when the test fails. Parameter Name Type Range Default Discrete {FAIL|FSOund} FAIL Explanation FAIL: when a failed waveform is detected, the oscilloscope displays the statistic results and outputs a pulse; but the beeper does not sound.
RIGOL 2 Command System :MASK:CREate Syntax :MASK:CREate Description Create the mask of the pass/fail test using the horizontal adjustment parameter and the vertical adjustment parameter currently set. Explanation This command is valid only when the pass/fail test function is enabled (:MASK:ENABle) and is in running state (:MASK:OPERate). For the setting of the horizontal adjustment parameter, refer to the :MASK:X command.
2 Command System RIGOL :MASK:TOTal? Syntax :MASK:TOTal? Description Query the total number of frames of the pass/fail test. Return Format The query returns the total number of frames of the pass/fail test in integer. :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 sending this command, the number of passed frames, the number of failed frames and the total number of frames are all set to 0.
RIGOL 2 Command System :MASK:DATA Syntax :MASK:DATA :MASK:DATA? Description Send or read the mask of the pass/fail test. Parameter Name Type Range Refer to the Explanation Default Explanation is binary data block. Directly place the data stream behind the command string to finish the sending in one operation. Make sure that the buffer is large enough to receive the data stream; otherwise the program might be abnormal when reading the data.
2 Command System RIGOL :MEASure Commands :MEASure:SOURce :MEASure:COUNter:SOURce :MEASure:COUNter:VALue? :MEASure:CLEar :MEASure:RECover :MEASure:ADISplay :MEASure:AMSource :MEASure:STATistic:DISPlay :MEASure:STATistic:MODE :MEASure:STATistic:RESet :MEASure:SETup:TYPE :MEASure:SETup:MAX :MEASure:SETup:MID :MEASure:SETup:MIN :MEASure:SETup:PSA :MEASure:SETup:PSB :MEASure:SETup:DSA :MEASure:SETup:DSB :MEASure:AREA :MEASure:CREGio
RIGOL 2 Command System :MEASure:VAMP :MEASure:VAVG :MEASure:VBASe :MEASure:VMAX :MEASure:VMIN :MEASure:VPP :MEASure:VRMS :MEASure:PVRMs :MEASure:VTOP :MEASure:MARea :MEASure:MPARea :MEASure:SOURce Syntax :MEASure:SOURce :MEASure:SOURce? Description Set or query the signal source of the current measurement parameter.
RIGOL 2 Command System :MEASure:COUNter:SOURce Syntax :MEASure:COUNter:SOURce :MEASure:COUNter:SOURce? Description Set or query the measurement source of the frequency counter or disable the frequency counter measurement. Parameter Name Type Discrete Range {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14| D15|CHANnel1|CHANnel2|EXT|OFF} Default OFF Return Format The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, CHAN1, CHAN2, EXT or OFF.
RIGOL 2 Command System :MEASure:CLEar Syntax :MEASure:CLEar - Description Clear any or all of the last five measurement items that are enabled. Parameter Name Type Range Default
- 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. The last item enabled is ITEM5.
RIGOL 2 Command System :MEASure:ADISplay Syntax :MEASure:ADISplay :MEASure:ADISplay? Description Enable or disable all measurement; or query the current status of all measurement. Parameter Name Type Range Default Bool {{1|ON}|{0|OFF}} 0|OFF Explanation All measurement can measure all the time and voltage parameters of the current measurement source.
RIGOL 2 Command System :MEASure:STATistic:DISPlay Syntax :MEASure:STATistic:DISPlay :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 {{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 :MEASure:SETup:TYPE? Description Set or query the type of measurement setting. Parameter Name Type Range Default 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 :MEASure:SETup:MAX? :MEASure:SETup:MID :MEASure:SETup:MID? :MEASure:SETup:MIN :MEASure:SETup:MIN? Description Set or query the threshold level upper limit, middle value or lower limit of the auto measurement of the analog channels. The unit is %.
RIGOL 2 Command System :MEASure:SETup:PSA :MEASure:SETup:PSB Syntax :MEASure:SETup:PSA :MEASure:SETup:PSA? :MEASure:SETup:PSB :MEASure:SETup:PSB? Description Set or query the channel source of source A or B in phase deviation measurements.
RIGOL 2 Command System :MEASure:SETup:DSA :MEASure:SETup:DSB Syntax :MEASure:SETup:DSA :MEASure:SETup:DSA? :MEASure:SETup:DSB :MEASure:SETup:DSB? Description Set or query the channel source of source A or B in delay time measurements.
RIGOL 2 Command System :MEASure:AREA Syntax :MEASure:AREA :MEASure:AREA? Description Set or query the measurement range. Parameter Name Type Range Default Discrete {SCReen|CREGion} SCReen Explanation SCReen: waveforms within the screen region. CREGion: region specified by cursor A (refer to the :MEASure:CREGion:CAX command) and cursor B (refer to the :MEASure:CREGion:CBX command). Return Format The query returns SCR or CREG.
RIGOL 2 Command System :MEASure:HISTory:DISPlay Syntax :MEASure:HISTory:DISPlay :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 {{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 , Description 1 Enable the delay (falling edge-falling edge) measurement function between the two specified channels. Syntax 2 :MEASure:FDELay? , 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).
RIGOL 2 Command System :MEASure:FDELay:SMAXimum :MEASure:FDELay:SMINimum :MEASure:FDELay:SCURrent :MEASure:FDELay:SAVerage :MEASure:FDELay:SDEViation Syntax 1 :MEASure:FDELay:SMAXimum , :MEASure:FDELay:SMINimum , :MEASure:FDELay:SCURrent , :MEASure:FDELay:SAVerage , :MEASure:FDELay:SDEViation , Description 1 Enable the delay (falling edge-falling edge) measurement function between the two specified channels and the statistic function of
RIGOL 2 Command System :MEASure:F2RDelay Syntax 1 :MEASure:F2RDelay , Description 1 Enable the delay (falling edge-rising edge) measurement function between the two specified channels. Syntax 2 :MEASure:F2RDelay? , 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).
RIGOL 2 Command System :MEASure:F2RDelay:SMAXimum :MEASure:F2RDelay:SMINimum :MEASure:F2RDelay:SCURrent :MEASure:F2RDelay:SAVerage :MEASure:F2RDelay:SDEViation Syntax 1 :MEASure:F2RDelay:SMAXimum , :MEASure:F2RDelay:SMINimum , :MEASure:F2RDelay:SCURrent , :MEASure:F2RDelay:SAVerage , :MEASure:F2RDelay:SDEViation , Description 1 Enable the delay (falling edge-rising edge) measurement function between the two specified channels and the st
RIGOL 2 Command System :MEASure:FPHase Syntax 1 :MEASure:FPHase , Description 1 Enable the phase deviation (falling edge-falling edge) measurement function between the two specified channels. Syntax 2 :MEASure:FPHase? , 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).
RIGOL 2 Command System :MEASure:FPHase:SMAXimum :MEASure:FPHase:SMINimum :MEASure:FPHase:SCURrent :MEASure:FPHase:SAVerage :MEASure:FPHase:SDEViation Syntax 1 :MEASure:FPHase:SMAXimum , :MEASure:FPHase:SMINimum , :MEASure:FPHase:SCURrent , :MEASure:FPHase:SAVerage , :MEASure:FPHase:SDEViation , Description 1 Enable the phase deviation (falling edge-falling edge) measurement function between the two specified channels and the statistic f
RIGOL 2 Command System :MEASure:F2RPhase Syntax 1 :MEASure:F2RPhase , Description 1 Enable the phase deviation (falling edge-rising edge) measurement function between the two specified channels. Syntax 2 :MEASure:F2RPhase? , 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).
RIGOL 2 Command System :MEASure:F2RPhase:SMAXimum :MEASure:F2RPhase:SMINimum :MEASure:F2RPhase:SCURrent :MEASure:F2RPhase:SAVerage :MEASure:F2RPhase:SDEViation Syntax 1 :MEASure:F2RPhase:SMAXimum , :MEASure:F2RPhase:SMINimum , :MEASure:F2RPhase:SCURrent , :MEASure:F2RPhase:SAVerage , :MEASure:F2RPhase:SDEViation , Description 1 Enable the phase deviation (falling edge-rising edge) measurement function between the two specified channels
RIGOL 2 Command System :MEASure:FREQuency Syntax 1 :MEASure:FREQuency Description 1 Enable the frequency measurement function of the specified channel. Syntax 2 :MEASure:FREQuency? Description 2 Enable the frequency measurement function of the specified channel and return the measurement result (the unit is Hz).
RIGOL 2 Command System :MEASure:FREQuency:SMAXimum :MEASure:FREQuency:SMINimum :MEASure:FREQuency:SCURrent :MEASure:FREQuency:SAVerage :MEASure:FREQuency:SDEViation Syntax 1 :MEASure:FREQuency:SMAXimum :MEASure:FREQuency:SMINimum :MEASure:FREQuency:SCURrent :MEASure:FREQuency:SAVerage :MEASure:FREQuency:SDEViation 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 Description 1 Enable the fall time measurement function of the specified channel. Syntax 2 :MEASure:FTIMe? Description 2 Enable the fall time measurement function of the specified channel and return the measurement result (the unit is s). Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH} -- Return Format The query returns the fall time measurement result in scientific notation.
RIGOL 2 Command System :MEASure:FTIMe:SMAXimum :MEASure:FTIMe:SMINimum :MEASure:FTIMe:SCURrent :MEASure:FTIMe:SAVerage :MEASure:FTIMe:SDEViation Syntax 1 :MEASure:FTIMe:SMAXimum :MEASure:FTIMe:SMINimum :MEASure:FTIMe:SCURrent :MEASure:FTIMe:SAVerage :MEASure:FTIMe:SDEViation 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 Description 1 Enable the negative duty cycle measurement function of the specified channel. Syntax 2 :MEASure:NDUTy? Description 2 Enable the negative duty cycle measurement function of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:NDUTy:SMAXimum :MEASure:NDUTy:SMINimum :MEASure:NDUTy:SCURrent :MEASure:NDUTy:SAVerage :MEASure:NDUTy:SDEViation Syntax 1 :MEASure:NDUTy:SMAXimum :MEASure:NDUTy:SMINimum :MEASure:NDUTy:SCURrent :MEASure:NDUTy:SAVerage :MEASure:NDUTy:SDEViation 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 Description 1 Enable the negative pulse width measurement function of the specified channel. Syntax 2 :MEASure:NWIDth? Description 2 Enable the negative pulse width measurement function of the specified channel and return the measurement result (the unit is s).
RIGOL 2 Command System :MEASure:NWIDth:SMAXimum :MEASure:NWIDth:SMINimum :MEASure:NWIDth:SCURrent :MEASure:NWIDth:SAVerage :MEASure:NWIDth:SDEViation Syntax 1 :MEASure:NWIDth:SMAXimum :MEASure:NWIDth:SMINimum :MEASure:NWIDth:SCURrent :MEASure:NWIDth:SAVerage :MEASure:NWIDth:SDEViation 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 Description 1 Enable the overshoot measurement function of the specified channel. Syntax 2 :MEASure:OVERshoot? Description 2 Enable the overshoot measurement function of the specified channel and return the measurement result. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH} -- Return Format The query returns the overshoot measurement result in scientific notation.
RIGOL 2 Command System :MEASure:OVERshoot:SMAXimum :MEASure:OVERshoot:SMINimum :MEASure:OVERshoot:SCURrent :MEASure:OVERshoot:SAVerage :MEASure:OVERshoot:SDEViation Syntax 1 :MEASure:OVERshoot:SMAXimum :MEASure:OVERshoot:SMINimum :MEASure:OVERshoot:SCURrent :MEASure:OVERshoot:SAVerage :MEASure:OVERshoot:SDEViation 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 Description 1 Enable the positive duty cycle measurement function of the specified channel. Syntax 2 :MEASure:PDUTy? Description 2 Enable the positive duty cycle measurement function of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:PDUTy:SMAXimum :MEASure:PDUTy:SMINimum :MEASure:PDUTy:SCURrent :MEASure:PDUTy:SAVerage :MEASure:PDUTy:SDEViation Syntax 1 :MEASure:PDUTy:SMAXimum :MEASure:PDUTy:SMINimum :MEASure:PDUTy:SCURrent :MEASure:PDUTy:SAVerage :MEASure:PDUTy:SDEViation 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 Description 1 Enable the period measurement function of the specified channel. Syntax 2 :MEASure:PERiod? Description 2 Enable the period measurement function of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:PERiod:SMAXimum :MEASure:PERiod:SMINimum :MEASure:PERiod:SCURrent :MEASure:PERiod:SAVerage :MEASure:PERiod:SDEViation Syntax 1 :MEASure:PERiod:SMAXimum :MEASure:PERiod:SMINimum :MEASure:PERiod:SCURrent :MEASure:PERiod:SAVerage :MEASure:PERiod:SDEViation 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 Description 1 Enable the preshoot measurement function of the specified channel. Syntax 2 :MEASure:PREShoot? Description 2 Enable the preshoot measurement function of the specified channel and return the measurement result. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH} -- Return Format The query returns the preshoot measurement result in scientific notation.
RIGOL 2 Command System :MEASure:PREShoot:SMAXimum :MEASure:PREShoot:SMINimum :MEASure:PREShoot:SCURrent :MEASure:PREShoot:SAVerage :MEASure:PREShoot:SDEViation Syntax 1 :MEASure:PREShoot:SMAXimum :MEASure:PREShoot:SMINimum :MEASure:PREShoot:SCURrent :MEASure:PREShoot:SAVerage :MEASure:PREShoot:SDEViation 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 Description 1 Enable the positive pulse width measurement function of the specified channel. Syntax 2 :MEASure:PWIDth? Description 2 Enable the positive pulse width measurement function of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:PWIDth:SMAXimum :MEASure:PWIDth:SMINimum :MEASure:PWIDth:SCURrent :MEASure:PWIDth:SAVerage :MEASure:PWIDth:SDEViation Syntax 1 :MEASure:PWIDth:SMAXimum :MEASure:PWIDth:SMINimum :MEASure:PWIDth:SCURrent :MEASure:PWIDth:SAVerage :MEASure:PWIDth:SDEViation 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 Description 1 Enable the rise time measurement function of the specified channel. Syntax 2 :MEASure:RTIMe? Description 2 Enable the rise time measurement function of the specified channel and return the measurement result (the unit is s). Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH} -- Return Format The query returns the rise time measurement result in scientific notation.
RIGOL 2 Command System :MEASure:RTIMe:SMAXimum :MEASure:RTIMe:SMINimum :MEASure:RTIMe:SCURrent :MEASure:RTIMe:SAVerage :MEASure:RTIMe:SDEViation Syntax 1 :MEASure:RTIMe:SMAXimum :MEASure:RTIMe:SMINimum :MEASure:RTIMe:SCURrent :MEASure:RTIMe:SAVerage :MEASure:RTIMe:SDEViation 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 , Description 1 Enable the delay (rising edge-rising edge) measurement function between the two specified channels. Syntax 2 :MEASure:RDELay? , 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).
RIGOL 2 Command System :MEASure:RDELay:SMAXimum :MEASure:RDELay:SMINimum :MEASure:RDELay:SCURrent :MEASure:RDELay:SAVerage :MEASure:RDELay:SDEViation Syntax 1 :MEASure:RDELay:SMAXimum , :MEASure:RDELay:SMINimum , :MEASure:RDELay:SCURrent , :MEASure:RDELay:SAVerage , :MEASure:RDELay:SDEViation , Description 1 Enable the delay (rising edge-rising edge) measurement function between the two specified channels and the statistic function of t
RIGOL 2 Command System :MEASure:R2FDelay Syntax1 :MEASure:R2FDelay , Description1 Enable the delay (rising edge-falling edge) measurement function between the two specified channels. Syntax2 :MEASure:R2FDelay? , Description2 Enable the delay (rising edge-falling edge) measurement function between the two specified channels and return the measurement result (the unit is s).
RIGOL 2 Command System :MEASure:R2FDelay:SMAXimum :MEASure:R2FDelay:SMINimum :MEASure:R2FDelay:SCURrent :MEASure:R2FDelay:SAVerage :MEASure:R2FDelay:SDEViation Syntax 1 :MEASure:R2FDelay:SMAXimum , :MEASure:R2FDelay:SMINimum , :MEASure:R2FDelay:SCURrent , :MEASure:R2FDelay:SAVerage , :MEASure:R2FDelay:SDEViation , Description 1 Enable the delay (rising edge-falling edge) measurement function between the two specified channels and the st
RIGOL 2 Command System :MEASure:RPHase Syntax 1 :MEASure:RPHase , Description 1 Enable the phase deviation (rising edge-rising edge) measurement function between the two specified channels. Syntax 2 :MEASure:RPHase? , 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).
RIGOL 2 Command System :MEASure:RPHase:SMAXimum :MEASure:RPHase:SMINimum :MEASure:RPHase:SCURrent :MEASure:RPHase:SAVerage :MEASure:RPHase:SDEViation Syntax 1 :MEASure:RPHase:SMAXimum , :MEASure:RPHase:SMINimum , :MEASure:RPHase:SCURrent , :MEASure:RPHase:SAVerage , :MEASure:RPHase:SDEViation , Description 1 Enable the phase deviation (rising edge-rising edge) measurement function between the two specified channels and the statistic fun
RIGOL 2 Command System :MEASure:R2FPhase Syntax 1 :MEASure:R2FPhase , Description 1 Enable the phase deviation (rising edge-falling edge) measurement function between the two specified channels. Syntax 2 :MEASure:R2FPhase? , 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).
RIGOL 2 Command System :MEASure:R2FPhase:SMAXimum :MEASure:R2FPhase:SMINimum :MEASure:R2FPhase:SCURrent :MEASure:R2FPhase:SAVerage :MEASure:R2FPhase:SDEViation Syntax 1 :MEASure:R2FPhase:SMAXimum , :MEASure:R2FPhase:SMINimum , :MEASure:R2FPhase:SCURrent , :MEASure:R2FPhase:SAVerage , :MEASure:R2FPhase:SDEViation , Description 1 Enable the phase deviation (rising edg-falling edge) measurement function between the two specified channels a
RIGOL 2 Command System :MEASure:VAMP Syntax 1 :MEASure:VAMP Description 1 Enable the amplitude measurement function of the specified channel. Syntax 2 :MEASure:VAMP? Description 2 Enable the amplitude measurement function of the specified channel and return the measurement result. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH} -- Explanation The unit is determined by the unit selected for the signal source channel (refer to the :CHANnel:UNITs command).
RIGOL 2 Command System :MEASure:VAMP:SMAXimum :MEASure:VAMP:SMINimum :MEASure:VAMP:SCURrent :MEASure:VAMP:SAVerage :MEASure:VAMP:SDEViation Syntax 1 :MEASure:VAMP:SMAXimum :MEASure:VAMP:SMINimum :MEASure:VAMP:SCURrent :MEASure:VAMP:SAVerage :MEASure:VAMP:SDEViation 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 Description 1 Enable the amplitude average measurement function of the specified channel. Syntax 2 :MEASure:VAVG? Description 2 Enable the amplitude average measurement function of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:VAVG:SMAXimum :MEASure:VAVG:SMINimum :MEASure:VAVG:SCURrent :MEASure:VAVG:SAVerage :MEASure:VAVG:SDEViation Syntax 1 :MEASure:VAVG:SMAXimum :MEASure:VAVG:SMINimum :MEASure:VAVG:SCURrent :MEASure:VAVG:SAVerage :MEASure:VAVG:SDEViation 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 Description 1 Enable the amplitude base value measurement function of the specified channel. Syntax 2 :MEASure:VBASe? Description 2 Enable the amplitude base value measurement function of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:VBASe:SMAXimum :MEASure:VBASe:SMINimum :MEASure:VBASe:SCURrent :MEASure:VBASe:SAVerage :MEASure:VBASe:SDEViation Syntax 1 :MEASure:VBASe:SMAXimum :MEASure:VBASe:SMINimum :MEASure:VBASe:SCURrent :MEASure:VBASe:SAVerage :MEASure:VBASe:SDEViation 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 Description 1 Enable the amplitude maximum value measurement function of the specified channel. Syntax 2 :MEASure:VMAX? Description 2 Enable the amplitude maximum value measurement function of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:VMAX:SMAXimum :MEASure:VMAX:SMINimum :MEASure:VMAX:SCURrent :MEASure:VMAX:SAVerage :MEASure:VMAX:SDEViation Syntax 1 :MEASure:VMAX:SMAXimum :MEASure:VMAX:SMINimum :MEASure:VMAX:SCURrent :MEASure:VMAX:SAVerage :MEASure:VMAX:SDEViation 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 Description 1 Enable the amplitude minimum value measurement function of the specified channel. Syntax 2 :MEASure:VMIN? Description 2 Enable the amplitude minimum value measurement function of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:VMIN:SMAXimum :MEASure:VMIN:SMINimum :MEASure:VMIN:SCURrent :MEASure:VMIN:SAVerage :MEASure:VMIN:SDEviation Syntax 1 :MEASure:VMIN:SMAXimum :MEASure:VMIN:SMINimum :MEASure:VMIN:SCURrent :MEASure:VMIN:SAVerage :MEASure:VMIN:SDEViation 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 Description 1 Enable the peak-peak value measurement function of the specified channel. Syntax 2 :MEASure:VPP? Description 2 Enable the peak-peak value measurement function of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:VPP:SMAXimum :MEASure:VPP:SMINimum :MEASure:VPP:SCURrent :MEASure:VPP:SAVerage :MEASure:VPP:SDEViation Syntax 1 :MEASure:VPP:SMAXimum :MEASure:VPP:SMINimum :MEASure:VPP:SCURrent :MEASure:VPP:SAVerage :MEASure:VPP:SDEViation 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 Description 1 Enable the RMS value measurement function on the whole signal of the specified channel. Syntax 2 :MEASure:VRMS? Description 2 Enable the RMS value measurement function on the whole signal of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:VRMS:SMAXimum :MEASure:VRMS:SMINimum :MEASure:VRMS:SCURrent :MEASure:VRMS:SAVerage :MEASure:VRMS:SDEViation Syntax 1 :MEASure:VRMS:SMAXimum :MEASure:VRMS:SMINimum :MEASure:VRMS:SCURrent :MEASure:VRMS:SAVerage :MEASure:VRMS:SDEViation 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 Description 1 Enable the RMS value measurement function within a single period of the specified channel. Syntax 2 :MEASure:PVRMs? Description 2 Enable the RMS value measurement function within a single period of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:PVRMs:SMAXimum :MEASure:PVRMs:SMINimum :MEASure:PVRMs:SCURrent :MEASure:PVRMs:SAVerage :MEASure:PVRMs:SDEViation Syntax 1 :MEASure:PVRMs:SMAXimum :MEASure:PVRMs:SMINimum :MEASure:PVRMs:SCURrent :MEASure:PVRMs:SAVerage :MEASure:PVRMs:SDEViation 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 Description 1 Enable the amplitude top value measurement function of the specified channel. Syntax 2 :MEASure:VTOP? Description 2 Enable the amplitude top value measurement function of the specified channel and return the measurement result.
RIGOL 2 Command System :MEASure:VTOP:SMAXimum :MEASure:VTOP:SMINimum :MEASure:VTOP:SCURrent :MEASure:VTOP:SAVerage :MEASure:VTOP:SDEViation Syntax 1 :MEASure:VTOP:SMAXimum :MEASure:VTOP:SMINimum :MEASure:VTOP:SCURrent :MEASure:VTOP:SAVerage :MEASure:VTOP:SDEViation 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 Description 1 Enable the area measurement function of the specified channel. Syntax 2 :MEASure:MARea? Description 2 Enable the area measurement function of the specified channel and return the measurement result (the unit is Vs). Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH} -- Return Format The query returns the area measurement result in scientific notation.
RIGOL 2 Command System :MEASure:MARea:SMAXimum :MEASure:MARea:SMINimum :MEASure:MARea:SCURrent :MEASure:MARea:SAVerage :MEASure:MARea:SDEViation Syntax 1 :MEASure:MARea:SMAXimum :MEASure:MARea:SMINimum :MEASure:MARea:SCURrent :MEASure:MARea:SAVerage :MEASure:MARea:SDEViation 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 Description 1 Enable the period area measurement function of the specified channel. Syntax 2 :MEASure:MPARea? Description 2 Enable the period area measurement function of the specified channel and return the measurement result (the unit is Vs). Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH} -- Return Format The query returns the period area measurement result in scientific notation.
RIGOL 2 Command System :MEASure:MPARea:SMAXimum :MEASure:MPARea:SMINimum :MEASure:MPARea:SCURrent :MEASure:MPARea:SAVerage :MEASure:MPARea:SDEViation Syntax 1 :MEASure:MPARea:SMAXimum :MEASure:MPARea:SMINimum :MEASure:MPARea:SCURrent :MEASure:MPARea:SAVerage :MEASure:MPARea:SDEViation Description 1 Enable the period area measurement function of the specified channel and the statistic function of the measurement results.
RIGOL 2 Command System :OUTPut Commands (For MSO2000A-S/DS2000A-S) The :OUTPut commands are used to enable or disable the output of the built-in signal source as well as set its output impedance. :OUTPut[][:STATe] :OUTPut[]:IMPedance :OUTPut[][:STATe] Syntax :OUTPut[][:STATe] :OUTPut[][:STATe]? Description Enable or disable the output of the specified signal source channel; or query the output status of the specified signal source channel.
RIGOL 2 Command System :OUTPut[]:IMPedance Syntax :OUTPut[]:IMPedance :OUTPut[]:IMPedance? Description Set or query the output impedance of the signal source channel. Parameter Name Type Range Default Discrete {OMEG|FIFTy} OMEG Discrete {1|2} 1 Explanation OMEG: HighZ; FIFTy: 50Ω. Return Format The query returns OMEG or FIFT.
RIGOL 2 Command System :RECall Commands :RECall:SETup :RECall:TRACe :RECall:WAVeform :RECall:SETup Syntax :RECall:SETup Description Recall the setup file stored in the external memory. Parameter Name Type Range Default ASCII string Refer to the Explanation -- Explanation Beforing recalling the setup file, use the :SAVE:SETup[:STARt] command to store the corresponding file into the external memory.
RIGOL 2 Command System :RECall:TRACe Syntax :RECall:TRACe Description Recall the trace file stored in the external memory. Parameter Name Type Range Default ASCII string Refer to the Explanation -- Explanation Beforing recalling the trace file, use the :SAVE:TRACe[:STARt] command to store the corresponding file into the external memory. includes the file storage directory and the filename with suffix. Its length cannot exceeds 64 characters.
RIGOL 2 Command System :REFerence Commands :REFerence:CURRent :REFerence:ENABle :REFerence:COLor :REFerence:CURRent? :REFerence:DISPlay :REFerence:RESet :REFerence:SAVe :REFerence:SOURce :REFerence:VSCale :REFerence:VOFFset :REFerence:CURRent Syntax :REFerence:CURRent Description Select the current reference channel.
RIGOL 2 Command System :REFerence:ENABle Syntax :REFerence:ENABle :REFerence:ENABle? Description Turn on or off the specified reference channel; or query the status of the specified reference channel. Parameter Name Type Range Default Discrete {1|2|3|4|5|6|7|8|9|10} -- Bool {{1|ON}|{0|OFF}} Ref1: 1|ON Ref2 to Ref10: 0|OFF Return Format The query returns 1 or 0.
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 :REFerence:DISPlay? Description Turn on or off the REF control menu; or query whether the REF control menu is turned on. Parameter Name Type Range Default Bool {{1|ON}|{0|OFF}} 0|OFF Return Format The query returns 1 or 0.
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 :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.
RIGOL 2 Command System :REFerence:VOFFset Syntax :REFerence: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 Integer -150 to +150 0 Note: When is 0, the vertical position of the reference waveform is the same with that of the original waveform.
2 Command System RIGOL :SAVE Commands :SAVE:CSV[:STARt] :SAVE:CSV:FACTors :SAVE:CSV:LENGth :SAVE:FORMat :SAVE:IMAGe[:STARt] :SAVE:IMAGe:TYPE :SAVE:IMAGe:FACTors :SAVE:SETup[:STARt] :SAVE:TRACe[:STARt] :SAVE:WAVeform[:STARt] :SAVE:REFerence[:STARt] :SAVE:MTESt[:STARt] :SAVE:ARB[:STARt] MSO2000A/DS2000A Programming Guide 2-221
RIGOL 2 Command System :SAVE:CSV[:STARt] Syntax :SAVE:CSV[:STARt] Description Save the waveform data on the screen into the external memory in “*.csv” format. Parameter Name Type Range Default ASCII string Refer to the Explanation -- Explanation includes the file storage directory and the filename with suffix. Its length cannot exceeds 64 characters. Wherein, the storage directory can only be D:\.
RIGOL 2 Command System :SAVE:CSV:FACTors Syntax :SAVE:CSV:FACTors :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 {{1|ON}|{0|OFF}} 0|OFF Explanation When this function is enabled, a TXT file with the same filename will also be stored when sending the :SAVE:CSV[:STARt] command to store the CSV file.
RIGOL 2 Command System :SAVE:FORMat Syntax :SAVE:FORMat :SAVE:FORMat? Description Set or query the storage format. Parameter Name Type Range Default 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] Description Store the content displayed on the screen into the external memory in picture form.
RIGOL 2 Command System :SAVE:IMAGe:TYPE Syntax :SAVE:IMAGe:TYPE :SAVE:IMAGe:TYPE? Description Set or query the picture type of picture storage. Parameter Name Type Range Default Discrete {BMP24bit|JPEG|PNG|TIFF} PNG Return Format The query returns BMP24, JPEG, PNG or TIFF.
RIGOL 2 Command System :SAVE:SETup[:STARt] Syntax :SAVE:SETup[:STARt] {|} Description Store the current parameter settings of the oscilloscope into the internal or external memory in “*.stp” format. Parameter Name Type Range Default ASCII string C:\LocalSetup0.stp to C:\LocalSetup9.
RIGOL 2 Command System :SAVE:TRACe[:STARt] Syntax :SAVE:TRACe[:STARt] {} Description Store the waveform trace into the external memory in “*.trc” format. Parameter Name Type Range Default ASCII string Refer to the Explanation -- Explanation includes the file storage directory and the filename with suffix. Its length cannot exceeds 64 characters. Wherein, the storage directory can only be D:\.
RIGOL 2 Command System :SAVE:REFerence[:STARt] Syntax :SAVE:REFerence[:STARt] {|} Description Store the reference waveform currently stored by the oscilloscope into the internal or external memory in “*.ref” format. Parameter Name Type Range Default ASCII string C:\LocalREF0.ref to C:\LocalREF9.
RIGOL 2 Command System :SAVE:MTESt[:STARt] Syntax :SAVE:MTESt[:STARt] {|} Description Store the current pass/fail test mask into the internal or external memory in “*.pf” format. Parameter Name Type Range Default ASCII string C:\LocalPF0.pf to C:\LocalPF9.pf -- ASCII string Refer to the Explanation -- Explanation This command is only available when the pass/fail test function is enabled (refer to :MASK:ENABle).
RIGOL 2 Command System :SAVE:ARB[:STARt] Syntax :SAVE:ARB[:STARt] {|} Description Store the arbitrary waveform currently edited into the internal or external memory in “*.arb” format. Parameter Name Type Range Default ASCII string C:\LocalArb0.arb to C:\LocalArb9.arb -- ASCII string Refer to the Explanation -- Explanation In internal storage, if the specified location already contains a file, the original file will be overwritten.
2 Command System RIGOL :SOURce Commands (For MSO2000A-S/DS2000A-S) The [:SOURce] commands are used to set the output waveforms and their parameters of the built-in signal source of the oscilloscope. is the number of the channel (1 or 2) and the operation will be executed on Source1 by default if [:SOURce] is omitted.
RIGOL 2 Command System [:SOURce]:FREQuency[:FIXed] Syntax [:SOURce]:FREQuency[:FIXed] {|MINimum|MAXimum} [:SOURce]:FREQuency[:FIXed]? [MINimum|MAXimum] Description Set or query the output frequency of the specified signal source channel when the modulation of the specified signal source is not enabled; set or query the carrier frequency of the specified signal source channel when the modulation of the specified signal source is enabled. The default unit is Hz.
RIGOL 2 Command System [:SOURce]:PHASe:INITiate Syntax [:SOURce]:PHASe:INITiate Description Execute the align phase operation. Parameter Name Type Range Default Discrete {1|2} 1 Explanation When executing the align phase operation, the oscilloscope will re-configure the two channels to output according to the preset frequency and phase. For two signals of which the frequencies are the same or are multiples, this operation can align their phases.
RIGOL 2 Command System [:SOURce]:FUNCtion[:SHAPe] Syntax [:SOURce]:FUNCtion[:SHAPe] [:SOURce]:FUNCtion[:SHAPe]? Description Set or query the output waveform when the modulation of the specified signal source channel is not enabled. Set or query the carrier waveform of modulation when the modulation of the specified signal source is channel enabled; at this point, if PULSe, NOISe or DC is selected, the modulation function will be disabled automatically.
RIGOL 2 Command System [:SOURce]:FUNCtion:RAMP:SYMMetry Syntax [:SOURce]:FUNCtion:RAMP:SYMMetry {|MINimum|MAXimum} [:SOURce]:FUNCtion:RAMP:SYMMetry? [MINimum|MAXimum] Description Set or query the symmetry of the ramp of the specified signal source channel. Parameter Name Type Range Default Real 0% to 100% 10% Discrete {1|2} 1 Explanation Symmetry is defined as the percentage that the rising period takes up in the whole period.
RIGOL 2 Command System [:SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude] Syntax [:SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude] {|MINimum|MAXimum} [:SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude]? [MINimum|MAXimum] Description Set or query the amplitude of the signal of the specified signal source channel. The default unit is Vpp. Parameter Name Type Real Discrete Range HighZ: 20mVpp to 5Vpp 50Ω: 10mVpp to 2.
RIGOL 2 Command System [:SOURce]:VOLTage[:LEVel][:IMMediate]:OFFSet Syntax [:SOURce]:VOLTage[:LEVel][:IMMediate]:OFFSet {|MINimum|MAXimum} [:SOURce]:VOLTage[:LEVel][:IMMediate]:OFFSet? [MINimum|MAXimum] Description Set or query the DC offset of the signal of the specified signal source channel. The default unit is VDC. Parameter Name Type Range Default HighZ: -2.5+current amplitude/2 to Real 2.5- current amplitude /2 50Ω: -1.25+ current amplitude /2 to 0VDC 1.
RIGOL 2 Command System [:SOURce]:PULSe:DCYCle Syntax [:SOURce]:PULSe:DCYCle {|MINimum|MAXimum} [:SOURce]:PULSe:DCYCle? [MINimum|MAXimum] Description Set or query the duty cycle of the pulse of the specified signal source channel. Parameter Name Type Range Default Real 10% to 90% 20% Discrete {1|2} 1 Explanation Duty cycle is defined as the percent that the high level takes up in a whole period.
RIGOL 2 Command System [:SOURce]:MOD[:STATe] Syntax [:SOURce]:MOD[:STATe] [:SOURce]:MOD[:STATe]? Description Enable or disable the modulation function of the specified signal source channel; or query the on/off status of the modulation function of the specified signal source channel.
RIGOL 2 Command System [:SOURce]:MOD:TYPe Syntax [:SOURce]:MOD:TYPe [:SOURce]:MOD:TYPe? Description Set or query the modulation type of the specified signal source channel. Parameter Name Type Range Default Discrete {AM|FM} AM Discrete {1|2} 1 Explanation AM: amplitude modulation. The amplitude of the carrier varies with the amplitude of the modulating waveform. FM: frequency modulation .
RIGOL 2 Command System [:SOURce]:MOD:AM:INTernal:FREQuency Syntax [:SOURce]:MOD:AM:INTernal:FREQuency {|MINimum|MAXimum} [:SOURce]:MOD:AM:INTernal:FREQuency? [MINimum|MAXimum] Description Set or query the modulating waveform frequency of AM of the specified signal source channel. The default unit is Hz.
RIGOL 2 Command System [:SOURce]:MOD:FM[:DEVIation] Syntax [:SOURce]:MOD:FM[:DEVIation] {|MINimum|MAXimum} [:SOURce]:MOD:FM[:DEVIation]? [MINimum|MAXimum] Description Set or query the frequency deviation of FM of the specified signal source channel. The default unit is Hz. Parameter Name Type Range Default 0Hz to the current frequency of the carrier waveform.
RIGOL 2 Command System [:SOURce]:MOD:FM:INTernal:FUNCtion Syntax [:SOURce]:MOD:FM:INTernal:FUNCtion [:SOURce]:MOD:FM:INTernal:FUNCtion? Description Set or query the modulating waveform of FM of the specified signal source channel. Parameter Name Type Range Default Discrete {SINusoid|SQUare|TRIangle|NOISe} SINusoid Discrete {1|2} 1 Return Format The query returns SIN, SQU, TRI or NOIS.
RIGOL 2 Command System [:SOURce]:APPLy:NOISe [:SOURce]:APPLy:PULSe [:SOURce]:APPLy:RAMP [:SOURce]:APPLy:SINusoid [:SOURce]:APPLy:SQUare [:SOURce]:APPLy:USER Syntax [:SOURce]:APPLy:NOISe [[,]] [:SOURce]:APPLy:PULSe [[,[,[,]]]] [:SOURce]:APPLy:RAMP [[,[,[,]]]] [:SOURce]:APPLy:SINusoid [[,[,[,]]]] [:SOURce]:APPLy:SQUare [[,[,[,]]]] [:SOURce]:APPLy:USER [
RIGOL 2 Command System SINusoid: sine SQUare: square USER: arbitrary waveform : set the frequency of the specified waveform (noise does not have this parameter). The default unit is Hz. : set the amplitude of the specified waveform. The default unit is Vpp. : set the DC offset of the specified waveform. The default unit is VDC. : set the start phase of the specified waveform (noise does not have this parameter). The default unit is degree (°).
RIGOL 2 Command System [:SOURce]:APPLy? Syntax [:SOURce]:APPLy? Description Query the output configuration of the specified signal source channel. Parameter Name Type Range Default Discrete {1|2} 1 Return Format The query returns the current output configuration in “,,,,” format. When the corresponding parameter does not exist, the parameter will be replaced by DEF. For example, SIN,100000.000000,1.000000,0.000000,0.000000.
2 Command System RIGOL :SYSTem Commands :SYSTem:AOUTput :SYSTem:AUToscale :SYSTem:BEEPer :SYSTem:DATE :SYSTem:ERRor[:NEXT]? :SYSTem:EXPand :SYSTem:GAMount? :SYSTem:GPIB :SYSTem:KEY:PRESs :SYSTem:KEY:INCRease :SYSTem:KEY:DECRease :SYSTem:LANGuage :SYSTem:OPTion:INSTall :SYSTem:OPTion:UNINSTall :SYSTem:OPTion:VALid? :SYSTem:PON :SYSTem:PSTatus :SYSTem:RAMount? :SYSTem:RESet :SYSTem:SSAVer:TIME :SYSTem:SETup :SYSTem:TIME
RIGOL 2 Command System :SYSTem:AOUTput Syntax :SYSTem:AOUTput :SYSTem:AOUTput? Description Set or query the type of the signal output from the [Trigger Out] connector at the rear panel. Parameter Name Type Range Default Discrete {TOUT|PFAil} TOUT Explanation TOUT: output a signal that can reflect the current acquisition rate of the oscilloscope via the [Trigger Out] connector each time the oscilloscope triggers.
RIGOL 2 Command System :SYSTem:BEEPer Syntax :SYSTem:BEEPer :SYSTem:BEEPer? Description Enable or disable the beeper; or query the status of the beeper. Parameter Name Type Range Default Bool {{1|ON}|{0|OFF}} 0|OFF Return Format The query returns 1 or 0. :SYSTem:DATE Syntax :SYSTem:DATE ,, :SYSTem:DATE? Description Set or query the system date.
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 “,” format. Wherein, is an integer and 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. :SYSTem:GPIB Syntax :SYSTem:GPIB :SYSTem:GPIB? Description Set or query the GPIB address. Parameter Name Type Range Default Integer 1 to 30 -- Return Format The query returns an integer between 1 and 30.
RIGOL 2 Command System :SYSTem:KEY:PRESs Syntax :SYSTem:KEY:PRESs Description Press the specified key at the front panel of the oscilloscope.
2 Command System RIGOL 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. SRECord|ERECord: start or stop recording waveforms. PPAuse: start, pause or resume the playback of the recorded waveform (only valid when waveforms are recorded).
RIGOL 2 Command System :SYSTem:KEY:INCRease :SYSTem:KEY:DECRease Syntax :SYSTem:KEY:INCRease [,] :SYSTem:KEY:DECRease [,] Description Rotate the specified knob clockwise or counterclockwise.
RIGOL 2 Command System :SYSTem:LANGuage Syntax :SYSTem:LANGuage :SYSTem:LANGuage? Description Set or query the system language. Parameter Name Type Discrete Range {SCHinese|TCHinese|KORean|JAPanese|ENGLish|GERMan| PORTuguese|POLish} Default -- Return Format The query returns SCH, TCH, KOR, JAP, ENGL, GERM, PORT or POL. :SYSTem:OPTion:INSTall Syntax :SYSTem:OPTion:INSTall Description Install the option.
RIGOL 2 Command System :SYSTem:OPTion:VALid? Syntax :SYSTem:OPTion:VALid? Description Query the status of the options of the oscilloscope. Parameter Name Type Range Default Discrete {TRIGger|DECode|CAN|MEMDepth} -- Explanation TRIGger: advanced trigger option DECode: decoding option CAN: CAN protocol analysis option (include CAN trigger and CAN decoding) MEMDepth: deep memory depth option Return Format The query returns 0, 1, 2 or 3.
RIGOL 2 Command System :SYSTem:PSTatus Syntax :SYSTem:PSTatus :SYSTem:PSTatus? Description Set or query the power status of the oscilloscope. Parameter Name Type Range Default Discrete {DEFault|OPEN} -- Explanation DEFault: you need to press the power key at the front panel to start the oscilloscope after the instrument is energized. OPEN: the oscilloscope starts directly after it is energized. Return Format The query returns DEF or OPEN.
RIGOL 2 Command System :SYSTem:SSAVer:TIME Syntax :SYSTem:SSAVer:TIME :SYSTem:SSAVer:TIME? Description Set or query the screen saver time. Parameter Name Type Discrete Range {1MIN|2MIN|5MIN|15MIN|30MIN| 45MIN|60MIN|2HOur|5HOur|OFF} Default OFF Explanation After the oscilloscope enters idle state for the specified period of time, the screen saver program will be enabled. OFF denotes do not use the screen saver program.
RIGOL 2 Command System :SYSTem:TIME Syntax :SYSTem:TIME ,, :SYSTem:TIME? Description Set or query the system time. Parameter Name Type Range Default Integer 0 to 23 -- Integer 0 to 59 -- Integer 0 to 59 -- Return Format The query returns the current time in string. Note: There is a certain delay between the return time and the set time because of the command response time and other consideration.
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.
RIGOL 2 Command System :TIMebase Commands :TIMebase:DELay:ENABle :TIMebase:DELay:OFFSet :TIMebase:DELay:SCALe :TIMebase[:MAIN]:OFFSet :TIMebase[:MAIN]:SCALe :TIMebase:HREF:MODE :TIMebase:HREF:POSition :TIMebase:MODE :TIMebase:VERNier :TIMebase:DELay:ENABle Syntax :TIMebase:DELay:ENABle :TIMebase:DELay:ENABle? Description Enable or disable the delayed sweep mode; or query the current status of the delayed sweep mode.
RIGOL 2 Command System :TIMebase:DELay:OFFSet Syntax :TIMebase:DELay: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 Real -(LeftTime-DelayRange/2) to (RightTime-DelayRange/2) 0 Note: LeftTime=7×MainScale-MainOffset. For the MainScale, refer to the :TIMebase[:MAIN]:SCALe command. RightTime=7×MainScale+MainOffset. For the MainOffset, refer to the :TIMebase[:MAIN]:OFFSet command.
RIGOL 2 Command System :TIMebase[:MAIN]:OFFSet Syntax :TIMebase[:MAIN]:OFFSet :TIMebase[:MAIN]:OFFSet? Description Set or query the horizontal offset of the main time base and the unit is s.
RIGOL 2 Command System :TIMebase[:MAIN]:SCALe Syntax :TIMebase[:MAIN]:SCALe :TIMebase[:MAIN]:SCALe? Description Set or query the main time base and the unit is s/div. Parameter Name Type Range Default The range differs for different mode Real [2] Normal: 1ns to 1ks [1] : 1us/div ROLL: 200ms to 1ks Note [1] : Refer to the :TIMebase:MODE command. Note [2] : This value is different for different model. For MSO2202A/DS2202A/MSO2202A-S/DS2202A-S, it is 2ns.
RIGOL 2 Command System :TIMebase:HREF:MODE Syntax :TIMebase:HREF:MODE :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 Discrete {CENTer|TPOSition|USER} CENTer Explanation CENTer: when changing the horizontal time base, the oscilloscope expands or compresses the waveform horizontally around the center of the screen.
RIGOL 2 Command System :TIMebase:MODE Syntax :TIMebase:MODE :TIMebase:MODE? Description Set or query the horizontal time base mode. Parameter Name Type Range Default Discrete {MAIN|XY|ROLL} MAIN Return Format The query returns MAIN, XY or ROLL. :TIMebase:VERNier Syntax :TIMebase:VERNier :TIMebase:VERNier? Description Enable or disable the fine adjustment of the horizontal scale; or query the current status of the fine adjustment of the horizontal scale.
RIGOL 2 Command System :TRACe Commands (For MSO2000A-S/DS2000A-S) The [:TRACe] commands are used to set the arbitrary waveform related parameters of the built-in signal source. denotes the corresponding built-in signal source channels and can be 1 or 2. When [:TRACe] is omitted, the operation is applied to Source1 by default.
RIGOL 2 Command System [:TRACe]:DATA:DAC16 Syntax [:TRACe]:DATA:DAC16 VOLATILE,, Description Download binary data block into the volatile memory of the specified signal source.
RIGOL 2 Command System [:TRACe]:DATA:DAC Syntax [:TRACe]:DATA:DAC VOLATILE, {|,[,[,...]]} Description Download binary data block or decimal DAC values to the volatile memory of the specified signal source. Parameter Name Type Range ASCII string Integer 0 to 16383 -- Discrete {1|2} 1 Refer to the Explanation Default -- Explanation denotes the binary data to be downloaded.
RIGOL 2 Command System [:TRACe]:DATA:LOAD? Syntax [:TRACe]:DATA:LOAD? 1 Description Read the specified data packet in the volatile memory of the specified signal source. Parameter Name Type Range Default Discrete {1|2} 1 Return Format The query returns a binary data block. The data block header is #9000032768 followed by 32768 bytes binary data.
RIGOL 2 Command System [:TRACe]:DATA:POINts:INTerpolate Syntax [:TRACe]:DATA:POINts:INTerpolate [:TRACe]:DATA:POINts:INTerpolate? Description Set or query the interpolation mode of the editable points of the arbitrary waveform of the specified signal source channel. Parameter Name Type Range Default Discrete {LINear|OFF} OFF Discrete {1|2} 1 Explanation LINear: linear interpolation. The waveform editor connects two adjacent editable points using a straight line.
RIGOL 2 Command System [:TRACe]:DATA:VALue Syntax [:TRACe]:DATA:VALue VOLATILE,, [:TRACe]:DATA:VALue? VOLATILE, Description Modify or query the decimal value of the specified point in the volatile memory of the specified signal source. Parameter Name Type Range Default Integer 1 to the number of initial points -- Integer 0 to 16383 -- Integer {1|2} 1 Explanation This command is only valid when the current output is volatile waveform.
2 Command System RIGOL :TRIGger Commands :TRIGger:COUPling :TRIGger:HOLDoff :TRIGger:MODE :TRIGger:NREJect :TRIGger:STATus? :TRIGger:SWEep :TRIGger:CAN (Option) :TRIGger:DELay (Option) :TRIGger:DURATion (Option) :TRIGger:EDGe :TRIGger:IIC :TRIGger:NEDGe (Option) :TRIGger:PATTern :TRIGger:PULSe :TRIGger:RS232 :TRIGger:RUNT :TRIGger:SHOLd :TRIGger:SLOPe :TRIGger:SPI :TRIGger:TIMeout (Option) :TRIGger:USB (Option) :TRIGger
RIGOL 2 Command System :TRIGger:COUPling Syntax :TRIGger:COUPling :TRIGger:COUPling? Description Set or query the trigger coupling mode. Parameter Name Type Range Default Discrete {DC|AC|LFReject|HFReject} DC Explanation DC: allow DC and AC components to pass through the trigger path. AC: block the DC components and attanuate signals lower than 75Hz. LFReject: block the DC components and reject the low frequency components (lower than 75kHz).
RIGOL 2 Command System :TRIGger:MODE Syntax :TRIGger:MODE :TRIGger:MODE? Description Set or query the trigger type. Parameter Name Type Discrete Range {EDGE|PULSe|RUNT|WIND|NEDG|SLOPe|VIDeo|PATTern| DELay|TIMeout|DURATion|SHOLd|RS232|IIC|SPI|USB|CAN } Default EDGE 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.
RIGOL 2 Command System :TRIGger:SWEep Syntax :TRIGger:SWEep :TRIGger:SWEep? Description Set or query the trigger mode. Parameter Name Type Range Default 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 :TRIGger:CAN:BAUD? Description Set or query the signal rate of CAN trigger. The unit is b/s.
RIGOL 2 Command System :TRIGger:CAN:BUSer Syntax :TRIGger:CAN:BUSer :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 Integer 10000 to 1000000 50000 Return Format The query returns the user-defined signal rate of CAN trigger in integer. :TRIGger:CAN:SOURce Syntax :TRIGger:CAN:SOURce :TRIGger:CAN:SOURce? Description Set or query the trigger source of CAN trigger.
RIGOL 2 Command System :TRIGger:CAN:STYPe Syntax :TRIGger:CAN:STYPe :TRIGger:CAN:STYPe? Description Set or query the signal type of CAN trigger. Parameter Name Type Range Default Discrete {RX|TX|H|L|DIFFerential} RX Return Format The query returns RX, TX, H, L or DIFF. :TRIGger:CAN:WHEN Syntax :TRIGger:CAN:WHEN :TRIGger:CAN:WHEN? Description Set or query the trigger condition of CAN trigger.
RIGOL 2 Command System :TRIGger:CAN:SPOint Syntax :TRIGger:CAN:SPOint :TRIGger:CAN:SPOint? Description Set or query the sample point (expressed in percentage) of CAN trigger. Parameter Name Type Range Default Integer 5 to 95 50 Return Format The query returns the sample point of CAN trigger in integer. :TRIGger:CAN:FTYPe Syntax :TRIGger:CAN:FTYPe :TRIGger:CAN:FTYPe? Description Set ro query the frame type of CAN trigger (when the trigger condition is FTYPe).
RIGOL 2 Command System :TRIGger:CAN:LEVel Syntax :TRIGger:CAN: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 Range Default Real -5×VerticalScale–OFFSet to +5×VerticalScale–OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANnel:OFFSet command.
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 :TRIGger:DELay:SA? :TRIGger:DELay:SB :TRIGger:DELay:SB? Description Set or query the trigger source of signal source A or B in delay trigger.
RIGOL 2 Command System :TRIGger:DELay:SLOPA :TRIGger:DELay:SLOPB Syntax :TRIGger:DELay:SLOPA :TRIGger:DELay:SLOPA? :TRIGger:DELay:SLOPB :TRIGger:DELay:SLOPB? Description Set or query the edge type of signal source A or B of delay trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG.
RIGOL 2 Command System :TRIGger:DELay:TUPPer Syntax :TRIGger:DELay:TUPPer :TRIGger:DELay:TUPPer? Description Set or query the upper limit of the delay time in delay trigger. Parameter Name Type Real Range When the delay type is LESS: 2ns to 4 s When the delay type is GLESs or GOUT: 12ns to 4s Default 2us Note: For the delay type of delay trigger, please refer to the :TRIGger:DELay:TYPe command.
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 :TRIGger:DURATion:SOURce? Description Set or query the trigger source of duration trigger.
RIGOL 2 Command System :TRIGger:DURATion:TUPPer Syntax :TRIGger:DURATion:TUPPer :TRIGger:DURATion:TUPPer? Description Set or query the upper limit of the duration time in duration trigger. The unit is s. Parameter Name Type Real Range When the trigger condition is LESS: 2ns to 4s When the trigger condition is GLESs: 12ns to 4s Default 2us Note: For the trigger condition of duration trigger, please refer to the :TRIGger:DURAtion:WHEN command.
RIGOL 2 Command System :TRIGger:DURATion:TYPe Syntax :TRIGger:DURATion:TYPe [,[,…[,]]] :TRIGger:DURATion:TYPe? Description Set or query the pattern of each channel in duration trigger. Parameter Name Type Range Default Discrete {H,L,X} X Discrete {H,L,X} X Discrete {H,L,X} X …… …… …… …… Discrete {H,L,X} X Explanation The patterns consist of 2 analog channels and 16 digital channels.
RIGOL 2 Command System :TRIGger:DURAtion:WHEN Syntax :TRIGger:DURATion:WHEN :TRIGger:DURATion:WHEN? Description Set or query the trigger condition in duration trigger. Parameter Name Type Range Default Discrete {GREater|LESS|GLESs} GREater Explanation GREater: you need to specify a time. The oscilloscope triggers when the duration of the pattern is greater than the preset time. LESS: you need to specify a time.
RIGOL 2 Command System :TRIGger:EDGe :TRIGger:EDGe:LEVel :TRIGger:EDGe:SLOPe :TRIGger:EDGe:SOURce :TRIGger:EDGe:LEVel Syntax :TRIGger:EDGe:LEVel :TRIGger:EDGe:LEVel? Description Set or query the trigger level in edge trigger when the trigger source is CHANnel1, CHANnel2 or EXT. The unit is the same with the current amplitude unit.
RIGOL 2 Command System :TRIGger:EDGe:SLOPe Syntax :TRIGger:EDGe:SLOPe :TRIGger:EDGe:SLOPe? Description Set or query the edge type in edge trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative|RFALl} POSitive Explanation POSitive: trigger on the rising edge of the input signal when the voltage level meets the preset trigger level. NEGative: trigger on the falling edge of the input signal when the voltage level meets the preset trigger level.
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 :TRIGger:IIC:ADDRess? Description Set or query the address value in I2C trigger when the trigger condition is Address or A&D.
RIGOL 2 Command System :TRIGger:IIC:AWIDth Syntax :TRIGger:IIC:AWIDth :TRIGger:IIC:AWIDth? Description Set or query the number of bits of the address in I2C trigger when the trigger condition is Address or A&D. Parameter Name Type Range Default Discrete {7|8|10} 7 Explanation To set the trigger condition of I2C trigger, refer to the :TRIGger:IIC:WHEN command. Return Format The query returns 7, 8 or 10.
RIGOL 2 Command System :TRIGger:IIC:CLEVel :TRIGger:IIC:DLEVel Syntax :TRIGger:IIC:CLEVel :TRIGger:IIC:CLEVel? :TRIGger:IIC:DLEVel :TRIGger:IIC:DLEVel? Description Set or query the trigger level in I2C trigger when the channel source of SCL or SDA is CHANnel1 or CHANnel2. The unit is the same with the current amplitude unit.
RIGOL 2 Command System :TRIGger:IIC:DATA Syntax :TRIGger:IIC:DATA :TRIGger:IIC:DATA? Description Set or query the data value in I2C trigger when the trigger condition is Data or A&D. Parameter Name Type Range Default Integer Refer to Explanation 0 Explanation To set the trigger condition of I2C trigger, refer to the :TRIGger:IIC:WHEN command. The maximum range available for is from 0 to 240-1.
RIGOL 2 Command System :TRIGger:IIC:SCL :TRIGger:IIC:SDA Syntax :TRIGger:IIC:SCL :TRIGger:IIC:SCL? :TRIGger:IIC:SDA :TRIGger:IIC:SDA? Description Set or query the SCL or SDA channel source in IIC trigger.
RIGOL 2 Command System :TRIGger:IIC:WHEN Syntax :TRIGger:IIC:WHEN :TRIGger:IIC:WHEN? Description Set or query the trigger condition of I2C trigger. Parameter Name Type Range Default 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. RESTart: trigger when another start condition occurs before a stop condition.
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 :TRIGger:NEDGe:EDGE? Description Set or query the edge number of Nth edge trigger. Parameter Name Type Range Default Integer 1 to 65535 2 Return Format The query returns an integer between 1 and 65535.
RIGOL 2 Command System :TRIGger:NEDGe:LEVel Syntax :TRIGger:NEDGe:LEVel :TRIGger:NEDGe:LEVel? Description Set or query the trigger level in Nth edge trigger when the trigger source is CHANnel1 or CHANnel2. The unit is the same with the current amplitude unit. Parameter Name Type Range Default Real -5×VerticalScale–OFFSet to +5×VerticalScale–OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANnel:OFFSet command.
RIGOL 2 Command System :TRIGger:NEDGe:SOURce Syntax :TRIGger:NEDGe:SOURce :TRIGger:NEDGe:SOURce? Description Set or query the trigger source of Nth egde trigger. Parameter Name Type Discrete Range Default {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10| D11|D12|D13|D14|D15|CHANnel1|CHANnel2} CHANnel1 Return Format The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, CHAN1 or CHAN2.
RIGOL 2 Command System :TRIGger:PATTern :TRIGger:PATTern:LEVel :TRIGger:PATTern:PATTern :TRIGger:PATTern:SOURce :TRIGger:PATTern:LEVel Syntax :TRIGger:PATTern:LEVel , :TRIGger:PATTern:LEVel? Description Set or query the trigger level of CHANnel1 or CHANnel2 in pattern trigger. The unit is the same with the current amplitude unit.
RIGOL 2 Command System :TRIGger:PATTern:PATTern Syntax :TRIGger:PATTern:PATTern [,[,…[,]]] :TRIGger:PATTern:PATTern? Description Set or query the pattern of each channel in pattern trigger. Parameter Name Type Range Default Discrete {H,L,X,R,F} X Discrete {H,L,X,R,F} X Discrete {H,L,X,R,F} X …… …… …… …… Discrete {H,L,X,R,F} X Explanation The patterns consist of 2 analog channels and 16 digital channels.
RIGOL 2 Command System :TRIGger:PATTern:SOURce Syntax :TRIGger:PATTern:SOURce :TRIGger:PATTern:SOURce? Description Set or query the trigger source of pattern trigger. Parameter Name Type Discrete Range {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10| D11|D12|D13|D14|D15|CHANnel1|CHANnel2} Default CHANnel1 Return Format The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, CHAN1 or CHAN2.
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 :TRIGger:PULSe:LEVel? Description Set or query the trigger level in pulse trigger when the trigger source is CHANnel1, CHANnel2 or EXT. The unit is the same with the current amplitude unit.
RIGOL 2 Command System :TRIGger:PULSe:LWIDth Syntax :TRIGger:PULSe:LWIDth :TRIGger:PULSe:LWIDth? Description Set or query the lower limit of the pulse width in pulse trigger. The unit is s. Parameter Name Type Real Range When the trigger condition is PGReater or NGReater: 2ns to 4s When the trigger condition is PGLess or NGLess: 2ns to 3.99s Default 1us Note: For the trigger condition of pulse trigger, please refer to the :TRIGger:PULSe:WHEN command.
RIGOL 2 Command System :TRIGger:PULSe:UWIDth Syntax :TRIGger:PULSe:UWIDth :TRIGger:PULSe:UWIDth? Description Set or query the upper limit of the pulse width in pulse trigger. The unit is s. Parameter Name Type Real Range Default When the trigger condition is PLESs or NLESs: 2ns to 4s When the trigger condition is PGLess or NGLess: 10ns to 4s 2us Note: For the trigger condition of pulse trigger, please refer to the :TRIGger:PULSe:WHEN command.
RIGOL 2 Command System :TRIGger:PULSe:WHEN Syntax :TRIGger:PULSe:WHEN :TRIGger:PULSe:WHEN? Description Set or query the trigger condition of pulse trigger. Parameter Name Type Range Default Discrete {PGReater|PLESs|NGReater|NLESs|PGLess|NGLess} PGReater Explanation PGReater: you need to specify a pulse width (refer to the :TRIGger:PULSe:LWIDth command). The oscilloscope triggers when the positive pulse width of the input signal is greater than the specified pulse width.
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 :TRIGger:RS232:BAUD? Description Set or query the baud rate in RS232 trigger. The unit is bps.
RIGOL 2 Command System :TRIGger:RS232:BUSer Syntax :TRIGger:RS232:BUSer :TRIGger:RS232:BUSer? Description Set or query the user-defined baud rate in RS232 trigger. The unit is bps. Parameter Name Type Range Default Integer 110 to 20000000 9600 Return Format The query returns the user-defined baud rate. :TRIGger:RS232:DATA Syntax :TRIGger:RS232:DATA :TRIGger:RS232:DATA? Description Set or query the data value in RS232 trigger when the trigger condition is Data.
RIGOL 2 Command System :TRIGger:RS232:LEVel Syntax :TRIGger:RS232:LEVel :TRIGger:RS232:LEVel? Description Set or query the trigger level in RS232 trigger when the trigger source is CHANnel1 or CHANnel2. The unit is the same with the current amplitude unit. Parameter Name Type Range Default Real -5×VerticalScale–OFFSet to +5×VerticalScale–OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANnel:OFFSet command.
RIGOL 2 Command System :TRIGger:RS232:SOURce Syntax :TRIGger:RS232:SOURce :TRIGger:RS232:SOURce? Description Set or query the trigger source of RS232 trigger. Parameter Name Type Discrete Range {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10| D11|D12|D13|D14|D15|CHANnel1|CHANnel2} Default CHANnel1 Return Format The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, CHAN1 or CHAN2.
RIGOL 2 Command System :TRIGger:RS232:WHEN Syntax :TRIGger:RS232:WHEN :TRIGger:RS232:WHEN? Description Set or query the trigger condition of RS232 trigger. Parameter Name Type Range Default Discrete {STARt|ERRor|PARity|DATA} STARt Explanation STARt: trigger on the start frame position. ERRor: trigger when error frame is detected. PARity: trigger when check error is detected. DATA: trigger on the last bit of the preset data bits and even-odd check bits.
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 :TRIGger:RUNT:ALEVel? :TRIGger:RUNT:BLEVel :TRIGger:RUNT:BLEVel? Description Set or query the upper limit or lower limit of the trigger level in runt trigger.
RIGOL 2 Command System :TRIGger:RUNT:SOURce Syntax :TRIGger:RUNT:SOURce :TRIGger:RUNT:SOURce? Description Set or query the trigger source of runt trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. :TRIGger:RUNT:POLarity Syntax :TRIGger:RUNT:POLarity :TRIGger:RUNT:POLarity? Description Set or query the pulse polarity of runt trigger.
RIGOL 2 Command System :TRIGger:RUNT:WHEN Syntax :TRIGger:RUNT:WHEN :TRIGger:RUNT:WHEN? Description Set or query the qualifier of runt trigger. Parameter Name Type Range Default 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 the :TRIGger:RUNT:WLOWer command).
RIGOL 2 Command System :TRIGger:RUNT:WUPPer Syntax :TRIGger:RUNT:WUPPer :TRIGger:RUNT:WUPPer? Description Set or query the upper limit of the pulse width in runt trigger. Parameter Name Type Real Range Default When the qualifier is LESS: 2ns to 4s 2us When the qualifier is GLESs: 10ns to 4s Note: For the qualifier of runt trigger, please refer to the :TRIGger:RUNT:WHEN command. Return Format The query returns the upper limit of the pulse width in scientific notation.
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 :TRIGger:SHOLd:CSrc? :TRIGger:SHOLd:DSrc :TRIGger:SHOLd:DSrc? Description Set or query the channel source of SCL or SDA of setup/hold trigger.
RIGOL 2 Command System :TRIGger:SHOLd:HTIMe Syntax :TRIGger:SHOLd:HTIMe :TRIGger:SHOLd:HTIMe? Description Set or query the hold time of setup/hold trigger. Parameter Name Type Range Default 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 the trigger appears. This command is available when the hold type (refer to the :TRIGger:SHOLd:TYPe command) is set to HOLd or SETHOLd.
RIGOL 2 Command System :TRIGger:SHOLd:SLOPe Syntax :TRIGger:SHOLd:SLOPe :TRIGger:SHOLd:SLOPe? Description Set or query the edge type of setup/hold trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG. :TRIGger:SHOLd:STIMe Syntax :TRIGger:SHOLd:STIMe :TRIGger:SHOLd:STIMe? Description Set or query the setup time of setup/hold trigger.
RIGOL 2 Command System :TRIGger:SHOLd:TYPe Syntax :TRIGger:SHOLd:TYPe :TRIGger:SHOLd:TYPe? Description Set or query the hold type of setup/hold trigger. Parameter Name Type Range Default Discrete {SETup|HOLd|SETHOLd} SETup Explanation SETup: the oscilloscope triggers when the setup time is less than the setting value (refer to the :TRIGger:SHOLd:STIMe command).
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 :TRIGger:SLOPe:ALEVel? :TRIGger:SLOPe:BLEVel :TRIGger:SLOPe:BLEVel? Description Set or query the upper limit or lower limit of the trigger level in slope trigger.
RIGOL 2 Command System :TRIGger:SLOPe:TLOWer Syntax :TRIGger:SLOPe:TLOWer :TRIGger:SLOPe:TLOWer? Description Set or query the lower limit of time in slope trigger. The unit is s. Parameter Name Type Real Range When the trigger condition is PGReater or NGReater: 10ns to 1s When the trigger condition is PGLess or NGLess: 10ns to 999ms Default 1us Note: For the trigger condition of slope trigger, please refer to the :TRIGger:SLOPe:WHEN command.
RIGOL 2 Command System :TRIGger:SLOPe:SOURce Syntax :TRIGger:SLOPe:SOURce :TRIGger:SLOPe:SOURce? Description Set or query the trigger source of slope trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2.
RIGOL 2 Command System :TRIGger:SLOPe:WHEN Syntax :TRIGger:SLOPe:WHEN :TRIGger:SLOPe:WHEN? Description Set or query the trigger condition of slope trigger. Parameter Name Type Range Default Discrete {PGReater|PLESs|NGReater|NLESs|PGLess|NGLess} PGReater Explanation PGReater: you need to specify a time value (refer to the :TRIGger:SLOPe:TLOWer command). The oscilloscope triggers when the positive slope time of the input signal is greater than the specified time.
RIGOL 2 Command System :TRIGger:SLOPe:WINDow Syntax :TRIGger:SLOPe:WINDow :TRIGger:SLOPe:WINDow? Description Set or query the vertical window type in slope trigger. Parameter Name Type Range Default Discrete {TA|TB|TAB} TA Explanation Different vertical windows correspond to different trigger level adjustment modes. TA: only adjust the upper limit of the trigger level. TB: only adjust the lower limit of the trigger level.
RIGOL 2 Command System :TRIGger:SPI :TRIGger:SPI:CLEVel :TRIGger:SPI:DLEVel :TRIGger:SPI:DATA :TRIGger:SPI:SCL :TRIGger:SPI:SDA :TRIGger:SPI:SLOPe :TRIGger:SPI:TIMeout :TRIGger:SPI:WIDTh :TRIGger:SPI:CLEVel :TRIGger:SPI:DLEVel Syntax :TRIGger:SPI:CLEVel :TRIGger:SPI:CLEVel? :TRIGger:SPI:DLEVel :TRIGger:SPI:DLEVel? Description Set or query the trigger level in SPI trigger when the channel source of SCL or SDA is CHANnel1 or CHANnel2.
RIGOL 2 Command System :TRIGger:SPI:DATA Syntax :TRIGger:SPI:DATA :TRIGger:SPI:DATA? Description Set or query the data value in SPI trigger. Parameter Name Type Integer Range n 0 to 2 -1 Default 0 n Note: In the expression 2 -1, n is the current data bits (refer to the :TRIGger:SPI:WIDTh command). Return Format The query returns the data value in SPI trigger in integer.
RIGOL 2 Command System :TRIGger:SPI:SLOPe Syntax :TRIGger:SPI:SLOPe :TRIGger:SPI:SLOPe? Description Set or query the edge type of the clock signal in SPI trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG. :TRIGger:SPI:TIMeout Syntax :TRIGger:SPI:TIMeout :TRIGger:SPI:TIMeout? Description Set or query the timeout time in SPI trigger when the trigger condition is Timeout. The unit is s.
RIGOL 2 Command System :TRIGger:SPI:WIDTh Syntax :TRIGger:SPI:WIDTh :TRIGger:SPI:WIDTh? Description Set or query the number of bits of data in SPI trigger. Parameter Name Type Range Default Integer 4 to 32 8 Return Format The query returns the number of bits of data in 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 :TRIGger:TIMeout:SOURce? Description Set or query the trigger source of timeout trigger.
RIGOL 2 Command System :TRIGger:TIMeout:SLOPe Syntax :TRIGger:TIMeout:SLOPe :TRIGger:TIMeout:SLOPe? Description Set or query the edge type of timeout trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative|ALTernate} POSitive Explanation POSitive: start timing when the rising edge of the input signal passes through the trigger level. NEGative: start timing when the falling 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 :TRIGger:USB:DMINus? :TRIGger:USB:DPLus :TRIGger:USB:DPLus? Description Set or query the channel source of the D- or D+ data line in USB trigger.
RIGOL 2 Command System :TRIGger:USB:MLEVel :TRIGger:USB:PLEVel Syntax :TRIGger:USB:MLEVel :TRIGger:USB:MLEVel? :TRIGger:USB:PLEVel :TRIGger:USB:PLEVel? Description Set or query the trigger level in USB trigger when the channel source of the D- or D+ data line is CHANnel1 or CHANnel2. The unit is the same with the current amplitude unit.
RIGOL 2 Command System :TRIGger:USB:WHEN Syntax :TRIGger:USB:WHEN :TRIGger:USB:WHEN? Description Set or query the trigger condition of USB trigger. Parameter Name Type Range Default Discrete {SOP|EOP|RC|SUSPend|EXITsuspend} SOP Explanation SOP: trigger at the sync bit at the start of the data packet (SOP). EOP: trigger at the end of the SEO portion of the EOP of the data packet. RC: trigger when SEO is greater than 10ms.
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 :TRIGger:VIDeo:MODE? Description Set or query the sync type in video trigger Parameter Name Type Range Default Discrete {ODDField|EVENfield|LINE|ALINes} ALINes Note: When the video standard is HDTV, the sync type could only be set to
RIGOL 2 Command System :TRIGger:VIDeo:LEVel Syntax :TRIGger:VIDeo:LEVel :TRIGger:VIDeo:LEVel? Description Set or query the trigger level in video trigger. The unit is the same with the current amplitude unit. Parameter Name Type Range Default Real -5×VerticalScale–OFFSet to +5×VerticalScale–OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANnel:OFFSet command.
RIGOL 2 Command System :TRIGger:VIDeo:LINE Syntax :TRIGger:VIDeo:LINE :TRIGger:VIDeo:LINE? Description Set or query the line number in video trigger when the sync type is Line (refer to :TRIGger:VIDeo:MODE command).
RIGOL 2 Command System :TRIGger:VIDeo:POLarity Syntax :TRIGger:VIDeo:POLarity :TRIGger:VIDeo:POLarity? Description Set or query the video polarity in video trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative} NEGative Return Format The query returns POS or NEG. :TRIGger:VIDeo:SOURce Syntax :TRIGger:VIDeo:SOURce :TRIGger:VIDeo:SOURce? Description Set or query the trigger source of video trigger.
RIGOL 2 Command System :TRIGger:VIDeo:STANdard Syntax :TRIGger:VIDeo:STANdard :TRIGger:VIDeo:STANdard? Description Set or query the video standard in video trigger. Parameter Name Type Discrete Range Default {PALSecam|NTSC|480P|576P|720P60HZ|720P50HZ|720P30HZ| 720P25HZ|720P24HZ|1080P60HZ|1080P50HZ|1080P30HZ| NTSC 1080P25HZ|1080P24HZ|1080I30HZ|1080I25HZ|1080I24HZ} Return Format The query returns the video standard selected.
RIGOL 2 Command System :TRIGger:WINDows (Option) :TRIGger:WINDows:POSition :TRIGger:WINDows:TIMe :TRIGger:WINDows:SOURce :TRIGger:WINDows:SLOPe :TRIGger:WINDows:POSition Syntax :TRIGger:WINDows:POSition :TRIGger: WINDows:POSition? Description Set or query the trigger position of windows trigger. Parameter Name Type Range Default Discrete {EXIT|ENTER|TIMe} ENTER Explanation EXIT: trigger when the input signal exits the specified trigger level range.
RIGOL 2 Command System :TRIGger:WINDows:TIMe Syntax :TRIGger:WINDows:TIMe :TRIGger: WINDows:TIMe? Description Set or query the windows time of windows trigger. Parameter Name Type Range Default Real 16ns to 4s 1us Explanation This command is only available when the trigger position of windows trigger (refer to the :TRIGger:WINDows:POSition command) is set to TIMe. Return Format The query returns the windows time in scientific notation.
RIGOL 2 Command System :TRIGger:WINDows:SLOPe Syntax :TRIGger:WINDows:SLOPe :TRIGger: WINDows:SLOPe? Description Set or query the windows type of windows trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative|RFALl} POSitive Explanation POSitive: trigger on the rising edge of the input signal when the voltage level is greater than the preset high trigger level.
RIGOL 2 Command System :WAVeform Commands The :WAVeform commands are used to read the waveform data and its related settings. The :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:SOURce :WAVeform:MODE :WAVeform:FORMat :WAVeform:POINts :WAVeform:DATA? :WAVeform:XINCrement? :WAVeform:XORigin? :WAVeform:XREFerence? :WAVeform:YINCrement? :WAVeform:YORigin? :WAVeform:YREFerence? :WAVeform:STARt :WAVeform:STOP :WAVeform:BEGin :WAVeform:END :WAVeform:RESet :WAVeform:PREamble? :WAVeform:STATus? :WAVeform:SOURce Syntax :WAVeform:SOURce :WAVeform:SOURce? Description Set or query
RIGOL 2 Command System :WAVeform:MODE Syntax :WAVeform:MODE :WAVeform:MODE? Description Set or query the data reading mode of the :WAVeform:DATA? Command. Parameter Name Type Range Default Discrete {NORMal|RAW|MAXimum} NORMal Explanation NORMal: read the waveform data currently displayed on the screen. RAW: read the waveform data in the internal memory.
RIGOL 2 Command System :WAVeform:FORMat Syntax :WAVeform:FORMat :WAVeform:FORMat? Description Set or query the return format of the waveform data. Parameter Name Type Range Default Discrete {WORD|BYTE|ASCii} BYTE Explanation WORD: each waveform point occupies two bytes (namely 16 bits). The lower 8 bits are valid and the higher 8 bits are 0. BYTE: each waveform point occupies one byte (namely 8 bits). ASCii: return the waveform point in character value format.
RIGOL 2 Command System :WAVeform:DATA? Syntax :WAVeform:DATA? Description Read the waveform data. Explanation This command is affected by the :WAVeform:FORMat, :WAVeform:MODE, :WAVeform:POINts, :WAVeform:SOURce and related commands. Procedures of the screen waveform data reading: S1. :WAV:SOUR CHAN1 Set the channel source to be read S2. :WAV:MODE NORM Set the waveform mode to NORM S3. :WAV:DATA? Obtain data from the buffer Procedures of the internal memory waveform data reading: S1.
RIGOL 2 Command System while (true) { Thread.Sleep( 100 ); visa32.viPrintf(viSession, ":WAV:STATus?\n"); visa32.viScanf(viSession, "%s", strBuild); if (strBuild[0] == 'I') //IDLE { visa32.viPrintf(viSession, ":WAV:DATA?\n"); visa32.viRead(viSession, wfmBuf, wfmBuf.Length, out readCnt); readSum += ( readCnt -12); readTim++; Console.WriteLine("{0}: Read {1} Sum {2}" , readTim, readCnt, readSum); return readSum; } else { visa32.viPrintf(viSession, ":WAV:DATA?\n"); visa32.viRead(viSession, wfmBuf, wfmBuf.
RIGOL 2 Command System position in Y direction)×VerticalScale-OFFSet. For the vertical reference position in Y direction, refer to the:WAVeform:YREFerence? Command; for the VerticalScale, refer to the :CHANnel:SCALe command and for the OFFSet, refer to the :CHANnel:OFFSet command. Denoter Note: When the return format of the waveform data is set to ASCii (refer to the :WAVeform:FORMat command), the query returns the actual voltage of each point of the waveform on the screen in scientific notation.
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 the :WAVeform:SOURce command) in the X direction. The unit is s. Explanation The return value is related to the current data reading mode: In NORMal mode, the query returns the start time of the waveform data displayed on the screen. In RAW mode, the query returns the start time of the waveform data in the internal memory.
2 Command System RIGOL :WAVeform:YINCrement? Syntax :WAVeform:YINCrement? Description Query the voltage value per unit of the channel source currently selected (refer to the :WAVeform:SOURce command) in the Y direction. The unit is the same with the unit of the signal source. Explanation YINCrement=VerticalScale/25 Return Format The query returns the voltage value per unit of the channel source currently selected in the Y direction in scientific notation.
RIGOL 2 Command System :WAVeform:STARt Syntax :WAVeform:STARt :WAVeform:STARt? Description Set or query the start position of internal memory waveform reading. Parameter Name Type Range Default NORMal: 1 to 1400 Integer MAX: 1 to the number of effective point currently on the screen 1 RAW: 11 to the current maximum memory depth Explanation For the memory depth, refer to the :ACQuire:MDEPth command.
RIGOL 2 Command System :WAVeform:STOP Syntax :WAVeform:STOP :WAVeform:STOP? Description Set or query the stop position of internal memory waveform reading. Parameter Name Type Range Default NORMal: 1 to 1400 Integer MAX: 1 to the number of effective point currently on the screen 1400 RAW: 1 to the current maximum memory depth Explanation For the memory depth, refer to the :ACQuire:MDEPth command.
RIGOL 2 Command System :WAVeform:RESet Syntax :WAVeform:RESet Description Reset the waveform reading. :WAVeform:PREamble? Syntax :WAVeform:PREamble? Description Query and return all the waveform parameters. Return Format The query returns 10 waveform parameters separated by ",": ,,,,,,,, , Wherein, : 0 (BYTE), 1 (WORD) or 2 (ASC). Refer to the :WAVeform:FORMat command.
2 Command System RIGOL :WAVeform:STATus? Syntax :WAVeform:STATus? Description Query and return the current waveform reading state. Return Format The quey returns IDLE,n or READ,n. Wherein; IDLE: the waveform reading thread finishes. READ: the waveform reading thread is running. n: the current number of waveform points to be read.
3 Programming Demos RIGOL 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. NI-VISA (National Instrument-Virtual Instrument Software Architecture) is an advanced application programming interface developed by NI (National Instrument) and is used for communication with various instrument buses.
RIGOL 3 Programming Demos Programming Preparations Before programming, make the following preparations. 1. Install the Ultra Sigma common PC software. You can acquire the software from the resource CD in the standard accessories or 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.
3 Programming Demos RIGOL 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. 1. Create a new Excel file. In this demo, the file is named as IDN.xls. 2. Run the IDN.xls file. Click FileOptions at the upper-left corner of the Excel file to open the interface as shown in the figure below. Click Customize Ribbon at the right, check Developer and click OK.
RIGOL 3. 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. 4. 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.
3 Programming Demos RIGOL 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. (2) Click Browse… at the right and set the search range to C:\WINDOWS\system32 and the filename to visa32.dll, as shown in the figure below. 5. Click View Code in the Developer menu to enter the Microsoft Visual Basic interface. Add the following codes and save the file.
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 6. 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. At this point, the Assign Macro interface is displayed, select “Sheet1.QueryIdn” and click “OK”. 7.
3 Programming Demos RIGOL 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 MSO2000A_Demo_LABVIEW. 2. Add the VISA resource name and Waveform Graph controls, as shown in the figures below.
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. 4. Connect the VISA resource name with the VISA Open. Then, connect the VISA resource name outputs of all the functions with the VISA resource name and connect the error output with the error input as shown in the figure below. 5.
3 Programming Demos 6. RIGOL 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. For example, for : #9000001400XXXX, 9 bytes are used to describe the length of the data, 000001400 represents the length of the waveform data (namely 1400 bytes).
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 Programming Demos RIGOL 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. 1. Run the Matlab software and modify the current directory (namely modify the Current Directory at the top of the software). In this demo, the current directory is modified to D:\MSO2000A_Demo\MATLAB. 2. Click File New Blank M-File in the Matlab interface to create an empty M file.
RIGOL 3 Programming Demos fftRms = abs( fftSpec'); fftLg = 20*log(fftRms); subplot(212); plot(fftLg); 3. Save the M file under the current directory. In this demo, the M file is named as MSO2000A_Demo_MATLAB.m. Run the M file and the running result is as follows.
3 Programming Demos RIGOL 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. 1. Build a standard application program project (Standard EXE) and name it as MSO2000A_Demo_VB. 2. Click the Existing tab of ProjectAdd Module. Search for the visa32.bas file in the include folder under the NI-VISA installation path and add the file. 3. Add two buttons to represent CH1 and CH2 respectively.
RIGOL 5. 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.
3 Programming Demos RIGOL 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. 1. Run Microsoft Visual C++ 6.0 and create a MFC project based on dialog box. In this demo, the project is named as MSO2000A_Demo_VC. 2.
RIGOL 4. 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. At present, VISA library has been added. 5.
3 Programming Demos 3) Open the General item in Edit Box attribute and select Disabled. 4) Name Button as Send and Read. RIGOL 7. Add the variables m_combox and m_receive for the Combo Box and Edit controls respectively. 8. Add codes. Double-click Send and Read to enter the programming environment. Declare the #include of the visa library in the header file and then add the following codes.
RIGOL 3 Programming Demos ViFindList list; viOpenDefaultRM (&defaultRM); // Acquire the USB resource of visa viFindRsrc(defaultRM, "USB?*", &list,&nmatches, matches); viOpen (defaultRM,matches,VI_NULL,VI_NULL,&vi); viPrintf (vi, "*RST\n"); // Send the command received m_combox.GetLBText(m_combox.