Rigol DS1204B Specifications Page 1

Browse online or download Specifications for Unknown Rigol DS1204B. Rigol DS1204B Specifications User Manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - DS1204B/DS1104B/DS1064B

Programming Guide RIGOL Publication Number: PGA04105-1110 Oct. 2008 DS1000B Series Digital Oscilloscope DS1204B/DS1104B/DS1064B

Page 2

RIGOL Programming Guide for DS1000B Series 2-2 System Commands System Commands are used for the basic operations of an oscilloscope. They can no

Page 3

RIGOL Programming Guide for DS1000B Series 2-92 1. :SAVERECALL:TYPE Command Format: :SAVERECALL:TYPE□<type> Function: The command sets

Page 4 - Content

RIGOL Programming Guide for DS1000B Series 2-93 Command Format: :SAVERECALL:LOAD

Page 5

RIGOL Programming Guide for DS1000B Series 2-94 Example: :SAVE:IMAGe:FACTors□ON Save the system parameters. :SAVE:IMAGe:FACTors? Return

Page 6 - Communication Ports

RIGOL Programming Guide for DS1000B Series 2-95 Function: The command starts the sa

Page 7 - Symbol Instruction

RIGOL Programming Guide for DS1000B Series 2-96 Mask Commands Mask Commad are used to create and modify the rules for pass/fail test function.

Page 8 - Command Abbreviation

RIGOL Programming Guide for DS1000B Series 2-97 1. :MASK:CREate Command Format:

Page 9

RIGOL Programming Guide for DS1000B Series 2-98 Example: :MASK:X□1 Set the X direction rule as 1div. :MASK:X? Return 1.000000. 4.

Page 10 - System Commands

RIGOL Programming Guide for DS1000B Series 2-99 6. :MASK:OPERate Command Format:

Page 11

RIGOL Programming Guide for DS1000B Series 2-100 8. :MASK:STOPonoutput Command Format: :MASK:STOPonoutput□{{1|ON}|{0|OFF}} Function: The comm

Page 12

RIGOL Programming Guide for DS1000B Series 2-101 NOTE: In commands, the file name m

Page 13

RIGOL Programming Guide for DS1000B Series 2-3 1. *IDN? Command Format: *IDN? Fun

Page 14 - Keyboard Commands

RIGOL Programming Guide for DS1000B Series 2-102 Cursor Commands Cursor Commands are used to set cursor parameters to measure manually

Page 15

RIGOL Programming Guide for DS1000B Series 2-103 1. :CURSor:MODE Command Format:

Page 16

RIGOL Programming Guide for DS1000B Series 2-104 Command Format: :CURSor:MANUal:SOURce□<source> Function: The command sets the cursor so

Page 17

RIGOL Programming Guide for DS1000B Series 2-105 Command Format: :CURSor:MANUal:C

Page 18

RIGOL Programming Guide for DS1000B Series 2-106 Function: The command sets the BY position of manual cursor. The <value> range

Page 19

RIGOL Programming Guide for DS1000B Series 2-107 Function: The command sets the sig

Page 20

RIGOL Programming Guide for DS1000B Series 2-108 Query Format: :CURSor:TRACk:CURB? Return Format: The query returns the position of cursor B.

Page 21

RIGOL Programming Guide for DS1000B Series 2-109 Other Commands There are some

Page 22

RIGOL Programming Guide for DS1000B Series 2-110 1. :SYSTem:ERRor Command Format: :SYSTem:ERRor Function: The command clears the queue of err

Page 23

RIGOL Programming Guide for DS1000B Series 2-111 4. :SYSTem:SETup? Command Format:

Page 24

RIGOL Programming Guide for DS1000B Series 2-4 Function: The command makes the oscilloscope tests all input waveforms and set the waveforms autom

Page 26

RIGOL Programming Guide for DS1000B Series 3-1 Chapter 3 Programming Examples This chapter lists some application examples of RIGOL DS100

Page 27

RIGOL Programming Guide for DS1000B Series 3-2 Example 1 The Preparation for Programming #include <stdlib.h> #include <visa.h>

Page 28

RIGOL Programming Guide for DS1000B Series 3-3 Example 2 Setting the basic measureme

Page 29

RIGOL Programming Guide for DS1000B Series 3-4 Example 3 Storaging and Setting the File #define BUFFER_SETUP_SIZE 1636 void SetupUpload()

Page 30 - Measurement Commands

RIGOL Programming Guide for DS1000B Series 3-5 void SetupDownLoad() { BYTE

Page 31

RIGOL Programming Guide for DS1000B Series 3-6 Example 4 Reading the Data of Screen Image #define BUFFER_IMAGE_SIZE 320*240+256*4+54+1; voi

Page 32

RIGOL Programming Guide for DS1000B Series 3-7 fclose(fp);

Page 34

RIGOL Programming Guide for DS1000B Series I Command Quick Reference *IDN? 2-3 *RST 2-4 *LRN? 2-4 *OPC? 2-5 A :ACQuire:TYPE 2-34 :ACQuire:MODE

Page 35

RIGOL Programming Guide for DS1000B Series 2-5 9. *OPC? Command Format: *OPC? F

Page 36

RIGOL Programming Guide for DS1000B Series II :KEY:CH2 2-9 :KEY:CH3 2-9 :KEY:CH4 2-9 :KEY:MATH 2-9 :KEY:REF 2-10 :KEY:F1 2-10 :KEY:F2 2-10 :KEY:F3

Page 37

RIGOL Programming Guide for DS1000B Series III :MEASure:VMIN? 2-23 :MEASure:VAMPlitu

Page 38

RIGOL Programming Guide for DS1000B Series IV :TRIGger:ALTernation:TimeSCALe 2-67 :TRIGger:ALTernation:TimeOFFSet 2-68 :TRIGger:ALTernation:LEVe

Page 39

RIGOL Programming Guide for DS1000B Series 2-6 Keyboard Commands Keyboard Commands are used to control the keys and knobs on the operation panel

Page 40

RIGOL Programming Guide for DS1000B Series 2-7  :KEY:TIME_POS_INC  :KEY:TRIG_LEV

Page 41 - Acquire Commands

RIGOL Programming Guide for DS1000B Series 2-8 1. :KEY:LOCK Command Format: :KEY:LOCK□{ ENABle | DISable } Function: The command enables and di

Page 42

RIGOL Programming Guide for DS1000B Series 2-9 Function: The command sets the trigg

Page 43

RIGOL Programming Guide for DS1000B Series 2-10 Function: The command sets Math function amd its menu on or off. 10. :KEY:REF Command Format:

Page 44 - Display Commands

RIGOL Programming Guide for DS1000B Series 2-11 14. :KEY:F4 Command Format: :KEY:F

Page 46

RIGOL Programming Guide for DS1000B Series 2-12 Function: The command sets cursor measurement function and its menu on or off. The cursor mode ca

Page 47

RIGOL Programming Guide for DS1000B Series 2-13 Function: The command sets horizont

Page 48

RIGOL Programming Guide for DS1000B Series 2-14 Function: The command sets the bulit-in help system on or off. 29. :KEY:QUICKMEASure Command F

Page 49

RIGOL Programming Guide for DS1000B Series 2-15 Function: The command decreases the

Page 50 - Vertical Commands

RIGOL Programming Guide for DS1000B Series 2-16 Function: The command decreases the vertical offset of channel 1 evenly. 39. :KEY:CH1_POS_Z

Page 51

RIGOL Programming Guide for DS1000B Series 2-17 Function: The command increases the

Page 52

RIGOL Programming Guide for DS1000B Series 2-18 Function: The command sets the adjustment mode of vertical scaling of channel 3 as Fine or Coarse

Page 53

RIGOL Programming Guide for DS1000B Series 2-19 Function: The command increases the

Page 54

RIGOL Programming Guide for DS1000B Series 2-20 Function: The command decreases the time base by 1-2-5 step. 59. :KEY:TIME_DEC Command Format:

Page 55

RIGOL Programming Guide for DS1000B Series 2-21 Function: The command adjusts the t

Page 56

RIGOL Programming Guide for DS1000B Series I  © 2008 RIGOL Technologies, Inc. All Rights Reserved  RIGOL products are protected by patent law

Page 57 - Horizontal Commands

RIGOL Programming Guide for DS1000B Series 2-22 Measurement Commands Measurement Commands are used for the fundamental measurement opera

Page 58

RIGOL Programming Guide for DS1000B Series 2-23 1. :MEASure:CLEar Command Format:

Page 59

RIGOL Programming Guide for DS1000B Series 2-24 Function: The command measures the minimum of signal from <source>. The <source> may

Page 60

RIGOL Programming Guide for DS1000B Series 2-25 Return Format: The query returns -2

Page 61

RIGOL Programming Guide for DS1000B Series 2-26 11. :MEASure:PREShoot? Command Format: :MEASure:PREShoot?□[<source>] Function: The com

Page 62 - Trigger Commands

RIGOL Programming Guide for DS1000B Series 2-27 Function: The command measures the

Page 63

RIGOL Programming Guide for DS1000B Series 2-28 Return Format: The query returns 5.000e-004, and the unit is s. 18. :MEASure:PDUTycycle? Comm

Page 64

RIGOL Programming Guide for DS1000B Series 2-29 21. :MEASure:NDELay? Command Forma

Page 65

RIGOL Programming Guide for DS1000B Series 2-30 24. :MEASure:TOTal Command Format: :MEASure:TOTal□{{1|ON}|{0|OFF}} Function: The command sets

Page 66

RIGOL Programming Guide for DS1000B Series 2-31 Command Format: :MEASure:DELAYSOURc

Page 67

RIGOL Programming Guide for DS1000B Series II Content Chapter 1 Programming Introduction ... 1-1

Page 68 - Trigger Mode Commands

RIGOL Programming Guide for DS1000B Series 2-32 28. :MEASure:ENABle Command Format: :MEASure:ENAble Functions: This command is open the locked

Page 69

RIGOL Programming Guide for DS1000B Series 2-33 Acquire Commands Acquire Commands

Page 70

RIGOL Programming Guide for DS1000B Series 2-34 1. :ACQuire:TYPE Command Format: :ACQuire:TYPE□<type> Function: The command sets the acqu

Page 71 - Example:

RIGOL Programming Guide for DS1000B Series 2-35 3. :ACQuire:AVERages Command Forma

Page 72

RIGOL Programming Guide for DS1000B Series 2-36 Display Commands Diaplay Commands are used to set the display system. Display Commands include:

Page 73

RIGOL Programming Guide for DS1000B Series 2-37 1. :DISPlay:TYPE Command Format:

Page 74

RIGOL Programming Guide for DS1000B Series 2-38 3. :DISPlay:PERSist Command Format: :DISPlay:PERSist□{{1|ON }|{0|OFF}} Function: The command

Page 75

RIGOL Programming Guide for DS1000B Series 2-39 5. :DISPlay:MNUStatus Command Form

Page 76

RIGOL Programming Guide for DS1000B Series 2-40 Function: The command clears the last waveform on the screen. 8. :DISPlay:BRIGhtness Command F

Page 77

RIGOL Programming Guide for DS1000B Series 2-41 10. :DISPlay:DATA? Command Format:

Page 78

RIGOL Programming Guide for DS1000B Series 1-1 Chapter 1 Programming Introduction This book provides guidance to the remote control progr

Page 79

RIGOL Programming Guide for DS1000B Series 2-42 Vertical Commands Vertical Commands are used to set the vertical system from every channel separ

Page 80

RIGOL Programming Guide for DS1000B Series 2-43 1. :CHANnel<n>:BWLimit Comma

Page 81

RIGOL Programming Guide for DS1000B Series 2-44 3. :CHANnel<n>:DISPlay Command Format: :CHANnel<n>:DISPlay□{{1|ON}|{0|OFF}} Funct

Page 82

RIGOL Programming Guide for DS1000B Series 2-45 Function: The command sets the vert

Page 83

RIGOL Programming Guide for DS1000B Series 2-46 Function: The command sets the vertical scale for magnifying waveform. The <n> may be 1, 2,

Page 84

RIGOL Programming Guide for DS1000B Series 2-47 Return Format: The query returns 1

Page 85 - Math Commands

RIGOL Programming Guide for DS1000B Series 2-48 Example: :CHANnel1:UNITs VOLTs Set the unit of channel 1 as V. :CHANnel1:UNITs?

Page 86

RIGOL Programming Guide for DS1000B Series 2-49 Horizontal Commands Horizontal Com

Page 87 - Waveform Commands

RIGOL Programming Guide for DS1000B Series 2-50 1. :TIMebase:MODE Command Format: :TIMebase:MODE□<mode> Function: The command sets the sc

Page 88

RIGOL Programming Guide for DS1000B Series 2-51 Return Format: The query reutrns th

Page 89

RIGOL Programming Guide for DS1000B Series 1-2 Communication Ports Computers can communicate with the oscilloscope by sending and receiving mess

Page 90

RIGOL Programming Guide for DS1000B Series 2-52 Function: The command sets the timebase offset of main mode, that is the offset of the waveform p

Page 91

RIGOL Programming Guide for DS1000B Series 2-53 Query Format: :TIMebase[:MAIN]:SCAL

Page 92

RIGOL Programming Guide for DS1000B Series 2-54 Trigger Commands Trigger Control Commands Trigger system makes the meaningful waveform shown ste

Page 93

RIGOL Programming Guide for DS1000B Series 2-55 1. :TRIGger:MODE Command Format:

Page 94

RIGOL Programming Guide for DS1000B Series 2-56 Example: :TRIGGER:EDGE:SOURce□CHANnel1 Set the edge trigger source as channel 1. :TRIGGER:EDGE

Page 95

RIGOL Programming Guide for DS1000B Series 2-57 Query Format: :TRIGger<mode>

Page 96 - Utility Commands

RIGOL Programming Guide for DS1000B Series 2-58 oscilloscope will not trigger until Holdoff ends. The <count> range is 100ns~1.5s. Query F

Page 97

RIGOL Programming Guide for DS1000B Series 2-59 Example: :TRIGger:SENSitivity□0.2

Page 98

RIGOL Programming Guide for DS1000B Series 2-60 Trigger Mode Commands Trgger Mode includes: Edge, Pulse, Video, Alternation, and Pattern trigger.

Page 99 - Storage Commands

RIGOL Programming Guide for DS1000B Series 2-61 1. Edge Trigger Edge trigger occu

Page 100

RIGOL Programming Guide for DS1000B Series 1-3 Symbol Instruction 1. Command Sper

Page 101

RIGOL Programming Guide for DS1000B Series 2-62 2. Pulse Trigger Setup a certain trigger condition to capture specified pulse. Pulse tigger occu

Page 102

RIGOL Programming Guide for DS1000B Series 2-63 Example: :TRIGger:PULSe:WIDTh□0.001

Page 103

RIGOL Programming Guide for DS1000B Series 2-64 3. Video Trigger In video trigger, the standard video signal (NTSC, PAL/SECAM) is triggered in f

Page 104 - Mask Commands

RIGOL Programming Guide for DS1000B Series 2-65 :TRIGger:VIDEO:POLarity□POSitive

Page 105

RIGOL Programming Guide for DS1000B Series 2-66 4. Alternation Trigger In alternation trigger, different signals can be triggered at the same ti

Page 106

RIGOL Programming Guide for DS1000B Series 2-67 Return Format: The query returns

Page 107

RIGOL Programming Guide for DS1000B Series 2-68  In NoRMAL mode, different types of instruments have different sweep ranges:

Page 108

RIGOL Programming Guide for DS1000B Series 2-69 (6) :TRIGger:ALTernation:LEVel Com

Page 109

RIGOL Programming Guide for DS1000B Series 2-70 Example: :TRIGger:ALTernation:EDGE:SLOPe□POSitive, SOURceB Set the edge type as rising ed

Page 110 - Cursor Commands

RIGOL Programming Guide for DS1000B Series 2-71 Query Format: :TRIGger:ALTernatio

Page 111

RIGOL Programming Guide for DS1000B Series 1-4 Command Abbreviation Owing to some of the commands are too long to memory and spell, the commands

Page 112

RIGOL Programming Guide for DS1000B Series 2-72 Function: The command sets the video standard as NTSC or PAL/SECAM. The <source> may be SOU

Page 113

RIGOL Programming Guide for DS1000B Series 2-73 (13) :TRIGger:ALTernation:HOLDof

Page 114

RIGOL Programming Guide for DS1000B Series 2-74 Example: :TRIGGER:ALTERNATION:VIDEO:LINE□100, SOURceB Set the specified line num

Page 115

RIGOL Programming Guide for DS1000B Series 2-75 Query Format: :TRIGger:ALTernation

Page 116

RIGOL Programming Guide for DS1000B Series 2-76 5. Pattern Trigger Pattern trigger identifies the trigger conditions by checking the specified c

Page 117 - Other Commands

RIGOL Programming Guide for DS1000B Series 2-77 Math Commands Math Commands are us

Page 118

RIGOL Programming Guide for DS1000B Series 2-78 1. :MATH:DISPlay Command Format: :MATH:DISPlay□{{1|ON}|{0|OFF}} Function: The command sets Ma

Page 119

RIGOL Programming Guide for DS1000B Series 2-79 Waveform Commands Waveform Command

Page 120

RIGOL Programming Guide for DS1000B Series 2-80 1. :WAVeform:DATA? Command Format: :WAVeform:DATA?□[<source>] Function: The command is

Page 121

RIGOL Programming Guide for DS1000B Series 2-81 3. :WAVeform:SOURce Command Format

Page 122

RIGOL Programming Guide for DS1000B Series 2-1 Chapter 2 DS1000B Command Systems DS1000B Commands System includes the following command subsystem

Page 123

RIGOL Programming Guide for DS1000B Series 2-82 The command queries the vertical scale of specified soucce. The <source> may be CHANnel1, C

Page 124

RIGOL Programming Guide for DS1000B Series 2-83 8. :WAVeform:XORigin? Command Form

Page 125

RIGOL Programming Guide for DS1000B Series 2-84 Example: :WAVeform:ERASeofroll? Return 3. 11. :WAVeform:WINDowzoom? Command Format: :

Page 126

RIGOL Programming Guide for DS1000B Series 2-85 Return Format: The query returns t

Page 127

RIGOL Programming Guide for DS1000B Series 2-86 Function: The command queries the position that the left of screen reaches the start point of mem

Page 128

RIGOL Programming Guide for DS1000B Series 2-87 Function: The command queries the

Page 129 - Command Quick Reference

RIGOL Programming Guide for DS1000B Series 2-88 Utility Commands Utility Commands are used to set other system function, such as counter, s

Page 130

RIGOL Programming Guide for DS1000B Series 2-89 1. :COUNter:ENABle Command Format:

Page 131

RIGOL Programming Guide for DS1000B Series 2-90 Function: The command tests the system beeper. 4. :RTC Command Format: :RTC□<year>,<

Page 132

RIGOL Programming Guide for DS1000B Series 2-91 Storage Commands Storage Commands

Comments to this Manuals

No comments