Gw-instek GDS-2000 series Programming manual User Manual

Browse online or download User Manual for Equipment Gw-instek GDS-2000 series Programming manual. GW Instek GDS-2000 series Programming manual User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 93
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
GDS-2000 Series Programming Manual
1
Table of Contents Pages
1. INTRODUCTION................................................................................................................... 2
2. COMPUTER’S CONNECTION............................................................................................. 7
3. REMOTE CONTROL'S COMMANDS................................................................................ 18
4. DETAILS OF COMMAND REFERENCE ........................................................................... 25
5. APPENDIX A: HOW CAN WE CONVERT THE HEXADECIMAL FORMAT TO A
FLOATING POINT FORMAT. ................................................................................................ 93
Due to continuous improvements in the GDS-2000 series Digital Storage
Oscilloscope, information contained in this manual is subject to change
without notice. Visit GOOD WILL’s website, for revisions and corrections.
GOOD WILL Instrument Co., LTD.
No.7-1, Jhongsing Rd., Tucheng City,
Taipei County 236, Taiwan
Telephone 886-2-22680389 Fax 886-2-22680639
http://www.gwinstek.com.tw
Page view 0
1 2 3 4 5 6 ... 92 93

Summary of Contents

Page 1 - Taipei County 236, Taiwan

GDS-2000 Series Programming Manual1Table of Contents Pages1. INTRODUCTION...

Page 2 - 1. Introduction

GDS-2000 Series Programming Manual10The following example uses ibdev to open a device, assigns it to access boardgpib0, chooses a primary address of 7

Page 3 - DB9 to DB9 Wiring

GDS-2000 Series Programming Manual114. To write data to the device, use ibwrt.ud0: ibwrt "*IDN?"[0100] (cmpl)count: 55. To read data from yo

Page 4

GDS-2000 Series Programming Manual12The RS232 connection testingIf you want to test whether the RS-232 connection is working or not, you can send acom

Page 5

GDS-2000 Series Programming Manual13The USB connection testingUser may test the USB connectivity of oscilloscope and computer by using ahyper-terminal

Page 6 - Computer’s Connection for USB

GDS-2000 Series Programming Manual143. Download the “inf” oscilloscope USB driver file from company website. Rightclick the “inf” oscilloscope USB dr

Page 7 - IV. Turn on the computer

GDS-2000 Series Programming Manual156. Click the file and select “Connect”.

Page 8 - The GPIB address setting

GDS-2000 Series Programming Manual167. For example, a remote control command of “*idn?” is inputted, the oscilloscopeshould return the information of

Page 9 - The GPIB connection testing

GDS-2000 Series Programming Manual173. Remote Control’s CommandsThis oscilloscope can be operated from computer via the GPIB port, RS-232, orUSB port.

Page 10

GDS-2000 Series Programming Manual18As shown in the figure 3-1, the IEEE-488.1 standard locates at layer A, the layer Ais belonged to the protocol of

Page 11

GDS-2000 Series Programming Manual19Command HeaderThe command header has a hierarchical structure that can be represented by acommand tree (Figure 3-2

Page 12 - The RS232 connection testing

GDS-2000 Series Programming Manual21. IntroductionUsers can drive this digital storage oscilloscope by using the GPIB (GeneralPurpose Interface Bus) s

Page 13 - The USB connection testing

GDS-2000 Series Programming Manual20ParameterIf the command has parameters, the values have to be included. In this manual,when we expressed the synta

Page 14

GDS-2000 Series Programming Manual21For the actual value of the parameter type <Boolean>, you have to enter 0 insteadof “OFF” or enter 1 instead

Page 15

GDS-2000 Series Programming Manual22Entering CommandsThe standards that govern the command set for this oscilloscope allow for a certainamount of flex

Page 16

GDS-2000 Series Programming Manual23Combining CommandsYou can use a semicolon (;) to combine commands and queries. This oscilloscopeexecutes coherent

Page 17 - 3. Remote Control’s Commands

GDS-2000 Series Programming Manual244. Details of Command ReferenceEach command in this chapter will give a brief description. The examples of eachcom

Page 18 - Command Syntax

GDS-2000 Series Programming Manual25*RCLRecall the setting data from memory which previous saved. The settings ofoscilloscope can be stored in memory

Page 19 - :TRIGger:DELay:EVENt ?

GDS-2000 Series Programming Manual26:ACQuire:AVERageSelect the average number of waveform acquisition. The range for averaging isfrom 2 to 256 in powe

Page 20 - Parameter

GDS-2000 Series Programming Manual27:ACQuire:LENGthSelect the number of record length. This oscilloscope provides record length of 500,or long record

Page 21

GDS-2000 Series Programming Manual28:ACQuire:MODeSelect the waveform acquisition mode. There are four different acquisition mode:sample, peak detectio

Page 22 - Entering Commands

GDS-2000 Series Programming Manual29:ACQuire<X>:MEMory? (query only)Transfer the total waveform data from the acquisition memory. (The memorycap

Page 23 - Combining Commands

GDS-2000 Series Programming Manual3Notes for RS-232 ConfigurationThis oscilloscope contains a DB 9-pin, male RS-232 connector for serialcommunication

Page 24

GDS-2000 Series Programming Manual30The time duration between two adjacent sampling points: Indicates thecorresponding time interval between two adjac

Page 25

GDS-2000 Series Programming Manual31Example 1Transfer the waveform data (sample rate = 5MSa/s) of channel 1 at 25000 pointsrecord length::ACQuire1:MEM

Page 26

GDS-2000 Series Programming Manual32:AUTosetPerform an automatic setup in order to optimize the acquisition parameters.Syntax:AUToset:CHANnel<X>

Page 27 - Channels

GDS-2000 Series Programming Manual33:CHANnel<X>:DISPlayEnable or disable the channel’s display.Syntax:CHANnel<X>:DISPlay {0|1}:CHANnel<

Page 28

GDS-2000 Series Programming Manual34:CHANnel<X>:MATHSet the math expression.Syntax:CHANnel<X>:MATH {0|1|2|3}Arguments<X>→Specify the

Page 29 - Data size digit

GDS-2000 Series Programming Manual35:CHANnel<X>:OFFSetSets or query the offset voltage.Syntax:CHANnel<X>:OFFSet <NR3>:CHANnel<X&g

Page 30

GDS-2000 Series Programming Manual36:CHANnel<X>:PROBeSelect the different probe attenuation factor.Syntax:CHANnel<X>:PROBe {0|1|2}:CHANnel

Page 31 - CQuire:LENGth”

GDS-2000 Series Programming Manual37:CHANnel<X>:SCALeSets or query the vertical scale of the specified channel.Syntax:CHANnel<X>:SCALe <

Page 32

GDS-2000 Series Programming Manual38:COPYThis command is equivalent to pressing the HARDCOPY button which located onthe front panel of the oscilloscop

Page 33

GDS-2000 Series Programming Manual39CURSor:Y<X>PositionAdjust the cursors position of Y axis.Syntax:CURSor:Y<X>Position <NR1>:CURSor

Page 34

GDS-2000 Series Programming Manual4When the oscilloscope is set up with a RS-232 interface, please check the followingpoints:z Do not connect the out

Page 35 - Offset Range:

GDS-2000 Series Programming Manual40:CURSor:XDISplayEnable or disable the cursors display for X axis.Syntax:CURSor:XDISplay {0|1}Arguments0→Disable cu

Page 36

GDS-2000 Series Programming Manual41:CURSor:SOURceSelect which channel cursors is active for front panel control.Syntax:CURSor:SOURce {1|2|3|4|5}:CURS

Page 37

GDS-2000 Series Programming Manual42:DISPlay:CONTrastSelect contrast level of LCD screen. This command is equivalent to setting theContrast option in

Page 38

GDS-2000 Series Programming Manual43:DISPlay:WAVeformSelect the dots (or vectors) display for data.points.Syntax:DISPlay:WAVeform <0|1>:DISPlay:

Page 39

GDS-2000 Series Programming Manual44:GONogo:EXECuteStart or stop the execution of GO/NO-GO comparison function. This command isequal to the function

Page 40

GDS-2000 Series Programming Manual45:GONogo:NGCount? (query only)Return the value of fail count and total count.Syntax:GONogo:NGCount?Returns<NR1&g

Page 41

GDS-2000 Series Programming Manual46:GONogo:SOURceSets and query the user-defined GO/NO-GO comparison source channel.This command is equal to the func

Page 42

GDS-2000 Series Programming Manual47:GONogo:VIOLationSets and query the user-defined GO/NO-GO violation conditions. This command isequal to the functi

Page 43

GDS-2000 Series Programming Manual48:HARDcopy:INKSaverSets the output format of hardcopy to “ink-save” mode.Syntax:HARDcopy:INKSaver {0|1}:HARDcopy:IN

Page 44

GDS-2000 Series Programming Manual49:HARDcopy:MODeSelect the hardcopy output style. The entire LCD screen, waveform raw data,oscilloscope settings can

Page 45

GDS-2000 Series Programming Manual5Figure 1-3. Rear panel of the oscilloscope(1): Main power switch(2): RS-232 port(3): GPIB port (option)(4): AC s

Page 46

GDS-2000 Series Programming Manual50:MEASure:DELAY1Select the first source for eight different delay time measurements (FFFDelay,FRFDelay, FFRDelay, F

Page 47

GDS-2000 Series Programming Manual51:MEASure:FALL? (query only)Return the value of timing measurement that taken for falling edge of the first pulsein

Page 48

GDS-2000 Series Programming Manual52:MEASure:FFRDelay? (query only)Return the time value that difference time between the first falling edge of source

Page 49

GDS-2000 Series Programming Manual53:MEASure:FPReshoot? (query only)Return the ratio of waveform amplitude that expressed the difference between thehi

Page 50

GDS-2000 Series Programming Manual54:MEASure:FRFDelay? (query only)Return the time value that difference time between the first rising edge of source1

Page 51

GDS-2000 Series Programming Manual55:MEASure:LFFDelay? (query only)Return the time value that difference time between the first falling edge of source

Page 52

GDS-2000 Series Programming Manual56:MEASure:LRFDelay? (query only)Return the time value that difference time between the first rising edge of source1

Page 53

GDS-2000 Series Programming Manual57:MEASure:PDUTy? (query only)Return the ratio of the positive pulse width to the signal period.Syntax:MEASure:PDUTy

Page 54

GDS-2000 Series Programming Manual58:MEASure:PWIDth? (query only)Return the value of timing measurement of the first positive pulse in the waveform.Sy

Page 55

GDS-2000 Series Programming Manual59:MEASure:ROVShoot? (query only)Return the ratio of waveform amplitude that expressed the difference between thehig

Page 56

GDS-2000 Series Programming Manual6Computer’s Connection for USBUser may connect the USB device connector of oscilloscope with personalcomputer’s USB

Page 57

GDS-2000 Series Programming Manual60:MEASure:SOURceSelect the measured channel (channel 1, 2, 3, or 4). The default setting ofmeasured channel is chan

Page 58

GDS-2000 Series Programming Manual61:MEASure:VAVerage? (query only)Return the average voltages.Syntax:MEASure:VAVerage?Returns<NR3>.Note: Please

Page 59

GDS-2000 Series Programming Manual62:MEASure:VMAX? (query only)Return the value of maximum amplitude.Syntax:MEASure:VMAX?Returns<NR3>.Note: Plea

Page 60

GDS-2000 Series Programming Manual63:MEASure:VRMS? (query only)Return the value of true Root Mean Square voltage.Syntax:MEASure:VRMS?Returns<NR3>

Page 61

GDS-2000 Series Programming Manual64:MEMory<X>:RECall:SETupRecalls setup form internal non-volatile memory S1~S20.Syntax:MEMory<X>:RECall:

Page 62

GDS-2000 Series Programming Manual65:MEMory<X>:SAVe:SETupSave the setup to one of the internal non-volatile memory S1~S20.Syntax:MEMory<X>

Page 63

GDS-2000 Series Programming Manual66:REFReshRefresh the waveform data of LCD screen and re-display the waveform data.Syntax:REFResh:REF<X>:DISPl

Page 64

GDS-2000 Series Programming Manual67:REF<X>:LOCateAdjust the position of reference waveform Ref A ~ D.Syntax:REF<X>:LOCate <NR1>:REF

Page 65

GDS-2000 Series Programming Manual68:RUNControls the RUN state of trigger system. The acquisition cycle will follow eachqualified trigger in the RUN s

Page 66

GDS-2000 Series Programming Manual69:TEMPlate:MAXSets and query the number of template used for maximum boundary.Before running this command, the osci

Page 67

GDS-2000 Series Programming Manual72. Computer’s Connection (GPIB, RS-232, USB)A personal computer with a GPIB card, RS-232 or USB interface are three

Page 68

GDS-2000 Series Programming Manual70:TEMPlate:MINSets and query the number of template used for minimum boundary.Before running this command, the osci

Page 69

GDS-2000 Series Programming Manual71:TEMPlate:MODeSets and query the template mode. When the Auto mode selected, the autotemplate source is coming fr

Page 70

GDS-2000 Series Programming Manual72:TEMPlate:POSition:MAXSets and query the position of maximum template. This command will not changethe position v

Page 71

GDS-2000 Series Programming Manual73:TEMPlate:POSition:MINSets and query the position of minimum template. This command will not changethe position v

Page 72 - Note A: 1 division = 25 dots

GDS-2000 Series Programming Manual74:TEMPlate:SAVe:AUToSave the Auto template. This command is equivalent to pressing the “Save &Create” (F4) func

Page 73

GDS-2000 Series Programming Manual75:TEMPlate:SAVe:MAXimumSave the Maximum template. This command is equivalent to pressing the “Save &Create” (F4

Page 74

GDS-2000 Series Programming Manual76:TEMPlate:TOLeranceSets and query the tolerance of auto template.Before running this command, the oscilloscope has

Page 75

GDS-2000 Series Programming Manual77TIMebase:DELaySets the horizontal position (delay timebase) parameter.Syntax:TIMebase:DELay <NR3>:TIMebase:D

Page 76

GDS-2000 Series Programming Manual78:TIMebase:SCALeSets the horizontal timebase scale per division (SEC/DIV).Syntax:TIMebase:SCALe <NR3>:TIMebas

Page 77

GDS-2000 Series Programming Manual79:TIMebase:SWEepSelects the horizontal timebase sweep mode. This command is equivalent tosetting the horizontal men

Page 78

GDS-2000 Series Programming Manual8SR0 (Service Request): The oscilloscope has no SRQ (Service request)function.RL0 (Remote/Local): The oscilloscope

Page 79

GDS-2000 Series Programming Manual80:TIMebase:WINDow:SCALeSets and query the scale (length) of the windows zoomed timebase.Syntax:TIMebase:WINDow:SCAL

Page 80

GDS-2000 Series Programming Manual81:TRIGger:DELay:TIMeSets and query the user-defined delay trigger time.Syntax:TRIGger:DELay:TIMe <NR3>:TRIGge

Page 81

GDS-2000 Series Programming Manual82:TRIGger:DELay:LEVelSets and query the user-defined start trigger signal level.Syntax:TRIGger:DELay:LEVel <NR3&

Page 82

GDS-2000 Series Programming Manual83:TRIGger:DELay:TYPeSelect and query the different delay trigger settings.Syntax:TRIGger:DELay:TYPe <0|1>:TRI

Page 83

GDS-2000 Series Programming Manual84:TRIGger:LEVelSelect and query the trigger level.Syntax:TRIGger:LEVel <NR3>:TRIGger:LEVel?Arguments<NR3&g

Page 84

GDS-2000 Series Programming Manual85:TRIGger:NREJSwitch and query the noise rejection mode.Syntax:TRIGger:NREJ <0|1>:TRIGger:NREJ?Arguments0→OFF

Page 85

GDS-2000 Series Programming Manual86:TRIGger:PULSe:TIMeSelect the time value for pulse width. The setting range is from 20ns to 10s.Syntax:TRIGger:PUL

Page 86

GDS-2000 Series Programming Manual87:TRIGger:SLOPSwitch and query the rising or falling trigger slope.Syntax:TRIGger:SLOP <0|1>:TRIGger:SLOP?Arg

Page 87

GDS-2000 Series Programming Manual88:TRIGger:TYPeSelect and query the trigger type.Syntax:TRIGger:TYPe <0|1|2|3>:TRIGger:TYPe?Arguments0→Edge1→V

Page 88

GDS-2000 Series Programming Manual89:TRIGger:VIDeo:FIELdSelect and query the field on which the video trigger mode will be triggered.Syntax:TRIGger:VI

Page 89

GDS-2000 Series Programming Manual9The GPIB connection testingIf you want to test the GPIB connection is whether working or not, use the NationalInstr

Page 90

GDS-2000 Series Programming Manual90:TRIGger:VIDeo:POLaritySelect and query the input video polarity.Syntax:TRIGger:VIDeo:POLarity <0|1>:TRIGger

Page 91

GDS-2000 Series Programming Manual91:USB:RECall:SETupRecall the setup from USB flash disk.Syntax:USB:RECall:SETupNote: This command always picks up th

Page 92

GDS-2000 Series Programming Manual92:USB:SAVe:IMAGeSave present waveform image to USB flash disk.Syntax:USB:SAVe:IMAGe:USB:SAVe:SETupSave all settings

Page 93

GDS-2000 Series Programming Manual93Appendix A: How can we convert the hexadecimal format to a floating pointformatQuestion: As the previous example l

Comments to this Manuals

No comments