Rigol DS1000 Series Programming Manual

Rigol DS1000 Series Programming Manual

Digital oscilloscope
Hide thumbs Also See for DS1000 Series:

Advertisement

Programming Guide
RIGOL
Publication Number: PGA02100-1210
June, 2008
DS1000, DS1000CA Series Digital Oscilloscope
DS1000CD, DS1000C, DS1000MD, DS1000M
DS1302CA, DS1202CA, DS1102CA, DS1062CA
© 2008 RIGOL Technologies, Inc.
All Right Reserved

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DS1000 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Rigol DS1000 Series

  • Page 1 Programming Guide RIGOL Publication Number: PGA02100-1210 June, 2008 DS1000, DS1000CA Series Digital Oscilloscope DS1000CD, DS1000C, DS1000MD, DS1000M DS1302CA, DS1202CA, DS1102CA, DS1062CA © 2008 RIGOL Technologies, Inc. All Right Reserved...
  • Page 3 RIGOL © 2008 RIGOL Technologies, Inc. All Rights Reserved.  RIGOL products are protected by patent laws in and outside of the P.R. China.  Information in this publication replaces all previous corresponding material.  RIGOL Technologies, Inc. reserves the right to modify or change part of or all ...
  • Page 4: Table Of Contents

    Trigger control commands ..............2-48 Trigger Mode Commands ................ 2-53 LA Commands (Only for DS1000*D Series) ........... 2-77 Math Commands .................. 2-81 Waveform commands ................2-83 Chapter 3 Command Quick Reference ..........3-1 © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 5: Chapter 1 Programming Introduction

    Users can carry on the remote control to the oscilloscope or do the further development according to this manual. NOTE: The Programming Reference is applicable to the Oscilloscope of the firmware version above 01.02.18. © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 6: Communication Ports

    Basic operations that you can do with a computer and an oscilloscope include: Set up the oscilloscope.  Make measurements.  Retrieve data (waveforms or measurements) from the oscilloscope.  © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 7: Symbol Instruction

    4. Square Brackets [ ] Items enclosed in square brackets [ ] are optional. 5. Triangle Brackets < > Items enclosed in < > should be replaced by a numericalvalue or character string. © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 8: The Abbreviation Of The Commands

    The abbreviation rule is to omit all the small letters in the instruction header. For example: :TRIGger:ALTernation:SLOPe:LEVelA can be entered as: :TRIG:ALT:SLOP:LEVA © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 9: Chapter 2 Set The Command Systems

    Measurement Commands  Acquire Commands  Display Commands  Vertical Commands  Horizontal Commands  Trigger Commands  LA Commands(Only for DS1000*D Series)  Math Commands  Waveform Commands  © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 10: System Commands

    :STOP  :AUTO  :FORCetrig  :Trig%50  :HARDcopy  :INFO:LANGuage  :COUNter:ENABle  :BEEP:ENABle  :BEEP:ACTion  We will give specific explanations for each command in the following part. © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 11 The query returns the company name, oscilloscope model number, sequence number, and software revision number. Returned Format: RIGOL TECHNOLOGIES,<model>,<sequence_number>,<rev_number> Example: RIGOL TECHNOLOGIES, DS1102C, DS1102200000122, 03.03.05 :RUN Command Format: :RUN Explanation: The command initiates the oscilloscope to acquire waveform data according to its current settings.
  • Page 12 The command sets the trigger level to the vertical middle of the signal amplitude. :HARDcopy Command Format: :HARDcopy Explanation: The command is to extract the current information on the screen. :INFO:LANGuage Command Format: © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 13 This command is to turn the counter function on or off. Query Format: :COUNter:ENABle? Returned Format: Query returns “ON” or “OFF”. The double quotes are not returned. Example: :COUNter:ENABle□ON Enable the counter function :COUNter:ENABle? Query returns “ON” © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 14 Turn the buzzer On :BEEP:ENABle? Query returns “ON” 11. :BEEP:ACTion Command Format: :BEEP:ACTion Explanation: This command is to control the buzzer to sound once (no matter the buzzer is on or off). © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 15: Keyboard Commands

    :KEY:STORage :KEY:PROMPT_V_POS   :KEY:UTILity :KEY:PROMPT_H_POS   :KEY:MNUTIME :KEY:PROMPT_TRIG_LVL   :KEY:MNUTRIG :KEY:OFF   :KEY:Trig%50  We will give specific explanations for each command in the following part. © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 16 RUN/STOP every time this command is sent. :KEY:AUTO Command Format: :KEY:AUTO Explanation: This command is equivalent to the AUTO key, enables the oscilloscope to set the optimum conditions to display the input signal (waveform). © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 17 This command is to set the Math function and the menu on or off. :KEY:REF Command Format: :KEY:REF Explanation: This command is to set the Reference waveform function and the menu on or off. :KEY:F1 Command Format: :KEY:F1 © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 18 Explanation: This command is similar to press and select the option of Menu F4. Repeating this command would enter next level of menu. 12. :KEY:F5 Command Format: :KEY:F5 Explanation: © 2008 RIGOL Technologies, Inc. 2-10 Programming Guide for DS1000/DS1000CA Series...
  • Page 19 This command is to set the Cursor function and the menu on or off. Select the cursor mode by repeating the command. 16. :KEY:ACQuire Command Format: :KEY:ACQuire Explanation: This command is to set the Acquirement function and the menu on or off. © 2008 RIGOL Technologies, Inc. 2-11 Programming Guide for DS1000/DS1000CA Series...
  • Page 20 This command is to initiate the system Utility function and the menu on or off. 20. :KEY:MNUTIME Command Format: :KEY:MNUTIME Explanation: This command is to set the delayed scan function and the menu on or off. 21. :KEY:MNUTRIG Command Format: :KEY:MNUTRIG © 2008 RIGOL Technologies, Inc. 2-12 Programming Guide for DS1000/DS1000CA Series...
  • Page 21 Command Format: :KEY:V_POS_INC Explanation: This command is to move the waveform display up gradually. 25. :KEY:V_POS_DEC Command Format: :KEY:V_POS_DEC Explanation: This command is to move the waveform display down gradually. © 2008 RIGOL Technologies, Inc. 2-13 Programming Guide for DS1000/DS1000CA Series...
  • Page 22 This command is to increase the horizontal scale of the current channel with the 5-2-1 step sequence. 29. :KEY:H_SCALE_DEC Command Format: :KEY:H_SCALE_DEC Explanation: This command is to decrease the horizontal scale of the current channel with the 5-2-1 step sequence. © 2008 RIGOL Technologies, Inc. 2-14 Programming Guide for DS1000/DS1000CA Series...
  • Page 23 This command is to increase the horizontal offset of the current channel gradually. 33. :KEY:H_POS_DEC Command Format: :KEY:H_POS_DEC Explanation: This command is to decrease the horizontal offset of the current channel with gradually. 34. :KEY:PROMPT_V Command Format: :KEY:PROMPT_V © 2008 RIGOL Technologies, Inc. 2-15 Programming Guide for DS1000/DS1000CA Series...
  • Page 24 This command is to select the multi-function knob. 37. :KEY:+FUNCtion Command Format: :KEY:+FUNCtion Explanation: This command is to increase the offset of the multi-function knob. (Equivalent turning the knob clockwise) © 2008 RIGOL Technologies, Inc. 2-16 Programming Guide for DS1000/DS1000CA Series...
  • Page 25 This command is to re-set the vertical display of the waveform (analog channel) to the zero point. 41. :KEY:PROMPT_H_POS Command Format: :KEY:PROMPT_H_POS Explanation: This command is to adjust the trigger offset (or the delayed scan offset) to the horizontal zero point. © 2008 RIGOL Technologies, Inc. 2-17 Programming Guide for DS1000/DS1000CA Series...
  • Page 26 This command is to adjust the trigger level to the central position of the screen. 43. :KEY:OFF Command Format: :KEY:OFF Explanation: This command is to turn of CH1, CH2, MATH, REF and LA keys one by one. © 2008 RIGOL Technologies, Inc. 2-18 Programming Guide for DS1000/DS1000CA Series...
  • Page 27: Measurement Commands

    :MEASure:SOURce  We will give specific explanations for each command in the following part. NOTE: A 1kHz, 5Vpp square wave input is used as example for the following commands. © 2008 RIGOL Technologies, Inc. 2-19 Programming Guide for DS1000/DS1000CA Series...
  • Page 28 Command Format: :MEASure:VMAX?□[<source>] Explanation: This command is to measure the maximum value for the waveform. Returned Format: Query returns 2.64e+00, unit is V. 4. :MEASure:VMIN? Command Format: :MEASure:VMIN?□[<source>] Explanation: © 2008 RIGOL Technologies, Inc. 2-20 Programming Guide for DS1000/DS1000CA Series...
  • Page 29 Query returns 2.64e+00, unit is V. 7. :MEASure:VBASe? Command Format: :MEASure:VBASe?□[<source>] Explanation: This command is to measure the base value of the waveform. Returned Format: Query returns -2.64e+00, unit is V. © 2008 RIGOL Technologies, Inc. 2-21 Programming Guide for DS1000/DS1000CA Series...
  • Page 30 Query returns 2.46e+00, unit is V. 10. :MEASure:OVERshoot? Command Format: :MEASure:OVERshoot?□[<source>] Explanation: This command is to measure the overshoot value of the waveform. Returned Format: Query returns 8.00e-03. 11. :MEASure:PREShoot? Command Format: :MEASure:PREShoot?□[<source>] © 2008 RIGOL Technologies, Inc. 2-22 Programming Guide for DS1000/DS1000CA Series...
  • Page 31 This command is to measure the risetime of the waveform. Returned Format: Query returns <4.00e-05, unit is s. 14. :MEASure:FALLtime? Command Format: :MEASure:FALLtime?□[<source>] Explanation: This command is to measure the falltime of the waveform. © 2008 RIGOL Technologies, Inc. 2-23 Programming Guide for DS1000/DS1000CA Series...
  • Page 32 Query returns 5.00e-04, unit is s. 17. :MEASure:NWIDth? Command Format: :MEASure:NWIDth?□[<source>] Explanation: This command is to measure the negative pulse width of the waveform. Returned Format: Query returns 5.00e-04, unit is s. © 2008 RIGOL Technologies, Inc. 2-24 Programming Guide for DS1000/DS1000CA Series...
  • Page 33 This command is to measure the delay between channel 1, channel 2 at the positive edge. Returned Format: Query returns <-1.00e-04, unit is s. 21. :MEASure:NDELay? Command Format: :MEASure:NDELay?□[<source>] © 2008 RIGOL Technologies, Inc. 2-25 Programming Guide for DS1000/DS1000CA Series...
  • Page 34 :MEASure:TOTal□ON Set the total measurement function on :MEASure:TOTal? Query returns “ON” 23. :MEASure:SOURce Command Format: :MEASure:SOURce□<source> Explanation: This command is to select the channel. Query format: :MEASure:SOURce? Returned Format: © 2008 RIGOL Technologies, Inc. 2-26 Programming Guide for DS1000/DS1000CA Series...
  • Page 35 RIGOL Query returns “CH1” or “CH2”. The double quotes are not returned. Example: :MEASure:SOURce□CHANnel1 Measure the waveform of channel 1 :MEASure:SOURce? Query returns “CH1” © 2008 RIGOL Technologies, Inc. 2-27 Programming Guide for DS1000/DS1000CA Series...
  • Page 36: Acquire Commands

    Acquire System Commands Setting is used to adjust the acquisition mode of the oscilloscope. Acquire Commands include: :ACQuire:TYPE  :ACQuire:MODE  :ACQuire:AVERages  :ACQuire:SAMPlingrate?  We will give specific explanations for each command in the following part. © 2008 RIGOL Technologies, Inc. 2-28 Programming Guide for DS1000/DS1000CA Series...
  • Page 37 The command is used to set the current acquisition mode. The options are “REAL_TIME” and “EQUAL_TIME”. Query Format: :ACQuire:MODE? Returned Format: Query returns “REAL_TIME” or “EQUAL_TIME”. The double quotes are not returned. © 2008 RIGOL Technologies, Inc. 2-29 Programming Guide for DS1000/DS1000CA Series...
  • Page 38 <n> is 1 or 2 means channel 1 or channel 2. Returned Format: Query returns the value of the sampling rate. Example: :ACQuire:SAMPlingrate?□CHANnel1 Query the Sampling Rate for Channel 1 400000000.000000 Returns 400M © 2008 RIGOL Technologies, Inc. 2-30 Programming Guide for DS1000/DS1000CA Series...
  • Page 39: Display System Commands

     :DISPlay:GRID  :DISPlay:PERSist  :DISPlay:MNUDisplay  :DISPlay:MNUStatus  :DISPlay:CLEar  :DISPlay:SCReen  :DISPlay:BRIGhtness  :DISPlay:INTensity  We will give specific explanations for each command in the following part. © 2008 RIGOL Technologies, Inc. 2-31 Programming Guide for DS1000/DS1000CA Series...
  • Page 40 Query Format: :DISPlay:GRID? Returned Format: Query returns “FULL”, “HALF” or “NONE”. The double quotes are not returned. Example: :DISPlay:GRID□FULL Set the grid and coordinate on :DISPlay:GRID? Query returns “FULL” © 2008 RIGOL Technologies, Inc. 2-32 Programming Guide for DS1000/DS1000CA Series...
  • Page 41 Query Format: :DISPlay:MNUDisplay? Returned Format: Query returns 1s, 2s, 5s, 10s, 20s or INFinite. Example: :DISPlay:MNUDisplay□10 Set the display time of the menu to 10s :DISPlay:MNUDisplay? Query returns 10s © 2008 RIGOL Technologies, Inc. 2-33 Programming Guide for DS1000/DS1000CA Series...
  • Page 42 This command is to set the screen as “Normal” or “Inverted”. Query Format: :DISPlay:SCReen? Returned Format: Query returns “NORMAL” or “INVERTED”. The double quotes are not returned. Example: :DISPlay:SCReen□NORMal Set the Display mode to NORMAL :DISPlay:SCReen? Query returns “NORMAL” © 2008 RIGOL Technologies, Inc. 2-34 Programming Guide for DS1000/DS1000CA Series...
  • Page 43 Set the grid brightness of the display to 10 :DISPlay:BRIGhtness? Query returns 10 :DISPlay:INTensity Command Format: :DISPlay:INTensity□<count> Explanation: The command is to set the brightness of the waveform from 0~32. Query Format: :DISPlay:INTensity? Returned Format: © 2008 RIGOL Technologies, Inc. 2-35 Programming Guide for DS1000/DS1000CA Series...
  • Page 44 RIGOL Query returns an integer between 0~32. Example: :DISPlay:INTensity□12 Set the brightness of the waveform as 12 :DISPlay:INTensity? Query returns 12 © 2008 RIGOL Technologies, Inc. 2-36 Programming Guide for DS1000/DS1000CA Series...
  • Page 45: Vertical Commands

    :CHANnel<n>:INVert  :CHANnel<n>:OFFSet  :CHANnel<n>:PROBe  :CHANnel<n>:SCALe  :CHANnel<n>:FILTer  :CHANnel<n>:MEMoryDepth?(Only for DS1000 Series)  :CHANnel<n>:VERNier  We will give specific explanations for each command in the following part. © 2008 RIGOL Technologies, Inc. 2-37 Programming Guide for DS1000/DS1000CA Series...
  • Page 46 Query Format: :CHANnel<n>:COUPling? Returned Format: Query returns “DC”, “AC” or “GND”. The double quotes are not returned. Example: :CHANnel2:COUPling□DC Set DC coupling at Channel 2 :CHANnel2:COUPling? Query returns “DC” © 2008 RIGOL Technologies, Inc. 2-38 Programming Guide for DS1000/DS1000CA Series...
  • Page 47 :CHANnel<n>:INVert? Returned Format: Query returns “ON” or “OFF”. The double quotes are not returned. Example: :CHANnel2:INVert□OFF Set the waveform invert of Channel 2 to “OFF”. :CHANnel2:INVert? Query returns “OFF”. © 2008 RIGOL Technologies, Inc. 2-39 Programming Guide for DS1000/DS1000CA Series...
  • Page 48 Query Format: :CHANnel<n>:PROBe? Returned Format: Query returns the set value of <attn> in scientific numeric notation. Example: :CHANnel2:PROBe□10 Set probe attenuation as 10X for channel 2 :CHANnel2:PROBe? Query returns 1.000e+01 © 2008 RIGOL Technologies, Inc. 2-40 Programming Guide for DS1000/DS1000CA Series...
  • Page 49 Query returns 2.000e+01 8. :CHANnel<n>:FILTer Command Format: :CHANnel<n>:FILTer□{ON|OFF} Explanation: The command is to set the digital filter ON or OFF. The options of n are 1 or 2. Query Format: :CHANnel<n>:FilTer? © 2008 RIGOL Technologies, Inc. 2-41 Programming Guide for DS1000/DS1000CA Series...
  • Page 50 1-2-5 regulation. When the setting is “ON”, the manner is “Fine”. The fine adjustment will subdivide during the “Coarse” range to improve the vertical resolution. Query Format: :CHANnel<n>:VERNier? Returned Format: © 2008 RIGOL Technologies, Inc. 2-42 Programming Guide for DS1000/DS1000CA Series...
  • Page 51 RIGOL Query returns “Coarse” or “Fine”. The double quotes are not returned. Example: :CHANnel2:VERNier□ON Set the adjustment mode to be “Fine” :CHANnel2:VERNier? Query returns “Fine” © 2008 RIGOL Technologies, Inc. 2-43 Programming Guide for DS1000/DS1000CA Series...
  • Page 52: Horizontal Commands

    Scale changed. Horizontal Commands include: :TIMebase:MODE  :TIMebase[:DELayed]:OFFSet  :TIMebase[:DELayed]:SCALe  :TIMebase:FORMat  We will give specific explanations for each command in the following part. © 2008 RIGOL Technologies, Inc. 2-44 Programming Guide for DS1000/DS1000CA Series...
  • Page 53 The default unit is s/div) When it is “MAIN”, omit [:DELayed]. Query Format: :TIMebase[:DELayed]:OFFSet? Returned Format: Query returns the set value of <offset> in scientific numeric notation. © 2008 RIGOL Technologies, Inc. 2-45 Programming Guide for DS1000/DS1000CA Series...
  • Page 54 Set the timebase scale as 2s :TIMebase:SCALe? Query returns 2.000e+00 :TIMebase:FORMat Command Format: :TIMebase:FORMat□<value> Explanation: The command is to set the timebase format as “XY”, “YT‟ or “SCANning”. Query Format: © 2008 RIGOL Technologies, Inc. 2-46 Programming Guide for DS1000/DS1000CA Series...
  • Page 55 Returned Format: Query returns “XY”, “YT‟ or “SCANNING”. The double quotes are not returned. Example: :TIMebase:FORMat□YT Set the format of the timebase as Y-T mode :TIMebase:FORMat? Query returns “Y-T” © 2008 RIGOL Technologies, Inc. 2-47 Programming Guide for DS1000/DS1000CA Series...
  • Page 56: Trigger Commands

    Trigger control commands include: :TRIGger:MODE  :TRIGger<mode>:SOURce  :TRIGger<mode>:LEVel  :TRIGger<mode>:SWEep  :TRIGger<mode>:COUPling  :TRIGger:HOLDoff  :TRIGger:STATus?  We will give specific explanations for each command in the following part. © 2008 RIGOL Technologies, Inc. 2-48 Programming Guide for DS1000/DS1000CA Series...
  • Page 57 <src> can be CHANnel<n>, EXT, EXT5, ACLine or DIGital<m>; When <mode> is “:SLOPE”, <src> can be CHANnel<n>, EXT, EXT5; When <mode> is “:VIDEO”, <src> can be CHANnel<n>, EXT, EXT5. © 2008 RIGOL Technologies, Inc. 2-49 Programming Guide for DS1000/DS1000CA Series...
  • Page 58 Query returns the set value of <level> in scientific numeric notation. Example: :TRIGger:EDGE:LEVel□2 Set the Edge trigger level to 2 V :TRIGger:EDGE:LEVel? Query returns 2.00e+00 :TRIGger<mode>:SWEep Command Format: :TRIGger<mode>:SWEep□{AUTO|NORMal|SINGle} © 2008 RIGOL Technologies, Inc. 2-50 Programming Guide for DS1000/DS1000CA Series...
  • Page 59 LF: Reject DC and low frequency signals (Lower than 8KHz) Query Format: :TRIGger<mode>:COUPling? Returned Format: Query returns “DC”, “AC”, “HF” or “LF”. The double quotes are not returned. Example: :TRIGger:EDGE:COUPling□DC Set the coupling mode to be “DC” © 2008 RIGOL Technologies, Inc. 2-51 Programming Guide for DS1000/DS1000CA Series...
  • Page 60 The command is used to query the current status of the oscilloscope. The status may be RUN, STOP, T‟D, WAIT, SCAN or AUTO. Returned Format: Query returns “RUN”, “STOP”, “T‟D”, “WAIT”, “SCAN” or “AUTO”. The double quotes are not returned. © 2008 RIGOL Technologies, Inc. 2-52 Programming Guide for DS1000/DS1000CA Series...
  • Page 61: Trigger Mode Commands

    :TRIGger:PATTern:PATTern(Only for DS1000*D series)  :TRIGger:DURation:PATTern(Only for DS1000*D series)  :TRIGger:DURation:QUALifier(Only for DS1000*D series)  :TRIGger:DURation:TIME(Only for DS1000*D series)  We will give specific explanations for each command in the following part. © 2008 RIGOL Technologies, Inc. 2-53 Programming Guide for DS1000/DS1000CA Series...
  • Page 62 Query Format: :TRIGger<mode_1>[<mode_2>]:SENSitivity? Returned Format: Query returns the set value of <Count> in scientific numeric notation. Example: :TRIGger:EDGE:SENSitivity□0.2 Set the edge trigger sensitivity as 0.2div :TRIGger:EDGE:SENSitivity? Query returns 2.00e-01 © 2008 RIGOL Technologies, Inc. 2-54 Programming Guide for DS1000/DS1000CA Series...
  • Page 63 The command is to set the trigger edge to be Positive or Negative. Query Format: :TRIGger:EDGE:SLOPe? Returned Format: Query returns “POSITIVE” or “NEGATIVE”. The double quotes are not returned. Example: :TRIGger:EDGE:SLOPe□POSitive Set the trigger edge as positive :TRIGger:EDGE:SLOPe? Query returns “POSITIVE” © 2008 RIGOL Technologies, Inc. 2-55 Programming Guide for DS1000/DS1000CA Series...
  • Page 64 Set the pulse width condition as “+GREATER THAN” :TRIGger:PULSe:MODE? Query returns “+GREATER THAN” 3.2 :TRIGger:PULSe:WIDTh Command Format: :TRIGger:PULSe:WIDTh□<wid> Explanation: The command is to set the pulse width from 20ns ~ 10s. © 2008 RIGOL Technologies, Inc. 2-56 Programming Guide for DS1000/DS1000CA Series...
  • Page 65 RIGOL Query Format: :TRIGger:PULSe:WIDTh? Returned Format: Query returns the set value of <wid> in scientific numeric notation. Example: :TRIGger:PULSe:WIDTh□0.001 Set the pulse width as 1ms :TRIGger:PULSe:WIDTh? Query returns 1.000e-03 © 2008 RIGOL Technologies, Inc. 2-57 Programming Guide for DS1000/DS1000CA Series...
  • Page 66 -Greater than (negative slope greater than), -Less than (negative slope less than), or –Equal (negative slope equal to). <mod> can be set to “+GREaterthan”, “+LESSthan”, “+EQUal”, “-GREaterthan”, “-LESSthan” or “-EQUal”. Query Format: :TRIGger: SLOPe: MODE? © 2008 RIGOL Technologies, Inc. 2-58 Programming Guide for DS1000/DS1000CA Series...
  • Page 67 Set the border of the vertical window to “PA” :TRIGger:SLOPe:WINDow? Query returns “P_WIN_A” 4.4 :TRIGger:SLOPe:LEVelA Command Format: :TRIGger:SLOPe:LEVelA□<value> Explanation: The command is to set the upper trigger level A. © 2008 RIGOL Technologies, Inc. 2-59 Programming Guide for DS1000/DS1000CA Series...
  • Page 68 Example: :TRIGger:SLOPe:LEVelB□-1.5 Set the lower level of the trigger level as -1.5 :TRIGger:SLOPe:LEVelB? Query returns -1.500e+00 Note: Minimum of Level A couldn’t be less than maximum of Level B. © 2008 RIGOL Technologies, Inc. 2-60 Programming Guide for DS1000/DS1000CA Series...
  • Page 69 Set the trigger synchronization as “EVENfield”. :TRIGger:VIDEO:MODE? Query returns “EVEN FIELD”. 5.2 :TRIGger:VIDEO:POLarity Command Format: :TRIGger:VIDEO:POLarity□{POSitive|NEGative} Explanation: The command is to set the Video polarity as “POSitive” or “NEGative”. Query Format: :TRIGger:VIDEO:POLarity? © 2008 RIGOL Technologies, Inc. 2-61 Programming Guide for DS1000/DS1000CA Series...
  • Page 70 The command is to set up number of synchronous appointed lines. The range of <value>: 1~525 for NTSC standard The range of <value>: 1~ 625 for PAL standard Query Format: :TRIGger:VIDEO:LINE? Returned Format: © 2008 RIGOL Technologies, Inc. 2-62 Programming Guide for DS1000/DS1000CA Series...
  • Page 71 RIGOL Query returns the set value of <LINES>. Example: :TRIGger:VIDEO:LINE□25 Set up number of synchronous appointed lines to 25 :TRIGger:VIDEO:LINE? Query returns 25 © 2008 RIGOL Technologies, Inc. 2-63 Programming Guide for DS1000/DS1000CA Series...
  • Page 72 Query returns “CH2” 6.2 :TRIGger:ALTernation:TYPE Command Format: :TRIGger:ALTernation:TYPE□<value> Explanation: The command is to set up trigger type. <type> can be “EDGE”, “PULSe”, “SLOPe” or “VIDEO”. Query Format: :TRIGger:ALTernation:TYPE? Returned Format: © 2008 RIGOL Technologies, Inc. 2-64 Programming Guide for DS1000/DS1000CA Series...
  • Page 73 (when it is Normal) -500s ~ +500s (when it is Stop) -6*scale ~ +6*Scale (when it is Roll mode) “Scale” indicates the current horizontal scale. The default unit is s/div © 2008 RIGOL Technologies, Inc. 2-65 Programming Guide for DS1000/DS1000CA Series...
  • Page 74 :TRIGger:ALTernation<mode>:LEVel? Returned Format: Query returns the set value of <value> in scientific numeric notation. Example: :TRIGGER:ALTERNATION:EDGE:LEVEL□2 Set the trigger level of current Channel to 2. :TRIGGER:ALTERNATION:EDGE:LEVEL Query returns 2.00e+00. © 2008 RIGOL Technologies, Inc. 2-66 Programming Guide for DS1000/DS1000CA Series...
  • Page 75 When <mode> is “:PULSe” or “:SLOPe”, the options of <value> are “+GREaterthan”, “+LESSthan”, “+EQUal”, “-GREaterthan”, “-LESSthan” or “-EQUal”. When <mode> is “:VIDEO”, the options of <value> are “ODDfield”, “EVENfield”, “LINE” or “ALLlines”. Query Format: © 2008 RIGOL Technologies, Inc. 2-67 Programming Guide for DS1000/DS1000CA Series...
  • Page 76 Returned Format: Query returns the set value of <value> in scientific numeric notation. Example: :TRIGGER:ALTERNATION:SLOPE:TIME□0.002 Set the slope time to 2ms :TRIGGER:ALTERNATION:SLOPE:TIME? Query returns 2.000e-03 6.9 :TRIGger:ALTernation:VIDEO:POLarity Command Format: :TRIGger:ALTernation:VIDEO:POLarity□{POSitive|NEGative} © 2008 RIGOL Technologies, Inc. 2-68 Programming Guide for DS1000/DS1000CA Series...
  • Page 77 The command is to set the video standard as NTSC or PAL/SECAM. Query Format: :TRIGger:ALTernation:VIDEO:STANdard? Returned Format: Query returns “NTSC” or “PAL/SECAM”. The double quotes are not returned. Example: :TRIGger:ALTernation:VIDEO:STANdard□NTSC Set the video standard to “NTSC”. :TRIGger:ALTernation:VIDEO:STANdard? Query returns “NTSC”. © 2008 RIGOL Technologies, Inc. 2-69 Programming Guide for DS1000/DS1000CA Series...
  • Page 78 NAB. <count> can be set to “PA”, “PB”, “PAB”, “NA”, “NB” or “NAB”. Query Format: :TRIGger:ALTernation:SLOPe:WINDow? Returned Format: Query returns “P_WIN_A”, “P_WIN_B”, “P_WIN_AB”, “N_WIN_A”, “N_WIN_B” or “N_WIN_AB”. The double quotes are not returned. © 2008 RIGOL Technologies, Inc. 2-70 Programming Guide for DS1000/DS1000CA Series...
  • Page 79 Set the trigger level A to 2. :TRIGGER:ALTERNATION:SLOPE:LEVELA? Query returns 2.000e+00. 6.14 :TRIGger:ALTernation:SLOPe:LEVelB Command Format: :TRIGger:ALTernation:SLOPe:LEVelB□<value> Explanation: The command is to set the lower trigger level B of Slope trigger. © 2008 RIGOL Technologies, Inc. 2-71 Programming Guide for DS1000/DS1000CA Series...
  • Page 80 LF: Reject DC and low frequency signals (Lower than 8K Hz) Query Format: :TRIGger<mode>:COUPling? Returned Format: Query returns “DC”, “AC”, „HF” or “LF”. The double quotes are not returned. Example: :TRIGger:ALTernation:EDGE:COUPling□DC © 2008 RIGOL Technologies, Inc. 2-72 Programming Guide for DS1000/DS1000CA Series...
  • Page 81 RIGOL Set the coupling condition as “DC”. :TRIGger:ALTernation:EDGE:COUPling? Query returns “DC”. © 2008 RIGOL Technologies, Inc. 2-73 Programming Guide for DS1000/DS1000CA Series...
  • Page 82 Query returns the set value of <value>, <mask>, <edge source> and <edge> one by one separated by commas. <value> and <mask> are expressed in decimal. Example: :TRIGGER:PATTERN:PATTERN□100010,100,2,1 Set the pattern. :TRIGger:PATTern:PATTern? Query returns: 68, 4, DIG2, Positive. © 2008 RIGOL Technologies, Inc. 2-74 Programming Guide for DS1000/DS1000CA Series...
  • Page 83 The command is to set the time condition, the options of <qual> are “GREATER THAN”, “LESS THAN” or “EQUAL”. Query Format: :TRIGger:DURation:QUALifier? Returned Format: Query returns “GREATER THAN”, “LESS THAN” or “EQUAL”. The double quotes are © 2008 RIGOL Technologies, Inc. 2-75 Programming Guide for DS1000/DS1000CA Series...
  • Page 84 Set the limit time of the duration time as 50ms. :TRIGGER:DURATION:TIME? Query returns 5.00e-02. must NOTE: The Trigger system is complex, and the settings be defined correctly. Be patient and cautious! © 2008 RIGOL Technologies, Inc. 2-76 Programming Guide for DS1000/DS1000CA Series...
  • Page 85: La Commands

    LA Commands include: :LA:DISPlay  :DIGital<n>:TURN  :DIGital<n>:POSition  :LA:THReshold  :LA:GROUp  :LA:POSition:RESet  We will give specific explanations for each command in the following part. © 2008 RIGOL Technologies, Inc. 2-77 Programming Guide for DS1000/DS1000CA Series...
  • Page 86 The command is to control the specified digital channel ON or OFF Query Format: :DIGital<n>:TURN? Returned Format: Query returns “ON” or “OFF”. The double quotes are not returned. Example: :DIGital2:TURN□ON Set the digital Channel 2 On :DIGital<n>:TURN? Query returns “ON” © 2008 RIGOL Technologies, Inc. 2-78 Programming Guide for DS1000/DS1000CA Series...
  • Page 87 The command is to set the threshold as TTL, CMOS, ECL or ueser defined. <Value> can be “CMOS”, “ECL”, “TTL” and User Defined, the <User Defined> value is in NR3 format from -8.00 to +8.00 [suffix] can be “V”, “mV” or “uV”. © 2008 RIGOL Technologies, Inc. 2-79 Programming Guide for DS1000/DS1000CA Series...
  • Page 88 Set the digital channel D0~D7 On :LA:GROup1? Query returns “ON” :LA:POSition:RESet Command Format: :LA:POSition:RESet Explanation: The command is to relocate the location of the waveform and make a messy screen return to normal display. © 2008 RIGOL Technologies, Inc. 2-80 Programming Guide for DS1000/DS1000CA Series...
  • Page 89: Math Commands

    FFT from Channel 1 and Channel 2, the result can be measured by the grid or the cursor。 MATH Commands include: :MATH:DISPlay  :FFT:DISPlay  We will give specific explanations for each command in the following part. © 2008 RIGOL Technologies, Inc. 2-81 Programming Guide for DS1000/DS1000CA Series...
  • Page 90 The :FFT:DISPlay command is to turn the FFT function Onor Off. Query Format: :FFT:DISPlay? Returned Format: Query returns “ON” or “OFF”. The double quotes are not returned. Example : :FFT:DISPlay□ON Set the FFT function on :FFT:DISPlay? Query returns “ON” © 2008 RIGOL Technologies, Inc. 2-82 Programming Guide for DS1000/DS1000CA Series...
  • Page 91: Waveform Commands

    Query returns 1024 (1K) data. Example: :WAVeform:DATA?□CHANnel1 Read the data acquired from the Channel 1: 119,119,119,119,119,119,123,119,123,119,123,119,123,119,123,119,123,119,1 23,119,119,123,123,119,123,119,119,123,119,123,123,119,123,119,123,119,11 9,123,123,119,123,119,123,119,123,119,123,119,123,119,123,119,119,123,123, 119,123,119,119,123,123,119,123,119,119,123,119,123,119,123,123,119,119,1 23,119,123,119,123,123,119,119,123,119,123,123,119,119,123,119,123,123,11 9,123,119,123,119,119,123,123,119,123,119,123,119,123,119,119,123,119,123, 123,119,123,119,123,119,123,119,123,119,123,119,123,119,123,119,123,119,1 19,123,119,123,123,119,123,119,123,119,123,119,123,119,123,119,123,119,11 9,123,119,123,123,119,123,119,123,119,123,119,119,123,123,119,119,123,123, 119,123,119,123,119,123,119,123,119,119,123,123,119,119,123,123,119,123,1 19,123,119,123,119,123,119,123,119,119,123,123,119,123,119,123,119,119,12 3,123,119,123,119,119,123,123,119,123,119,119,123,119,123,119,123,123,119, 123,119,123,119,123,119,123,119,119,123,119,123,123,119,119,123,119,123,1 23,119,123,119,119,123,123,119,123,119,123,119,123,119,123,119,119,123,11 9,123,123,119,123,119,123,119,119,123,123,119,123,119,123,119,119,123,119, 123,119,123,123,119,123,119,123,119,123,119,119,123,123,119,123,119,123,1 19,123,119,119,123,119,123,119,123,119,123,119,123,119,123,123,119,123,11 9,123,119,123,119,123,119,119,123,123,119,123,119,119,123,119,123,123,119, © 2008 RIGOL Technologies, Inc. 2-83 Programming Guide for DS1000/DS1000CA Series...
  • Page 92 123,119,123,123,119,119,123,119,123,119,123,123,119,119,123,123,119,119,1 23,119,123,119,123,123,119,123,119,119,123,119,123,119,123,119,123,123,11 9,123,119,119,123,123,119,119,123,119,123,119,123,123,119,123,119,123,119, 119,123,123,119,123,119,119,123,119,123,119,123,119,123,123,119,119,123,1 19,123,123,119,123,119,123,119,119,123,119,123,119,123,123,119,119,123,11 9,123,119,123,119,123,123,119,123,119,123,119,119,123,119,123,123,119,119, 123,119,123,119,123,123,119,123,119,123,119,119,123,123,119,119,123,119,1 23,123,119,119,123,119,123,119,123,123,119,119,123,119,123,119,123,119,12 3,123,119,123,119,119,123,119,123,119,123,119,123,119,123,119,123,123,119, 119,123,119,123,119,123,123,119,119,123,119,123,119,123,119,123,123,119,1 19,123,123,119,119,123,119,123,119,123,119,123,123,119,123,119,119,123,12 3,119,119,123,119,123,119,123,119,123,119,123,119,123,123,119,119,123,119, 123,119,123,119,123,123,119,123,119,123,119,119,123,119,123,119,123,123,1 19,119,123,123,119,119,123,123,119,123,119,119,123,123,119,123,119,119,12 3,123,119,123,119,123,119,119,123,123,119,123,119,119,123,123,119,119,123, 119,123,119,123,123,119,119,123,123,119,119,123,119,123,119,123,119,123,1 23,119,119,123,123,119,123,119,123,119,119,123,119,123,119,123,119,123,12 3,119,123,119,123,119,119,123,123,119,119,123,119,123,123,119,123,119,123, 119,119,123,123,119,119,123,119,123,123,119,123,119,123,119,123,119,123,1 19,119,123,119,123,123,119,123,119,119,123,123,119,119,123,123,119,119,12 3,119,123,123,119,123,119,119,123,123,119,123,119,119,123,123,119,123,119, 123,119,119,123,119,123,119,123,119,123,123,119,123,119,123,119,119,123,1 19,123,123,119,123,119,123,119,123,119,123,119,119,123,119,123,123,119,12 3,119,119,123,119,123,119,123,123,119,123,119,119,123,119,123,123,119,123, 119,123,119,123,119,123,119,119,123,119,123,119,123,123,119,123,119,123,1 19,119,123,123,119,119,123,119,123,119,123,123,119,123,119,123,119,119,12 3,119,123,119,123,123,119,123,119,123,119,119,123,123,119,123,119,123,119, 119,123,119,123,123,119,119,123,119,123,123,119,123,119,119,123,123,119,1 23,119,123,119,123,119,123,119,123,119,119,119,119,119,119,119 © 2008 RIGOL Technologies, Inc. 2-84 Programming Guide for DS1000/DS1000CA Series...
  • Page 93: Chapter 3 Command Quick Reference

    :CHANnel<n>:BWLimit 2-38 :CHANnel<n>:COUPling 2-38 :CHANnel<n>:DISPlay 2-39 :CHANnel<n>:FILTer 2-41 :CHANnel<n>:INVert 2-39 :CHANnel<n>:MEMoryDepth? 2-42 :CHANnel<n>:OFFSet 2-40 :CHANnel<n>:PROBe 2-40 :CHANnel<n>:SCALe 2-41 :CHANnel<n>:VERNier2-42 :COUNter:ENABle 2-5 :DIGital<n>:POSition 2-79 :DIGital<n>:TURN 2-78 :DISPlay:BRIGhtness 2-35 :DISPlay:CLEar 2-35 :DISPlay:GRID 2-32 © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 94 :KEY:REF 2-9 :KEY:F1 2-9 :KEY:F2 2-10 :KEY:F3 2-10 :KEY:F4 2-10 :KEY:F5 2-10 :KEY:MNUoff 2-11 :KEY:MEASure 2-11 :KEY:CURSor 2-11 :KEY:ACQuire 2-11 :KEY:DISPlay 2-12 :KEY:STORage 2-12 :KEY:UTILity 2-12 :KEY:MNUTIME 2-12 :KEY:MNUTRIG 2-12 © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 95 :KEY:PROMPT_H_POS 2-17 :KEY:PROMPT_TRIG_LVL 2-18 :KEY:OFF 2-18 :LA:DISPlay 2-78 :LA:GROUp 2-80 :LA:POSition:RESet 2-80 :LA:THReshold 2-79 :MATH:DISPlay 2-82 :MEASure:CLEar 2-20 :MEASure:FALLtime? 2-23 :MEASure:FREQuency? 2-23 :MEASure:NDELay? 2-25 :MEASure:NDUTycycle? 2-25 :MEASure:NWIDth? 2-24 :MEASure: PDELay? 2-25 © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 96 :TIMebase[:DELayed]:OFFSet 2-45 :TIMebase[:DELayed]:SCALe 2-46 :Trig%50 2-4 :TRIGger:ALTernation:EDGE:SLOPe 2-67 :TRIGger:ALTernation:SLOPe:LEVelA 2-71 :TRIGger:ALTernation:SLOPe:LEVelB 2-71 :TRIGger:ALTernation:SLOPe:WINDow 2-70 :TRIGger:ALTernation:SOURce 2-64 :TRIGger:ALTernation:TimeOFFSet 2-65 :TRIGger:ALTernation:TimeSCALe 2-65 :TRIGger:ALTernation:TYPE 2-64 :TRIGger:ALTernation:VIDEO:LINE 2-70 :TRIGger:ALTernation:VIDEO:POLarity 2-68 :TRIGger:ALTernation:VIDEO:STANdard 2-69 :TRIGger:ALTernation<mode>:COUPling 2-72 © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...
  • Page 97 :TRIGger:SLOPe:LEVelA 2-59 :TRIGger:SLOPe:LEVelB 2-60 :TRIGger:SLOPe:TIME 2-58 :TRIGger:SLOPe:WINDow 2-59 :TRIGger:STATus? 2-52 :TRIGger:VIDEO:LINE 2-62 :TRIGger:VIDEO:MODE 2-61 :TRIGger:VIDEO:POLarity 2-61 :TRIGger:VIDEO:STANdard 2-62 :TRIGger<mode>:SOURce 2-49 :TRIGger<mode>:COUPling 2-51 :TRIGger<mode>:LEVel 2-50 :TRIGger<mode>:SWEep 2-50 :TRIGger<mode_1>[<mode_2>]:SENSitivity 2-54 :WAVeform:DATA? 2-83 © 2008 RIGOL Technologies, Inc. Programming Guide for DS1000/DS1000CA Series...

Table of Contents