GDS-2000 Series Programming Manual1Table of Contents Pages1. 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
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
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
GDS-2000 Series Programming Manual13The USB connection testingUser may test the USB connectivity of oscilloscope and computer by using ahyper-terminal
GDS-2000 Series Programming Manual143. Download the “inf” oscilloscope USB driver file from company website. Rightclick the “inf” oscilloscope USB dr
GDS-2000 Series Programming Manual156. Click the file and select “Connect”.
GDS-2000 Series Programming Manual167. For example, a remote control command of “*idn?” is inputted, the oscilloscopeshould return the information of
GDS-2000 Series Programming Manual173. Remote Control’s CommandsThis oscilloscope can be operated from computer via the GPIB port, RS-232, orUSB port.
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
GDS-2000 Series Programming Manual19Command HeaderThe command header has a hierarchical structure that can be represented by acommand tree (Figure 3-2
GDS-2000 Series Programming Manual21. IntroductionUsers can drive this digital storage oscilloscope by using the GPIB (GeneralPurpose Interface Bus) s
GDS-2000 Series Programming Manual20ParameterIf the command has parameters, the values have to be included. In this manual,when we expressed the synta
GDS-2000 Series Programming Manual21For the actual value of the parameter type <Boolean>, you have to enter 0 insteadof “OFF” or enter 1 instead
GDS-2000 Series Programming Manual22Entering CommandsThe standards that govern the command set for this oscilloscope allow for a certainamount of flex
GDS-2000 Series Programming Manual23Combining CommandsYou can use a semicolon (;) to combine commands and queries. This oscilloscopeexecutes coherent
GDS-2000 Series Programming Manual244. Details of Command ReferenceEach command in this chapter will give a brief description. The examples of eachcom
GDS-2000 Series Programming Manual25*RCLRecall the setting data from memory which previous saved. The settings ofoscilloscope can be stored in memory
GDS-2000 Series Programming Manual26:ACQuire:AVERageSelect the average number of waveform acquisition. The range for averaging isfrom 2 to 256 in powe
GDS-2000 Series Programming Manual27:ACQuire:LENGthSelect the number of record length. This oscilloscope provides record length of 500,or long record
GDS-2000 Series Programming Manual28:ACQuire:MODeSelect the waveform acquisition mode. There are four different acquisition mode:sample, peak detectio
GDS-2000 Series Programming Manual29:ACQuire<X>:MEMory? (query only)Transfer the total waveform data from the acquisition memory. (The memorycap
GDS-2000 Series Programming Manual3Notes for RS-232 ConfigurationThis oscilloscope contains a DB 9-pin, male RS-232 connector for serialcommunication
GDS-2000 Series Programming Manual30The time duration between two adjacent sampling points: Indicates thecorresponding time interval between two adjac
GDS-2000 Series Programming Manual31Example 1Transfer the waveform data (sample rate = 5MSa/s) of channel 1 at 25000 pointsrecord length::ACQuire1:MEM
GDS-2000 Series Programming Manual32:AUTosetPerform an automatic setup in order to optimize the acquisition parameters.Syntax:AUToset:CHANnel<X>
GDS-2000 Series Programming Manual33:CHANnel<X>:DISPlayEnable or disable the channel’s display.Syntax:CHANnel<X>:DISPlay {0|1}:CHANnel<
GDS-2000 Series Programming Manual34:CHANnel<X>:MATHSet the math expression.Syntax:CHANnel<X>:MATH {0|1|2|3}Arguments<X>→Specify the
GDS-2000 Series Programming Manual35:CHANnel<X>:OFFSetSets or query the offset voltage.Syntax:CHANnel<X>:OFFSet <NR3>:CHANnel<X&g
GDS-2000 Series Programming Manual36:CHANnel<X>:PROBeSelect the different probe attenuation factor.Syntax:CHANnel<X>:PROBe {0|1|2}:CHANnel
GDS-2000 Series Programming Manual37:CHANnel<X>:SCALeSets or query the vertical scale of the specified channel.Syntax:CHANnel<X>:SCALe <
GDS-2000 Series Programming Manual38:COPYThis command is equivalent to pressing the HARDCOPY button which located onthe front panel of the oscilloscop
GDS-2000 Series Programming Manual39CURSor:Y<X>PositionAdjust the cursors position of Y axis.Syntax:CURSor:Y<X>Position <NR1>:CURSor
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
GDS-2000 Series Programming Manual40:CURSor:XDISplayEnable or disable the cursors display for X axis.Syntax:CURSor:XDISplay {0|1}Arguments0→Disable cu
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
GDS-2000 Series Programming Manual42:DISPlay:CONTrastSelect contrast level of LCD screen. This command is equivalent to setting theContrast option in
GDS-2000 Series Programming Manual43:DISPlay:WAVeformSelect the dots (or vectors) display for data.points.Syntax:DISPlay:WAVeform <0|1>:DISPlay:
GDS-2000 Series Programming Manual44:GONogo:EXECuteStart or stop the execution of GO/NO-GO comparison function. This command isequal to the function
GDS-2000 Series Programming Manual45:GONogo:NGCount? (query only)Return the value of fail count and total count.Syntax:GONogo:NGCount?Returns<NR1&g
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
GDS-2000 Series Programming Manual47:GONogo:VIOLationSets and query the user-defined GO/NO-GO violation conditions. This command isequal to the functi
GDS-2000 Series Programming Manual48:HARDcopy:INKSaverSets the output format of hardcopy to “ink-save” mode.Syntax:HARDcopy:INKSaver {0|1}:HARDcopy:IN
GDS-2000 Series Programming Manual49:HARDcopy:MODeSelect the hardcopy output style. The entire LCD screen, waveform raw data,oscilloscope settings can
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
GDS-2000 Series Programming Manual50:MEASure:DELAY1Select the first source for eight different delay time measurements (FFFDelay,FRFDelay, FFRDelay, F
GDS-2000 Series Programming Manual51:MEASure:FALL? (query only)Return the value of timing measurement that taken for falling edge of the first pulsein
GDS-2000 Series Programming Manual52:MEASure:FFRDelay? (query only)Return the time value that difference time between the first falling edge of source
GDS-2000 Series Programming Manual53:MEASure:FPReshoot? (query only)Return the ratio of waveform amplitude that expressed the difference between thehi
GDS-2000 Series Programming Manual54:MEASure:FRFDelay? (query only)Return the time value that difference time between the first rising edge of source1
GDS-2000 Series Programming Manual55:MEASure:LFFDelay? (query only)Return the time value that difference time between the first falling edge of source
GDS-2000 Series Programming Manual56:MEASure:LRFDelay? (query only)Return the time value that difference time between the first rising edge of source1
GDS-2000 Series Programming Manual57:MEASure:PDUTy? (query only)Return the ratio of the positive pulse width to the signal period.Syntax:MEASure:PDUTy
GDS-2000 Series Programming Manual58:MEASure:PWIDth? (query only)Return the value of timing measurement of the first positive pulse in the waveform.Sy
GDS-2000 Series Programming Manual59:MEASure:ROVShoot? (query only)Return the ratio of waveform amplitude that expressed the difference between thehig
GDS-2000 Series Programming Manual6Computer’s Connection for USBUser may connect the USB device connector of oscilloscope with personalcomputer’s USB
GDS-2000 Series Programming Manual60:MEASure:SOURceSelect the measured channel (channel 1, 2, 3, or 4). The default setting ofmeasured channel is chan
GDS-2000 Series Programming Manual61:MEASure:VAVerage? (query only)Return the average voltages.Syntax:MEASure:VAVerage?Returns<NR3>.Note: Please
GDS-2000 Series Programming Manual62:MEASure:VMAX? (query only)Return the value of maximum amplitude.Syntax:MEASure:VMAX?Returns<NR3>.Note: Plea
GDS-2000 Series Programming Manual63:MEASure:VRMS? (query only)Return the value of true Root Mean Square voltage.Syntax:MEASure:VRMS?Returns<NR3>
GDS-2000 Series Programming Manual64:MEMory<X>:RECall:SETupRecalls setup form internal non-volatile memory S1~S20.Syntax:MEMory<X>:RECall:
GDS-2000 Series Programming Manual65:MEMory<X>:SAVe:SETupSave the setup to one of the internal non-volatile memory S1~S20.Syntax:MEMory<X>
GDS-2000 Series Programming Manual66:REFReshRefresh the waveform data of LCD screen and re-display the waveform data.Syntax:REFResh:REF<X>:DISPl
GDS-2000 Series Programming Manual67:REF<X>:LOCateAdjust the position of reference waveform Ref A ~ D.Syntax:REF<X>:LOCate <NR1>:REF
GDS-2000 Series Programming Manual68:RUNControls the RUN state of trigger system. The acquisition cycle will follow eachqualified trigger in the RUN s
GDS-2000 Series Programming Manual69:TEMPlate:MAXSets and query the number of template used for maximum boundary.Before running this command, the osci
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
GDS-2000 Series Programming Manual70:TEMPlate:MINSets and query the number of template used for minimum boundary.Before running this command, the osci
GDS-2000 Series Programming Manual71:TEMPlate:MODeSets and query the template mode. When the Auto mode selected, the autotemplate source is coming fr
GDS-2000 Series Programming Manual72:TEMPlate:POSition:MAXSets and query the position of maximum template. This command will not changethe position v
GDS-2000 Series Programming Manual73:TEMPlate:POSition:MINSets and query the position of minimum template. This command will not changethe position v
GDS-2000 Series Programming Manual74:TEMPlate:SAVe:AUToSave the Auto template. This command is equivalent to pressing the “Save &Create” (F4) func
GDS-2000 Series Programming Manual75:TEMPlate:SAVe:MAXimumSave the Maximum template. This command is equivalent to pressing the “Save &Create” (F4
GDS-2000 Series Programming Manual76:TEMPlate:TOLeranceSets and query the tolerance of auto template.Before running this command, the oscilloscope has
GDS-2000 Series Programming Manual77TIMebase:DELaySets the horizontal position (delay timebase) parameter.Syntax:TIMebase:DELay <NR3>:TIMebase:D
GDS-2000 Series Programming Manual78:TIMebase:SCALeSets the horizontal timebase scale per division (SEC/DIV).Syntax:TIMebase:SCALe <NR3>:TIMebas
GDS-2000 Series Programming Manual79:TIMebase:SWEepSelects the horizontal timebase sweep mode. This command is equivalent tosetting the horizontal men
GDS-2000 Series Programming Manual8SR0 (Service Request): The oscilloscope has no SRQ (Service request)function.RL0 (Remote/Local): The oscilloscope
GDS-2000 Series Programming Manual80:TIMebase:WINDow:SCALeSets and query the scale (length) of the windows zoomed timebase.Syntax:TIMebase:WINDow:SCAL
GDS-2000 Series Programming Manual81:TRIGger:DELay:TIMeSets and query the user-defined delay trigger time.Syntax:TRIGger:DELay:TIMe <NR3>:TRIGge
GDS-2000 Series Programming Manual82:TRIGger:DELay:LEVelSets and query the user-defined start trigger signal level.Syntax:TRIGger:DELay:LEVel <NR3&
GDS-2000 Series Programming Manual83:TRIGger:DELay:TYPeSelect and query the different delay trigger settings.Syntax:TRIGger:DELay:TYPe <0|1>:TRI
GDS-2000 Series Programming Manual84:TRIGger:LEVelSelect and query the trigger level.Syntax:TRIGger:LEVel <NR3>:TRIGger:LEVel?Arguments<NR3&g
GDS-2000 Series Programming Manual85:TRIGger:NREJSwitch and query the noise rejection mode.Syntax:TRIGger:NREJ <0|1>:TRIGger:NREJ?Arguments0→OFF
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
GDS-2000 Series Programming Manual87:TRIGger:SLOPSwitch and query the rising or falling trigger slope.Syntax:TRIGger:SLOP <0|1>:TRIGger:SLOP?Arg
GDS-2000 Series Programming Manual88:TRIGger:TYPeSelect and query the trigger type.Syntax:TRIGger:TYPe <0|1|2|3>:TRIGger:TYPe?Arguments0→Edge1→V
GDS-2000 Series Programming Manual89:TRIGger:VIDeo:FIELdSelect and query the field on which the video trigger mode will be triggered.Syntax:TRIGger:VI
GDS-2000 Series Programming Manual9The GPIB connection testingIf you want to test the GPIB connection is whether working or not, use the NationalInstr
GDS-2000 Series Programming Manual90:TRIGger:VIDeo:POLaritySelect and query the input video polarity.Syntax:TRIGger:VIDeo:POLarity <0|1>:TRIGger
GDS-2000 Series Programming Manual91:USB:RECall:SETupRecall the setup from USB flash disk.Syntax:USB:RECall:SETupNote: This command always picks up th
GDS-2000 Series Programming Manual92:USB:SAVe:IMAGeSave present waveform image to USB flash disk.Syntax:USB:SAVe:IMAGe:USB:SAVe:SETupSave all settings
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