RIGOL Programming Guide DS2000 Series Digital Oscilloscope Jul. 2012 RIGOL Technologies, Inc.
RIGOL Guaranty and Declaration Copyright © 2012 RIGOL Technologies, Inc. All Rights Reserved. Trademark Information RIGOL is a registered trademark of RIGOL Technologies, Inc. Publication Number PGA13100-1110 Notices RIGOL products are protected by patent law in and outside of P.R.C. RIGOL reserves the right to modify or change parts of or all the specifications and pricing policies at company’s sole decision. Information in this publication replaces all previously corresponding material.
RIGOL Document Overview This manual introduces how to program and control RIGOL DS2000 series digital oscilloscope using SCPI commands through remote interfaces. DS2000 can communicate with the PC via USB, LAN or GPIB (with the RIGOL USB-GPIB interface converter) interface.
RIGOL Contents Guaranty and Declaration .......................................................................... I Document Overview ................................................................................. II 1 SCPI Overview .................................................................................... 1-1 Syntax .................................................................................................... 1-2 Symbol Description .......................................................
RIGOL :BUS:DISPlay ........................................................................... 2-29 :BUS:FORMat........................................................................... 2-30 :BUS:EVENt ............................................................................. 2-31 :BUS:EEXPort .......................................................................... 2-32 :BUS:PARallel .......................................................................... 2-33 :BUS:RS232 .........
RIGOL :DISPlay:CLEar ............................................................................. 2-171 :DISPlay:TYPE .............................................................................. 2-172 :DISPlay:GRADing:TIME ................................................................ 2-173 :DISPlay:WBRightness .................................................................. 2-174 :DISPlay:GRID ..............................................................................
RIGOL :MASK:FAILed? ............................................................................. 2-242 :MASK:TOTal?............................................................................... 2-243 :MASK:RESet ................................................................................ 2-244 :MASK:DATA................................................................................. 2-245 :MEASure Subsystem ...........................................................................
RIGOL :MEASure:RPHase? ....................................................................... 2-345 :MEASure:VAMP? .......................................................................... 2-351 :MEASure:VAVG? .......................................................................... 2-357 :MEASure:VBASe? ......................................................................... 2-363 :MEASure:VMAX? .......................................................................... 2-369 :MEASure:VMIN? ...........
RIGOL :TIMebase:VERNier ....................................................................... 2-427 :TRIGger Subsystem ........................................................................... 2-428 :TRIGger:MODE ........................................................................... 2-429 :TRIGger:COUPling ....................................................................... 2-430 :TRIGger:STATus?......................................................................... 2-431 :TRIGger:SWEep .....
RIGOL :WAVeform:STOP .......................................................................... 2-567 :WAVeform:BEGin ......................................................................... 2-568 :WAVeform:END ........................................................................... 2-569 :WAVeform:RESet ......................................................................... 2-570 :WAVeform:PREamble? ................................................................. 2-571 :WAVeform:STATus? ...........
1 SCPI Overview RIGOL 1 SCPI Overview SCPI (abbreviation for Standard Commands for Programmable Instruments) is a standard command set for program control instrument (programmable instrument). SCPI is build upon the existing IEEE488.1 and IEEE 488.2 standards and conforms to various standardized instrument programming languages such as the floating-point aritmetic rule of IEEE754 standard and 7-bit coded character of ISO646 information interchange (equivalent to ASCll programming).
RIGOL 1 SCPI Overview Syntax The command string usually starts with ":", the keywords are separated by ":" and are followed by the parameter settings available, "?" is added at the end of the command string to indicate query and the command and parameter are separated by space. For example, :CALCulate:ADVanced:EXPRession :CALCulate:ADVanced:EXPRession? CALCulate is the root keyword of the command. ADVance and EXPRession are the second-level and third-level keywords respectively.
1 SCPI Overview RIGOL Symbol Description The following symbols will not be sent with the command. 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.
RIGOL 1 SCPI Overview Parameter Type 1. Bool The parameter could be OFF, ON, 0 or 1. For example, :MEASure:ADISplay :MEASure:ADISplay? Wherein, can be set to {{0|OFF}|{1|ON}}. The query returns 0 or 1. 2. Discrete The parameter could be any of the values listed. For example, :ACQuire:TYPE :ACQuire:TYPE? Wherein, can be set to NORMal|AVERages|PEAK|HRESolution. The query returns the abbreviations (NORM, AVER, PEAK or HRES). 3.
1 SCPI Overview RIGOL (namely 100 ns) and 10 or 0.1e+02 (namely 10 s). The query returns a real number in scientific notation. 5. ASCII String The parameter should be the combinations of ASCII characters. For example, :CALCulate:ADVanced:EXPRession :CALCulate:ADVanced:EXPRession? Wherein, can be set to CH1+CH2 The query returns the ASCII character string.
RIGOL 1 SCPI Overview Command Abbreviation Since all commands are case-insensitive, you can use any of them. But if abbreviation is used, all the capital letters in the command must be written completely.
2 Command System RIGOL 2 Command System This chaper introduces the command subsystems in the DS2000 command set. Note that the explanations and parameter ranges here are based on DS2202. Main topics of this chapter: :AUToscale :CLEar :RUN :SINGle :STOP :TFORce :TLHAlf IEEE 488.
RIGOL 2 Command System :AUToscale Syntax :AUToscale Description Enable the auto setting function. Explanation This command is not available when the current state of the Pass/Fail function is “Enable Test”. For details, refer to the :MASK:ENABle command. The oscilloscope will adjust the vertical scale, horizontal time base and trigger mode for optimum display of the waveform.
2 Command System RIGOL :CLEar Syntax :CLEar Description Clear all the waveforms on the screen. Explanation Waveform will still be displayed if the oscilloscope is in RUN state.
RIGOL 2 Command System :RUN Syntax :RUN Description Start the oscilloscope. Explanation You can use the :STOP command to set the oscilloscope to STOP.
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 or STOP state respectively.
RIGOL 2 Command System :STOP Syntax :STOP Description Stop the oscilloscope. Explanation You can use the :RUN command to set the oscilloscope to Run.
2 Command System RIGOL :TFORce Syntax :TFORce Description Generate a trigger signal forcefully. Explanation Force trigger is applicable to normal and single trigger modes.
RIGOL 2 Command System :TLHAlf Syntax :TLHAlf Description Set the trigger level to the vertical midpoint of the trigger signal amplitude.
2 Command System RIGOL IEEE 488.2 Common Commands IEEE 488.2 standard defines some common commands used for querying the basic information of the instrument or executing basic operations. These commands usually start with "*" and the keyword of the command is usually 3-character long.
RIGOL 2 Command System *CLS Syntax *CLS Description Clear all the event registers in the register set and clear the error queue.
RIGOL 2 Command System *ESE Syntax *ESE *ESE? Description Set enable register for the standard event register set. Query the current value of the enable register of the standard event register set. Parameter Name Type Range Default Integer 0 to 255 0 Explanation is the sum of the weights 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 Example *ESE 16 The query returns 16 (bit 4 is enabled).
RIGOL 2 Command System *ESR? Syntax *ESR? Description Query the current value of 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.
RIGOL 2 Command System *IDN? Syntax *IDN? Description Query the current device information. Return Format Rigol Technologies,,,X.XX.XX : the model number of the instrument. : the serial number of the instrument. X.XX.XX: the software version of the instrument. Example *IDN? The query returns RIGOL TECHNOLOGIES,DS2202,DS2A0000000001,00.00.01.
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.
RIGOL 2 Command System *RST Syntax *RST Description Restore the instrument to the default values.
RIGOL 2 Command System *SRE Syntax *SRE *SRE? Description Set the enable register for the state byte register set. Query the current value of the enable register of the state byte register set. Parameter Name Type Range Default Integer 0 to 255 0 Explanation is the sum of the weights 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 Example *SRE 16 The query returns 16 (bit 4 is enabled).
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. 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 in the figure below. The bit that is not used is always 0.
2 Command System RIGOL :ACQuire Subsystem :ACQuire:AVERages :ACQuire:MDEPth :ACQuire:SRATe? :ACQuire:TYPE :ACQuire:AALias DS2000 Programming Guide 2-21
RIGOL 2 Command System :ACQuire:AVERages Syntax :ACQuire:AVERages :ACQuire:AVERages? Description Set the number of averages and the value should be a power function of 2. Query the current number of averages of the oscilloscope. Parameter Name Type Range Default Integer 2 to 8192 2 Explanation Use the :ACQuire:TYPE command to select the average acquisition mode.
RIGOL 2 Command System :ACQuire:MDEPth Syntax :ACQuire:MDEPth :ACQuire:MDEPth? Description Set the memory depth of the oscilloscope namely the number of waveform points that can be stored in a single trigger sample. Query the current memory depth of the oscilloscope. Parameter Name Type Range Default Discrete Refer to Explanation AUTO Explanation When a single channel is on: can be set to AUTO|14000|140000|1400000|14000000|56000000.
RIGOL 2 Command System :ACQuire:SRATe? Syntax :ACQuire:SRATe? Description Query the current sample rate. Return Format The query returns the sample rate in scientific notation. Example :ACQuire:SRATe? The query returns 2.000000e+09.
RIGOL 2 Command System :ACQuire:TYPE Syntax :ACQuire:TYPE :ACQuire:TYPE? Description Set the acquisition mode of the sample. Query the current acquisition mode of the sample. Parameter Name Type Range Default Discrete {NORMal|AVERages|PEAK|HRESolution} NORMal Explanation When AVERages is selected, use the :ACQuire:AVERages command to set the number of averages. Return Format The query returns NORM, AVER, PEAK or HRES. Example :ACQuire:TYPE AVERages The query returns AVER.
RIGOL 2 Command System :ACQuire:AALias Syntax :ACQuire:AALias :ACQuire:AALias? Description Enable or disable the antialiasing function of the oscilloscope. The query returns the current state of the antialiasing function of the oscilloscope. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :ACQuire:AALias ON The query returns 1.
2 Command System RIGOL :BUS Subsystems :BUS:MODE :BUS:DISPlay :BUS:FORMat :BUS:EVENt :BUS:EEXPort :BUS:PARallel :BUS:RS232 :BUS:IIC :BUS:SPI DS2000 Programming Guide 2-27
RIGOL 2 Command System :BUS:MODE Syntax :BUS:MODE :BUS:MODE? Description Set the decoding mode of bus 1 or 2. Query the current decoding mode of bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {PARallel|RS232|IIC|SPI} PARallel Return Format The query returns PAR, RS232, IIC or SPI. Example :BUS1:MODE SPI The query returns SPI.
RIGOL 2 Command System :BUS:DISPlay Syntax :BUS:DISPlay :BUS:DISPlay? Description Enable or disable the display of bus 1 or 2. Query the current display status of bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :BUS1:DISPlay ON The query returns 1.
RIGOL 2 Command System :BUS:FORMat Syntax :BUS:FORMat :BUS:FORMat? Description Set the display format of bus 1 or 2 to hexadecimal, decimal, binary or ASCII. Query the current display format of bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {HEX|DEC|BIN|ASCii} HEX Return Format The query returns HEX, DEC, BIN or ASC. Example :BUS1:FORMat DEC The query returns DEC.
RIGOL 2 Command System :BUS:EVENt Syntax :BUS:EVENt :BUS:EVENt? Description Enable or disable the event table of bus 1 or bus 2. Query the current status of the event table of bus 1 or bus 2. Parameter Name Type Range Default Discrete {1|2} -- Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :BUS1:EVENt ON The query returns 1.
RIGOL 2 Command System :BUS:EEXPort Syntax :BUS:EEXPort Description Export the event table of bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Explanation The data list can be exported to external USB storage device in CSV format if USB storage device is currently connected.
2 Command System RIGOL :BUS:PARallel :BUS:PARallel:CLK :BUS:PARallel:SLOPe :BUS:PARallel:BSET :BUS:PARallel:THReshold :BUS:PARallel:OFFSet DS2000 Programming Guide 2-33
RIGOL 2 Command System :BUS:PARallel:CLK Syntax :BUS:PARallel:CLK :BUS:PARallel:CLK? Description Set the clock channel source of parallel decoding on bus 1 or 2. Query the current clock channel source of parallel decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {CHANnel1|CHANnel2|OFF} OFF Explanation When OFF is selected, no clock channel is set and the oscilloscope samples data once the channel data jumps.
RIGOL 2 Command System :BUS:PARallel:SLOPe Syntax :BUS:PARallel:SLOPe :BUS:PARallel:SLOPe? Description Set the oscilloscope to sample the channel data on the rising edge, falling edge or rising&falling edges of the clock. Query on which kind of edge of the clock the oscilloscope samples the data channel.
RIGOL 2 Command System :BUS:PARallel:BSET Syntax :BUS:PARallel:BSET ,,… :BUS:PARallel:BSET? Description This command specifies channel source for each bit and sets the data width (up to 20bits: from bit 0 to bit 19). Query the current channel source of each bit. Parameter Name Type Range Default Discrete {1|2} -- Discrete {CHANnel1|CHANnel2 } CHANnel1 Discrete {CHANnel1|CHANnel2 CHANnel2 Discrete {CHANnel1|CHANnel2 } CHANnel1 ... ... ...
RIGOL 2 Command System :BUS:PARallel:THReshold Syntax :BUS:PARallel:THReshold , :BUS:PARallel:THReshold? Description Set the threshold of the channel of parallel decoding on bus 1 or 2. Query the current threshold of the channel of parallel decoding on bus 1 or 2.
RIGOL 2 Command System :BUS:PARallel:OFFSet Syntax :BUS:PARallel:OFFSet :BUS:PARallel:OFFSet? Description Set the vertical offset in parallel decoding on bus 1 or 2. Enable the display of the bus (refer to the :BUS:DISPlay command), before using this command. Query the current vertical offset in parallel decoding on bus 1 or bus 2.
2 Command System RIGOL :BUS:RS232 :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 DS2000 Programming Guide 2-39
RIGOL 2 Command System :BUS:RS232:TX Syntax :BUS:RS232:TX :BUS:RS232:TX? Description Set the transmitting channel of RS232 decoding on bus 1 or 2 or do not set this channel. Query the current transmitting channel of RS232 decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {CHANnel1|CHANnel2|OFF} CHANnel1 Return Format The query returns CHAN1, CHAN2 or OFF. Example :BUS1:RS232:TX CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :BUS:RS232:RX Syntax :BUS:RS232:RX :BUS:RS232:RX? Description Set the receiving channel of RS232 decoding on bus 1 or 2 or do not set this channel. Query the current receiving channel of RS232 decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {CHANnel1|CHANnel2|OFF} CHANnel2 Return Format The query returns CHAN1, CHAN2 or OFF. Example :BUS1:RS232:RX CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :BUS:RS232:POLarity Syntax :BUS:RS232:POLarity :BUS:RS232:POLarity? Description Set the polarity of RS232 decoding on bus 1 or 2. Query the current polarity of RS232 decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {POSitive|NEGative} NEGative Return Format The query returns POS or NEG. Example :BUS1:RS232:POLarity NEGative The query returns NEG.
RIGOL 2 Command System :BUS:RS232:ENDian Syntax :BUS:RS232:ENDian :BUS:RS232:ENDian? Description Set the endian of data transmission of RS232 decoding on bus 1 or 2. Query the current endian of data transmission of RS232 decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {MSB|LSB} LSB Return Format The query returns MSB or LSB. Example :BUS1:RS232:ENDian MSB The query returns MSB.
RIGOL 2 Command System :BUS:RS232:BAUD Syntax :BUS:RS232:BAUD :BUS:RS232:BAUD? Description Set the baud rate of data transmission of RS232 decoding on bus 1 or 2. Query the current baud rate of data transmission of RS232 decoding on bus 1 or 2.
RIGOL 2 Command System :BUS:RS232:BUSer Syntax :BUS:RS232:BUSer :BUS:RS232:BUSer? Description Set the user-defined baud rate of data transmission in RS232 decoding on bus 1 or 2. Query the current user-defined baud rate of RS232 decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Integer 50 to 1000000 9600 Return Format The query returns the current baud rate and the unit is bps. Example :BUS1:RS232:BUSer 19200 The query returns 19200.
RIGOL 2 Command System :BUS:RS232:DBITs Syntax :BUS:RS232:DBITs :BUS:RS232:DBITs? Description Set the data width of RS232 decoding on bus 1 or 2. Query the current data width of RS232 decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {5|6|7|8|9} 8 Return Format The query returns 5, 6, 7, 8 or 9. Example :BUS1:RS232:DBITs 7 The query returns 7.
RIGOL 2 Command System :BUS:RS232:SBITs Syntax :BUS:RS232:SBITs :BUS:RS232:SBITs? Description Set the stop bit after each frame of data in RS232 decoding on bus 1 or 2. Query the current stop bit after each frame of data in RS232 decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {1|1.5|2} 1 Return Format The query returns 1, 1.5 or 2. Example :BUS1:RS232:SBITs 2 The query returns 2.
RIGOL 2 Command System :BUS:RS232:PARity Syntax :BUS:RS232:PARity :BUS:RS232:PARity? Description Set the even-odd check mode of data transmission of RS232 decoding on bus 1 or 2. Query the current even-odd check mode of data transmission of RS232 decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {NONE|ODD|EVEN} NONE Return Format The query returns NONE, ODD or EVEN. Example :BUS1:RS232:PARity NONE The query returns NONE.
RIGOL 2 Command System :BUS:RS232:PACKet Syntax :BUS:RS232:PACKet :BUS:RS232:PACKet? Description Enable or disable the packet end in data transmission. Query the current status of the packet end in data transmission. Parameter Name Type Range Default Discrete {1|2} -- Bool {{0|OFF}|{1|ON}} 0|OFF Explanation When the packet end is enabled, several data blocks are combined according to the packet end. Return Format The query returns 0 or 1.
RIGOL 2 Command System :BUS:RS232:PEND Syntax :BUS:RS232:PEND :BUS:RS232:PEND? Description Set the packet end of data transmission. Query the current packet end of data transmission. Parameter Name Type Range Default Discrete {1|2} -- Discrete {NULL|LF|CR|SP|FF} NULL Explanation The hexadecimal numbers corresponding to the parameters are as follows. NULL: 00; LF: 0A; CR: 0D; SP: 20; FF: FF. Return Format The query returns NULL, LF, CR, SP or FF.
RIGOL 2 Command System :BUS:RS232:TTHReshold Syntax :BUS:RS232:TTHReshold :BUS:RS232:TTHReshold? Description Set the threshold of the transmitting channel of R232 decoding on bus 1 or 2. Query the current threshold of the transmitting channel of R232 decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Real ± 5 × VerticalScale from the screen center - OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :BUS:RS232:RTHReshold Syntax :BUS:RS232:RTHReshold :BUS:RS232:RTHReshold? Description Set the threshold of the receiving channel of R232 decoding on bus 1 or 2. Query the current threshold of the receiving channel of R232 decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Real ± 5 × VerticalScale from the screen center - OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :BUS:RS232:OFFSet Syntax :BUS:RS232:OFFSet :BUS:RS232:OFFSet? Description Set the vertical offset in RS232 decoding on bus 1 or 2. Before using this command, enable the bus display (refer to the :BUS:DISPlay command). Query the current vertical offset in RS232 decoding on bus 1 or 2.
RIGOL 2 Command System :BUS:IIC :BUS:IIC:SCLK:SOURce :BUS:IIC:SCLK:THReshold :BUS:IIC:SDA:SOURce :BUS:IIC:SDA:THReshold :BUS:IIC:OFFSet 2-54 2-54 DS2000 Programming Guide
RIGOL 2 Command System :BUS:IIC:SCLK:SOURce Syntax :BUS:IIC:SCLK:SOURce :BUS:IIC:SCLK:SOURce? Description Set the clock channel source of IIC decoding on bus 1 or 2. Query the current clock channel source of IIC decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :BUS1:IIC:SCLK:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :BUS:IIC:SCLK:THReshold Syntax :BUS:IIC:SCLK:THReshold :BUS:IIC:SCLK:THReshold? Description Set the threshold of the clock channel of IIC decoding on bus 1 or 2. Query the current threshold of the clock channel of IIC decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :BUS:IIC:SDA:SOURce Syntax :BUS:IIC:SDA:SOURce :BUS:IIC:SDA:SOURce? Description Set the data channel source of IIC decoding on bus 1 or 2. Query the current data channel source of IIC decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns CHAN1 or CHAN2. Example :BUS1:IIC:SDA:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :BUS:IIC:SDA:THReshold Syntax :BUS:IIC:SDA:THReshold :BUS:IIC:SDA:THReshold? Description Set the threshold of the data channel of IIC decoding on bus 1 or 2. Query the current threshold of the data channel of IIC decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Real ± 5 × VerticalScale from the screen center - OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :BUS:IIC:OFFSet Syntax :BUS:IIC:OFFSet :BUS:IIC:OFFSet? Description Set the vertical offset in IIC decoding on bus 1 or 2. Before using this command, enable the bus display (refer to the :BUS:DISPlay command). Query the current vertical offset in IIC decoding on bus 1 or 2.
RIGOL 2 Command System :BUS:SPI :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 2-60 2-60 DS2000 Programming Guide
RIGOL 2 Command System :BUS:SPI:SCLK:SOURce Syntax :BUS:SPI:SCLK:SOURce :BUS:SPI:SCLK:SOURce? Description Set the clock channel source of SPI decoding on bus 1 or 2. Query the current clock channel source of SPI decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :BUS1:SPI:SCLK:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :BUS:SPI:SCLK:SLOPe Syntax :BUS:SPI:SCLK:SLOPe :BUS:SPI:SCLK:SLOPe? Description Set the clock edge type in SPI decoding on bus 1 or 2. Query the current clock edge type in SPI decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG. Example :BUS1:SPI:SCLK:SLOPe NEGative The query returns NEG.
RIGOL 2 Command System :BUS:SPI:SCLK:THReshold Syntax :BUS:SPI:SCLK:THReshold :BUS:SPI:SCLK:THReshold? Description Set the threshold of the clock channel of SPI decoding on bus 1 or 2. Query the current threshold of the clock channel of SPI decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :BUS:SPI:SDA:SOURce Syntax :BUS:SPI:SDA:SOURce :BUS:SPI:SDA:SOURce? Description Set the data channel source in SPI decoding on bus 1 or 2. Query the current data channel source in SPI decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns CHAN1 or CHAN2. Example :BUS1:SPI:SDA:SOURce CHANnel1 The query returns CHAN1.
RIGOL 2 Command System :BUS:SPI:SDA:POLarity Syntax :BUS:SPI:SDA:POLarity :BUS:SPI:SDA:POLarity? Description Set the polarity of the SDA data line in SPI decoding on bus 1 or 2. Query the current polarity of the SDA data line in SPI decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {HIGH|LOW} LOW Return Format The query returns HIGH or LOW. Example :BUS1:SPI:SDA:POLarity HIGH The query returns HIGH.
RIGOL 2 Command System :BUS:SPI:SDA:THReshold Syntax :BUS:SPI:SDA:THReshold :BUS:SPI:SDA:THReshold? Description Set the threshold of the data channel in SPI decoding on bus 1 or 2. Query the current threshold of the data channel in SPI decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :BUS:SPI:DBITs Syntax :BUS:SPI:DBITs :BUS:SPI:DBITs? Description Set the data width in SPI decoding on bus 1 or 2. Query the current data width in SPI decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Integer 4 to 32 8 Return Format The query returns an integer between 4 and 32. Example :BUS1:SPI:DBITs 10 The query returns 10.
RIGOL 2 Command System :BUS:SPI:ENDian Syntax :BUS:SPI:ENDian :BUS:SPI:ENDian? Description Set the endian of data transmission in SPI decoding on bus 1 or 2. Query the current endian of data transmission in SPI decoding on bus 1 or 2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {MSB|LSB} MSB Return Format The query returns MSB or LSB. Example :BUS1:SPI:ENDian MSB The query returns MSB.
RIGOL 2 Command System :BUS:SPI:OFFSet Syntax :BUS:SPI:OFFSet :BUS:SPI:OFFSet? Description Set the vertical offset in SPI decoding on bus 1 or 2. Before using this command, enable the bus display (refer to the :BUS:DISPlay command). Query the vertical offset in SPI decoding on bus 1 or 2.
RIGOL 2 Command System :CALCulate Subsystem :CALCulate:MODE :CALCulate:ADD :CALCulate:SUB :CALCulate:MULTiply :CALCulate:DIVision :CALCulate:FFT :CALCulate:LOGic :CALCulate:ADVanced 2-70 2-70 DS2000 Programming Guide
RIGOL 2 Command System :CALCulate:MODE Syntax :CALCulate:MODE :CALCulate:MODE? Description Select the type of the math operation or disable the math operation function. Query the type of the current math operation. Parameter Name Type Range Default Discrete {ADD|SUB|MULTiply|DIVision|FFT|LOGic| ADVanced|OFF} OFF Return Format The query returns ADD, SUB, MULT, DIV, FFT, LOG, ADV or OFF. Example :CALCulate:MODE FFT The query returns FFT.
RIGOL 2 Command System :CALCulate:ADD :CALCulate:ADD:SA :CALCulate:ADD:SB :CALCulate:ADD:INVert :CALCulate:ADD:VSCale :CALCulate:ADD:VOFFset 2-72 2-72 DS2000 Programming Guide
RIGOL 2 Command System :CALCulate:ADD:SA Syntax :CALCulate:ADD:SA :CALCulate:ADD:SA? Description Select the channel source of signal source A of the addition operation. Query the current channel source of signal source A of the addition operation. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :CALCulate:ADD:SA CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :CALCulate:ADD:SB Syntax :CALCulate:ADD:SB :CALCulate:ADD:SB? Description Select the channel source of signal source B of the addition operation. Query the current channel source of signal source B of the addition operation. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :CALCulate:ADD:SB CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :CALCulate:ADD:INVert Syntax :CALCulate:ADD:INVert :CALCulate:ADD:INVert? Description Enable or disable the inverted display of the addition operation result. Query the current status of the inverted display of the addition operation result. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :CALCulate:ADD:INVert ON The query returns 1.
RIGOL 2 Command System :CALCulate:ADD:VSCale Syntax :CALCulate:ADD:VSCale :CALCulate:ADD:VSCale? Description Set the vertical scale of the addition operation result. Query the current vertical scale of the addition operation result. Parameter Name Type Range Default Real 0.02V to 500V Related to the current channel scale 2V Note: for the channel scale, refer to the :CHANnel:SCALe command. Return Format The query returns the vertical scale in scientifc notation.
RIGOL 2 Command System :CALCulate:ADD:VOFFset Syntax :CALCulate:ADD:VOFFset :CALCulate:ADD:VOFFset? Description Set the vertical offset of the addition operation result. Query the current vertical offset of the addition 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:ADD:VSCale command. Return Format The query returns the vertical offset in scientific notation.
RIGOL 2 Command System :CALCulate:SUB :CALCulate:SUB:SA :CALCulate:SUB:SB :CALCulate:SUB:INVert :CALCulate:SUB:VSCale :CALCulate:SUB:VOFFset 2-78 2-78 DS2000 Programming Guide
RIGOL 2 Command System :CALCulate:SUB:SA Syntax :CALCulate:SUB:SA :CALCulate:SUB:SA? Description Select the channel source of signal source A of subtraction operation. Query the current channel source of signal source A of subtraction operation. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :CALCulate:SUB:SA CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :CALCulate:SUB:SB Syntax :CALCulate:SUB:SB :CALCulate:SUB:SB? Description Select the channel source of signal source B of subtraction operation. Query the current channel source of signal source B of subtraction operation. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :CALCulate:SUB:SB CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :CALCulate:SUB:INVert Syntax :CALCulate:SUB:INVert :CALCulate:SUB:INVert? Description Enable or disable the inverted display of the subtraction operation result. Query the current status of the inverted display of the subtraction operation result. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :CALCulate:SUB:INVert ON The query returns 1.
RIGOL 2 Command System :CALCulate:SUB:VSCale Syntax :CALCulate:SUB:VSCale :CALCulate:SUB:VSCale? Description Set the vertical scale of the subtraction operation result. Query the current vertical scale of the subtraction operation result. Parameter Name Type Range Default Real 0.02V to 500V Related to the current channel scale 2V Note: for the channel scale, refer to the :CHANnel:SCALe command. Return Format The query returns the vertical scale in scientific notation.
RIGOL 2 Command System :CALCulate:SUB:VOFFset Syntax :CALCulate:SUB:VOFFset :CALCulate:SUB:VOFFset? Description Set the vertical offset of the subtraction operation result. Query the current vertical offset of the subtraction 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:SUB:VSCale command. Return Format The query returns the vertical offset in scientific notation.
RIGOL 2 Command System :CALCulate:MULTiply :CALCulate:MULTiply:SA :CALCulate:MULTiply:SB :CALCulate:MULTiply:INVert :CALCulate:MULTiply:VSCale :CALCulate:MULTiplay:VOFFset 2-84 2-84 DS2000 Programming Guide
RIGOL 2 Command System :CALCulate:MULTiply:SA Syntax :CALCulate:MULTiply:SA :CALCulate:MULTiply:SA? Description Select the channel source of signal source A of multiplication operation. Query the current channel source of signal source A of multiplication operation. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :CALCulate:MULTiply:SA CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :CALCulate:MULTiply:SB Syntax :CALCulate:MULTiply:SB :CALCulate:MULTiply:SB? Description Select the channel source of signal source B of multiplication operation. Query the current channel source of signal source B of multiplication operation. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Reuturn Format The query returns CHAN1 or CHAN2. Example :CALCulate:MULTiply:SB CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :CALCulate:MULTiply:INVert Syntax :CALCulate:MULTiply:INVert :CALCulate:MULTiply:INVert? Description Enable or disable the inverted display of the multiplication operation result. Query the current status of the inverted display of the multiplication operation result. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :CALCulate:MULTiply:INVert ON The query returns 1.
RIGOL 2 Command System :CALCulate:MULTiply:VSCale Syntax :CALCulate:MULTiply:VSCale :CALCulate:MULTiply:VSCale? Description Set the vertical scale of the multiplication operation result. Query the current vertical scale of the multiplication operation result. Parameter Name Type Range Default Real 5.0e-08U to 1.0e+07U Related to the current channel scale 2U Note: for the channel scale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :CALCulate:MULTiply:VOFFset Syntax :CALCulate:MULTiply:VOFFset :CALCulate:MULTiply:VOFFset? Description Set the vertical offset of the multiplication operation result. Query the current vertical offset of the multiplication 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:MULTiply:VSCale command.
RIGOL 2 Command System :CALCulate:DIVision :CALCulate:DIVision:SA :CALCulate:DIVision:SB :CALCulate:DIVision:INVert :CALCulate:DIVision:VSCale :CALCulate:DIVision:VOFFset 2-90 2-90 DS2000 Programming Guide
RIGOL 2 Command System :CALCulate:DIVision:SA Syntax :CALCulate:DIVision:SA :CALCulate:DIVision:SA? Description Select the channel source of signal source A of division operation. Query the current channel source of signal source A of division operation. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :CALCulate:DIVision:SA CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :CALCulate:DIVision:SB Syntax :CALCulate:DIVision:SB :CALCulate:DIVision:SB? Description Select the channel source of signal source B of division operation. Query the current channel source of signal source B of division operation. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :CALCulate:DIVision:SB CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :CALCulate:DIVision:INVert Syntax :CALCulate:DIVision:INVert :CALCulate:DIVision:INVert? Decsription Enable or disable the inverted display of the division operation result. Query the current status of the inverted display of the division operation result. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :CALCulate:DIVision:INVert ON The query returns 1.
RIGOL 2 Command System :CALCulate:DIVision:VSCale Syntax :CALCulate:DIVision:VSCale :CALCulate:DIVision:VSCale? Description Set the vertical scale of the division operation result. Query the current vertical scale of the division operation result. Parameter Name Type Range Default Real 5.0e-07U to 5.0e+08U Related to the current channel scale 2U Note: for the channel scale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :CALCulate:DIVision:VOFFset Syntax :CALCulate:DIVision:VOFFset :CALCulate:DIVision:VOFFset? Description Set the vertical offset of the division operation result. Query the current vertical offset of the division 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:DIVision:VSCale command.
RIGOL 2 Command System :CALCulate:FFT :CALCulate:FFT:SOURce :CALCulate:FFT:WINDow :CALCulate:FFT:SPLit :CALCulate:FFT:VSMode :CALCulate:FFT:VSCaLe :CALCulate:FFT:VOFFset :CALCulate:FFT:HSCaLe :CALCulate:FFT:HOFFset :CALCulate:FFT:HSPan :CALCulate:FFT:HCENter 2-96 2-96 DS2000 Programming Guide
RIGOL 2 Command System :CALCulate:FFT:SOURce Syntax :CALCulate:FFT:SOURce :CALCulate:FFT:SOURce? Description Select the signal source of FFT operation. Query the current signal source of FFT operation. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :CALCulate:FFT:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :CALCulate:FFT:WINDow Syntax :CALCulate:FFT:WINDow :CALCulate:FFT:WINDow? Description Select the window function of the FFT operation. Query the current window function of the FFT operation. Parameter Name Type Range Default Discrete {RECTangle|HANNing|HAMMing|BLACkm an} RECTangle Return Format The query returns RECT, HANN, HAMM or BLAC. Example :CALCulate:FFT:WINDow HANNing The query returns HANN.
RIGOL 2 Command System :CALCulate:FFT:SPLit Syntax :CALCulate:FFT:SPLit :CALCulate:FFT:SPLit? Description Enable or disable the split display of the FFT operation. Query the current status of the split display of the FFT operation. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 1|ON Return Format The query returns 0 or 1. Example :CALCulate:FFT:SPLit OFF The query returns 0.
RIGOL 2 Command System :CALCulate:FFT:VSMode Syntax :CALCulate:FFT:VSMode :CALCulate:FFT:VSMode? Description Set the vertical scale of the FFT operation result to linear or log. Query the current vertical scale of the FFT operation result. Parameter Name Type Range Default Discrete {VRMS|DBVRms} VRMS Return Format The query returns VRMS or DBVR. Example :CALCulate:FFT:VSMode DBVRms The query returns DBVR.
RIGOL 2 Command System :CALCulate:FFT:VSCale Syntax :CALCulate:FFT:VSCale :CALCulate:FFT:VSCale? Description Set the vertical scale of the FFT operation result. Query the current vertical scale of the FFT operation result. Parameter Name Type Range Default Real Related to the current FFT display mode: dBVrms: 1 to 100 Vrms: 0.
RIGOL 2 Command System :CALCulate:FFT:VOFFset Syntax :CALCulate:FFT:VOFFset :CALCulate:FFT:VOFFset? Description Set the vertical offset of the FFT operation result. Query the current vertical offset of the FFT 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:FFT:VSCale command. Return Format The query returns the vertical offset in scientifc notation.
RIGOL 2 Command System :CALCulate:FFT:HSCale Syntax :CALCulate:FFT:HSCale :CALCulate:FFT:HSCale? Description Set the horizontal coefficient in FFT operation. This command indirectly sets the FFT horizontal scale. Query the current horizontal coefficient in FFT operation. Parameter Name Type Range Default Discrete {1|2|3|4} 1 Note: you can use the :CALCulate:FFT:HSPan command to set the horizontal scale of FFT directly.
RIGOL 2 Command System :CALCulate:FFT:HOFFset Syntax :CALCulate:FFT:HOFFset :CALCulate:FFT:HOFFset? Description Set the horizontal offset of the FFT operation result and the unit is Hz. Query the current horizontal offset of the FFT operation result. Parameter Name Type Range Default Real -0.4*the current FFT sample rate of the screen to +0.
RIGOL 2 Command System :CALCulate:FFT:HSPan Syntax :CALCulate:FFT:HSPan :CALCulate:FFT:HSPan? Description Set the horizontal scale of the FFT operation result. Query the current horizontal scale of the FFT operation result. Parameter Name Type Range Default Real The current FFT sample rate of the screen/200 to the current FFT sample rate of the screen/20 5MHz/div Note: The step is 1X-2X-5X-10X within the range.
RIGOL 2 Command System :CALCulate:FFT:HCENter Syntax :CALCulate:FFT:HCENter
:CALCulate:FFT:HCENter? Description Set the center frequency of the FFT operation result and the unit is Hz. Query the current center frequency of the current FFT operation result.2 Command System RIGOL :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 DS2000 Programming Guide 2-107
RIGOL 2 Command System :CALCulate:LOGic:SA Syntax :CALCulate:LOGic:SA :CALCulate:LOGic:SA? Description Select the channel source of signal source A of logic operation. Query the current channel source of signal source A of logic operation.
RIGOL 2 Command System :CALCulate:LOGic:SB Syntax :CALCulate:LOGic:SB :CALCulate:LOGic:SB? Description Select the channel source of signal source B of logic operation. Query the current channel source of signal source B of 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. Query the current status of the inverted display of the logic operation result. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :CALCulate:LOGic:INVert ON The query returns 1.
RIGOL 2 Command System :CALCulate:LOGic:VSCale Syntax :CALCulate:LOGic:VSCale :CALCulate:LOGic:VSCale? Description Set the vertical scale of the logic operation result. Query the current vertical scale of the logic operation result. Parameter Name Type Range Default Real 0.05U to 100U 1U Return Format The query returns the vertical scale in scientific notation. Example :CALCulate:LOGic:VSCale 2 The query returns 2.000000e+00.
RIGOL 2 Command System :CALCulate:LOGic:VOFFset Syntax :CALCulate:LOGic:VOFFset :CALCulate:LOGic:VOFFset? Description Set the vertical offset of the logic operation result. Query the current 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 in scientific notation.
RIGOL 2 Command System :CALCulate:LOGic:OPERator Syntax :CALCulate:LOGic:OPERator :CALCulate:LOGic:OPERator? Description Select the operator of logic operation. Query the operator of the current logic operation. Parameter Name Type Range Default Discrete {AND|OR|NOT|XOR} AND Return Format The query returns AND, OR, NOT or XOR. Example :CALCulate:LOGic:OPERator XOR The query returns XOR.
RIGOL 2 Command System :CALCulate:LOGic:ATHReshold Syntax :CALCulate:LOGic:ATHReshold :CALCulate:LOGic:ATHReshold? Description Set the threshold of logic channel A. Query the current threshold of logic channel A. Parameter Name Type Range Default Real Screen Range (the offset changes with the scale) 0 Return Format The query returns the current threshold in scientific notation. Example :CALCulate:LOGic:ATHReshold 2 The query returns 2.000000e+00.
RIGOL 2 Command System :CALCulate:LOGic:BTHReshold Syntax :CALCulate:LOGic:BTHReshold :CALCulate:LOGic:BTHReshold? Description Set the threshold of logic channel B. Query the current threshold of logic channel B. Parameter Name Type Range Default Real Screen Range (the offset changes with the scale) 0 Return Format The query returns the current threshold in scientific notation. Example :CALCulate:LOGic:BTHReshold 2 The query returns 2.000000e+00.
RIGOL 2 Command System :CALCulate:ADVanced :CALCulate:ADVanced:EXPRession :CALCulate:ADVanced:INVert :CALCulate:ADVanced:VARiable1 :CALCulate:ADVanced:VARiable2 :CALCulate:ADVanced:VSCale :CALCulate:ADVanced:VOFFset 2-116 2-116 DS2000 Programming Guide
RIGOL 2 Command System :CALCulate:ADVanced:EXPRession Syntax :CALCulate:ADVanced:EXPRession :CALCulate:ADVanced:EXPRession? Description Set the expression of advanced operation. Query the current expression of advanced operation. Parameter Name Type Range Default ASCII character string Refer to Explanation CH1+CH2 Explanation Input the valid expression using the characters as shown in the figure below.
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. Query the current status of the inverted display of the advanced operation result. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :CALCulate:ADVanced:INVert ON The query returns 1.
RIGOL 2 Command System :CALCulate:ADVanced:VARiable1 Syntax :CALCulate:ADVanced:VARiable1 :CALCulate:ADVanced:VARiable1? Description Set the variable1 in the advanced operation expression. Query the current value variable1 in the advanced operation expression. Parameter Name Type Range Default Real -9.9999e-09 to 9.9999e+09 0 Explanation This command determines the value of variable1 that the :CALCulate:ADVanced:EXPRession command might refer to.
RIGOL 2 Command System :CALCulate:ADVanced:VARiable2 Syntax :CALCulate:ADVanced:VARiable2 :CALCulate:ADVanced:VARiable2? Description Set the variable2 in the advanced operation expression. Query the current value of variable2 in the advanced operation expression. Parameter Name Type Range Default Real -9.9999e-09 to 9.9999e+09 0 Explanation This command determines the value of variable2 that the :CALCulate:ADVanced:EXPRession command might refer to.
RIGOL 2 Command System :CALCulate:ADVanced:VSCale Syntax :CALCulate:ADVanced:VSCale :CALCulate:ADVanced:VSCale? Description Set the vertical scale of the advanced operation result. Query the current vertical scale of the advanced operation result. Parameter Name Type Range Default Real 2.0e-02V to 5.0e+02V Related to the current channel scale 2V Note: for the channel scale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :CALCulate:ADVanced:VOFFset Syntax :CALCulate:ADVanced:VOFFset :CALCulate:ADVanced:VOFFset? Description Set the vertical offset of the advanced operation result. Query the current vertical offset of the advanced 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:ADVanced:VSCale command.
2 Command System RIGOL :CALibrate Subsystem :CALibrate:DATE? :CALibrate:STARt :CALibrate:TIME? :CALibrate:QUIT DS2000 Programming Guide 2-123
RIGOL 2 Command System :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. Example :CALibrate:DATE? The query returns the date of the last calibration, for example, 2012,03,09.
2 Command System RIGOL :CALibrate:STARt Syntax :CALibrate:STARt Description The oscilloscope starts to execute self-calibration. Explanation The self-calibration can make the oscilloscope quickly reach its optimum working state to obtain the most accurate measurement values. The functions of most of the keys are disabled during the self-calibration.
RIGOL 2 Command System :CALibrate:TIME? Syntax :CALibrate:TIME? Description Query the time used by the last calibration. Return Format The query returns the time in ,, format. Wherein, , and are all double-digit figures. Example :CALibrate:TIME? The query returns the time used by the last calibration, for example, 13,57,38, namely 13 hours, 57 minutes and 38 seconds.
2 Command System RIGOL :CALibrate:QUIT Syntax :CALibrate:QUIT Description Exit the calibration at any time.
RIGOL 2 Command System :CHANnel Subsystem :CHANnel:BWLimit :CHANnel:COUPling :CHANnel:DISPlay :CHANnel:INVert :CHANnel:OFFSet :CHANnel:SCALe :CHANnel:PROBe :CHANnel:UNITs :CHANnel:VERNier 2-128 2-128 DS2000 Programming Guide
RIGOL 2 Command System :CHANnel:BWLimit Syntax :CHANnel:BWLimit :CHANnel:BWLimit? Description Set the bandwidth limit of CH1 or CH2 to 20M (20 MHz), 100M (100 MHz) or OFF (turn bandwidth limit off). Query the current bandwidth limit of CH1 or CH2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {20M|100M|OFF} OFF Note: for DS2072 and DS2012, the bandwidth limit can only be 20MHz. Return Format The query returns 20M, 100M or OFF.
RIGOL 2 Command System :CHANnel:COUPling Syntax :CHANnel:COUPling :CHANnel:COUPling? Description Set the coupling mode of CH1 or CH2 to AC, DC or GND. Query the current coupling mode of CH1 or CH2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {AC|DC|GND} DC Return Format The query returns AC, DC or GND. Example :CHANnel1:COUPling AC The query returns AC.
RIGOL 2 Command System :CHANnel:DISPlay Syntax :CHANnel:DISPlay :CHANnel:DISPlay? Description Enable or disable CH1 or CH2. Query the current status of CH1 or CH2. Parameter Name Type Range Default Discrete {1|2} -- Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :CHANnel1:DISPlay ON The query returns 1.
RIGOL 2 Command System :CHANnel:INVert Syntax :CHANnel:INVert :CHANnel:INVert? Description Enable or disable the inverted display of CH1 or CH2. Query the current status of the inverted display of CH1 or CH2. Parameter Name Type Range Default Discrete {1|2} -- Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :CHANnel1:INVert ON The query returns 1.
RIGOL 2 Command System :CHANnel:OFFSet Syntax :CHANnel:OFFSet :CHANnel:OFFSet? Description Set the vertical offset of the waveform of CH1 or CH2. Query the current vertical offset of the waveform of CH1 or CH2. Parameter Name Type Range Default Discrete {1|2} -- Real 500μV/div to 50mV/div: ± 2V 51mV/div to 200mV/div: ± 10V 205mV/div to 2V/div: ± 50V 2.
RIGOL 2 Command System :CHANnel:SCALe Syntax :CHANnel:SCALe :CHANnel:SCALe? Description Set the vertical scale of the waveform of CH1 or CH2. Query the current vertical scale of the waveform of CH1 or CH2. Parameter Name Type Range Default Discrete {1|2} -- Real 500μV to 10V 1V Note: the range of the vertical scale is related to the probe ratio currently set. For the setting of the probe ratio, refer to the :CHANnel:PROBe command.
RIGOL 2 Command System :CHANnel:PROBe Syntax :CHANnel:PROBe :CHANnel:PROBe? Description Set the probe attenuation ratio of CH1 or CH2. Query the probe attenuation ratio of CH1 or CH2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {0.01|0.02|0.05|0.1|0.2|0.5|1|2|5|10|20 |50|100|200|500|1000} 1 Return Format The query returns the attenuation ratio currently set. Example :CHANnel1:PROBe 10 The query returns 10.
RIGOL 2 Command System :CHANnel:UNITs Syntax :CHANnel:UNITs :CHANnel:UNITs? Description Set the amplitude display unit of CH1 or CH2. Query the current amplitude display unit of the CH1 or CH2. Parameter Name Type Range Default Discrete {1|2} -- Discrete {VOLTage|WATT|AMPere|UNKNown} VOLTage Return Format The query returns VOLT, WATT, AMP or UNKN. Example :CHANnel1:UNITs VOLTage The query returns VOLT.
RIGOL 2 Command System :CHANnel:VERNier Syntax :CHANnel:VERNier :CHANnel:VERNier? Description Enable or disable the fine adjustment function of the vertical scale of CH1 or CH2. Query the current status of the fine adjustment function of the vertical scale of CH1 or CH2. Parameter Name Type Range Default Discrete {1|2} -- Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :CHANnel1:VERNier ON The query returns 1.
RIGOL 2 Command System :CURSor Subsystem :CURSor:MODE :CURSor:MANual :CURSor:TRACk 2-138 2-138 DS2000 Programming Guide
RIGOL 2 Command System :CURSor:MODE Syntax :CURSor:MODE :CURSor:MODE? Description Set the mode of cursor measurement. Query the current mode of cursor measurement. Parameter Name Type Range Default Discrete {OFF|MANual|TRACk|AUTO} OFF Explanation OFF: disable the cursor measurement. MANual: enable the manual cursor measurement. TRACk: enable the track cursor measurement. AUTO: enable the auto cursor measurement. Return Format The query returns OFF, MAN, TRAC or AUTO.
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:AYValue? :CURSor:MANual:BXValue? :CURSor:MANual:BYValue? :CURSor:MANual:XDELta? :CURSor:MANual:IXDelta? :CURSor:MANual:YDELta? 2-140 2-140 DS2000 Programming Guide
RIGOL 2 Command System :CURSor:MANual:TYPE Syntax :CURSor:MANual:TYPE :CURSor:MANual:TYPE? Description Select the cursor type of manual cursor measurement. Query the current cursor type of manual cursor measurement. Parameter Name Type Range Default Discrete {TIME|AMPLitude} TIME Explanation TIME: select X cursors which are usually used to measure time parameters. AMPLitude: select Y cursors which are usually used to measure voltage parameters.
RIGOL 2 Command System :CURSor:MANual:SOURce Syntax :CURSor:MANual:SOURce :CURSor:MANual:SOURce? Description Set the channel source of manual cursor measurement. Query the current channel source of manual cursor measurement. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH|NONE} CHANnel1 Note: only channels currently enabled can be selected as the channel source. Explanation CHANnel1, CHANnel2: select CH1 or CH2 as the measurement source of cursor A.
RIGOL 2 Command System :CURSor:MANual:TUNit Syntax :CURSor:MANual:TUNit :CURSor:MANual:TUNit? Description Set the horizontal unit in manual cursor measurement. Query the current horizontal unit in manual cursor measurement. Parameter Name Type Range Default Discrete {SECond|HZ|PERCentage|DEGRee} SECond Explanation SECond: when this unit is selected, in the measurement results, CurA, CurB and △X are in s and 1/△X is in Hz.
RIGOL 2 Command System :CURSor:MANual:VUNit Syntax :CURSor:MANual:VUNit :CURSor:MANual:VUNit? Description Set the vertical unit in manual cursor measurement. Query the current vertical unit in manual cursor measurement. Parameter Name Type Range Default Discrete {SUNit|PERCent} SUNit Explanation SUNit: when this unit is selected, in the measurement results, the units of CurA, CurB and △Y will automatically be set to the unit of the current signal source.
RIGOL 2 Command System :CURSor:MANual:CAX Syntax :CURSor:MANual:CAX :CURSor:MANual:CAX? Description Set the horizontal position of cursor A in manual cursor measurement. Query the current horizontal position of cursor A in manual cursor measurement. Parameter Name Type Range Default Integer 0 to 699 150 Return Format The query returns an integer between 0 and 699. Example :CURSor:MANual:CAX 200 The query returns 200.
RIGOL 2 Command System :CURSor:MANual:CBX Syntax :CURSor:MANual:CBX :CURSor:MANual:CBX? Description Set the horizontal position of cursor B in manual cursor measurement. Query the current horizontal position of cursor B in manual cursor measurement. Parameter Name Type Range Default Integer 0 to 699 550 Return Format The query returns an integer between 0 and 699. Example :CURSor:MANual:CBX 200 The query returns 200.
RIGOL 2 Command System :CURSor:MANual:CAY Syntax :CURSor:MANual:CAY :CURSor:MANual:CAY? Description Set the vertical position of cursor A in manual cursor measurement. Query the current vertical position of cursor A in manual cursor measurement. Parameter Name Type Range Default Integer 0 to 399 100 Return Format The query returns an integer between 0 and 399. Example :CURSor:MANual:CAY 200 The query returns 200.
RIGOL 2 Command System :CURSor:MANual:CBY Syntax :CURSor:MANual:CBY :CURSor:MANual:CBY? Description Set the vertical position of cursor B in manual cursor measurement. Query the current vertical position of cursor B in manual cursor measurement. Parameter Name Type Range Default Integer 0 to 399 300 Return Format The query returns an integer between 0 and 399. Example :CURSor:MANual:CBY 200 The query returns 200.
2 Command System RIGOL :CURSor:MANual:AXValue? Syntax :CURSor:MANual:AXValue? Description Query the X value at cursor A in manual cursor measurement. 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). Return Format The query returns the X value at cursor A in scientific notation. Example :CURSor:MANual:AXValue? The query returns -4.000000e-06.
RIGOL 2 Command System :CURSor:MANual:AYValue? Syntax :CURSor:MANual:AYValue? Description Query the Y value at cursor A in manual cursor measurement. Explanation For the vertical position of cursor A, refer to the :CURSor:MANual:CAY command. The unit is determined by the vertical unit currently selected (refer to the :CURSor:MANual:VUNit command). Return Format The query returns the Y value at cursor A in scientific notation. Example :CURSor:MANual:AYValue? The query returns 3.400000e-01.
2 Command System RIGOL :CURSor:MANual:BXValue? Syntax :CURSor:MANual:BXValue? Description Query the X value at cursor B in manual cursor measurement. Explanation 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). Return Format The query returns the X value at cursor B in scientific notation. Example :CURSor:MANual:BXValue? The query returns 5.120000e-06.
RIGOL 2 Command System :CURSor:MANual:BYValue? Syntax :CURSor:MANual:BYValue? Description Query the Y value at cursor B in manual cursor measurement. Explanation For the vertical position of cursor B, refer to the :CURSor:MANual:CBY command. The unit is determined by the vertical unit currently selected (the :CURSor:MANual:VUNit command). Return Format The query returns the Y value at cursor B in scientific notation. Example :CURSor:MANual:BYValue? The query returns -4.360000e+00.
2 Command System RIGOL :CURSor:MANual:XDELta? Syntax :CURSor:MANual:XDELta? Description Query the difference △X between the X values at cursor A and cursor B in manual cursor measurement. 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).
RIGOL 2 Command System :CURSor:MANual:IXDelta? Syntax :CURSor:MANual:IXDelta? Description Query the reciprocal (1/△X) of the difference between the X values at cursor A and cursor B in manual cursor measurement. 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.
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 cursor measurement. 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? 2-156 2-156 DS2000 Programming Guide
RIGOL 2 Command System :CURSor:TRACk:SOURce1 Syntax :CURSor:TRACk:SOURce1 :CURSor:TRACk:SOURce1? Description Set the measurement source of cursor A in track cursor measurement. Query the current measurement source of cursor A in track cursor measurement. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH|NONE} CHANnel1 Note: only channels currently enabled can be selected as the channel source.
RIGOL 2 Command System :CURSor:TRACk:SOURce2 Syntax :CURSor:TRACk:SOURce2 :CURSor:TRACk:SOURce2? Description Set the measurement source of cursor B in track cursor measurement. Query the current measurement source of cursor B in track cursor measurement. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH|NONE} CHANnel1 Note: only channels currently enabled can be selected as the channel source.
RIGOL 2 Command System :CURSor:TRACk:CAX Syntax :CURSor:TRACk:CAX :CURSor:TRACk:CAX? Description Set the horizontal position of cursor A in track cursor measurement. Query the current horizontal position of cursor A in track cursor measurement. Parameter Name Type Range Default Integer 0 to 699 150 Return Format The query returns an integer between 0 and 699. Example :CURSor:TRACk:CAX 200 The query returns 200.
RIGOL 2 Command System :CURSor:TRACk:CBX Syntax :CURSor:TRACk:CBX :CURSor:TRACk:CBX? Description Set the horizontal position of cursor B in track cursor measurement. Query the current horizontal position of cursor B in track cursor measurement. Parameter Name Type Range Default Integer 0 to 699 550 Return Format The query returns an integer between 0 and 699. Example :CURSor:TRACk:CBX 200 The query returns 200.
2 Command System RIGOL :CURSor:TRACk:CAY? Syntax :CURSor:TRACk:CAY? Description Query the vertical position of cursor A in track cursor measurement. Return Format The query returns an integer. Example :CURSor:TRACk:CAY? The query returns 300.
RIGOL 2 Command System :CURSor:TRACk:CBY? Syntax :CURSor:TRACk:CBY? Description Query the vertical position of cursor B in track cursor measurement. Return Format The query returns an integer. Example :CURSor:TRACk:CBY? The query returns 100.
2 Command System RIGOL :CURSor:TRACk:AXValue? Syntax :CURSor:TRACk:AXValue? Description Query the X value at cursor A in track cursor measurement and the unit is s. Return Format The query returns the X value at cursor A in scientific notation. Explanation For the horizontal position of cursor A, refer to the :CURSor:TRACk:CAX command. Example :CURSor:TRACk:AXValue? The query returns -3.820000e-06.
RIGOL 2 Command System :CURSor:TRACk:AYValue? Syntax :CURSor:TRACk:AYValue? Description Query the Y value at cursor A in track cursor measurement. Explanation For the vertical position of cursor A, refer to the :CURSor:TRACk:CAY? command. The unit is determined by the unit (refer to the :CHANnel:UNITs command) selected by the signal source (refer to the :CURSor:TRACk:SOURce1 command) of cursor A. Return Format The query returns the Y value at cursor A in scientific notation.
2 Command System RIGOL :CURSor:TRACk:BXValue? Syntax :CURSor:TRACk:BXValue? Description Query the X value at cursor B in track cursor measurement and the unit is s. Explanation For the horizontal position of cursor B, refer to the :CURSor:TRACk:CBX command. Return Format The query returns the X value at cursor B in scientific notation. Example :CURSor:TRACk:BXValue? The query returns 4.000000e-06.
RIGOL 2 Command System :CURSor:TRACk:BYValue? Syntax :CURSor:TRACk:BYValue? Description Query the Y value at cursor B in track cursor measurement. Explanation For the vertical position of cursor B, refer to the :CURSor:TRACk:CBY? command. The unit is determined by the unit (refer to the :CHANnel:UNITs command) selected by the signal source (refer to the :CURSor:TRACk:SOURce2 command) of cursor B. Return Format The query returns the Y value at cursor B in scientific notation.
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 cursor measurement 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. Return Format The query returns the current difference △X in scientific notation. Example :CURSor:TRACk:XDELta? The query returns 7.
RIGOL 2 Command System :CURSor:TRACk:YDELta? Syntax :CURSor:TRACk:YDELta? Description Query the difference △Y between the Y values at cursor A and cursor B in track cursor measurement. Explanation For the vertical position of cursor A, refer to the :CURSor:TRACk:CAY? command. For the vertical position of cursor B, refer to the :CURSor:TRACk:CBY? command. The unit is determined by the unit (refer to the :CHANnel:UNITs command) of the current signal source.
2 Command System RIGOL :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 cursor measurement 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. Return Format The query returns the 1/△X value in scientific notation.
RIGOL 2 Command System :DISPlay Subsystem :DISPlay:CLEar :DISPlay:TYPE :DISPlay:GRADing:TIME :DISPlay:WBRightness :DISPlay:GRID :DISPlay:GBRightness :DISPlay:MPERsistence :DISPlay:DATA? 2-170 2-170 DS2000 Programming Guide
2 Command System RIGOL :DISPlay:CLEar Syntax :DISPlay:CLEar Description Clear all the waveforms on the screen. Explanation If the oscilloscope is in RUN state (refer to the :RUN command), new waveforms will be displayed. You can also use the :CLEar command to clear all the waveforms on the screen.
RIGOL 2 Command System :DISPlay:TYPE Syntax :DISPlay:TYPE :DISPlay:TYPE? Description Set the display mode of the waveform on the screen. Query the current display mode 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).
RIGOL 2 Command System :DISPlay:GRADing:TIME Syntax :DISPlay:GRADing:TIME
RIGOL 2 Command System :DISPlay:WBRightness Syntax :DISPlay:WBRightness :DISPlay:WBRightness? Description Set the waveform brightness and the unit is %. Query the current waveform brightness. Parameter Name Type Range Default Integer 0 to 100 50 Return Format The query returns an integer between 0 and 100. Example :DISPlay:WBRightness 60 The query returns 60.
RIGOL 2 Command System :DISPlay:GRID Syntax :DISPlay:GRID :DISPlay:GRID? Description Set the grid type of screen display. Query the current 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. NONE: turn the background grid and coordinate off. Return Format The query returns FULL, HALF or NONE. Example :DISPlay:GRID NONE The query returns NONE.
RIGOL 2 Command System :DISPlay:GBRightness Syntax :DISPlay:GBRightness :DISPlay:GBRightness? Description Set the brightness of the screen grid and the unit is %. Query the current brightness of the screen grid. Parameter Name Type Range Default Integer 0 to 100 50 Return Format The query retruns an integer between 0 and 100. Example :DISPlay:GBRightness 60 The query returns 60.
RIGOL 2 Command System :DISPlay:MPERsistence Syntax :DISPlay:MPERsistence :DISPlay:MPERsistence? Description Set the menu display time and the unit is s. Query the current menu display time. Parameter Name Type Range Default Discrete {1|2|5|10|20|INFinite} INFinite Return Format Query the menu display time set. Example :DISPlay:MPERsistence 20 The query returns 20.
RIGOL 2 Command System :DISPlay:DATA? Syntax :DISPlay:DATA? Description Read the bitmap data stream of the image currently displayed. Explanation The command is sent from the PC to the instrument through the VISA interface. The instrument responds to the command and directly returns the bitmap data stream of the image currently displayed to the buffer area of the PC.
2 Command System RIGOL 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 make the data stream a standard bitmap data stream. 3.
RIGOL 2 Command System Reading: 2-180 2-180 DS2000 Programming Guide
2 Command System RIGOL :FUNCtion Subsystem :FUNCtion:WRMode :FUNCtion:WRECord :FUNCtion:WREPlay :FUNCtion:WANalyze DS2000 Programming Guide 2-181
RIGOL 2 Command System :FUNCtion:WRMode Syntax :FUNCtion:WRMode :FUNCtion:WRMode? Description Set the mode of waveform record. Query the current mode of waveform record. Parameter Name Type Range Default Discrete {OFF|RECord|KEEP|PLAY׀ANALyze} OFF Return Format The query returns OFF, REC, KEEP, PLAY or ANAL. Example :FUNCtion:WRMode RECord The query returns REC.
2 Command System RIGOL :FUNCtion:WRECord :FUNCtion:WRECord:FEND :FUNCtion:WRECord:FMAX? :FUNCtion:WRECord:INTerval :FUNCtion:WRECord:OPERate DS2000 Programming Guide 2-183
RIGOL 2 Command System :FUNCtion:WRECord:FEND Syntax :FUNCtion:WRECord:FEND :FUNCtion:WRECord:FEND? Description Set the end frame of waveform record. Query the current end frame of waveform record. Parameter Name Type Range Default Integer 1 to the maximum number of frames can be recorded currently -- Explanation As the capacity of the waveform memory is fixed, the more the number of points each frame of waveform has, the less waveform frames can be recorded.
RIGOL 2 Command System :FUNCtion:WRECord:FMAX? Syntax :FUNCtion:WRECord:FMAX? Description Query the maximum number of frames that can be recorded currently. Explanation Use the :FUNCtion:WRECord:FEND command to set the desired end frame. The maximum end frame of waveform record depends on the current memory depth (refer to the :ACQuire:MDEPth command). Memory Depth Maximum End Frame Auto 65000 14k points 8128 140k points 508 1.
RIGOL 2 Command System :FUNCtion:WRECord:INTerval Syntax :FUNCtion:WRECord:INTerval :FUNCtion:WRECord:INTerval? Description Set the time interval between frames in the waveform record and the unit is s. Query the current time interval in waveform record. Parameter Name Type Range Default Real 100ns to 10s 100ns Return Format The query returns the current time interval in scientific notation. Example :FUNCtion:WRECord:INTerval 0.0002 The query returns 2.000000e-04.
RIGOL 2 Command System :FUNCtion:WRECord:OPERate Syntax :FUNCtion:WRECord:OPERate :FUNCtion:WRECord:OPERate? Description Start or stop the waveform record. Query the current status of the waveform record. Parameter Name Type Range Default Discrete {RECord|STOP} STOP Return Format The query returns REC or STOP. Example :FUNCtion:WRECord:OPERate RECord The query returns REC.
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? 2-188 2-188 DS2000 Programming Guide
RIGOL 2 Command System :FUNCtion:WREPlay:MODE Syntax :FUNCtion:WREPlay:MODE :FUNCtion:WREPlay:MODE? Description Set the mode of waveform playback to cycle or single. Query the current mode of waveform playback. Parameter Name Type Range Default Discrete {REPeat|SINGle} SINGle Explanation REPeat: cycle playback. Play from the start frame to the end frame and then repeat until you stop it. SINGle: single playback. Play from the start frame to the end frame and then stop.
RIGOL 2 Command System :FUNCtion:WREPlay:INTerval Syntax :FUNCtion:WREPlay:INTerval :FUNCtion:WREPlay:INTerval? Description Set the time interval in waveform playback and the unit is s. Query the current time interval in waveform playback. Parameter Name Type Range Default Real 100ns to 10s 100ns Return Format The query returns the time interval set in scientific notation. Example :FUNCtion:WREPlay:INTerval 0.0002 The query returns 2.000000e-04.
RIGOL 2 Command System :FUNCtion:WREPlay:FSTart Syntax :FUNCtion:WREPlay:FSTart :FUNCtion:WREPlay:FSTart? Description Set the start frame of waveform playback. Query the current start frame of waveform playback. Parameter Name Type Range Default Integer 1 to the maximum number of frames recorded 1 Return Format The query returns an integer. Example :FUNCtion:WREPlay:FSTart 10 The query returns 10.
RIGOL 2 Command System :FUNCtion:WREPlay:FCURrent Syntax :FUNCtion:WREPlay:FCURrent :FUNCtion:WREPlay:FCURrent? Description Set the current frame in waveform playback. Query the current frame in waveform playback. Parameter Name Type Range Default Integer 1 to the maximum number of frames recorded -- Return Format The query returns an integer. Example :FUNCtion:WREPlay:FCURrent 10 The query returns 10.
RIGOL 2 Command System :FUNCtion:WREPlay:FEND Syntax :FUNCtion:WREPlay:FEND :FUNCtion:WREPlay:FEND? Description Set the end frame of waveform playback. Query the current end frame of waveform playback. Parameter Name Type Range Default Integer 1 to the maximum number of frames recorded -- Return Format The query returns an integer. Example :FUNCtion:WREPlay:FEND 100 The query returns 100.
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 integer. Example :FUNCtion:WREPlay:FMAX? The query returns 4064.
RIGOL 2 Command System :FUNCtion:WREPlay:OPERate Syntax :FUNCtion:WREPlay:OPERate :FUNCtion:WREPlay:OPERate? Description Set the current waveform playback operation to play, stop or pause. Query the current status of the waveform playback operation. Parameter Name Type Range Default Discrete {PLAY|STOP|PAUSe} STOP Return Format The query returns PLAY, STOP or PAUS. Example :FUNCtion:WREPlay:OPERate PAUSe The query returns PAUS.
RIGOL 2 Command System :FUNCtion:WREPlay:TTAG Syntax :FUNCtion:WREPlay:TTAG :FUNCtion:WREPlay:TTAG? Description Enable or disable the time tag in waveform playback. Query the current status of the time tag in waveform playback. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :FUNCtion:WREPlay:TTAG ON The query returns 1.
2 Command System RIGOL :FUNCtion:WREPlay:CTAG? Syntax :FUNCtion:WREPlay:CTAG? Description Query the record time difference of the waveform currently displayed relative to the first frame of waveform. Return Format The query returns the record time difference of the waveform currently displayed relative to the first frame of waveform in scientific notation. Example :FUNCtion:WREPlay:CTAG? The query returns 1.062830e-01.
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 :FUNCtion:WANalyze:PREV
RIGOL 2 Command System :FUNCtion:WANalyze:MODE Syntax :FUNCtion:WANalyze:MODE :FUNCtion:WANalyze:MODE? Description Set the mode of waveform analysis. Query the current mode of waveform analysis. Parameter Name Type Range Default Discrete {TRACe|MASK} TRACe Explanation TRACe: trace mode. Analyze on the basis of the template selected by users. MASK: pass/fail test. Analyze on the basis of the pass/fail test mask created by users. Return Format The query returns TRAC or MASK.
RIGOL 2 Command System :FUNCtion:WANalyze:SOURce Syntax :FUNCtion:WANalyze:SOURce :FUNCtion:WANalyze:SOURce? Description Select the channel to be analyzed. Query the current channel source for the waveform analysis. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Note: ony channel currently enabled can be selected as the channel source. Return Format The query returns CHAN1 or CHAN2. Example :FUNCtion:WANalyze:SOURce CHAN2 The query returns CHAN2.
RIGOL 2 Command System :FUNCtion:WANalyze:FCURrent Syntax :FUNCtion:WANalyze:FCURrent :FUNCtion:WANalyze:FCURrent? Description Set the current frame of waveform analysis. Query the current frame of waveform analysis. Parameter Name Type Range Default Integer 1 to the maximum number of frames recorded 1 Return Format The query returns an integer. Example :FUNCtion:WANalyze:FCURrent 5 The query returns 5.
RIGOL 2 Command System :FUNCtion:WANalyze:TDISp Syntax :FUNCtion:WANalyze:TDISp :FUNCtion:WANalyze:TDISp? Description Enable or disable the template display. Query the current status of template display. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :FUNCtion:WANalyze:TDISp ON The query returns 1.
RIGOL 2 Command System :FUNCtion:WANalyze:SETup:SSTart Syntax :FUNCtion:WANalyze:SETup:SSTart :FUNCtion:WANalyze:SETup:SSTart? Description Set the screen start point of waveform analysis. Query the current screen start point of waveform analysis. Parameter Name Type Range Default Integer 5 to 685 5 Explanation The screen start point set should be less than the “screen end-10” (refer to the :FUNCtion:WANalyze:SETup:SSENd command).
RIGOL 2 Command System :FUNCtion:WANalyze:SETup:SSENd Syntax :FUNCtion:WANalyze:SETup:SSENd :FUNCtion:WANalyze:SETup:SSENd? Description Set the screen end point of waveform analysis. Query the current screen end point of waveform analysis. Parameter Name Type Range Default Integer 15 to 695 695 Explanation The screen end point set should be greater than the “screen start+10” currently set (refer to the :FUNCtion:WANalyze:SETup:SSTart command).
RIGOL 2 Command System :FUNCtion:WANalyze:SETup:SFRame Syntax :FUNCtion:WANalyze:SETup:SFRame :FUNCtion:WANalyze:SETup:SFRame? Description Set the start frame number of waveform analysis. Query the current start frame number of waveform analysis. Parameter Name Type Range Default Integer 1 to the maximum number of frames recorded 1 Return Format The query returns an integer. Example :FUNCtion:WANalyze:SETup:SFRame 10 The query returns 10.
RIGOL 2 Command System :FUNCtion:WANalyze:SETup:EFRame Syntax :FUNCtion:WANalyze:SETup:EFRame :FUNCtion:WANalyze:SETup:EFRame? Description Set the end frame number of waveform analysis. Query the current end frame number of waveform analysis. Parameter Name Type Range Default Integer 1 to the maximum number of frames recorded -- Return Format The query returns an integer. Example :FUNCtion:WANalyze:SETup:EFRame 20 The query returns 20.
RIGOL 2 Command System :FUNCtion:WANalyze:SETup:THReshold Syntax :FUNCtion:WANalyze:SETup:THReshold :FUNCtion:WANalyze:SETup:THReshold? Description Set the threshold of waveform analysis and the unit is %. Query the current threshold of waveform analysis. Parameter Name Type Range Default Integer 1 to 99 70 Explanation The threshold is used to judge whether the data frame is an error frame.
RIGOL 2 Command System :FUNCtion:WANalyze:SETup:XMASk Syntax :FUNCtion:WANalyze:SETup:XMASk :FUNCtion:WANalyze:SETup:XMASk? Description Set the horizontal adjustment parameter in analysis based on the pass/fail mask and the unit is div. Query the current horizontal adjustment parameter. Parameter Name Type Range Default Real 0.02 to 4 0.24 Note: the step is 0.02 within the value range. Return Format The query returns the current horizontal adjustment parameter in scientific notation.
RIGOL 2 Command System :FUNCtion:WANalyze:SETup:YMASk Syntax :FUNCtion:WANalyze:SETup:YMASk :FUNCtion:WANalyze:SETup:YMASk? Description Set the vertical adjustment parameter within the mask when the analysis mode is pass/fail test and the unit is div. Query the current vertical adjustment parameter. Parameter Name Type Range Default Real 0.03 to 4 0.38 Note: the step is 0.04 within the range.
RIGOL 2 Command System :FUNCtion:WANalyze:STEMplate Syntax :FUNCtion:WANalyze:STEMplate Description Set the waveform analysis template when the analysis mode is trace. Explanation After the analysis starts, the oscilloscope compares each frame of data measured with the data in the template to determine whether error frame exists according to the threshold set.
2 Command System RIGOL :FUNCtion:WANalyze:CMASk Syntax :FUNCtion:WANalyze:CMASk Description Apply the mask currently created. Explanation For the setting of the horizontal adjustment parameter, refer to the :FUNCtion:WANalyze:SETup:XMASk command. For the setting of the vertical adjustment parameter, refer to the :FUNCtion:WANalyze:SETup:YMASk command.
RIGOL 2 Command System :FUNCtion:WANalyze:STARt Syntax :FUNCtion:WANalyze:STARt Description Start the waveform analysis. Explanation During the analysis process, the progress bar is displayed and the parameters can not be modified. After the analysis finishes, the analysis results of “Error Frames”, “Current Error” and “CurFrame Diff” are displayed; at the same time, the first error frame is located.
2 Command System RIGOL :FUNCtion:WANalyze:PREVious Syntax :FUNCtion:WANalyze:PREVious Description Locate the error frame previous to the current error frame.
RIGOL 2 Command System :FUNCtion:WANalyze:NEXT Syntax :FUNCtion:WANalyze:NEXT Description Locate the error frame next to the current error frame.
2 Command System RIGOL :FUNCtion:WANalyze:EFCount? Syntax :FUNCtion:WANalyze:EFCount? Description Query the total number of error frames discovered in the current analysis. Explanation The number of error frames is related to the error frame threshold currently set. Return Format The query returns an integer. Example :FUNCtion:WANalyze:EFCount? The query returns 1276.
RIGOL 2 Command System :FUNCtion:WANalyze:ECURrent Syntax :FUNCtion:WANalyze:ECURrent :FUNCtion:WANalyze:ECURrent? Description Set the number of the current error frame. 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 an integer. Example :FUNCtion:WANalyze:ECURrent 5 The query returns 5.
2 Command System RIGOL :FUNCtion:WANalyze:ECDiff? Syntax :FUNCtion:WANalyze:ECDiff? Description Query the current frame difference. Explanation During the analysis based on trace, the oscilloscope compares each frame with the templet to compute the difference value and normalizes each value using the maximum one; then, compares the normalized value of each frame with the threshold selected to judge whether the frame is an error frame.
RIGOL 2 Command System :LAN Subsystem :LAN:DHCP :LAN:AUToip :LAN:GATeway :LAN:DNS :LAN:MAC? :LAN:MANual :LAN:INITiate :LAN:IPADdress :LAN:SMASk :LAN:STATus? :LAN:VISA? :LAN:APPLy 2-218 2-218 DS2000 Programming Guide
RIGOL 2 Command System :LAN:DHCP Syntax :LAN:DHCP :LAN:DHCP? Description Enable or disable the DHCP configuration mode. Query the current status of the DHCP configuration mode. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 1|ON Explanation When the DHCP configuration mode is valid, the DHCP server in the current network will assign the network parameters (such as the IP address) for the oscilloscope. Return Format The query returns 0 or 1.
RIGOL 2 Command System :LAN:AUToip Syntax :LAN:AUToip :LAN:AUToip? Description Enable or disable the Auto IP configuration mode. Query the current status of the Auto IP configuration mode. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 1|ON Explanation When the Auto IP configuration mode is valid, disable DHCP manually and users can set the gateway and DNS server address of the oscilloscope. For the setting of the gateway, refer to the :LAN:GATeway command.
RIGOL 2 Command System :LAN:GATeway Syntax :LAN:GATeway :LAN:GATeway? Description Assign a gateway for the instrument. Query the current gateway of the instrument. Parameter Name Type Range Default ASCII character string nnn,nnn,nnn,nnn -- Explanation When setting the , 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:DNS Syntax :LAN:DNS :LAN:DNS? Description Set the DNS address. Query the current DNS address. Parameter Name Type Range Default ASCII character string nnn,nnn,nnn,nnn -- Explanation When setting the , 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.
2 Command System RIGOL :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 character string. Example :LAN:MAC? The query returns 0019af300000.
RIGOL 2 Command System :LAN:MANual Syntax :LAN:MANual :LAN:MANual? Description Enable or disable the static IP configuration mode. Query the current status of the static IP configuration mode. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Explanation When the static IP configuration mode is valid, disable DHCP and Auto IP manually and users can set the network parameters such as the IP address, subnet mask, gateway and DNS.
2 Command System RIGOL :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.
RIGOL 2 Command System :LAN:IPADdress Syntax :LAN:IPADdress :LAN:IPADdress? Description Set the IP address of the instrument. Query the current IP address of the instrument. Parameter Name Type Range Default ASCII character string nnn,nnn,nnn,nnn -- Explanation When setting the , 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:SMASk Syntax :LAN:SMASk :LAN:SMASk? Description Distribute a subnet mask for the instrument. Query the current subnet mask of the instrument. Parameter Name Type Range Default ASCII character string nnn,nnn,nnn,nnn -- Explanation When setting the , 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.
RIGOL 2 Command System :LAN:STATus? Syntax :LAN:STATus? Description Query the current status of the network configuration. Return Format The query returns UNLINK, INIT, IPCONFLICT, CONFIGURED or DHCPFAILED.
2 Command System RIGOL :LAN:VISA? Syntax :LAN:VISA? Description Query the VISA address of the instrument. Return Format The query returns the VISA address in character string. Example :LAN:VISA? The query returns TCPIP::172.16.3.119::INSTR.
RIGOL 2 Command System :LAN:APPLy Syntax :LAN:APPLy Description Apply the network configuration.
2 Command System RIGOL :MASK Subsystem :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 DS2000 Programming Guide 2-231
RIGOL 2 Command System :MASK:ENABle Syntax :MASK:ENABle :MASK:ENABle? Description Enable or disable the pass/fail test function. Query the current status of the pass/fail test function. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :MASK:ENABle ON The query returns 1.
RIGOL 2 Command System :MASK:SOURce Syntax :MASK:SOURce :MASK:SOURce? Description Select the measurement source of the pass/fail test. Query the current measurement source of the pass/fail test. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Note: this command can only be used to set the channel enabled. Return Format The query returns CHAN1 or CHAN2. Example :MASK:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :MASK:OPERate Syntax :MASK:OPERate :MASK:OPERate? Description Set the operation of the pass/fail test to run or stop. Query the current operation status of the pass/fail test. Parameter Name Type Range Default Discrete {RUN|STOP} STOP Explanation Before executing this command, use the :MASK:ENABle command to enable the pass/fail test. Return Format The query returns RUN or STOP. Example :MASK:OPERate RUN The query returns RUN.
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. Query the current status of the message display. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 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 0 or 1. Example :MASK:MDISplay ON The query returns 1.
RIGOL 2 Command System :MASK:SOOutput Syntax :MASK:SOOutput :MASK:SOOutput? Description Enable or disable the Stop On Outp. Query the current status of the Stop On Outp. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Explanation On: when failed waveform is detected, the oscilloscope stops the test and enters the “STOP” state.
RIGOL 2 Command System :MASK:OUTPut Syntax :MASK:OUTPut :MASK:OUTPut? Description Set the output mode when the test fails. Query the current output mode when the test fails. Parameter Name Type Range Default Discrete {FAIL|FSOund} FAIL Explanation FAIL: there are display and output when failed waveform is detected but the beeper does not sound.
RIGOL 2 Command System :MASK:X Syntax :MASK:X :MASK:X? Description Set the horizontal adjustment parameter of the pass/fail test mask. Query the current horizontal adjustment parameter of the pass/fail test mask. Parameter Name Type Range Default Real 0.02 to 4 0.24 Note: the step is 0.02 within the value range. Return Format The query returns the current horizontal adjustment parameter in scientific notation. Example :MASK:X 0.28 The query returns 2.800000e-01.
RIGOL 2 Command System :MASK:Y Syntax :MASK:Y :MASK:Y? Description Set the vertical adjustment parameter of the pass/fail test mask. Query the current vertical adjustment parameter of the pass/fail test mask. Parameter Name Type Range Default Real 0.03 to 4 0.38 Note: the step is 0.04 within the value range. Return Format The query returns the current vertical adjustment parameter in scientific notation. Example :MASK:Y 0.50 The query returns 5.000000e-01.
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 For the setting of the horizontal adjustment parameter, refer to the :MASK:X command. For the setting of the vertical adjustment parameter, refer to the :MASK:Y command.
2 Command System RIGOL :MASK:PASSed? Syntax :MASK:PASSed? Description Query the number of frames that pass the pass/fail test. Return Format The query returns an integer.
RIGOL 2 Command System :MASK:FAILed? Syntax :MASK:FAILed? Description Query the number of failed frames in the pass/fail test. Return Format The query returns an integer.
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 an integer. Example :MASK:TOTal? The query returns 810.
RIGOL 2 Command System :MASK:RESet Syntax :MASK:RESet Description Reset the number of the passed frames, the number of failed frames and the total number of frames. Explanation To query the number of passed frames, refer to the :MASK:PASSed? command. To query the number of failed frames, refer to the :MASK:FAILed? command. To query the total number of frames of the test, refer to the :MASK:TOTal? command.
2 Command System RIGOL :MASK:DATA Syntax :MASK:DATA :MASK:DATA? Description Send or read the mask of the pass/fail test. is binary data block. Explanation When sending the command, directly place the data stream behind the command string to finish the sending in one operation. When reading (:MASK:DATA?), the data read consists of two parts (the TMC data description header and the MASK data).
RIGOL 2 Command System :MEASure Subsystem :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:AREA :MEASure:CREGion:CAX :MEASure:CREGion:CBX :MEASure:HISTory:DISPlay :MEASure:HISTory:DMODe :MEASure:F
2 Command System RIGOL :MEASure:VAVG? :MEASure:VBASe? :MEASure:VMAX? :MEASure:VMIN? :MEASure:VPP? :MEASure:VRMS? :MEASure:VTOP? Note: the command will enable the corresponding measurement item automatically.
RIGOL 2 Command System :MEASure:SOURce Syntax :MEASure:SOURce :MEASure:SOURce? Description Select the signal source of the current measurement parameter. Query the signal source of the current measurement parameter. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH} CHANnel1 Return Format The query returns CHAN1, CHAN2 or MATH. Example :MEASure:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :MEASure:COUNter:SOURce Syntax :MEASure:COUNter:SOURce :MEASure:COUNter:SOURce? Description Set the measurement source of the frequency counter or disable the frequency counter measurement. Query the current measurement source of the frequency counter. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|OFF} OFF Return Format The query returns CHAN1, CHAN2 or OFF. Example :MEASure:COUNter:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :MEASure:COUNter:VALue? Syntax :MEASure:COUNter:VALue? Description Query the measuremenmt result (frequency value, the unit is Hz) of the frequency counter. Explanation Before using this command, enable the frequency counter (refer to the MEASure:COUNter:SOURce command). Return Format The query returns the current measurement value in scientific notation. Example :MEASure:COUNter:VALue? The query returns 1.000004e+03.
RIGOL 2 Command System :MEASure:CLEar Syntax :MEASure:CLEar - Description Clear any or all of the five measurement items that are enabled first. Parameter Name Type Range Default
- Discrete {ITEM1|ITEM2|ITEM3|ITEM4|ITEM5|ALL} -- Explanation The five parameters ahead are derermined according to the order in which they are enabled and they will not change as you delete one or more measurement items.
RIGOL 2 Command System :MEASure:RECover Syntax :MEASure:RECover - Description Recover the measurement items that have been cleared. Parameter Name Type Range Default
- Discrete {ITEM1|ITEM2|ITEM3|ITEM4|ITEM5|ALL} -- Explanation The five parameters ahead are derermined according to the order in which they are enabled and they will not change as you clear one or more measurement items.
RIGOL 2 Command System :MEASure:ADISplay Syntax :MEASure:ADISplay :MEASure:ADISplay? Description Enable or disable all measurement. Query the current status of all measurement. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Explanation All measurement can measure all the time and voltage parameters of the current measurement source.
RIGOL 2 Command System :MEASure:AMSource Syntax :MEASure:AMSource [,] :MEASure:AMSource? Description Select the signal source of all measurement parameters. Query the current signal source of all measurement. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|MATH} CHANnel1 Return Format The query returns CHAN1, CHAN2 or MATH. Example :MEASure:AMSource CHANnel1,CHANnel2 The query returns CHAN1,CHAN2.
RIGOL 2 Command System :MEASure:STATistic:DISPlay Syntax :MEASure:STATistic:DISPlay :MEASure:STATistic:DISPlay? Description Enable or disable the statistic function. The query returns the current status of the statistic function.
RIGOL 2 Command System :MEASure:STATistic:MODE Syntax :MEASure:STATistic:MODE :MEASure:STATistic:MODE? Description Set the statistic selection to Extremum or Difference. Query the current statistic selection type. Parameter Name Type Range Default Discrete {DIFFerence|EXTRemum} EXTRemum Explanation When “Extremum” is selected, minimum and maximum values are displayed. When “Difference” is selected, standard deviation and count values are displayed.
2 Command System RIGOL :MEASure:STATistic:RESet Syntax :MEASure:STATistic:RESet Description Clear the history statistic data and make statistic again.
RIGOL 2 Command System :MEASure:SETup:TYPE Syntax :MEASure:SETup:TYPE :MEASure:SETup:TYPE? Description Set the type of measurement setting to phase, delay or threshold. Query the type of current measurement setting. Parameter Name Type Range Default Discrete {DELay|PHASe|THReshold} DELay Return Format The query returns DEL, PHAS or THR. Example :MEASure:SETup:TYPE PHASe The query returns PHAS.
RIGOL 2 Command System :MEASure:SETup:MAX Syntax :MEASure:SETup:MAX :MEASure:SETup:MAX? Description Set the upper limit of threshold measurement and the unit is %. Query the current upper limit of threshold measurement. Parameter Name Type Range Default Integer 7 to 95 90 Explanation The threshold is the vertical level (in percentage) being measured in the analog channel. Setting the threshold will affect all the time, delay and phase parameters.
RIGOL 2 Command System :MEASure:SETup:MID Syntax :MEASure:SETup:MID :MEASure:SETup:MID? Description Set the middle value of threshold measurement and the unit is %. Query the current middle value of threshold measurement. Parameter Name Type Range Default Integer 6 to 94 50 Explanation The threshold is the vertical level (in percentage) being measured in the analog channel. Setting the threshold will affect all the time, delay and phase measurement parameters.
RIGOL 2 Command System :MEASure:SETup:MIN Syntax :MEASure:SETup:MIN :MEASure:SETup:MIN? Description Set the lower limit of threshold measurement and the unit is %. Query the current lower limit of threshold measurement. Parameter Name Type Range Default Integer 5 to 93 10 Explanation The threshold is the vertical level (in percentage) being measured in the analog channel. Setting the threshold will affect all the time, delay and phase parameters.
RIGOL 2 Command System :MEASure:AREA Syntax :MEASure:AREA :MEASure:AREA? Description Set the measurement range to the screen region or the cursor region. Query the current type of 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).
RIGOL 2 Command System :MEASure:CREGion:CAX Syntax :MEASure:CREGion:CAX :MEASure:CREGion:CAX? Description When the measurement range is set to the cursor region, use this command to set the position of cursor A. Query the current position of cursor A. Parameter Name Type Range Default Integer 0 to (the current position of cursor B - 6) 300 Explanation You can use the MEASure:AREA command to set the measurement range to the cursor region.
RIGOL 2 Command System :MEASure:CREGion:CBX Syntax :MEASure:CREGion:CBX :MEASure:CREGion:CBX? Description When the measurement range is set to the cursor region, use this command to set the position of cursor B. Query the current position of cursor B. Parameter Name Type Range Default Integer (The current position of cursor A + 6) to 697 400 Explanation You can use the MEASure:AREA command to set the measurement range to the cursor region.
RIGOL 2 Command System :MEASure:HISTory:DISPlay Syntax :MEASure:HISTory:DISPlay :MEASure:HISTory:DISPlay? Description Enable or disable the measurement history. Query the current status of the measurement history. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :MEASure:HISTory:DISPlay ON The query returns 1.
RIGOL 2 Command System :MEASure:HISTory:DMODe Syntax :MEASure:HISTory:DMODe :MEASure:HISTory:DMODe? Description Set the display mode of the history measurement data to table or graph. Query the current display mode of the history measurement data. Parameter Name Type Range Default Discrete {TABLe|GRAPh} GRAPh Explanation Before using this command, enable the measurement history (refer to the :MEASure:HISTory:DISPlay command).
RIGOL 2 Command System :MEASure:FDELay? Syntax :MEASure:FDELay? , Description Query the measurement result of the delay between channels (relative to the falling edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FDELay? CHANnel1,CHANnel2 The query returns 2.800000e-04.
RIGOL 2 Command System :MEASure:FDELay:SMAXimum? Syntax :MEASure:FDELay:SMAXimum? , Description Query the statistic maximum of the measurement results of the delay between channels (relative to the falling edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:FDELay:SMINimum? Syntax :MEASure:FDELay:SMINimum? , Description Query the statistic minimum of the measurement results of the delay between channels (relative to the falling edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:FDELay:SCURrent? Syntax :MEASure:FDELay:SCURrent? , Description Query the statistic current value of the measurement results of the delay between channels (relative to the falling edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:FDELay:SAVerage? Syntax :MEASure:FDELay:SAVerage? , Description Query the statistic average of the measurement results of the delay between channels (relative to the falling edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:FDELay:SDEViation? Syntax :MEASure:FDELay:SDEViation? , Description Query the statistic standard deviation of the measurement results of the delay between channels (relative to the falling edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:FPHase? Syntax :MEASure:FPHase? , Description Query the measurement result of the phase deviation between channels (relative to the falling edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FPHase? CHANnel1,CHANnel2 The query returns 1.800000e+02.
RIGOL 2 Command System :MEASure:FPHase:SMAXimum? Syntax :MEASure:FPHase:SMAXimum? , Description Query the statistic maximum of the measurement results of the phase deviation between channels (relative to the falling edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:FPHase:SMINimum? Syntax :MEASure:FPHase:SMINimum? , Description Query the statistic minimum of the measurement results of the phase deviation between channels (relative to the falling edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:FPHase:SCURrent? Syntax :MEASure:FPHase:SCURrent? , Description Query the statistic current value of the measurement results of the phase deviation between channels (relative to the falling edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:FPHase:SAVerage? Syntax :MEASure:FPHase:SAVerage? , Description Query the statistic average of the measurement results of the phase deviation between channels (relative to the falling edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:FPHase:SDEViation? Syntax :MEASure:FPHase:SDEViation? , Description Query the statistic standard deviation of the measurement results of the phase deviation between channels (relative to the falling edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:FREQuency? Syntax :MEASure:FREQuency? Description Query the frequency measurement value of the selected waveform and the unit is Hz. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FREQuency? CHANnel1 The query returns 9.999999e+02.
RIGOL 2 Command System :MEASure:FREQuency:SMAXimum? Syntax :MEASure:FREQuency:SMAXimum? Description Query the statistic maximum of the frequency measurement of the selected waveform and the unit is Hz. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FREQuency:SMAXimum? CHANnel1 The query returns 1.012146e+03.
RIGOL 2 Command System :MEASure:FREQuency:SMINimum? Syntax :MEASure:FREQuency:SMINimum? Description Query the statistic minimum of the frequency measurement of the selected waveform and the unit is Hz. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FREQuency:SMINimum? CHANnel1 The query returns 9.842519e+02.
RIGOL 2 Command System :MEASure:FREQuency:SCURrent? Syntax :MEASure:FREQuency:SCURrent? Description Query the statistic current value of the frequency measurement of the selected waveform and the unit is Hz. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FREQuency:SCURrent? CHANnel1 The query returns 9.999999e+02.
RIGOL 2 Command System :MEASure:FREQuency:SAVerage? Syntax :MEASure:FREQuency:SAVerage? Description Query the statistic average of the frequency measurement of the selected waveform and the unit is Hz. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FREQuency:SAVerage? CHANnel1 The query returns 1.000251e+03.
RIGOL 2 Command System :MEASure:FREQuency:SDEViation? Syntax :MEASure:FREQuency:SDEViation? Description Query the statistic standard deviation of the frequency measurement of the selected waveform and the unit is Hz. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FREQuency:SDEViation? CHANnel1 The query returns 4.222331e+00.
RIGOL 2 Command System :MEASure:FTIMe? Syntax :MEASure:FTIMe? Description Query the measurement value of the fall time of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FTIMe? CHANnel1 The query returns 3.080000e-04.
RIGOL 2 Command System :MEASure:FTIMe:SMAXimum? Syntax :MEASure:FTIMe:SMAXimum? Description Query the statistic maximum of the fall time measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHAnnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FTIMe:SMAXimum? CHANnel1 The query returns 3.160000e-04.
RIGOL 2 Command System :MEASure:FTIMe:SMINimum? Syntax :MEASure:FTIMe:SMINimum? Description Query the statistic maximum of the fall time measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHAnnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FTIMe:SMINimum? CHANnel1 The query returns 2.720000e-04.
RIGOL 2 Command System :MEASure:FTIMe:SCURrent? Syntax :MEASure:FTIMe:SCURrent? Description Query the statistic current value of the fall time measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHAnnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FTIMe:SCURrent? CHANnel1 The query returns 3.000000e-04.
RIGOL 2 Command System :MEASure:FTIMe:SAVerage? Syntax :MEASure:FTIMe:SAVerage? Description Query the statistic average of the fall time measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHAnnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FTIMe:SAVerage? CHANnel1 The query returns 2.951760e-04.
RIGOL 2 Command System :MEASure:FTIMe:SDEViation? Syntax :MEASure:FTIMe:SDEViation? Description Query the statistic standard deviation of the fall time measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHAnnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:FTIMe:SDEViation? CHANnel1 The query returns 1.347744e-05.
RIGOL 2 Command System :MEASure:NDUTy? Syntax :MEASure:NDUTy? Description Query the measurement value of the negative duty cycle of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NDUTy? CHANnel1 The query returns 5.000000e-01.
RIGOL 2 Command System :MEASure:NDUTy:SMAXimum? Syntax :MEASure:NDUTy:SMAXimum? Description Query the statistic maximum of the negative duty cycle measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NDUTy:SMAXimum? CHANnel1 The query returns 5.060241e-01.
RIGOL 2 Command System :MEASure:NDUTy:SMINimum? Syntax :MEASure:NDUTy:SMINimum? Description Query the statistic minimum of the negative duty cycle measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NDUTy:SMINimum? CHANnel1 The query returns 4.979919e-01.
RIGOL 2 Command System :MEASure:NDUTy:CURrent? Syntax :MEASure:NDUTy:SCURrent? Description Query the statistic current value of the negative duty cycle measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NDUTy:SCURrent? CHANnel1 The query returns 5.000000e-01.
RIGOL 2 Command System :MEASure:NDUTy:SAVerage? Syntax :MEASure:NDUTy:SAVerage? Description Query the statistic average of the negative duty cycle measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NDUTy:SAVerage? CHANnel1 The query returns 5.003887e-01.
RIGOL 2 Command System :MEASure:NDUTy:SDEViation? Syntax :MEASure:NDUTy:SDEViation? Description Query the statistic standard deviation of the negative duty cycle measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NDUTy:SDEViation? CHANnel1 The query returns 1.771634e-03.
RIGOL 2 Command System :MEASure:NWIDth? Syntax :MEASure:NWIDth? Description Query the measurement value of the negative pulse width of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NWIDth? CHANnel1 The query returns 5.000000e-04.
RIGOL 2 Command System :MEASure:NWIDth:SMAXimum? Syntax :MEASure:NWIDth:SMAXimum? Description Query the statistic maximum of the negative pulse width measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NWIDth:SMAXimum? CHANnel1 The query returns 5.040000e-04.
RIGOL 2 Command System :MEASure:NWIDth:SMINimum? Syntax :MEASure:NWIDth:SMAXimum? Description Query the statistic minimum of the negative pulse width measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NWIDth:SMINimum? CHANnel1 The query returns 4.960000e-04.
RIGOL 2 Command System :MEASure:NWIDth:SCURrent? Syntax :MEASure:NWIDth:SCURrent? Description Query the statistic current value of the negative pulse width measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NWIDth:SCURrent? CHANnel1 The query returns 5.000000e-04.
RIGOL 2 Command System :MEASure:NWIDth:SAVerage? Syntax :MEASure:NWIDth:SAVerage? Description Query the statistic average of the negative pulse width measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NWIDth:SAVerage? CHANnel1 The query returns 5.003581e-04.
RIGOL 2 Command System :MEASure:NWIDth:SDEViation? Syntax :MEASure:NWIDth:SDEViation? Description Query the statistic standard deviation of the negative pulse width measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:NWIDth:SDEViation? CHANnel1 The query returns 1.960044e-06.
RIGOL 2 Command System :MEASure:OVERshoot? Syntax :MEASure:OVERshoot? Description Query the measurement value of the overshoot of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:OVERshoot? CHANnel1 The query returns 9.803922e-03.
RIGOL 2 Command System :MEASure:OVERshoot:SMAXimum? Syntax :MEASure:OVERshoot:SMAXimum? Description Query the statistic maximum of the overshoot measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:OVERshoot:SMAXimum? CHANnel1 The query returms 2.000000e-02.
RIGOL 2 Command System :MEASure:OVERshoot:SMINimum? Syntax :MEASure:OVERshoot:SMINimum? Description Query the statistic minimum of the overshoot measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:OVERshoot:SMINimum? CHANnel1 The query returns 9.803922e-03.
RIGOL 2 Command System :MEASure:OVERshoot:SCURrent? Syntax :MEASure:OVERshoot:SCURrent? Description Query the statistic current value of the overshoot measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:OVERshoot:SCURrent? CHANnel1 The query returns 9.803922e-03.
RIGOL 2 Command System :MEASure:OVERshoot:SAVerage? Syntax :MEASure:OVERshoot:SAVerage? Description Query the statistic average of the overshoot measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:OVERshoot:SAVerage? CHANnel1 The query returns 1.013721e-02.
RIGOL 2 Command System :MEASure:OVERshoot:SDEViation? Syntax :MEASure:OVERshoot:SDEViation? Description Query the statistic standard deviation of the overshoot measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:OVERshoot:SDEViation? CHANnel1 The query returns 1.855691e-03.
RIGOL 2 Command System :MEASure:PDUTy? Syntax :MEASure:PDUTy? Description Query the measurement value of the positive duty cycle of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PDUTy? CHANnel1 The query returns 5.000000e-01.
RIGOL 2 Command System :MEASure:PDUTy:SMAXimum? Syntax :MEASure:PDUTy:SMAXimum? Description Query the statistic maximum of the positive duty cycle measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PDUTy:SMAXimum? CHANnel1 The query returns 5.080000e-01.
RIGOL 2 Command System :MEASure:PDUTy:SMINimum? Syntax :MEASure:PDUTy:SMINimum? Description Query the statistic minimum of the positive duty cycle measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PDUTy:SMINimum? CHANnel1 The query returns 4.758065e-01.
RIGOL 2 Command System :MEASure:PDUTy:SCURrent? Syntax :MEASure:PDUTy:SCURrent? Description Query the statistic current value of the positive duty cycle measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PDUTy:SCURrent? CHANnel1 The query returns 4.898786e-01.
RIGOL 2 Command System :MEASure:PDUTy:SAVerage? Syntax :MEASure:PDUTy:SAVerage? Description Query the statistic average of the positive duty cycle measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PDUTy:SAVerage? CHANnel1 The query returns 4.968382e-01.
RIGOL 2 Command System :MEASure:PDUTy:SDEViation? Syntax :MEASure:PDUTy:SDEViation? Description Query the statistic standard deviation of the positive duty cycle measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PDUTy:SDEViation? CHANnel1 The query returns 8.351262e-03.
RIGOL 2 Command System :MEASure:PERiod? Syntax :MEASure:PERiod? Description Query the measurement value of the period of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PERiod? CHANnel1 The query returns 1.004000e-03.
RIGOL 2 Command System :MEASure:PERiod:SMAXimum? Syntax :MEASure:PERiod:SMAXimum? Description Query the statistic maximum of the period measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PERiod:SMAXimum? CHANnel1 The query returns 1.012000e-03.
RIGOL 2 Command System :MEASure:PERiod:SMINimum? Syntax :MEASure:PERiod:SMINimum? Description Query the statistic minimum of the period measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PERiod:SMINimum? CHANnel1 The query returns 9.840000e-04.
RIGOL 2 Command System :MEASure:PERiod:SCURrent? Syntax :MEASure:PERiod:SCURrent? Description Query the statistic current value of the period measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PERiod:SCURrent? CHANnel1 The query returns 1.000000e-03.
RIGOL 2 Command System :MEASure:PERiod:SAVerage? Syntax :MEASure:PERiod:SAVerage? Description Query the statistic average of the period measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PERiod:SAVerage? CHANnel1 The query returns 9.999089e-04.
RIGOL 2 Command System :MEASure:PERiod:SDEViation? Syntax :MEASure:PERiod:SDEViation? Description Query the statistic standard deviation of the period measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PERiod:SDEViation? CHANnel1 The query returns 6.138527e-06.
RIGOL 2 Command System :MEASure:PREShoot? Syntax :MEASure:PREShoot? Description Query the measurement value of the preshoot of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PREShoot? CHANnel1 The query returns 4.255319e-02.
RIGOL 2 Command System :MEASure:PREShoot:SMAXimum? Syntax :MEASure:PREShoot:SMAXimum? Description Query the statistic maximum of the preshoot measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PREShoot:SMAXimum? CHANnel1 The query returns 6.382979e-02.
RIGOL 2 Command System :MEASure:PREShoot:SMINimum? Syntax :MEASure:PREShoot:SMINimum? Description Query the statistic minimum of the preshoot measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PREShoot:SMINimum? CHANnel1 The query returns 6.382979e-02.
RIGOL 2 Command System :MEASure:PREShoot:SCURrent? Syntax :MEASure:PREShoot:SCURrent? Description Query the statistic current value of the preshoot measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PREShoot:SCURrent? CHANnel1 The query returns 4.255319e-02.
RIGOL 2 Command System :MEASure:PREShoot:SAVerage? Syntax :MEASure:PREShoot:SAVerage? Description Query the statistic average of the preshoot measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PREShoot:SAVerage? CHANnel1 The query returns 4.390216e-02.
RIGOL 2 Command System :MEASure:PREShoot:SDEViation? Syntax :MEASure:PREShoot:SDEViation? Description Query the statistic standard deviation of the preshoot measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PREShoot:SDEViation? CHANnel1 The query returns 5.489243e-03.
RIGOL 2 Command System :MEASure:PWIDth? Syntax :MEASure:PWIDth? Description Query the measurement value of the positive pulse width of the selected waveform and the unit is s. Parameter Name Type Range Discrete {CHANnel1|CHANnel2} Default Return Format The query returns the measurement result in scientific notation. Example :MEASure:PWIDth? CHANnel1 The query returns 4.800000e-04.
RIGOL 2 Command System :MEASure:PWIDth:SMAXimum? Syntax :MEASure:PWIDth:SMAXimum? Description Query the statistic maximum of the positive pulse width measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PWIDth:SMAXimum? CHANnel1 The query returns 4.920000e-04.
RIGOL 2 Command System :MEASure:PWIDth:SMINimum? Syntax :MEASure:PWIDth:SMINimum? Description Query the statistic minimum of the positive pulse width measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PWIDth:SMINimum? CHANnel1 The query returns 4.720000e-04.
RIGOL 2 Command System :MEASure:PWIDth:SCURrent? Syntax :MEASure:PWIDth:SCURrent? Description Query the statistic current value of the positive pulse width measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PWIDth:SCURrent? CHANnel1 The query returns 5.000000e-04.
RIGOL 2 Command System :MEASure:PWIDth:SAVerage? Syntax :MEASure:PWIDth:SAVerage? Description Query the statistic average of the positive pulse width measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PWIDth:SAVerage? CHANnel1 The query returns 4.982125e-04.
RIGOL 2 Command System :MEASure:PWIDth:SDEViation? Syntax :MEASure:PWIDth:SDEViation? Description Query the statistic standard deviation of the positive pulse width measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:PWIDth:SDEViation? CHANnel1 The query returns 8.243160e-06.
RIGOL 2 Command System :MEASure:RTIMe? Syntax :MEASure:RTIMe? Description Query the measurement value of the rise time of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:RTIMe? CHANnel1 The query returns 3.080000e-04.
RIGOL 2 Command System :MEASure:RTIMe:SMAXimum? Syntax :MEASure:RTIMe:SMAXimum? Description Query the statistic maximum of the rise time measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:RTIMe:SMAXimum? CHANnel1 The query returns 3.040000e-04.
RIGOL 2 Command System :MEASure:RTIMe:SMINimum? Syntax :MEASure:RTIMe:SMINimum? Description Query the statistic minimum of the rise time measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:RTIMe:SMINimum? CHANnel1 The query returns 2.680000e-04.
RIGOL 2 Command System :MEASure:RTIMe:SCURrent? Syntax :MEASure:RTIMe:SCURrent? Description Query the statistic current value of the rise time measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:RTIMe:SCURrent? CHANnel1 The query returns 3.120000e-04.
RIGOL 2 Command System :MEASure:RTIMe:SAVerage? Syntax :MEASure:RTIMe:SAVerage? Description Query the statistic average of the rise time measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:RTIMe:SAVerage? CHANnel1 The query returns 3.043005e-04.
RIGOL 2 Command System :MEASure:RTIMe:SDEViation? Syntax :MEASure:RTIMe:SDEViation? Description Query the statistic standard deviation of the rise time measurement of the selected waveform and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:RTIMe:SDEViation? CHANnel1 The query returns 9.767748e-06.
RIGOL 2 Command System :MEASure:RDELay? Syntax :MEASure:RDELay? , Description Query the measurement result of the delay between channels (relative to the rising edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:RDELay? CHANnel1,CHANnel2 The query returns -4.400000e-04.
RIGOL 2 Command System :MEASure:RDELay:SMAXimum? Syntax :MEASure:RDELay:SMAXimum? , Description Query the statistic maximum of the measurement results of the delay between channels (relative to the rising edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:RDELay:SMINimum? Syntax :MEASure:RDELay:SMINimum? , Description Query the statistic minimum of the measurement results of the delay between channels (relative to the rising edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:RDELay:SCURrent? Syntax :MEASure:RDELay:SCURrent? , Description Query the statistic current value of the measurement results of the delay between channels (relative to the rising edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:RDELay:SAVerage? Syntax :MEASure:RDELay:SAVerage? , Description Query the statistic average of the measurement results of the delay between channels (relative to the rising edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:RDELay:SDEViation? Syntax :MEASure:RDELay:SDEViation? , Description Query the statistic standard deviation of the measurement results of the delay between channels (relative to the rising edge) and the unit is s. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:RPHase? Syntax :MEASure:RPHase? , Description Query the measurement result of the phase deviation between channels (relative to the rising edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation. Example :MEASure:RPHase? CHANnel1,CHANnel2 The query returns -1.526400e+02.
RIGOL 2 Command System :MEASure:RPHase:SMAXimum? Syntax :MEASure:RPHase:SMAXimum? , Description Query the statistic maximum of the measurement results of the phase deviation between channels (relative to the rising edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:RPHase:SMINimum? Syntax :MEASure:RPHase:SMINimum? , Description Query the statistic minimum of the measurement results of the phase deviation between channels (relative to the rising edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:RPHase:SCURrent? Syntax :MEASure:RPHase:SCURrent? , Description Query the statistic current value of the measurement results of the phase deviation between channels (relative to the rising edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:RPHase:SAVerage? Syntax :MEASure:RPHase:SAVerage? , Description Query the statistic average of the measurement results of the phase deviation between channels (relative to the rising edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:RPHase:SDEViation? Syntax :MEASure:RPHase:SDEViation? , Description Query the statistic standard deviation of the measurement results of the phase deviation between channels (relative to the rising edge) and the unit is °. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VAMP? Syntax :MEASure:VAMP? Description Query the measurement value of the amplitude of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VAMP? CHANnel1 The query returns 3.920000e+00.
RIGOL 2 Command System :MEASure:VAMP:SMAXimum? Syntax :MEASure:VAMP:SMAXimum? Description Query the statistic maximum of the amplitude measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VAMP:SMINimum? Syntax :MEASure:VAMP:SMINimum? Description Query the statistic minimum of the amplitude measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VAMP:SCURrent? Syntax :MEASure:VAMP:SCURrent? Description Query the statistic current value of the amplitude measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VAMP:SAVerage? Syntax :MEASure:VAMP:SAVerage? Description Query the statistic average of the amplitude measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VAMP:SDEViation? Syntax :MEASure:VAMP:SDEViation? Description Query the statistic standard deviation of the amplitude measurement of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VAVG? Syntax :MEASure:VAVG? Description Query the average of the amplitude of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VAVG? CHANnel1 The query returns -8.331421e-02.
RIGOL 2 Command System :MEASure:VAVG:SMAXimum? Syntax :MEASure:VAVG:SMAXimum? Description Query the statistic maximum of the amplitude averages of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VAVG:SMAXimum? CHANnel1 The query returns -3.
RIGOL 2 Command System :MEASure:VAVG:SMINimum? Syntax :MEASure:VAVG:SMINimum? Description Query the statistic minimum of the amplitude averages of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VAVG:SMINimum? CHANnel1 The query returns -4.
RIGOL 2 Command System :MEASure:VAVG:SCURrent? Syntax :MEASure:VAVG:SCURrent? Description Query the statistic current value of the amplitude averages of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VAVG:SAVerage? Syntax :MEASure:VAVG:SAVerage? Description Query the statistic average of the amplitude averages of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VAVG:SAVerage? CHANnel1 The query returns -4.
RIGOL 2 Command System :MEASure:VAVG:SDEViation? Syntax :MEASure:VAVG:SDEViation? Description Query the statistic standard deviation of the amplitude averages of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VBASe? Syntax :MEASure:VBASe? Description Query the base value of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VBASe? CHANnel1 The query returns -1.840000e+00.
RIGOL 2 Command System :MEASure:VBASe:SMAXimum? Syntax :MEASure:VBASe:SMAXimum? Description Query the statistic maximum of the base values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VBASe:SMAXimum? CHANnel1 The query returns -1.
RIGOL 2 Command System :MEASure:VBASe:SMINimum? Syntax :MEASure:VBASe:SMINimum? Description Query the statistic minimum of the base values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VBASe:SMINimum? CHANnel1 The query returns -2.
RIGOL 2 Command System :MEASure:VBASe:SCURrent? Syntax :MEASure:VBASe:SCURrent? Description Query the statistic current value of the base values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VBASe:SAVerage? Syntax :MEASure:VBASe:SAVerage? Description Query the statistic average of the base values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VBASe:SAVerage? CHANnel1 The query returns -1.
RIGOL 2 Command System :MEASure:VBASe:SDEViation? Syntax :MEASure:VBASe:SDEViation? Description Query the statistic standard deviation of the base values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VMAX? Syntax :MEASure:VMAX? Description Query the maximum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VMAX? CHANnel1 The query returns 2.080000e+00.
RIGOL 2 Command System :MEASure:VMAX:SMAXimum? Syntax :MEASure:VMAX:SMAXimum? Description Query the statistic maximum of the maximum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VMAX:SMAXimum? CHANnel1 The query returns 2.160000e+00.
RIGOL 2 Command System :MEASure:VMAX:SMINimum? Syntax :MEASure:VMAX:SMINimum? Description Query the statistic minimum of the maximum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VMAX:SMINimum? CHANnel1 The query returns 2.080000e+00.
RIGOL 2 Command System :MEASure:VMAX:SCURrent? Syntax :MEASure:VMAX:SCURrent? Description Query the statistic current value of the maximum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VMAX:SCURrent? CHANnel1 The query returns 2.
RIGOL 2 Command System :MEASure:VMAX:SAVerage? Syntax :MEASure:VMAX:SMAXimum? Description Query the statistic average of the maximum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VMAX:SAVerage? CHANnel1 The query returns 2.086383e+00.
RIGOL 2 Command System :MEASure:VMAX:SDEViation? Syntax :MEASure:VMAX:SDEViation? Description Query the statistic standard deviation of the maximum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VMIN? Syntax :MEASure:VMIN? Description Query the minimum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VMIN? CHANnel1 The query returns -2.080000e+00.
RIGOL 2 Command System :MEASure:VMIN:SMAXimum? Syntax :MEASure:VMIN:SMAXimum? Description Query the statistic maximum of the minimum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VMIN:SMAXimum? CHANnel1 The query returns -2.080000e+00.
RIGOL 2 Command System :MEASure:VMIN:SMINimum? Syntax :MEASure:VMIN:SMINimum? Description Query the statistic minimum of the minimum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VMIN:SMINimum? CHANnel1 The query returns -2.080000e+00.
RIGOL 2 Command System :MEASure:VMIN:SCURrent? Syntax :MEASure:VMIN:SCURrent? Description Query the statistic current value of the minimum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VMIN:SCURrent? CHANnel1 The query returns -2.
RIGOL 2 Command System :MEASure:VMIN:SAVerage? Syntax :MEASure:VMIN:SAVerage? Description Query the statistic average of the minimum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VMIN:SAVerage? CHANnel1 The query returns -2.080000e+00.
RIGOL 2 Command System :MEASure:VMIN:SDEviation? Syntax :MEASure:VMIN:SDEViation? Description Query the statistic standard deviation of the minimum of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VPP? Syntax :MEASure:VPP? Description Query the peak-peak value of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VPP? CHANnel1 The query returns 4.080000e+00.
RIGOL 2 Command System :MEASure:VPP:SMAXimum? Syntax :MEASure:VPP:SMAXimum? Description Query the statistic maximum of the peak-peak values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VPP:SMAXimum? CHANnel1 The query returns 4.
RIGOL 2 Command System :MEASure:VPP:SMINimum? Syntax :MEASure:VPP:SMINimum? Description Query the statistic minimum of the peak-peak values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VPP:SMINimum? CHANnel1 The query returns 4.
RIGOL 2 Command System :MEASure:VPP:SCURrent? Syntax :MEASure:VPP:SCURrent? Description Query the statistic current value of the peak-peak values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VPP:SCURrent? CHANnel1 The query returns 4.
RIGOL 2 Command System :MEASure:VPP:SAVerage? Syntax :MEASure:VPP:SAVerage? Description Query the statistic average of the peak-peak values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VPP:SAVerage? CHANnel1 The query returns 4.
RIGOL 2 Command System :MEASure:VPP:SDEViation? Syntax :MEASure:VPP:SDEViation? Description Query the statistic standard deviation of the peak-peak values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VRMS? Syntax :MEASure:VRMS? Description Query the RMS value of the amplitude of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VRMS? CHANnel1 The query returns 1.385354e+00.
RIGOL 2 Command System :MEASure:VRMS:SMAXimum? Syntax :MEASure:VRMS:SMAXimum? Description Query the statistic maximum of the RMS values of the amplitude of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VRMS:SMINimum? Syntax :MEASure:VRMS:SMINimum? Description Query the statistic minimum of the RMS values of the amplitude of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VRMS:SCURrent? Syntax :MEASure:VRMS:SCURrent? Description Query the statistic current value of the RMS values of the amplitude of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VRMS:SAVerage? Syntax :MEASure:VRMS:SAVerage? Description Query the statistic average of the RMS values of the amplitude of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VRMS:SDEViation? Syntax :MEASure:VRMS:SDEViation? Description Query the statistic standard deviation of the RMS values of the amplitude of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
RIGOL 2 Command System :MEASure:VTOP? Syntax :MEASure:VTOP? Description Query the top value of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VTOP? CHANnel1 The query returns 1.920000e+00.
RIGOL 2 Command System :MEASure:VTOP:SMAXimum? Syntax :MEASure:VTOP:SMAXimum? Description Query the statistic maximum of the top values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VTOP:SMAXimum? CHANnel1 The query returns 2.
RIGOL 2 Command System :MEASure:VTOP:SMINimum? Syntax :MEASure:VTOP:SMINimum? Description Query the statistic minimum of the top values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VTOP:SMINimum? CHANnel1 The query returns 1.
RIGOL 2 Command System :MEASure:VTOP:SCURrent? Syntax :MEASure:VTOP:SCURrent? Description Query the statistic current value of the top values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VTOP:SCURrent? CHANnel1 The query returns 2.
RIGOL 2 Command System :MEASure:VTOP:SAVerage? Syntax :MEASure:VTOP:SAVerage? Description Query the statistic average of the top values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation. Example :MEASure:VTOP:SAVerage? CHANnel1 The query returns 2.
RIGOL 2 Command System :MEASure:VTOP:SDEViation? Syntax :MEASure:VTOP:SDEViation? Description Query the statistic standard deviation of the top values of the selected waveform. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Explanation The unit depends on the unit of the source channel (refer to the :CHANnel:UNITs command). Return Format The query returns the measurement result in scientific notation.
2 Command System RIGOL :SYSTem Subsystem :SYSTem:BEEPer :SYSTem:DATE :SYSTem:TIME :SYSTem:ERRor[:NEXT]? :SYSTem:EXPand :SYSTem:LANGuage :SYSTem:PON :SYSTem:SSAVer:TIME :SYSTem:SETup :SYSTem:VERSion? :SYSTem:AOUTput :SYSTem:RESet :SYSTem:OPTion:INSTall :SYSTem:OPTion:UNINSTall :SYSTem:UDEVice :SYSTem:GPIB :SYSTem:GAMount? :SYSTem:RAMount? DS2000 Programming Guide 2-399
RIGOL 2 Command System :SYSTem:BEEPer Syntax :SYSTem:BEEPer :SYSTem:BEEPer? Description Enable or disable the beeper. Query the current status of the beeper. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :SYSTem:BEEPer ON The query returns 1.
RIGOL 2 Command System :SYSTem:DATE Syntax :SYSTem:DATE ,, :SYSTem:DATE? Description Set the system date. Query the current system date. Parameter Name Type Range Default Integer 2011 to 2099 -- Integer 01 to 12 -- Integer 01 to 31 (28, 29 or 30) -- Return Format The query returns the current date in character string. Example :SYSTem:DATE 2012,4,23 The query returns 2012, 4,23.
RIGOL 2 Command System :SYSTem:TIME Syntax :SYSTem:TIME ,, :SYSTem:TIME? Description Set the system time. Query the current 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 character string. Note that there is a delay between the return time and the set time because of the command response time and other consideration.
2 Command System RIGOL :SYSTem:ERRor[:NEXT]? Syntax :SYSTem:ERRor[:NEXT]? Description Query and delete the last system error message. Return Format The query returns a character string containing the message number and message content. Wherein, the message number is an integer and the message content is a ASCII character string. Example :SYSTem:ERRor:NEXT? The query returns -113,"Undefined header; keyword cannot be found".
RIGOL 2 Command System :SYSTem:EXPand Syntax :SYSTem:EXPand :SYSTem:EXPand? Description Set the expanding or compressing mode of the vertical scale to the center of the screen (CENTer) or the ground level (GROund). Query the current expanding or compressing mode of the vertical scale. Parameter Name Type Range Default Discrete {CENTer|GROund} GROund Return Format The query returns CENT or GRO. Example :SYSTem:EXPand CENTer The query returns CENT.
RIGOL 2 Command System :SYSTem:LANGuage Syntax :SYSTem:LANGuage :SYSTem:LANGuage? Description Set the language of the system to simplified Chinese, traditional Chinese or English. Query the current language of the system. Parameter Name Type Range Default Discrete {SCHinese|TCHinese|ENGLish} ENGLish Return Format The query returns SCH, TCH or ENG. Example :SYSTem:LANGuage SCHinese The query returns SCH.
RIGOL 2 Command System :SYSTem:PON Syntax :SYSTem:PON :SYSTem:PON? Description Set the type of configuration that the oscilloscope recalls when it is powered on again. It can be set to Last or Default. Query the current type of configuration that the oscilloscope recalls when it is powered on again. Parameter Name Type Range Default Discrete {LATest|DEFault} -- Return Format The query returns LAT or DEF. Example :SYSTem:PON LATest The query returns LAT.
RIGOL 2 Command System :SYSTem:SSAVer:TIME Syntax :SYSTem:SSAVer:TIME :SYSTem:SSAVer:TIME? Description Set the screen saver time. Query the current screen saver time. Parameter Name Type Range Default Discrete {1MIN|2MIN|5MIN|15MIN|30MIN|45MIN |60MIN|2HOur|5HOur|OFF} OFF Explanation When the oscilloscope enters the idle state and holds for a certain period of time, the screen saver program will be enabled. When OFF is selected, the screen saver program will not be used.
RIGOL 2 Command System :SYSTem:SETup Syntax :SYSTem:SETup :SYSTem:SETup? Description Send the file data of the system setup. Read the file data of the system setup. Explanation When sending, the format of the data stream: The Stream Block Header (::= #NXXXXXX) is used to describe the length of the data stream. Wherein, # is the start denoter of the data stream; N is less than or equal to 9; the N figures following N represents the length of the data stream in bytes.
2 Command System RIGOL :SYSTem:VERSion? Syntax :SYSTem:VERSion? Description Query the version number of the SCPI the system used. Return Format The query always returns 1999.0.
RIGOL 2 Command System :SYSTem:AOUTput Syntax :SYSTem:AOUTput :SYSTem:AOUTput? Description Set the output signal type of the [Trigger Out] connector at the rear panel. Query the current output signal type of the [Trigger Out] connector at the rear panel. Parameter Name Type Range Default Discrete {TOUT|PFAil} TOUT Explanation TOUT: when this type is selected, the oscilloscope outputs a signal that can reflect the current capture rate of the oscilloscope at each trigger.
2 Command System RIGOL :SYSTem:RESet Syntax :SYSTem:RESet Description Power on the system again. Explanation The command is applicable to instruments with hardware version 1.0 or higher.
RIGOL 2 Command System :SYSTem:OPTion:INSTall Syntax :SYSTem:OPTion:INSTall Description Install the option. Explanation represents the serial number of the option (do not add space between characters).
2 Command System RIGOL :SYSTem:OPTion:UNINSTall Syntax :SYSTem:OPTion:UNINSTall Description Unload the option installed.
RIGOL 2 Command System :SYSTem:UDEVice Syntax :SYSTem:UDEVice :SYSTem:UDEVice? Description Set the oscilloscope to make it match with different types of devices. Query the type of the device currently connected to the oscilloscope. Parameter Name Type Range Default Discrete {COMPuter|PICTbridge} COMPuter Explanation The oscilloscope can communicate with the PC or PictBridge printer via the USB Device interface at the rear panel. Return Format The query returns COMP or PICT.
RIGOL 2 Command System :SYSTem:GPIB Syntax :SYSTem:GPIB :SYSTem:GPIB? Description Set the GPIB address. Query the current GPIB address. Parameter Name Type Range Default Integer 1 to 30 1 Return Format The query returns an integer between 1 and 30. Example :SYSTem:GPIB 5 The query returns 5.
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. Example :SYSTem:GAMount? The query returns 14.
2 Command System RIGOL :SYSTem:RAMount? Syntax :SYSTem:RAMount? Description Query the number of channels of the current instrument. Return Format The query returns the number of channels of the current instrument in integer. Example :SYSTem:RAMount? The query returns 2.
RIGOL 2 Command System :TIMebase Subsystem :TIMebase:DELay:ENABle :TIMebase:DELay:OFFSet :TIMebase:DELay:SCALe :TIMebase[:MAIN]:OFFSet :TIMebase[:MAIN]:SCALe :TIMebase:MODE :TIMebase:HREF:MODE :TIMebase:HREF:POSition :TIMebase:VERNier 2-418 2-418 DS2000 Programming Guide
RIGOL 2 Command System :TIMebase:DELay:ENABle Syntax :TIMebase:DELay:ENABle :TIMebase:DELay:ENABle? Description Enable or disable the delayed sweep. Query the current status of the delayed sweep. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :TIMebase:DELay:ENABle ON The query returns 1.
RIGOL 2 Command System :TIMebase:DELay:OFFSet Syntax :TIMebase:DELay:OFFSet :TIMebase:DELay:OFFSet? Description Set the offset of the delayed time base and the unit is s. Query the current offset of the delayed time base. 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.
RIGOL 2 Command System :TIMebase:DELay:SCALe Syntax :TIMebase:DELay:SCALe :TIMebase:DELay:SCALe? Description Set the scale of the delayed time base and the unit is s/div. Query the current scale of the delayed time base. Parameter Name Type Range Default Real (1×50/real-time sample rate)×1/40 to the current MAIN SCALe 500ns Note: for the MAIN SCALe, refer to the :TIMebase[:MAIN]:SCALe command. Return Format The query returns the horizontal scale in scientific notation.
RIGOL 2 Command System :TIMebase[:MAIN]:OFFSet Syntax :TIMebase[:MAIN]:OFFSet :TIMebase[:MAIN]:OFFSet? Description Set the offset of the main time base and the unit is s. Query the current offset of the main time base.
RIGOL 2 Command System :TIMebase[:MAIN]:SCALe Syntax :TIMebase[:MAIN]:SCALe :TIMebase[:MAIN]:SCALe? Description Set the scale of the main time base and the unit is s/div. Query the current scale of the main time base. Parameter Name Type Range Default Real Depend on the time base mode [1]: Normal: 2ns[2] to 1ks ROLL: 200ms to 1ks 1μs Note[1]: refer to the :TIMebase:MODE command. Note[2]: this value is different for different model.
RIGOL 2 Command System :TIMebase:MODE Syntax :TIMebase:MODE :TIMebase:MODE? Description Set the horizontal time base mode. Query the current horizontal time base mode. Parameter Name Type Range Default Discrete {MAIN|XY|ROLL} MAIN Return Format The query returns MAIN, XY or ROLL. Example :TIMebase:MODE MAIN The query returns MAIN.
RIGOL 2 Command System :TIMebase:HREF:MODE Syntax :TIMebase:HREF:MODE :TIMebase:HREF:MODE? Description Set the horizontal reference mode namely the reference position according to which the waveform expands and compresses horizontally. Query the current horizontal reference mode. Parameter Name Type Range Default Discrete {CENTer|TPOSition|USER} CENTer Explanation CENTer: the waveform expands or compresses horizontally around the center of the screen.
RIGOL 2 Command System :TIMebase:HREF:POSition Syntax :TIMebase:HREF:POSition :TIMebase:HREF:POSition? Description Set the user-defined reference position around which the waveform expands or compresses horizontally. Query the current user-defined reference position around which the waveform expands or compresses horizontally. Parameter Name Type Range Default Integer -350 to 350 0 Return Format The query returns an integer. Example :TIMebase:HREF:POSition 150 The query returns 150.
RIGOL 2 Command System :TIMebase:VERNier Syntax :TIMebase:VERNier :TIMebase:VERNier? Description Enable or disable the fine adjustment of the horizontal scale. Query the current status of the fine adjustment of the horizontal scale. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :TIMebase:VERNier ON The query returns 1.
RIGOL 2 Command System :TRIGger Subsystem :TRIGger:MODE :TRIGger:COUPling :TRIGger:STATus? :TRIGger:SWEep :TRIGger:HOLDoff :TRIGger:NREJect :TRIGger:EDGe :TRIGger:PULSe :TRIGger:RUNT :TRIGger:WINDows :TRIGger:NEDGe :TRIGger:SLOPe :TRIGger:VIDeo :TRIGger:PATTern :TRIGger:DELay :TRIGger:TIMeout :TRIGger:DURATion :TRIGger:SHOLd :TRIGger:RS232 :TRIGger:IIC :TRIGger:SPI :TRIGger:USB 2-428 2-428 DS2000 Programming Guide
RIGOL 2 Command System :TRIGger:MODE Syntax :TRIGger:MODE :TRIGger:MODE? Description Select the trigger type. Query the current trigger type. Parameter Name Type Range Default Discrete {EDGE|PULSe|RUNT|WIND|NEDG|SLOPe |VIDeo|PATTern|DELay|TIMeout|DURATi on|SHOLd|RS232|IIC|SPI|USB} EDGE Return Format The query returns the current trigger type. Example :TRIGger:MODE SLOPe The query returns SLOP.
RIGOL 2 Command System :TRIGger:COUPling Syntax :TRIGger:COUPling :TRIGger:COUPling? Description Select the desired trigger coupling mode. Query the current trigger coupling mode. Parameter Name Type Range Default Discrete {AC|DC|LFReject|HFReject} DC Explanation It is only available in edge trigger. Return Format The query returns AC, DC, LFR or HFR. Example :TRIGger:COUPling LFReject The query returns LFR.
2 Command System RIGOL :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 the trigger mode to auto, normal or single. Query the current trigger mode. Parameter Name Type Range Default Discrete {AUTO|NORMal|SINGle} AUTO Return Format The query returns AUTO, NORM or SING. Example :TRIGger:SWEep SINGle The query returns SING.
RIGOL 2 Command System :TRIGger:HOLDoff Syntax :TRIGger:HOLDoff :TRIGger:HOLDoff? Description Set the trigger holdoff time and the unit is s. Query the current trigger holdoff time. Parameter Name Type Range Default Real 100ns to 10s 100ns Explanation This setting is not available for the Nth edge trigger, video trigger, RS232 trigger, IIC trigger, SPI trigger and USB trigger. Return Format The query returns the trigger holdoff time in scientific notation.
RIGOL 2 Command System :TRIGger:NREJect Syntax :TRIGger:NREJect :TRIGger:NREJect? Description Enable or disable noise reject. Query the current status of noise reject. Parameter Name Type Range Default Bool {{0|OFF}|{1|ON}} 0|OFF Return Format The query returns 0 or 1. Example :TRIGger:NREJect ON The query returns 1.
2 Command System RIGOL :TRIGger:EDGe :TRIGger:EDGe:SOURce :TRIGger:EDGe:SLOPe :TRIGger:EDGe:LEVel DS2000 Programming Guide 2-435
RIGOL 2 Command System :TRIGger:EDGe:SOURce Syntax :TRIGger:EDGe:SOURce :TRIGger:EDGe:SOURce? Description Select the trigger source of edge trigger. Query the current trigger source of edge trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2|EXT|ACLine} CHANnel1 Return Format The query returns CHAN1, CHAN2, EXT or ACL. Example :TRIGger:EDGe:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:EDGe:SLOPe Syntax :TRIGger:EDGe:SLOPe :TRIGger:EDGe:SLOPe? Description Select the edge type of edge trigger. Query the current edge type of edge trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative|RFALl} POSitive Return Format The query returns POS, NEG or RFAL. Example :TRIGger:EDGe:SLOPe NEGative The query returns NEG.
RIGOL 2 Command System :TRIGger:EDGe:LEVel Syntax :TRIGger:EDGe:LEVel :TRIGger:EDGe:LEVel? Description Set the trigger level of edge trigger and the unit is the same with the current amplitude unit. Query the current trigger level of edge trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANNel:OFFSet command.
2 Command System RIGOL :TRIGger:PULSe :TRIGger:PULSe:SOURce :TRIGger:PULSe:WHEN :TRIGger:PULSe:UWIDth :TRIGger:PULSe:LWIDth :TRIGger:PULSe:LEVel DS2000 Programming Guide 2-439
RIGOL 2 Command System :TRIGger:PULSe:SOURce Syntax :TRIGger:PULSe:SOURce :TRIGger:PULSe:SOURce? Description Select the trigger source in pulse trigger. Query the current trigger source in pulse trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:PULSe:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:PULSe:WHEN Syntax :TRIGger:PULSe:WHEN :TRIGger:PULSe:WHEN? Description Select the trigger condition of pulse trigger. Query the current 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).
RIGOL 2 Command System Return Format The query returns PGR, PLES, NGR, NLES, PGL or NGL. Example :TRIGger:PULSe:WHEN PGReater The query returns PGR.
RIGOL 2 Command System :TRIGger:PULSe:UWIDth Syntax :TRIGger:PULSe:UWIDth :TRIGger:PULSe:UWIDth? Description Set the upper limit of the pulse width in pulse trigger and the unit is s. Query the current upper limit of the pulse width in pulse trigger. Parameter Name Type Range Default Real 2ns to 4s 2μs Note: when the trigger condition is PGLess or NGLess, the range is from 10ns to 4s.
RIGOL 2 Command System :TRIGger:PULSe:LWIDth Syntax :TRIGger:PULSe:LWIDth :TRIGger:PULSe:LWIDth? Description Set the lower limit of the pulse width in pulse trigger and the unit is s. Query the current lower limit of the pulse width in pulse trigger Parameter Name Type Range Default Real 2ns to 4s 1μs Note: when the trigger condition is PGLess or NGLess, the range is from 2ns to 3.99s.
RIGOL 2 Command System :TRIGger:PULSe:LEVel Syntax :TRIGger:PULSe:LEVel :TRIGger:PULSe:LEVel? Description Set the trigger level in pulse trigger and the unit is the same with the current amplitude unit. Query the current trigger level in pulse trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center 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:RUNT :TRIGger:RUNT:SOURce :TRIGger:RUNT:POLarity :TRIGger:RUNT:WHEN :TRIGger:RUNT:WLOWer :TRIGger:RUNT:WUPPer :TRIGger:RUNT ALEVel :TRIGger:RUNT:BLEVel 2-446 2-446 DS2000 Programming Guide
RIGOL 2 Command System :TRIGger:RUNT:SOURce Syntax :TRIGger:RUNT:SOURce :TRIGger:RUNT:SOURce? Description Select the trigger source of runt trigger. Query the current trigger source of runt trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:RUNT:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:RUNT:POLarity Syntax :TRIGger:RUNT:POLarity :TRIGger:RUNT:POLarity? Description Select the pulse polarity of runt trigger. Query the current pulse polarity of runt trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG. Example :TRIGger:RUNT:POLarity NEGative The query returns NEG.
RIGOL 2 Command System :TRIGger:RUNT:WHEN Syntax :TRIGger:RUNT:WHEN :TRIGger:RUNT:WHEN? Description Select the qualifier of runt trigger. Query the current 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:WLOWer Syntax :TRIGger:RUNT:WLOWer :TRIGger:RUNT:WLOWer? Description Set the lower limit of the pulse width in runt trigger. Query the current lower limit of the pulse width in runt trigger. Parameter Name Type Range Default Discrete 2ns to 4s 1μs Note: when the qualifier is GLESs, the range of the lower limit of the pulse width is from 2ns to 3.99s.
RIGOL 2 Command System :TRIGger:RUNT:WUPPer Syntax :TRIGger:RUNT:WUPPer :TRIGger:RUNT:WUPPer? Description Set the upper limit of the pulse width in runt trigger. Query the current upper limit of the pulse width in runt trigger. Parameter Name Type Range Default Discrete 2ns to 4s 2μs Note: when the qualifier is GLESs, the range of the upper limit of the pulse width is from 10ns to 4s.
RIGOL 2 Command System :TRIGger:RUNT:ALEVel Syntax :TRIGger:RUNT:ALEVel :TRIGger:RUNT:ALEVel? Description Set the upper limit of the trigger level in runt trigger and the unit is the same with the current amplitude unit. Query the current upper limit of the trigger level in runt trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :TRIGger:RUNT:BLEVel Syntax :TRIGger:RUNT:BLEVel :TRIGger:RUNT:BLEVel? Description Set the lower limit of the trigger level in runt trigger and the unit is the same with the current amplitude unit. Query the current lower limit of the trigger level in runt trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :TRIGger:WINDows :TRIGger:WINDows:SOURce :TRIGger:WINDows:SLOPe :TRIGger:WINDows:POSition :TRIGger:RUNT:TIMe 2-454 2-454 DS2000 Programming Guide
RIGOL 2 Command System :TRIGger:WINDows:SOURce Syntax :TRIGger:WINDows:SOURce :TRIGger:WINDows:SOURce? Description Select the trigger source of windows trigger. Query the current trigger source of windows trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:WINDows:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:WINDows:SLOPe Syntax :TRIGger:WINDows:SLOPe :TRIGger:RUNT:SLOPe? Description Select the windows type of windows trigger. Query the current windows type of windows trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative|RFALl} POSitive Return Format The query returns POSitive, NEGative or RFALl. Example :TRIGger:WINDows:SLOPe NEGative The query returns NEG.
RIGOL 2 Command System :TRIGger:WINDows:POSition Syntax :TRIGger:WINDows:POSition :TRIGger:RUNT:POSition? Description Select the trigger position of windows trigger. Query the current trigger position of windows trigger. Parameter Name Type Range Default Discrete {EXIT|ENTER|TIMe} ENTER Return Format The query returns EXIT, ENTER or TIM. Example :TRIGger:WINDows:POSition ENTER The query returns ENTER.
RIGOL 2 Command System :TRIGger:WINDows:TIMe Syntax :TRIGger:WINDows:TIMe :TRIGger:RUNT:TIMe? Description Select the windows time of windows trigger. Query the current windows time of windows trigger. Parameter Name Type Range Default Real 16ns to 4s 1μs 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.
2 Command System RIGOL :TRIGger:NEDGe :TRIGger:NEDGe:SOURce :TRIGger:NEDGe:SLOPe :TRIGger:NEDGe:IDLE :TRIGger:NEDGe:EDGE :TRIGger:NEDGe:LEVel DS2000 Programming Guide 2-459
RIGOL 2 Command System :TRIGger:NEDGe:SOURce Syntax :TRIGger:NEDGe:SOURce :TRIGger:NEDGe:SOURce? Description Select the trigger source of Nth egde trigger. Query the current trigger source of Nth edge trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:NEDGe:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:NEDGe:SLOPe Syntax :TRIGger:NEDGe:SLOPe :TRIGger:NEDGe:SLOPe? Description Select the edge type of Nth edge trigger. Query the current edge type of Nth edge trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative} POSitive Return Format The query returns POSitive or NEGative. Example :TRIGger:NEDGe:SLOPe NEGative The query returns NEG.
RIGOL 2 Command System :TRIGger:NEDGe:IDLE Syntax :TRIGger:NEDGe:IDLE :TRIGger:NEDGe:IDLE? Description Set the idle time of Nth edge trigger. Query the current idle time of Nth edge trigger. Parameter Name Type Range Default Real 16ns to 4s 1μs Return Format The query returns the idle time value in scientific notation. Example :TRIGger:NEDGe:IDLE 0.002 The query returns 2.000000e-03.
RIGOL 2 Command System :TRIGger:NEDGe:EDGE Syntax :TRIGger:NEDGe:EDGE :TRIGger:NEDGe:EDGE? Description Set the edge number of Nth edge trigger. Query the current 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. Example :TRIGger:NEDGe:EDGE 20 The query returns 20.
RIGOL 2 Command System :TRIGger:NEDGe:LEVel Syntax :TRIGger:NEDGe:LEVel :TRIGger:NEDGe:LEVel? Description Set the trigger level in Nth edge trigger and the unit is the same with the current amplitude unit. Query the current trigger level in Nth edge trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANNel:OFFSet command.
2 Command System RIGOL :TRIGger:SLOPe :TRIGger:SLOPe:SOURce :TRIGger:SLOPe:WHEN :TRIGger:SLOPe:TUPPer :TRIGger:SLOPe:TLOWer :TRIGger:SLOPe:WINDow :TRIGger:SLOPe:ALEVel :TRIGger:SLOPe:BLEVel DS2000 Programming Guide 2-465
RIGOL 2 Command System :TRIGger:SLOPe:SOURce Syntax :TRIGger:SLOPe:SOURce :TRIGger:SLOPe:SOURce? Description Select the trigger source of slope trigger. Query the current trigger source of slope trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:SLOPe:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:SLOPe:WHEN Syntax :TRIGger:SLOPe:WHEN :TRIGger:SLOPe:WHEN? Description Select the trigger condition of slope trigger. Query the current trigger condition of slope trigger. Parameter Name Type Range Default Discrete {PGReater|PLESs|NGReater|NLESs|PG Less|NGLess} PGReater Explanation PGReater: you need to specify a time value (refer to the :TRIGger:SLOPe:TLOWer command).
RIGOL 2 Command System Return Format The query returns PGR, PLES, NGR, NLES, PGL or NGL. Example :TRIGger:SLOPe:WHEN PGReater The query returns PGR.
RIGOL 2 Command System :TRIGger:SLOPe:TUPPer Syntax :TRIGger:SLOPe:TUPPer :TRIGger:SLOPe:TUPPer? Description Set the upper limit of time in slope trigger and the unit is s. Query the current upper limit of time in slope trigger. Parameter Name Type Range Default Real 10ns to 1s 2μs Note: when the trigger condition is PGLess or NGLess, the range is from 20ns to 1s.
RIGOL 2 Command System :TRIGger:SLOPe:TLOWer Syntax :TRIGger:SLOPe:TLOWer :TRIGger:SLOPe:TLOWer? Description Set the lower limit of time in slope trigger and the unit is s. Query the current lower limit of time in slope trigger. Parameter Name Type Range Default Real 10ns to 1s 1μs Note: when the trigger condition is PGLess or NGLess, the range is from 10ns to 999ms.
RIGOL 2 Command System :TRIGger:SLOPe:WINDow Syntax :TRIGger:SLOPe:WINDow :TRIGger:SLOPe:WINDow? Description Set the type of the vertical window in slope trigger. Query the current type of the vertical window 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. Refer to the :TRIGger:SLOPe:ALEVel command.
RIGOL 2 Command System :TRIGger:SLOPe:ALEVel Syntax :TRIGger:SLOPe:ALEVel :TRIGger:SLOPe:ALEVel? Description Set the upper limit of the trigger level in slope trigger and the unit is the same with the current amplitude unit. Query the current upper limit of the trigger level in slope trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :TRIGger:SLOPe:BLEVel Syntax :TRIGger:SLOPe:BLEVel :TRIGger:SLOPe:BLEVel? Description Set the lower limit of the trigger level in slope trigger and the unit is the same with the current amplitude unit. Query the current lower limit of the trigger level in slope trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :TRIGger:VIDeo :TRIGger:VIDeo:SOURce :TRIGger:VIDeo:POLarity :TRIGger:VIDeo:MODE :TRIGger:VIDeo:LINE :TRIGger:VIDeo:STANdard :TRIGger:VIDeo:LEVel 2-474 2-474 DS2000 Programming Guide
RIGOL 2 Command System :TRIGger:VIDeo:SOURce Syntax :TRIGger:VIDeo:SOURce :TRIGger:VIDeo:SOURce? Description Select the trigger source of video trigger. Query the current trigger source of video trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:VIDeo:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:VIDeo:POLarity Syntax :TRIGger:VIDeo:POLarity :TRIGger:VIDeo:POLarity? Description Set the video polarity in video trigger. Query the current video polarity in video trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG. Example :TRIGger:VIDeo:POLarity POSitive The query returns POS.
RIGOL 2 Command System :TRIGger:VIDeo:MODE Syntax :TRIGger:VIDeo:MODE :TRIGger:VIDeo:MODE? Description Set the sync type in video trigger to AllLine, Line Number, Odd Field or Even Field. Query the current 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 AllLine or Line Number. For the video standard, refer to the :TRIGger:VIDeo:STANdard command.
RIGOL 2 Command System :TRIGger:VIDeo:LINE Syntax :TRIGger:VIDeo:LINE :TRIGger:VIDeo:LINE? Description Set the line number in video trigger when the sync type is Line Number (refer to the :TRIGger:VIDeo:MODE command). Query the current line number of the specified line.
RIGOL 2 Command System :TRIGger:VIDeo:STANdard Syntax :TRIGger:VIDeo:STANdard :TRIGger:VIDeo:STANdard? Description Select the video standard in video trigger. Query the current video standard in video trigger. Parameter Name Type Range Default Discrete {PALSecam|NTSC|480P|576P|720P60H Z|720P50HZ|720P30HZ|720P25HZ|720 P24HZ|1080P60HZ|1080P50HZ|1080P3 0HZ|1080P25HZ|1080P24HZ|1080I30H Z|1080I25HZ|1080I24HZ} NTSC Return Format The query returns the video standard selected.
RIGOL 2 Command System :TRIGger:VIDeo:LEVel Syntax :TRIGger:VIDeo:LEVel :TRIGger:VIDeo:LEVel? Description Set the trigger level in video trigger and the unit is the same with the current amplitude unit. Query the current trigger level in video trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANNel:OFFSet command.
2 Command System RIGOL :TRIGger:PATTern :TRIGger:PATTern:PATTern :TRIGger:PATTern:LEVel DS2000 Programming Guide 2-481
RIGOL 2 Command System :TRIGger:PATTern:PATTern Syntax :TRIGger:PATTern:PATTern :TRIGger:PATTern:PATTern? Description Set the pattern code of each channel in pattern trigger. Query the current pattern code of each channel in pattern trigger. Parameter Name Type Range Default Discrete {H,L,X,R,F} H,L Note: they are the default pattern codes for CH1 and CH2 from the left to the right. Explanation In the pattern, you can only specify one rising edge or falling edge.
RIGOL 2 Command System :TRIGger:PATTern:LEVel Syntax :TRIGger:PATTern:LEVel , :TRIGger:PATTern:LEVel? Description Set the trigger level of each channel in pattern trigger and the unit is the same with the current amplitude unit. Query the current trigger level of each channel in pattern trigger.
RIGOL 2 Command System :TRIGger:DELay :TRIGger:DELay:SA :TRIGger:DELay:SLOPA :TRIGger:DELay:SB :TRIGger:DELay:SLOPB :TRIGger:DELay:TYPe :TRIGger:DELay:TUPPer :TRIGger:DELay:TLOWer 2-484 2-484 DS2000 Programming Guide
RIGOL 2 Command System :TRIGger:DELay:SA Syntax :TRIGger:DELay:SA :TRIGger:DELay:SA? Description Select the trigger source of signal source A in delay trigger. Query the current trigger source of signal source A in delay trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:DELay:SA CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:DELay:SLOPA Syntax :TRIGger:DELay:SLOPA :TRIGger:DELay:SLOPA? Description Set the edge type of edge A of delay trigger. Query the current edge type of edge A of delay trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG. Example :TRIGger:DELay:SLOPA NEGative The query returns NEG.
RIGOL 2 Command System :TRIGger:DELay:SB Syntax :TRIGger:DELay:SB :TRIGger:DELay:SB? Description Select the trigger source of signal source B in delay trigger. Query the current trigger source of signal source B in delay trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:DELay:SB CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:DELay:SLOPB Syntax :TRIGger:DELay:SLOPB :TRIGger:DELay:SLOPB? Description Set the edge type of edge B of delay trigger. Query the current edge type of edge B of delay trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG. Example :TRIGger:DELay:SLOPB NEGative The query returns NEG.
RIGOL 2 Command System :TRIGger:DELay:TYPe Syntax :TRIGger:DELay:TYPe :TRIGger:DELay:TYPe? Description Set the delay type of delay trigger. Query the current delay type of delay trigger. Parameter Name Type Range Default Discrete { GREater|LESS|GLESs |GOUT} GREater Explanation GREater: trigger when the time difference (△T) between the specified edges of source A and source B is greater than the preset time limit (refer to the :TRIGger:DELay:TLOWer command).
RIGOL 2 Command System Example :TRIGger:DELay:TYPe GOUT The query returns GOUT.
RIGOL 2 Command System :TRIGger:DELay:TUPPer Syntax :TRIGger:DELay:TUPPer :TRIGger:DELay:TUPPer? Description Set the upper limit of the delay time in delay trigger. Query the current upper limit of the delay time in delay trigger. Parameter Name Type Range Default Real 2ns to 4s 2μs Note: when the delay type is GLESs or GOUT, the range is from 12ns to 4s. Explanation This command is available when the delay type (refer to the :TRIGger:DELay:TYPe command) is LESS, GOUT or GLESs.
RIGOL 2 Command System :TRIGger:DELay:TLOWer Syntax :TRIGger:DELay:TLOWer :TRIGger:DELay:TLOWer? Description Set the lower limit of the delay time in delay trigger. Query the current lower limit of the delay time in delay trigger. Parameter Name Type Range Default Real 2ns to 3.99s 1μs Note: when the delay type is GLESs or GOUT, the range is from 2ns to 3.99s. Explanation This command is available when the delay type (refer to the :TRIGger:DELay:TYPe command) is LESS, GOUT or GLESs.
2 Command System RIGOL :TRIGger:TIMeout :TRIGger:TIMeout:SOURce :TRIGger:TIMeout:SLOPe :TRIGger:TIMeout:TIMe DS2000 Programming Guide 2-493
RIGOL 2 Command System :TRIGger:TIMeout:SOURce Syntax :TRIGger:TIMeout:SOURce :TRIGger:TIMeout:SOURce? Description Select the trigger source of timeout trigger. Query the current trigger source of timeout trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:TIMeout:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:TIMeout:SLOPe Syntax :TRIGger:TIMeout:SLOPe :TRIGger:TIMeout:SLOPe? Description Set the edge type of timeout trigger. Query the current edge type of timeout trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative|RFALl} POSitive Return Format The query returns POS, NEG or RFAL. Example :TRIGger:TIMeout:SLOPe NEGative The query returns NEG.
RIGOL 2 Command System :TRIGger:TIMeout:TIMe Syntax :TRIGger:TIMeout:TIMe :TRIGger:TIMeout:TIMe? Description Set the timeout time of timeout trigger. Query the current timeout time of timeout trigger. Parameter Name Type Range Default Real 16ns to 4s 1μs Return Format The query returns the timeout time in scientific notation. Example :TRIGger:TIMeout:TIMe 0.002 The query returns 2.000000e+06.
2 Command System RIGOL :TRIGger:DURATion :TRIGger:DURATion:SOURce :TRIGger:DURATion:TYPe :TRIGger:DURATion:WHEN :TRIGger:DURATion:TUPPer :TRIGger:DURATion:TLOWer DS2000 Programming Guide 2-497
RIGOL 2 Command System :TRIGger:DURATion:SOURce Syntax :TRIGger:DURATion:SOURce :TRIGger:DURATion:SOURce? Description Select the trigger source of duration trigger. Query the current trigger source of duration trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:DURATion:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:DURATion:TYPe Syntax :TRIGger:DURATion:TYPe :TRIGger:DURATion:TYPe? Description Set the current patterns of the channels. Query the current patterns of the channels. Parameter Name Type Range Default Discrete {H,L,X} H,L Note: the default patterns of CH1 and CH2 from the left to right. Return Format The query returns the current patterns of the two channels. Example :TRIGger:DURATion:TYPe L,X The query returns L,X.
RIGOL 2 Command System :TRIGger:DURAtion:WHEN Syntax :TRIGger:DURATion:WHEN :TRIGger:DURATion:WHEN? Description Select the trigger condition of duration trigger. Query the current trigger condition of duration trigger. Parameter Name Type Range Default Discrete {GREater|LESS|GLESs} PGReater Explanation GREater: you need to specify a time (refer to the :TRIGger:DURATion:TLOWer command). The oscilloscope triggers when the duration of the pattern is greater than the preset time.
RIGOL 2 Command System :TRIGger:DURATion:TUPPer Syntax :TRIGger:DURATion:TUPPer :TRIGger:DURATion:TUPPer? Description Set the upper limit of the duration in duration trigger and the unit is s. Query the current upper limit of the duration in duration trigger. Parameter Name Type Range Default Real 2ns to 4s 2μs Note: when the trigger condition is GLESs, the range is from 12ns to 4s.
RIGOL 2 Command System :TRIGger:DURATion:TLOWer Syntax :TRIGger:DURATion:TLOWer :TRIGger:DURATion:TLOWer? Description Set the lower limit of the duration in duration trigger and the unit is s. Query the current lower limit of the duration in duration trigger. Parameter Name Type Range Default Real 2ns to 4s 1μs Note: when the trigger condition is GLESs, the range is from 2ns to 3.99s.
2 Command System RIGOL :TRIGger:SHOLd :TRIGger:SHOLd:DSrc :TRIGger:SHOLd:CSrc :TRIGger:SHOLd:SLOPe :TRIGger:SHOLd:PATTern :TRIGger:SHOLd:TYPe :TRIGger:SHOLd:STIMe :TRIGger:SHOLd:HTIMe DS2000 Programming Guide 2-503
RIGOL 2 Command System :TRIGger:SHOLd:DSrc Syntax :TRIGger:SHOLd:DSrc :TRIGger:SHOLd:DSrc? Description Set the data source of setup/hold trigger. Query the current data source of setup/hold trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:SHOLd:DSrc CHANnel1 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:SHOLd:CSrc Syntax :TRIGger:SHOLd:CSrc :TRIGger:SHOLd:CSrc? Description Set the clock source of setup/hold trigger. Query the current clock source of setup/hold trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:SHOLd:CSrc CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:SHOLd:SLOPe Syntax :TRIGger:SHOLd:SLOPe :TRIGger:SHOLd:SLOPe? Description Set the edge type of setup/hold trigger to the rising edge or falling edge. Query the current edge type of setup/hold trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG. Example :TRIGger:SHOLd:SLOPe NEGative The query returns NEG.
RIGOL 2 Command System :TRIGger:SHOLd:PATTern Syntax :TRIGger:SHOLd:PATTern :TRIGger:SHOLd:PATTern? Description Set the data type of setup/hold trigger. Query the current data type of setup/hold trigger. Parameter Name Type Range Default Discrete {H|L} H Return Format The query returns the pattern currently set for each channel. Example :TRIGger:SHOLd:PATTern L The query returns L.
RIGOL 2 Command System :TRIGger:SHOLd:TYPe Syntax :TRIGger:SHOLd:TYPe :TRIGger:SHOLd:TYPe? Description Set the hold type of setup/hold trigger. Query the current hold type of setup/hold trigger. Parameter Name Type Range Default Discrete {SETup|HOLd|SETHOLd} SETup Explanation SETup: set the time (refer to the :TRIGger:SHOLd:STIMe command) that the data stays stable and constant before the clock edge appears.
RIGOL 2 Command System :TRIGger:SHOLd:STIMe Syntax :TRIGger:SHOLd:STIMe :TRIGger:SHOLd:STIMe? Description Set the setup time of setup/hold trigger. Query the current setup time of setup/hold trigger. Parameter Name Type Range Default Real 2ns to 1s 50ns Explanation This command is available when the hold type (refer to the :TRIGger:SHOLd:TYPe command) is set to SETup or SETHOLd. Reuturn Format The query returns the setup time in scientific notation. Example :TRIGger:SHOLd:STIMe 0.
RIGOL 2 Command System :TRIGger:SHOLd:HTIMe Syntax :TRIGger:SHOLd:HTIMe :TRIGger:SHOLd:HTIMe? Description Set the hold time of setup/hold trigger. Query the current hold time of setup/hold trigger. Parameter Name Type Range Default Real 2ns to 1s 50ns Explanation This command is available when the hold type (refer to the :TRIGger:SHOLd:TYPe command) is set to HOLd or SETHOLd. Reuturn Format The query returns the hold time in scientific notation. Example :TRIGger:SHOLd:HTIMe 0.
2 Command System RIGOL :TRIGger:RS232 :TRIGger:RS232:SOURce :TRIGger:RS232:WHEN :TRIGger:RS232:PARity :TRIGger:RS232:STOP :TRIGger:RS232:DATA :TRIGger:RS232:WIDTh :TRIGger:RS232:BAUD :TRIGger:RS232:BUSer :TRIGger:RS232:LEVel DS2000 Programming Guide 2-511
RIGOL 2 Command System :TRIGger:RS232:SOURce Syntax :TRIGger:RS232:SOURce :TRIGger:RS232:SOURce? Description Select the trigger source of RS232 trigger. Query the current trigger source of RS232 trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Reuturn Format The query returns CHAN1 or CHAN2. Example :TRIGger:RS232:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:RS232:WHEN Syntax :TRIGger:RS232:WHEN :TRIGger:RS232:WHEN? Description Set the trigger condition of RS232 trigger to Start, Error, Check Error or Data. Query the current 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.
RIGOL 2 Command System :TRIGger:RS232:PARity Syntax :TRIGger:RS232:PARity :TRIGger:RS232:PARity? Description Set the even-odd check mode in RS232 trigger when the trigger condition is Error or Check Error. Query the current even-odd check mode in RS232 trigger when the trigger condition is Error or Check Error. Parameter Name Type Range Default Discrete {EVEN|ODD|NONE} NONE Note: the even-odd check mode can not be set to NONE when the trigger condition is Check Error.
RIGOL 2 Command System :TRIGger:RS232:STOP Syntax :TRIGger:RS232:STOP :TRIGger:RS232:STOP? Description Set the stop bit in RS232 trigger when the trigger condition is Error. Query the current stop bit in RS232 trigger when the trigger condition is Error. Parameter Name Type Range Default Discrete {1|2} 1 Explanation To set the trigger condition, refer to the :TRIGger:RS232:WHEN command. Return Format The query returns 1 or 2. Example :TRIGger:RS232:STOP 2 The query returns 2.
RIGOL 2 Command System :TRIGger:RS232:DATA Syntax :TRIGger:RS232:DATA :TRIGger:RS232:DATA? Description Set the data value in RS232 trigger when the trigger condition is Data. Query the current data value in RS232 trigger when the trigger condition is Data. Parameter Name Type Range Integer n 0 to 2 -1 Default 70 n Note: in the expression 2 - 1, n is the current data bits (refer to the :TRIGger:RS232:WIDTh command).
RIGOL 2 Command System :TRIGger:RS232:WIDTh Syntax :TRIGger:RS232:WIDTh :TRIGger:RS232:WIDTh? Description Set the data bits in RS232 trigger when the trigger condition is Data. Query the current data bits in RS232 trigger when the trigger condition is Data. Parameter Name Type Range Default Discrete {5|6|7|8} 8 Explanation To set the trigger condition, refer to the :TRIGger:RS232:WHEN command. Return Format The query returns 5, 6, 7 or 8.
RIGOL 2 Command System :TRIGger:RS232:BAUD Syntax :TRIGger:RS232:BAUD :TRIGger:RS232:BAUD? Description Set the baud rate in RS232 trigger and the unit is bps. Query the current baud rate in RS232 trigger. Parameter Name Type Range Default Discrete {2400|4800|9600|19200|38400|5760 0|115200|USER} 9600 Note: for USER, refer to the :TRIGger:RS232:BUSer command. Return Format The query returns the baud rate currently set. Example :TRIGger:RS232:BAUD 4800 The query returns 4800.
RIGOL 2 Command System :TRIGger:RS232:BUSer Syntax :TRIGger:RS232:BUSer :TRIGger:RS232:BUSer? Description Set the user-defined baud rate in RS232 trigger and the unit is bps. Query the current user-defined baud rate in RS232 trigger. Parameter Name Type Range Default Integer 1 to 900000 9600 Return Format The query returns the current baud rate. Example :TRIGger:RS232:BUSer 50000 The query returns 50000.
RIGOL 2 Command System :TRIGger:RS232:LEVel Syntax :TRIGger:RS232:LEVel :TRIGger:RS232:LEVel? Description Set the trigger level in RS232 trigger and the unit is the same with the current amplitude unit. Query the current trigger level in RS232 trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANNel:OFFSet command.
2 Command System RIGOL :TRIGger:IIC :TRIGger:IIC:SCL :TRIGger:IIC:SDA :TRIGger:IIC:WHEN :TRIGger:IIC:AWIDth :TRIGger:IIC:ADDRess :TRIGger:IIC:DIRection :TRIGger:IIC:DATA :TRIGger:IIC:CLEVel :TRIGger:IIC:DLEVel DS2000 Programming Guide 2-521
RIGOL 2 Command System :TRIGger:IIC:SCL Syntax :TRIGger:IIC:SCL :TRIGger:IIC:SCL? Description Select the SCL channel source in IIC trigger. Query the current SCL channel source in IIC trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:IIC:SCL CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:IIC:SDA Syntax :TRIGger:IIC:SDA :TRIGger:IIC:SDA? Description Select the SDA channel source in IIC trigger. Query the current SDA channel source in IIC trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:IIC:SDA CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:IIC:WHEN Syntax :TRIGger:IIC:WHEN :TRIGger:IIC:WHEN? Description Set the trigger condition of IIC trigger. Query the current trigger condition of IIC trigger. Parameter Name Type Range Default Discrete {STARt|RESTart|STOP|NACKnowled ge |ADDRess|DATA|ADATa} STARt Explanation STARt: trigger when SDA data transitions from high to low while SCL is high. RESTart: trigger when another start condition occurs before a stop condition.
RIGOL 2 Command System :TRIGger:IIC:AWIDth Syntax :TRIGger:IIC:AWIDth :TRIGger:IIC:AWIDth? Description Set the address bits in IIC trigger when the trigger condition is Address or A&D. Query the current address bits in IIC trigger when the trigger condition is Address or A&D. Parameter Name Type Range Default Discrete {7|8|10} 7 Explanation To set the IIC trigger condition, refer to the :TRIGger:IIC:WHEN command. Return Format The query returns 7, 8 or 10.
RIGOL 2 Command System :TRIGger:IIC:ADDRess Syntax :TRIGger:IIC:ADDRess :TRIGger:IIC:ADDRess? Description Set the address value in IIC trigger when the trigger condition is Address or A&D. Query the current address value in IIC trigger when the trigger condition is Address or A&D. Parameter Name Type Integer Range n Default 0 to 2 – 1: 0 to 127 , 0 to 255 or 0 to 1023 1 n Note: in the expression 2 - 1, n is the current address bits (refer to the :TRIGger:IIC:AWIDth command).
RIGOL 2 Command System :TRIGger:IIC:DIRection Syntax :TRIGger:IIC:DIRection
:TRIGger:IIC:DIRection? Description Set the data direction in IIC trigger when the trigger condition is Address or A&D. Query the current data direction in IIC trigger when the trigger condition is Address or A&D. Parameter Name Type Range Default Discrete {READ|WRITe|RWRite} READ Explanation To set the IIC trigger condition, refer to the :TRIGger:IIC:WHEN command.RIGOL 2 Command System :TRIGger:IIC:DATA Syntax :TRIGger:IIC:DATA :TRIGger:IIC:DATA? Description Set the data value in IIC trigger when the trigger condition is Data or A&D. Query the current data value in IIC trigger when the trigger condition is Data or A&D. Parameter Name Type Integer Range 0 to 2 40 Default -1 0 Explanation To set the IIC trigger condition, refer to the :TRIGger:IIC:WHEN command. Return Format The query returns an integer.
RIGOL 2 Command System :TRIGger:IIC:CLEVel Syntax :TRIGger:IIC:CLEVel :TRIGger:IIC:CLEVel? Description Set the trigger level of SCL in IIC trigger and the unit is the same with the current amplitude unit. Query the current trigger level of SCL in IIC trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center 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:IIC:DLEVel Syntax :TRIGger:IIC:DLEVel :TRIGger:IIC:DLEVel? Description Set the trigger level of SDA in IIC trigger and the unit is the same with the current amplitude unit. Query the current trigger level of SDA in IIC trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command. For the OFFSet, refer to the :CHANNel:OFFSet command.
2 Command System RIGOL :TRIGger:SPI :TRIGger:SPI:SCL :TRIGger:SPI:SDA :TRIGger:SPI:WIDTh :TRIGger:SPI:DATA :TRIGger:SPI:TIMeout :TRIGger:SPI:SLOPe :TRIGger:SPI:CLEVel :TRIGger:SPI:DLEVel DS2000 Programming Guide 2-531
RIGOL 2 Command System :TRIGger:SPI:SCL Syntax :TRIGger:SPI:SCL :TRIGger:SPI:SCL? Description Select the SCL channel source in SPI trigger. Query the current SCL channel source in SPI trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:SPI:SCL CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:SPI:SDA Syntax :TRIGger:SPI:SDA :TRIGger:SPI:SDA? Description Select the SDA channel source in SPI trigger. Query the current SDA channel source in SPI trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:SPI:SDA CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:SPI:WIDTh Syntax :TRIGger:SPI:WIDTh :TRIGger:SPI:WIDTh? Description Set the bits of SDA in SPI trigger. Query the current bits of SDA in SPI trigger. Parameter Name Type Range Default Integer 4 to 32 8 Return Format The query returns an integer. Example :TRIGger:SPI:WIDTh 10 The query returns 10.
RIGOL 2 Command System :TRIGger:SPI:DATA Syntax :TRIGger:SPI:DATA :TRIGger:SPI:DATA? Description Set the data value in SPI trigger. Query the current 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 an integer. Example :TRIGger:SPI:DATA 5 The query returns 5.
RIGOL 2 Command System :TRIGger:SPI:TIMeout Syntax :TRIGger:SPI:TIMeout :TRIGger:SPI:TIMeout? Description Set the timeout time in SPI trigger when the trigger condition is Timeout and the unit is s. Query the current timeout time in SPI trigger when the trigger condition is Timeout. Parameter Name Type Range Default Real 100ns to 1s 1us Return Format The query returns the timeout time in scientific notation. Example :TRIGger:SPI:TIMeout 0.000002 The query returns 2.
RIGOL 2 Command System :TRIGger:SPI:SLOPe Syntax :TRIGger:SPI:SLOPe :TRIGger:SPI:SLOPe? Description Set the trigger edge of the clock signal in SPI trigger. Query the current trigger edge of the clock signal in SPI trigger. Parameter Name Type Range Default Discrete {POSitive|NEGative} POSitive Return Format The query returns POS or NEG. Example :TRIGger:SPI:SLOPe POSitive The query returns POS.
RIGOL 2 Command System :TRIGger:SPI:CLEVel Syntax :TRIGger:SPI:CLEVel :TRIGger:SPI:CLEVel? Description Set the trigger level of SCL in SPI trigger and the unit is the same with the current amplitude unit. Query the current trigger level of SCL in SPI trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center 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:SPI:DLEVel Syntax :TRIGger:SPI:DLEVel :TRIGger:SPI:DLEVel? Description Set the trigger level of SDA in SPI trigger and the unit is the same with the current amplitude unit. Query the current trigger level of SDA in SPI trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center 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:USB :TRIGger:USB:DPLus :TRIGger:USB:DMINus :TRIGger:USB:SPEed :TRIGger:USB:WHEN :TRIGger:USB:PLEVel :TRIGger:USB:MLEVel 2-540 2-540 DS2000 Programming Guide
RIGOL 2 Command System :TRIGger:USB:DPLus Syntax :TRIGger:USB:DPLus :TRIGger:USB:DPLus? Description Select the D+ data channel source in USB trigger. Query the current D+ data channel source in USB trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:USB:DPLus CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:USB:DMINus Syntax :TRIGger:USB:DMINus :TRIGger:USB:DMINus? Description Select the D- data channel source in USB trigger. Query the current D- data channel source in USB trigger. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel2 Return Format The query returns CHAN1 or CHAN2. Example :TRIGger:USB:DMINus CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :TRIGger:USB:SPEed Syntax :TRIGger:USB:SPEed :TRIGger:USB:SPEed? Description Set the signal speed in USB trigger to Low Speed or Full Speed. Query the current signal speed in USB trigger. Parameter Name Type Range Default Discrete {LOW|FULL} LOW Return Format The query returns LOW or FULL. Example :TRIGger:USB:SPEed FULL The query returns FULL.
RIGOL 2 Command System :TRIGger:USB:WHEN Syntax :TRIGger:USB:WHEN :TRIGger:USB:WHEN? Description Set the trigger condition of USB trigger. Query the current 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 10 ms.
RIGOL 2 Command System :TRIGger:USB:PLEVel Syntax :TRIGger:USB:PLEVel :TRIGger:USB:PLEVel? Description Set the trigger level of the D+ data line in USB trigger and the unit is the same with the current amplitude unit. Query the current trigger level of the D+ data line in USB trigger. Parameter Name Type Range Default Real ± 5× VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
RIGOL 2 Command System :TRIGger:USB:MLEVel Syntax :TRIGger:USB:MLEVel :TRIGger:USB:MLEVel? Description Set the trigger level of the D- data line in USB trigger and the unit is the same with the current amplitude unit. Query the current trigger level of the D- data line in USB trigger. Parameter Name Type Range Default Real ± 5 × VerticalScale from the screen center OFFSet 0 Note: For the VerticalScale, refer to the :CHANnel:SCALe command.
2 Command System RIGOL :WAVeform Subsystem :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? DS2000 Programming Guide 2-547
RIGOL 2 Command System :WAVeform:SOURce Syntax :WAVeform:SOURce :WAVeform:SOURce? Description Set the channel source of waveform reading. Query the current channel source of waveform reading. Parameter Name Type Range Default Discrete {CHANnel1|CHANnel2} CHANnel1 Return Format The query returns CHAN1 or CHAN2。 Example :WAVeform:SOURce CHANnel2 The query returns CHAN2.
RIGOL 2 Command System :WAVeform:MODE Syntax :WAVeform:MODE :WAVeform:MODE? Description Set the reading mode of waveform. Query the current reading mode of waveform. Parameter Name Type Range Default Discrete {NORMal|MAXimum|RAW} NORMal Explanation In different modes, the :WAVeform:POINts command returns different numbers of waveform points. NORMal : return the number of waveform points currently displayed.
RIGOL 2 Command System :WAVeform:FORMat Syntax :WAVeform:FORMat :WAVeform:FORMat? Description Set the return format of the waveform data. Query the current return format of the waveform data. Parameter Name Type Range Default Discrete {WORD|BYTE|ASCii} BYTE Return Format The query returns WORD, BYTE or ASC. Example :WAVeform:FORMat WORD The query returns WORD.
RIGOL 2 Command System :WAVeform:POINts Syntax :WAVeform:POINts :WAVeform:POINts? Description Set the number of waveform points to be read. Query the current number of waveform points to be read.
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:SOU Rce and related commands. Procedures of the screen waveform data reading: S1. :WAV:SOURce CHAN1 Set the channel source to be read S2. :WAV:MODE NORM Set the waveform mode to NORM S3. :WAV:DATA? Obtain data from buffer Procedures of the internal memory waveform data reading: S1.
2 Command System RIGOL visa32.viPrintf(viSession, ":WAV:RESet\n"); visa32.viPrintf(viSession, ":WAV:BEGin\n"); 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.
RIGOL 2 Command System Return Format The data returned contains 2 parts: the TMC data description header and the waveform data. #900000ddddXXXX... Wherein, dddd denotes the number of the effective waveform points in the data stream. When reading the internal memory data, the waveform data returned each time might be the data block in one area of the buffer. Each data block has a TMC description header similar to #9XXXXXXXXX, wherein XXXXXXXXX denotes the number of the waveform points in this data block.
2 Command System RIGOL 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. C# Test Program using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.Threading; using System.
RIGOL 2 Command System } stpWatch.Start(); s32ReadByte = TestReadWfm(viSession, args[0], args[1] ); stpWatch.Stop(); Console.WriteLine( "Speed is {0} KB/s", s32ReadByte/stpWatch.ElapsedMilliseconds ); DeInitVisa(viDef, viSession); Console.WriteLine( "Press any key to continue."); Console.
RIGOL 2 Command System if (strBuild[0] == 'I') //IDLE { visa32.viPrintf(viSession, ":WAV:DATA?\n"); visa32.viRead(viSession, wfmBuf, wfmBuf.Length, out readCnt); //data header #9XXXX... plus end mark \n readCnt -=12; readSum += (readCnt); if (readCnt > maxPacket) { maxPacket = readCnt; } //readTim++; //skip data header #9XXXX... if (readCnt > 0) { wfmStream.Write( wfmBuf, 11, readCnt); } wfmStream.Close(); Console.
RIGOL 2 Command System } Console.WriteLine("{0}: Read {1} ", readTim, readCnt ); readTim++; //skip data header #9XXXX... if (readCnt > 0) { wfmStream.Write( wfmBuf ,11, readCnt); } } } return readSum; } //initialize VISA static bool InitVisa( out Int32 viDef ) { Int32 viError; viError = visa32.viOpenDefaultRM( out viDef ); if( viError!=visa32.VI_SUCCESS ) { return false; } else { return true; } } //to initialize VISA static void DeInitVisa(Int32 viDef, Int32 viSession ) { visa32.
2 Command System RIGOL Int32 viRetCount; StringBuilder strRsrc = new StringBuilder(256); viError = visa32.viFindRsrc(viDef, "USB?*", out viFindList, out viRetCount, strRsrc); if (viRetCount > 0) { viError = visa32.viOpen(viDef, strRsrc.ToString(), 0, 0, out viSession); if (viError != visa32.VI_SUCCESS) { visa32.
RIGOL 2 Command System :WAVeform:XINCrement? Syntax :WAVeform:XINCrement? Description Query the time difference between two neighboring points of the specified source (refer to the :WAVeform:SOURce command) in X direction and the unit is s. Return Format The query returns the time difference in scientific notation. Example :WAVeform:XINCrement? The query returns 1.000000e-08.
2 Command System RIGOL :WAVeform:XORigin? Syntax :WAVeform:XORigin? Description Query the time from the trigger point to the reference time (refer to the :WAVeform:SOURce command) of the specified source (refer to the :WAVeform:XREFerence? command) in X direction and the unit is s. Return Format The query returns the time value in scientific notation. Example :WAVeform:XORigin? The query returns -7.000000e-06.
RIGOL 2 Command System :WAVeform:XREFerence? Syntax :WAVeform:XREFerence? Description Query the reference time of the specified source (refer to the :WAVeform:SOURce command) in X direction and the unit is s. Return Format The query returns the reference time in integer. Example :WAVeform:XREFerence? The query returns 0.
2 Command System RIGOL :WAVeform:YINCrement? Syntax :WAVeform:YINCrement? Description Query the voltage value per unit of the specified source (refer to the :WAVeform:SOURce command) in Y direction and the unit is the same with the unit of the signal source. Return Format The query returns the voltage value in scientific notation. Example :WAVeform:YINCrement? The query returns 4.000000e-02.
RIGOL 2 Command System :WAVeform:YORigin? Syntax :WAVeform:YORigin? Description Query the vertical offset relative to the vertical reference position (refer to the :WAVeform:SOURce command) of the specified source (refer to the :WAVeform:YREFerence? command) in Y direction and the unit is the same with the unit of the signal source. Return Format The query returns the offset value in scientific notation. Example :WAVeform:YORigin? The query returns 2.000000e+00.
2 Command System RIGOL :WAVeform:YREFerence? Syntax :WAVeform:YREFerence? Description Query the vertical reference position of the specified source (refer to the :WAVeform:SOURce command) in Y direction and the unit is the same with the unit of the signal source. Return Format The query returns the reference position in integer. Example :WAVeform:YREFerence? The query returns 127.
RIGOL 2 Command System :WAVeform:STARt Syntax :WAVeform:STARt :WAVeform:STARt? Description Set the start position of internal memory waveform reading. Query the current start position of internal memory waveform reading. Parameter Name Type Range Default Integer NORMal: 1 to 1400 MAX: 1 to the number of effective point currently on the screen RAW: 1 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 the stop position of internal memory waveform reading. Query the current stop position of internal memory waveform reading. Parameter Name Type Range Default Integer NORMal: 1 to 1400 MAX: 1 to the number of effective point currently on the screen RAW: 1 to the current maximum memory depth -- Explanation For the memory depth, refer to the :ACQuire:MDEPth command.
RIGOL 2 Command System :WAVeform:BEGin Syntax :WAVeform:BEGin Description Enable the waveform reading.
2 Command System RIGOL :WAVeform:END Syntax :WAVeform:END Description Stop the waveform reading.
RIGOL 2 Command System :WAVeform:RESet Syntax :WAVeform:RESet Description Reset the waveform reading.
2 Command System RIGOL :WAVeform:PREamble? Syntax :WAVeform:PREamble? Description Query and return all the waveform parameters. Return Format The query returns 10 waveform parameters separated by ",": ,,,,,,,,, : 0 (WORD), 1 (BYTE) or 2 (ASC). Refer to the :WAVeform:FORMat command. : 0 (NORMal), 1 (MAXimum) or 2 (RAW). Refer to the :WAVeform:MODE command. : integer between 1 and 56000000.
RIGOL 2 Command System :WAVeform:STATus? Syntax :WAV:STATus? Description Query and return the current waveform reading state. Explanation IDLE: the waveform reading thread finishes. READ: the waveform reading thread is running. n: the current number of waveform points to be read. Return Format The query returns IDLE,n or READ,n.
3 Programming Demos RIGOL 3 Programming Demos This chapter lists some programming demos to illustrate how to use commands to realize the common functions of the oscilloscope in the development environments of C#, Excel, LabVIEW, Matlab, Visual Basic 6.0 and Visual C++ 6.0. All the demos are based on VISA (Virtual Instrument Software Architecture). VISA is an API (Application Programming Interface) for controlling instruments.
RIGOL 3 Programming Demos Note: the "Device Source Descriptor" in the above programming demos should match with the instrument.
3 Programming Demos RIGOL Programming Preparations First make sure your computer has installed the VISA library of NI (download it from http://www.ni.com/visa). Here, the default installation path is C:\Program Files\IVI Foundation\VISA. Here, the USB interface of the oscilloscope is used to communicate with the PC and please use the USB cable to connect the USB Device interface at the rear panel of the oscilloscope to the USB interface of the PC. After successful connection, turn on the instrument.
RIGOL 3 Programming Demos C# Programming Demo The function of the program: read the device information. 1. Build a project. Find visa32.cs in the installation directory of VISA and add it to the project. After that, visa32.cs is added to the Solution Explorer and the type visa32 is introduced in. 2. Open the resource manager and then turn on the instrument (you need to set the descriptor). Const string Cdevice_INSTR=@"USB0::0x1AB1::0x04B0::DS2A0000000001::INSTR" viError=visa32.
3 Programming Demos RIGOL 5. C# program using System.Collections.Generic; using System.Linq; using System.Text; namespace IDN { class Program { const string cDEVICE_INSTR = @"USB0::0x1AB1::0x04B0::DS2A0000000001::INSTR"; static void Main(string[] args) { Int32 viError; Int32 viDefRm; Int32 viSession; Int32 retCnt; Int32 i; String strIdn; byte [] byteReadBuf; viError = visa32.viOpenDefaultRM(out viDefRm); viError = visa32.viOpen(viDefRm, cDEVICE_INSTR, 0, 5000, out viSession); visa32.
RIGOL 3 Programming Demos } } 3-63-6 DS2000 Programming Guide
3 Programming Demos RIGOL Excel Programming Demo The function of the program: read the device information. Use the VBA function in the Excel to operate the instrument. You need to install the Excel 2010 and Visual Basic. 1. Add the Developer to the menu bar. Click File and open the Excel Options dialog box as shown in the figure below. Click Customize Ribbon and then select the Developer in the right-hand box.
RIGOL 3 Programming Demos 2. Input the device resource descriptor in a cell in the Excel. Click Developer in the menu bar and select Visual Basic as shown in the figures below. 3. Select Tools in the menu bar in the Visual Basic page and click References.... Then, select VISA Library in the pop-up dialog box and click OK to quote the VISA Library as shown in the figure below.
3 Programming Demos RIGOL 4. Turn on the device and the device descriptor is in CELLS(1,2) of SHEET1. viErr = visa.viOpenDefaultRM(viDefRm) viErr = visa.viOpen(viDefRm, Sheet1.Cells(1, 2), 0, 5000, viDevice) 5. Send request and read data. cmdStr = "*IDN?" viErr = visa.viWrite(viDevice, cmdStr, Len(cmdStr), ret) viErr = visa.viRead(viDevice, idnStr, 128, ret) Sheet1.Cells(2, 2) = idnStr 6. Turn off the device. visa.viClose (viDevice) visa.
RIGOL 3 Programming Demos 7. Set the macro security. Click Macro Security under the Developer menu. Select Enable all macros (not recommended; potential dangerous code can run) in the Trust Center dialog box and click OK as shown in the figures below. 8. Click Macros and click Run in the pop-up dialog box as shown in the figures below.
3 Programming Demos RIGOL 9. Add the button control. Click Insert and select button in the Form Controls as shown in the figures below.
RIGOL 3 Programming Demos 10. Right-click the button and select Assign Macro.... Then, click OK in the Assign Macro dialog box to run the program as shown in the figures below.
3 Programming Demos RIGOL Labview Programming Demo The function of the program: read the screen waveform data of CH1. Enter the Labview programming environment and follow the steps below. 1. Add the VISA Resource and Waveform Graph controls respectively as shown in the figure below.
RIGOL 3 Programming Demos 2. Open the program block diagram panel. Select Instrument I/O→VISA and add the VISA Write, VISA Read, VISA Open and VISA Close functions respectively. 3. Connect the VISA Resource with the VISA Open. Then, connect the VISA resource name outputs of all the functions with the VISA Resource and connect the error output with the error input as shown in the figure below. 4.
3 Programming Demos RIGOL 5. The data format is TMC header + waveform data points + terminator. The TMC header is in #NXXXXXX format, wherein, # is the TMC header denoter, N represents that there are N bytes following which describes the length of the waveform data points in ASCII character, and the terminator represents the ending of the communication.
RIGOL 3 Programming Demos 7. The complete program block diagram is as shown in the figure below. 8. Select the device resource from the VISA Resource Name list box and start the run.
3 Programming Demos RIGOL Matlab Programming Demo The function of the program: make FFT operation on the waveform data and draw the waveform. You need to install the Matlab. 1. Create the WaveData.m file under the user-defined directory. 2. Create the device. The first parameter is the distributor and can be Agilent, NI or Tek. The second parameter is the resource descriptor. You need to set the properties of the device after creating the device.
RIGOL 3 Programming Demos wave = data(12:len-1); wave = wave'; subplot(211); plot(wave); fftSpec = fft(wave',2048); fftRms = abs( fftSpec'); fftLg = 20*log(fftRms); subplot(212); plot(fftLg); 7. Run the program. Make sure that the WaveData.m file can be found under the current directory setting. Input WaveData in the Command Window and then click Enter as shown in the figure below.
3 Programming Demos RIGOL Visual Basic 6.0 Programming Demo Enter the Visual Basic 6.0 programming environment and follow the steps below. 1. Build a standard application program project (Standard EXE). 2. Open the Existing tab in Project→Add Module, find and add the visa32.bas file in the include folder under the NI-VISA installation path. 3. Add two buttons as shown in the figure below in Demo to represent CH1 and CH2 respectively.
RIGOL 3 Programming Demos 4. Open the General tab in Project→Project1 Properties and select Form1 in the Startup Object dropdown box. 5. Double-click CH1 to enter the programming environment and add the following codes to realize the control of CH1 and CH2. Below are the codes of CH1 and the codes of CH2 are similar.
3 Programming Demos RIGOL Label1(0).ForeColor = &H808080 'grey Else Call viVPrintf(vi, ":CHAN1:DISP 1" + Chr$(10), 0) Label1(0).ForeColor = &HFFFF& 'yellow End If ' turn off the source Call viClose(vi) Call viClose(defrm) 6. You can get a single executable program of demo by saving and running the whole project. When the oscilloscope is correctly connected to the PC, the ON/OFF control of any channel can be realized.
RIGOL 3 Programming Demos Visual C++ 6.0 Programming Demo Enter the Visual C++6.0 programming environment and follow the steps below. 1. Build a MFC project based on dialog box. 2. Open the C/C++ tab in Project→Settings, select Code Generation in Category and Debug Multithreaded DLL in Use run-time library. Then click OK to close the dialog box. 3. Open the Link tab in Project→Settings and add visa32.lib to the Object/library modules manually.
3 Programming Demos 4. RIGOL Open the Directories tab in Tools→Options. 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. Note: at present, VISA library has been added. 5.
RIGOL 3 Programming Demos 6. Modify the control attribute. 1) Name Text as "Command". 2) Open the Data item in Com box attribute and input the following three commands manually: *IDN? :CHAN1:DISP 1 :CHAN1:DISP 0 3) Open the General item in Edit attribute and select Disable. 4) Name Button as Send and Read. 7. Add the variables m_combox and m_receive for the Com box and Edit controls respectively.
3 Programming Demos 8. RIGOL 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 9. 3 Programming Demos You can get a single executable file by saving, compiling and running the project. When the oscilloscope is correctly connected to the PC, you can select a command (e.g. *IDN?) and click Send and Read to display the return result of the oscilloscope.