Digital Storage Oscilloscope GDS-2000A Series PROGRAMMING MANUAL GW INSTEK PART NO. Version 16, Decemberr 2013 ISO-9001 CERTIFIED MANUFACTURER
GDS-2000A Programming Manual 10 6. Use the Up and Down arrows on the side menu to navigate to each Ethernet configuration item. Items MAC
GDS-2000A Programming Manual 100 :MEASure:LRFDelay Description Returns the delay between the first rising edge of source1 and the last rising ed
COMMAND DETAILS 101 Example :MEASure:SOURce1 CH1 :MEASure:SOURce2 CH2 :MEASure:LFRDelay? -9.99E-6 Select channel 1 and 2 as delay source1/2, and t
GDS-2000A Programming Manual 102 Return parameter <NR3> Returns the phase difference. Chan Off Indicates the source channel is not activate
COMMAND DETAILS 103 Measurement Commands :MEASUrement:MEAS<X>:SOURCE<X> ...103 :MEASUrement:MEAS<X>:TYPe ...
GDS-2000A Programming Manual 104 Return parameter CH1 to CH4 Channel 1, 2, 3, 4 MATH Math source D0 to D15 Digital channel sources D0 to D15 Exa
COMMAND DETAILS 105 Syntax :MEASUrement:MEAS<X>:STATE { ON | OFF | 1 | 0 | ? } Related commands :MEASUrement:MEAS<X>:SOUrce<X> :
GDS-2000A Programming Manual 106 Example :MEASUrement:MEAS1:SOUrce1 CH1 :MEASUrement:MEAS1:TYPe PK2PK :MEASUrement:MEAS1:STATE ON :MEASUrement:MEA
COMMAND DETAILS 107 :MEASUrement:MEAS<X>:MEAN Description Returns the mean measurement results for the selected measurement from the last
GDS-2000A Programming Manual 108 Example :MEASUrement:MEAS3:SOUrce1 CH1 :MEASUrement:MEAS3:TYPe PK2PK :MEASUrement:MEAS3:STATE ON :MEASUrement:STA
COMMAND DETAILS 109 Related commands :MEASUrement:STATIstics Parameter/ Return parameter ON Display the statistics on the screen. OFF Remove the s
INTERFACE OVERVIEW 11 Configure Socket Server The GDS-2000A supports socket server functionality for direct two-way communication with a client P
GDS-2000A Programming Manual 110 Reference Commands :REF<X>:DISPlay ... 110 :REF<X&
COMMAND DETAILS 111 Parameter <X> Reference waveform 1, 2, 3 ,4. <NRf> Horizontal co-ordinates Return parameter <NR3> Returns t
GDS-2000A Programming Manual 112 Example :REF1:OFFSet -5.000E-2 Selects reference 1, and then sets the vertical position to -50mV/mA. :REF<x>
COMMAND DETAILS 113 Run Command :RUN Description The run command allows the oscilloscope to continuously make acquisitions (equivalent to press
GDS-2000A Programming Manual 114 Force Command :FORCe Description The Force command forces an acquisition (equivalent to pressing the Force-Tri
COMMAND DETAILS 115 Timebase Commands :TIMebase:EXPand ...115 :TIMebase:POSition ...
GDS-2000A Programming Manual 116 :TIMebase:SCALe Description Sets or queries the horizontal scale. Syntax :TIMebase:SCALe {<NRf> | ?} P
COMMAND DETAILS 117 Related commands :TIMebase:MODe Parameter <NRf> Horizontal position for zoom window Return parameter <NR3> Returns
GDS-2000A Programming Manual 118 Trigger Commands :TRIGger:FREQuency ... 120 :TRIGger:TYPe ...
COMMAND DETAILS 119 :TRIGger:EXTERnal:PROBe:TYPe ...134 :TRIGger:EXTERnal:PROBe:RATio ...134 :
GDS-2000A Programming Manual 12 Configure GPIB Note To use GPIB, the optional module, DS2-GPIB, must be installed. Please see the user manual f
GDS-2000A Programming Manual 120 :TRIGger:BUS:B1:CAN:DATa:VALue ... 154 :TRIGger:BUS:B1:LIN:CONDition ...
COMMAND DETAILS 121 TIMEOut Timeout trigger Return parameter Returns the trigger type. Example :TRIGger:TYPe EDGE Sets the trigger type to edge.
GDS-2000A Programming Manual 122 :TRIGger:NREJ Description Sets or queries noise rejection status. Syntax :TRIGger:NREJ {OFF| ON| ?} Parameter
COMMAND DETAILS 123 Example :TRIGger:MODe NORMal Sets the trigger mode to normal. :TRIGger:HOLDoff Description Sets or queries the holdoff tim
GDS-2000A Programming Manual 124 Description Sets or queries the high trigger level. Note Applicable for Rise and Fall/Pulse Runt triggers. Syntax
COMMAND DETAILS 125 :TRIGger:EDGe:SLOP Description Sets or queries the trigger slope. Syntax :TRIGger:EDGe:SLOP {RISe | FALL | EITher | ? } Re
GDS-2000A Programming Manual 126 Syntax :TRIGger:DELay:TYPE {TIMe | EVENt | ?} Related commands :TRIGger:TYPe Parameter TIMe Sets the delay type t
COMMAND DETAILS 127 :TRIGger:DELay:LEVel Description Sets or queries the trigger delay level. Syntax :TRIGger:DELay:LEVel {<NRf> | ?} Par
GDS-2000A Programming Manual 128 NEGative Negative polarity EITher Positive or negative polarity Return parameter Returns the pulse runt trigger
COMMAND DETAILS 129 Example :TRIGger:RUNT:TIMe 4.00E-5 Sets the runt time to 40.0uS. :TRIGger:RISEFall:SLOP Description Sets or queries the R
INTERFACE OVERVIEW 13 USB/RS-232C Functionality Check Terminal Application (USB/RS-232C) Invoke a terminal application such as RealTerm. For R
GDS-2000A Programming Manual 130 :TRIGger:RISEFall:TIMe Description Sets or queries the Rise and Fall time. Syntax :TRIGger:RISEFall:TIMe {<N
COMMAND DETAILS 131 Related commands :TRIGger:TYPe Parameter FIELD1 Trigger on field 1 FIELD2 Trigger on field 2 ALLFields Trigger on all fields
GDS-2000A Programming Manual 132 Example :TRIGger:VIDeo:POLarity POSitive Sets the video trigger polarity to positive. :TRIGger:PULSe:WHEn Des
COMMAND DETAILS 133 :TRIGger:ALTernate Description Sets alternating between source triggers on or off or queries its state. Syntax :TRIGger:ALT
GDS-2000A Programming Manual 134 :TRIGger:EXTERnal:PROBe:TYPe Description Sets or queries the external probe type. Syntax :TRIGger:EXTERnal:PROB
COMMAND DETAILS 135 SPI SPI mode UART UART mode PARALLEL Parallel mode Example :TRIGger:BUS:TYPe? UART :TRIGger:BUS:B1:I2C:CONDition Descript
GDS-2000A Programming Manual 136 :TRIGger:BUS:B1:I2C:ADDRess:MODe Description Sets or queries the I2C addressing mode (7 or 10 bits). Syntax :TR
COMMAND DETAILS 137 Return Parameter Returns the address type Example :TRIGger:BUS:B1:I2C:ADDRess:TYPe? CBUS :TRIGger:BUS:B1:I2C:ADDRess:VALue D
GDS-2000A Programming Manual 138 Related commands :TRIGger:BUS:B1:I2C:CONDition Parameter READ Set read as the data direction. WRITE Set write as
COMMAND DETAILS 139 Parameter <sting> The number of characters in the string depends on the data size setting. The string must be enclosed i
GDS-2000A Programming Manual 14 Socket Server Functionality Check NI Measurement and Automation Explorer To test the socket server functionality
GDS-2000A Programming Manual 140 Return Parameter Returns the triggering condition. Example :TRIGger:BUS:B1:UART:CONDition TXDATA Sets the UART bu
COMMAND DETAILS 141 Return Parameter Returns the data value. Example1 :TRIGger:BUS:B1:UART:CONDition RXDATA :TRIGger:BUS:B1:UART:RX:DATa:SIZe 1 :T
GDS-2000A Programming Manual 142 Parameter <sting> The number of characters in the string depends on the data size setting. The string must
COMMAND DETAILS 143 :TRIGger:BUS:B1:SPI:DATa:SIZe Description Sets or queries the number of words for SPI data. Note This setting only applies w
GDS-2000A Programming Manual 144 Example1 :TRIGger:BUS:B1:SPI:CONDition MISO :TRIGger:BUS:B1:SPI:DATa:SIZe 2 :TRIGger:BUS:B1:SPI:DATa:MISO:VALue &
COMMAND DETAILS 145 :TRIGger:BUS:B1:PARallel:VALue Description Sets or queries the triggering data value for the Parallel bus. Syntax :TRIGger:
GDS-2000A Programming Manual 146 Parameter/Return parameter AND AND logic trigger NAND NAND logic trigger NOR NOR logic trigger OR OR logic trigge
COMMAND DETAILS 147 Return parameter Returns a string containing the conditions for a logic pattern trigger. Example :TRIGger:LOGic:PATtern? :TRIG
GDS-2000A Programming Manual 148 Related commands :TRIGger:LOGic:PATtern:WHEn Parameter/Return parameter <NR3> Pattern trigger delta time in
COMMAND DETAILS 149 Example1 :TRIGger:LOGic:PATtern:WHEn FALSE Set the logic to false. Example2 :TRIGger:LOGic:PATtern:WHEn? FALSE :TRIGger:TIMEOu
INTERFACE OVERVIEW 15 Start>All Programs>National Instruments>Measurement & Automation 5. From the Configuration panel access;
GDS-2000A Programming Manual 150 :TRIGger:BUS:B1:CAN:CONDition Description Sets or returns the CAN trigger condition. Requirements: Firmware ver
COMMAND DETAILS 151 Return parameter REMote Sets the frame type to remote frame ERRor Sets the frame type to error frame OVERLoad Sets the frame t
GDS-2000A Programming Manual 152 Parameter/ Return parameter <string> The size of the string depends on the data size setting. The string mu
COMMAND DETAILS 153 :TRIGger:BUS:B1:CAN:DATa:QUALifier Description Sets or returns the CAN data qualifier. Note: Only applicable when the trigge
GDS-2000A Programming Manual 154 :TRIGger:BUS:B1:CAN:DATa:SIZe Description Sets or returns the length of the data string in bytes for a CAN trig
COMMAND DETAILS 155 String contents: x = don’t care 1 = binary 1 0 = binary 0 Example :TRIGger:BUS:B1:CAN:DATa:SIZe 1 :TRIGger:BUS:B1:CAN:DATa:V
GDS-2000A Programming Manual 156 Example :TRIGger:BUS:B1:LIN:CONDition? >IDANDDATA :TRIGger:BUS:B1:LIN:CONDition DATA :TRIGger:BUS:B1:LIN:CONDi
COMMAND DETAILS 157 Example :TRIGger:BUS:B1:LIN:DATa:QUALifier? >EQUAL :TRIGger:BUS:B1:LIN:DATa:QUALifier THAN :TRIGger:BUS:B1:LIN:DATa:QUALifi
GDS-2000A Programming Manual 158 Parameter/ Return parameter <string> The size of the string depends on the data size setting. The string mu
COMMAND DETAILS 159 :TRIGger:BUS:B1:LIN:IDentifier:VALue Description Sets or returns the binary address string to be used for the LIN trigger. N
GDS-2000A Programming Manual 16 7. Select Manual Entry of Raw Socket from the popup window. 8. Click Next. 78 9. Enter the GDS-2000A’s IP ad
GDS-2000A Programming Manual 160 System Commands :SYSTem:LOCK ... 160 :SYSTem:ERRor ...
COMMAND DETAILS 161 Save/Recall Commands :RECAll:SETUp ...161 :RECAll:WAVEform ...
GDS-2000A Programming Manual 162 :RECAll:WAVEform Description Recalls a waveform from wave1~wave20 or from file to REF1~4. Note Only *.LSF file
COMMAND DETAILS 163 :SAVe:IMAGe:FILEFormat Description Sets the file format for image. Syntax :SAVe:IMAGe:FILEFormat {PNG | BMP | ?} Related co
GDS-2000A Programming Manual 164 Parameter S1~S20 Saves the setup to Set1~Set20 File path Saves the setup to disk to the specified file path. Exa
COMMAND DETAILS 165 Example 3 :SAVe:WAVEform:FILEFormat FCSV :SAVe:WAVEform ALL, “Disk:/ALL002” Sets the file format to FCSV(fast CSV format). It
GDS-2000A Programming Manual 166 Example :SAVe:WAVEform:FILEFormat LSF Sets the file format to LSF.
COMMAND DETAILS 167 Ethernet Commands The Ethernet commands are only available when the DS2-LAN option is installed. :ETHERnet:DHCP ...
GDS-2000A Programming Manual 168 Time Commands :DATe ... 168 :DATe Des
COMMAND DETAILS 169 Bus Decode Commands The Bus Decode commands are only available when the DS2-8LA or DS2-16LA option is installed. :BUS1 ...
INTERFACE OVERVIEW 17 13. Choose an alias for the socket connection if you like. 14. Click Finish to finish the configuration. 1314 15. The GDS-2
GDS-2000A Programming Manual 170 :BUS1:LIN:BITRate ... 182 :BUS1:LIN:IDFORmat ...
COMMAND DETAILS 171 Related commands :BUS1:STATE Parameter/Return parameter UART Sets the bus to UART mode. I2C Sets the bus to I2C mode. SPI Sets
GDS-2000A Programming Manual 172 Example :BUS1:I2C:SCLK:SOURce D0 Sets channel D0 as the SCLK source. :BUS1:I2C:SDA:SOURce Description Sets or q
COMMAND DETAILS 173 10 2400 26 230400 11 3600 27 460800 12 4800 28 921600 13 7200 29 1382400 14 9600 30 1843200 15 14400 31 2764800 Example :
GDS-2000A Programming Manual 174 Description Sets or queries the EOF character for the UART packet setting. Syntax :BUS1:UART:EOFPAcket <NR1>
COMMAND DETAILS 175 Example :BUS1:UART:RX:SOURce D1 Sets channel D1 as the Rx source. :BUS1:SPI:SCLK:POLARity Description Sets or queries the po
GDS-2000A Programming Manual 176 :BUS1:SPI:BITORder Description Sets or queries the bit order for the SPI bus. Syntax :BUS1:SPI:BITORder {<NR
COMMAND DETAILS 177 Example :BUS1:SPI:SS:SOURce D0 Sets channel D0 as the SPI SS source. :BUS1:SPI:MOSI:SOURce Description Sets or queries whic
GDS-2000A Programming Manual 178 Syntax :BUS1:PARallel:BIT<X>:SOURce{ D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D1
COMMAND DETAILS 179 :BUS1:PARallel:WIDth Description Sets or queries the number of bits for the parallel bus. Syntax :BUS1:PARallel:WIDth {<N
GDS-2000A Programming Manual 18 17. Click on the Configuration icon. 18. Select the I/O Settings tab. 19. Mark the Enable Termination Character
GDS-2000A Programming Manual 180 :BUS1:CAN:SOURce Description Sets or returns the CAN input source. Requirements: Firmware version V1.19 or late
COMMAND DETAILS 181 :BUS1:CAN:SAMPLEpoint Description Returns the sample point of the CAN bus. Requirements: Firmware version V1.19 or later wit
GDS-2000A Programming Manual 182 Example :BUS1:CAN:BITRate? >RATE250K :BUS1:CAN:BITRate rate10k :BUS1:CAN:BITRate? >RATE10K :BUS1:LIN:BITRat
COMMAND DETAILS 183 :BUS1:LIN:POLARity Description Sets or returns the LIN polarity. Requirements: Firmware version V1.19 or later with DS2-LA8
GDS-2000A Programming Manual 184 Parameter/Return parameter D0 ~ D15 Digital channel source. Example :BUS1:LIN:SOURCE? >D0 Returns the LIN so
COMMAND DETAILS 185 Mark Commands :MARK ...185 :MARK:CREATE ...
GDS-2000A Programming Manual 186 :MARK:DELEte Description Deletes the current mark or all the marks on a waveform. Syntax :MARK:DELEte { CURRent
COMMAND DETAILS 187 Search Commands :SEARCH:COPY ...188 :SEARCH:STATE ...
GDS-2000A Programming Manual 188 :SEARCH:TRIGger:BUS:B1:UART:CONDition ... 205 :SEARCH:TRIGger:BUS:B1:UART:RX:DATa:SIZe ... 206 :SEARCH:T
COMMAND DETAILS 189 TRIGgertosearch Copy the trigger settings to the search settings. Example :SEARCH:COPY SEARCHtotrigger Copies the search setti
INTERFACE OVERVIEW 19 21. Click the Input/Output icon. 22. Make sure *IDN? query is selected in the Select or Enter Command drop box. 23. Click
GDS-2000A Programming Manual 190 RISEFall Rise and Fall trigger LOGic Logic trigger BUS Bus trigger Example :SEARCH:TRIGger:TYPe EDGE Sets the se
COMMAND DETAILS 191 :SEARCH:TRIGger:LEVel Description Sets or queries the search trigger level. Syntax :SEARCH:TRIGger:LEVel {TTL | ECL| SETTO50
GDS-2000A Programming Manual 192 Return parameter <NR3> Returns the high level search trigger. Example1 :SEARCH:TRIGger:HLEVel TTL Sets the
COMMAND DETAILS 193 Parameter POSitive Positive polarity NEGative Negative polarity Return parameter Returns the pulse width polarity. Example :S
GDS-2000A Programming Manual 194 EITher Either rising or falling slope Return parameter Returns the rise & fall slope. Example :SEARCH:TRIGge
COMMAND DETAILS 195 Example :SEARCH:TRIGger:PULSe:TIMe 4.00E-5 Sets the pulse width search trigger to 40.0us. :SEARCH:TRIGger:RUNT:WHEn Descrip
GDS-2000A Programming Manual 196 :SEARCH:TRIGger:RISEFall:WHEn Description Sets or queries the rise and fall search trigger conditions. Syntax :
COMMAND DETAILS 197 :SEARCH:TRIGger:LOGic:FUNCtion Description Sets or queries the Boolean logic function for logic trigger search. Only availab
GDS-2000A Programming Manual 198 Example1 :SEARCH:TRIGger:LOGic:INPut:CLOCK:SOURce D0 :SEARCH:TRIGger:LOGic:INPut:CLOCK:EDGe FALL :SEARCH:TRIGger:
COMMAND DETAILS 199 Example :SEARCH:TRIGger:LOGic:PATtern:INPut:D0? X :SEARCH:TRIGger:LOGic:PATtern:DELTatime Description Sets or returns the pa
December 2013 This manual contains proprietary information which is protected by copyright. All rights are reserved. No part of this manual may be
GDS-2000A Programming Manual 20 GPIB Functionality Check To check that the GPIB connection is working, National Instruments Measurement & Au
GDS-2000A Programming Manual 200 MORETHAN Set more than mode Is True > time period* *Set from :SEARCH:TRIGger:LOGic:PATtern :DELTatime EQUAL Se
COMMAND DETAILS 201 :SEARCH:TRIGger:BUS:B1:I2C:CONDition Description Sets or queries the I2C search trigger conditions. Syntax :SEARCH:TRIGger:B
GDS-2000A Programming Manual 202 Related commands :SEARCH:TRIGger:BUS:B1:I2C:CONDition Parameter ADDR7 7 bit addressing ADDR10 10 bit addressing
COMMAND DETAILS 203 :SEARCH:TRIGger:BUS:B1:I2C:ADDRess:VALue Description Sets or queries the I2C bus address value when the I2C search trigger i
GDS-2000A Programming Manual 204 Syntax :SEARCH:TRIGger:BUS:B1:I2C:ADDRess:DIRection { READ | WRITE | NOCARE | ? } Related commands :SEARCH:TRIGge
COMMAND DETAILS 205 Syntax :SEARCH:TRIGger:BUS:B1:I2C:DATa:VALue {string | ? } Related commands :SEARCH:TRIGger:BUS:B1:I2C:DATa:SIZe Parameter &l
GDS-2000A Programming Manual 206 RXPARItyerr Set search trigger on RX Parity error condition. TXSTArt Set search trigger on the TX Start Bit. T
COMMAND DETAILS 207 :SEARCH:TRIGger:BUS:B1:UART:RX:DATa:VALue Description Sets or queries the search triggering data value for the UART bus when
GDS-2000A Programming Manual 208 Syntax :SEARCH:TRIGger:BUS:B1:UART:TX:DATa:SIZe {<NR1> | ?} Related commands :SEARCH:TRIGger:BUS:B1:UART:CO
COMMAND DETAILS 209 Example 2 :SEARCH:TRIGger:BUS:B1:UART:TX:DATa:VALue? 1X1X0101 :SEARCH:TRIGger:BUS:B1:SPI:CONDition Description Sets or queri
INTERFACE OVERVIEW 21 3. Press the Scan for Instruments button. 4. In the Connected Instruments panel the GDS-2000A should be detected as Inst
GDS-2000A Programming Manual 210 Return parameter <NR1> Returns the number of words. Example :SEARCH:TRIGger:BUS:B1:SPI:DATa:SIZe 10 Sets th
COMMAND DETAILS 211 :SEARCH:TRIGger:BUS:B1:SPI:DATa:MOSI:VALue Description Sets or queries the search triggering data value for the SPI bus when
GDS-2000A Programming Manual 212 Related commands :BUS1:PARallel:WIDth Parameter <sting> The number of characters in the string depends on t
COMMAND DETAILS 213 IDANDDATA Sets search to trigger on matching identifier and data field EOF Sets search to trigger on the end of frame ACKMISS
GDS-2000A Programming Manual 214 SEARCH:TRIGger:BUS:B1:CAN:IDentifier:MODe Description Sets or returns the CAN addressing mode for the bus. Requ
COMMAND DETAILS 215 Parameter/ Return parameter <string> The size of the string depends on the data size setting. The string must be enclose
GDS-2000A Programming Manual 216 :SEARCH:TRIGger:BUS:B1:CAN:DATa:QUALifier Description Sets or returns the CAN data qualifier. Note: Only appli
COMMAND DETAILS 217 :SEARCH:TRIGger:BUS:B1:CAN:DATa:SIZe Description Sets or returns the length of the data string in bytes for the CAN search t
GDS-2000A Programming Manual 218 String contents: x = don’t care 1 = binary 1 0 = binary 0 Example :SEARCH:TRIGger:BUS:B1:CAN:DATa:SIZe 1 :SEARC
COMMAND DETAILS 219 Example :SEARCH:TRIGger:BUS:B1:LIN:CONDition? >IDANDDATA :SEARCH:TRIGger:BUS:B1:LIN:CONDition DATA :SEARCH:TRIGger:BUS:B1:L
GDS-2000A Programming Manual 22 678 9. The function check is complete.
GDS-2000A Programming Manual 220 Example :SEARCH:TRIGger:BUS:B1:LIN:DATa:QUALifier? >EQUAL :SEARCH:TRIGger:BUS:B1:LIN:DATa:QUALifier MOREthan :
COMMAND DETAILS 221 Syntax :SEARCH:TRIGger:BUS:B1:LIN:DATa:VALue {<string>|?} Parameter/ Return parameter <string> The size of the str
GDS-2000A Programming Manual 222 :SEARCH:TRIGger:BUS:B1:LIN:IDentifier:VALue Description Sets or returns the binary address string to be used fo
COMMAND DETAILS 223 Digital Commands The digital commands are only available when the DS2-8LA or DS2-16LA option is installed. :D<X>:DISPl
GDS-2000A Programming Manual 224 Parameter <X> Digital channel number D(0 to 15). <NRf> Position Return parameter <NR3> Returns
COMMAND DETAILS 225 Parameter <X> Selects the digital group: 1: D0~D3 2: D4~D7 3: D8~D11 4: D12~D15 ECL ECL high level of -1.3V. TTL TTL hig
GDS-2000A Programming Manual 226 Example DIGital:ANAlog:A1:DISPlay on Turns on the A1 analog waveform. :DIGital:ANAlog:A<X>:RATio Descript
COMMAND DETAILS 227 Return parameter Returns the raw data + header information for the selected channel in the following format: Format,2.0A,Displ
GDS-2000A Programming Manual 228 :DIGital:MEMory Description Returns the data in acquisition memory for the digital channels as a header + raw d
COMMAND DETAILS 229 Return parameter Returns the raw data + header information for the digital channels in the following format: Format,2.0A,Displ
COMMAND OVERVIEW 23 COMMAND OVERVIEW The Command overview chapter lists all GDS-2000A commands in functional order as well as alphabetical order.
GDS-2000A Programming Manual 230 Label Commands The commands, “:BUS1:LABel”, “:BUS1:LABel:DISPlay”, “:D<X>:LABel”, “:D<X>:LABel:DISPl
COMMAND DETAILS 231 Return parameter <string> Returns the label for the selected channel. No return indicates that there has not been a file
GDS-2000A Programming Manual 232 :REF<X>:LABel Description Sets or returns the file label for the selected reference waveform. Syntax :REF
COMMAND DETAILS 233 Parameter <X> Reference waveform 1, 2, 3, 4 OFF Turns the file label off for the selected reference waveform. ON Turns t
GDS-2000A Programming Manual 234 Example2 :BUS1:LABel? Bus :BUS1:LABel:DISPlay Description Turns the label on/off for the bus or returns its sta
COMMAND DETAILS 235 Parameter <X> Digital Channel D(0 to 15) <string> The string must be no more than 8 characters and only contain al
GDS-2000A Programming Manual 236 Example :D1:LABel "D1" :D1:LABel:DISPlay ON :D1:LABel:DISPlay? ON Sets the D1 label to "D1" a
COMMAND DETAILS 237 :DIGital:ANAlog:A<X>:LABel:DISPlay Description Turns the label on/off for the selected analog waveform or returns its
GDS-2000A Programming Manual 238 Parameter <X> Setup number 1 to 20 <string> The string must be no more than 8 characters and only con
COMMAND DETAILS 239 Utility Commands :BUZZER ...239 :BUZZER Description Tur
GDS-2000A Programming Manual 24 SHORT :TIM:SCAL? :TIM:SCAL? Command format 1: command header 2: single space 3: parameter 4: message terminator
GDS-2000A Programming Manual 240 Segment Commands :SEGMents:STATE ... 240 :SEGMents:CURRent ..
COMMAND DETAILS 241 :SEGMents:CURRent Description Sets or queries the current segment. Syntax :SEGMents:CURRent {SETTOMIN|SETTOMAX|NR1|?} Relate
GDS-2000A Programming Manual 242 Syntax :SEGMents:TIMe? Related commands :SEGMents:STATE ; :SEGMents:CURRent Return parameter The segment time as
COMMAND DETAILS 243 TABLE Sets the measurement mode to a measurement list. Example1 :SEGMents:MEASure:MODe? >PLOT Returns the measurement mod
GDS-2000A Programming Manual 244 :SEGMents:MEASure:PLOT:SELect Description Sets or queries which bin to view the statics of. Syntax :SEGMents:
COMMAND DETAILS 245 Related commands :SEGMents:MEASure:MODe ; :SEGMents:MEASure:TABle:SELect ; :SEGMents:MEASure:TABle:LIST Parameter/ Return para
GDS-2000A Programming Manual 246 :SEGMents:MEASure:TABle:SAVe Description Saves the list of segment automatic measurement results. Syntax :SEGMe
COMMAND DETAILS 247 :SEGMents:SAVe:SELect:STARt Description Sets or queries the starting segment to save from. Syntax :SEGMents:SAVe:SELect:STAR
GDS-2000A Programming Manual 248 DVM Commands The DVM commands are only available when the optional DVM software is installed. :DVM:STATE ...
COMMAND DETAILS 249 :DVM:MODe Description Sets or queries the DVM mode. Syntax :DVM:MODe {ACRMS|DC|DCRMS|DUTY| FREQuency|?} Related commands :DV
COMMAND OVERVIEW 25 List of Commands in Functional Order Common *IDN? ...
GDS-2000A Programming Manual 250 Function Generator Commands The function generator commands are only available when the DS2-FGN option is install
COMMAND DETAILS 251 Parameter <x> Module 1 or 2. <NRf> The frequency of the function generator in Hz. (0.1 ~ 5000000) Return paramete
GDS-2000A Programming Manual 252 Return parameter Returns the offset of the function generator function in <NR3> format. Example :FUNCtion1:
COMMAND DETAILS 253 Go_NoGo Commands The GoNoGo APP must first be launched (or use the command, “:GONogo:SCRipt”) before any of the Go_NoGo or Tem
GDS-2000A Programming Manual 254 Parameter/ OFF Disabled Return Parameter ON Enabled Example :GONogo:EXECute OFF Turns Go/NoGo off. :GONogo:FUNCti
COMMAND DETAILS 255 :GONogo:SOURce Description Sets the source for the Go/NoGo signal. Syntax :GONogo:SOURce {CH1|CH2|CH3|CH4|?} Parameter/ Retu
GDS-2000A Programming Manual 256 Example :GONogo:SCRipt? >ON The Go/NoGo script is on. :TEMPlate:MODe Description Sets or returns the Go/NoGo
COMMAND DETAILS 257 Return Parameter W1~W20 Waveform memory 1 to 20 Example :TEMPlate:MINimum REF2 Saves the minimum template to REF2. :TEMPlate:P
GDS-2000A Programming Manual 258 :TEMPlate:SAVe:MAXimum Description Saves the maximum template. Syntax :TEMPlate:SAVe:MAXimum :TEMPlate:SAVe:MIN
COMMAND DETAILS 259 Data Logging Commands The data logging commands are only available when the Datalog App is installed and the DS2-LAN option is
GDS-2000A Programming Manual 26 Math :MATH:DISP ... 55 :MATH:TYPe ...
GDS-2000A Programming Manual 260 Related commands :DATALOG:STATE :DATALOG:SAVe :DATALOG:INTerval :DATALOG:DURation Parameter/Return parameter CH1
COMMAND DETAILS 261 :DATALOG:INTerval Description Sets or queries the recording interval time in seconds. The interval times that can be set are
GDS-2000A Programming Manual 262 Parameter/Return parameter <NR1> Sets returns the duration time in discrete minutes: 5, 10, 15, 20, 25, 30
APPENDX 263 APPENDX Error messages Description The following error messages may be returned from the :SYSTem:ERRor? query. For details see page 1
GDS-2000A Programming Manual 264 -140, "Character data error" -141, "Invalid character data" -144, "Character data too lo
APPENDX 265 -241, "Hardware missing" -250, "Mass storage error" -251, "Missing mass storage" -252, "Missing med
GDS-2000A Programming Manual 266 -315, "Configuration memory lost" -320, "Storage fault" -321, "Out of memory" -330,
INDEX 267 INDEX ACQuire AVERage ... 43 FILTer ... 46 HEADer ...
GDS-2000A Programming Manual 268 SCALe ... 53 CLS ... 42 CURS
INDEX 269 NGDefine ... 254 SCRipt ... 255 SOURce ...
COMMAND OVERVIEW 27 :CURSor:XY:RECTangular:Y:DELta ... 70 :CURSor:XY:POLar:RADIUS:POSition<X> ... 70
GDS-2000A Programming Manual 270 VALue... 105 STATIstics ... 109 MODe
INDEX 271 PULSEWidth POLarity ...192 RISEFall SLOP ...193 TIMe ...
GDS-2000A Programming Manual 272 VALue ... 145 SPI CONDition ... 142 DATa MISO VALue...
GDS-2000A Programming Manual 28 :MEASure:RPReshoot ... 87 :MEASure:PPULSE ...
COMMAND OVERVIEW 29 :MEASUrement:STATIstics:WEIghting ...109 :MEASUrement:STATIstics ...109
TABLE OF CONTENTS 3 Table of Contents INTERFACE OVERVIEW ... 5 Front Panel Overview ...
GDS-2000A Programming Manual 30 :TRIGger:DELay:SLOP ... 125 :TRIGger:DELay:TYPe ...
COMMAND OVERVIEW 31 :TRIGger:BUS:B1:SPI:CONDition ...142 :TRIGger:BUS:B1:SPI:DATa:SIZe ...143
GDS-2000A Programming Manual 32 :BUS1:UART:BITRate ... 172 :BUS1:UART:PARIty ...
COMMAND OVERVIEW 33 :SEARCH:TRIGger:RISEFall:SLOP ...193 :SEARCH:TRIGger:PULSe:WHEn ...194 :S
GDS-2000A Programming Manual 34 :SEARCH:TRIGger:BUS:B1:CAN:IDentifier:VALue ... 214 :SEARCH:TRIGger:BUS:B1:CAN:IDentifier :DIRection ...
COMMAND OVERVIEW 35 Utility Commands :BUZZER ...239 Segment Commands :SEGMents:
GDS-2000A Programming Manual 36 :DATALOG:DURation ... 261
COMMAND DETAILS 37 COMMAND DETAILS The Command details chapter shows the detailed syntax, equivalent panel operation, and example for each command
GDS-2000A Programming Manual 38 Digital Commands ... 212 Label Commands ... 230 Util
COMMAND DETAILS 39 Common Commands *IDN? ... 39 *LRN? ...
GDS-2000A Programming Manual Mark Commands ... 185 Search Commands ... 187 Digital
GDS-2000A Programming Manual 40 CH1;ADVanced:EDIT:SOURce2 CH2;ADVanced:EDIT:OPERator PLUS;ADVanced:POSition 0.000E+00;ADVanced:SCALe ?;:MEASure:GA
COMMAND DETAILS 41 RISE;:TRIGger:LEVel 0.00V;:TRIGger:HLEVel 0.00V;:TRIGger:LLEVel 0.00V;:TRIGger:PULSEWidth:POLarity POSITIVE;:TRIGger:RUNT:POLar
GDS-2000A Programming Manual 42 *RCL Description Recalls a set of panel settings. Syntax *RCL {1 | 2 | 3 |…. | 20} Example *RCL 1 Recalls the
COMMAND DETAILS 43 Acquisition Commands :ACQuire:AVERage ... 43 :ACQuire:MODe ...
GDS-2000A Programming Manual 44 Related Commands :ACQuire:AVERage Parameter SAMPle Sample mode sampling PDETect Peak detect sampling AVERage Ave
COMMAND DETAILS 45 :ACQuire<X>:LMEMory? Description Returns the data in acquisition memory for the selected channel as a header + raw data
GDS-2000A Programming Manual 46 Example :ACQuire1:STATe? 0 Returns 0. The channel 1’s raw data is not ready. Note: If the oscilloscope changes the
COMMAND DETAILS 47 parameter SHORT Short record length. Example :ACQuire:RECOrdlength? AUTO The record length is currently set to AUTO. :HEADer
GDS-2000A Programming Manual 48 Autoscale Commands :AUTOSet ... 48 :AUTORSET:M
COMMAND DETAILS 49 Vertical Commands :CHANnel<X>:BWLimit ... 49 :CHANnel<X>:COUPling ...
INTERFACE OVERVIEW 5 INTERFACE OVERVIEW This manual describes how to use the GDS-2000A’s remote command functionality and lists the command detail
GDS-2000A Programming Manual 50 :CHANnel<X>:COUPling Description Selects or returns the coupling mode. Syntax CHANnel<X>:COUPling {A
COMMAND DETAILS 51 Return Parameter ON Channel is on. OFF Channel is off Example :CHANnel1:DISPlay ON Turns on Channel 1 :CHANnel<X>:EXPand
GDS-2000A Programming Manual 52 :CHANnel<X>:INVert Description Inverts a channel or returns its status. Syntax :CHANnel<X>:INVert {O
COMMAND DETAILS 53 :CHANnel<X>:PROBe:RATio Description Sets or returns the probe attenuation factor. Syntax :CHANnel<X>:PROBe:RATio
GDS-2000A Programming Manual 54 Syntax :CHANnel<X>:SCALe { <NRf> | ?} Parameter <X> Channel 1, 2, 3, 4 <NRf> Vertical sca
COMMAND DETAILS 55 Math Commands :MATH:DISP ... 55 :MATH:TYPe ...
GDS-2000A Programming Manual 56 :MATH:TYPe Description Queries or sets the Math type to FFT, Advanced Math or to dual channel math operations S
COMMAND DETAILS 57 Syntax :MATH:DUAL:OPERator {PLUS | MINUS | MUL| DIV|?} Parameter PLUS + operator MINUS - operator MUL operator DIV ÷ opera
GDS-2000A Programming Manual 58 :MATH:FFT:SOURce Description Sets and queries the FFT math source. Syntax :MATH:FFT:SOURce { CH1 | CH2 | CH3 |
COMMAND DETAILS 59 Parameter RECTangular Rectangular window HAMming Hamming window HANning Hanning window BLAckman Blackman window Return param
GDS-2000A Programming Manual 6 Interface Configuration Configure USB Interface USB Configuration PC side connector Type A, host GDS-2000A side co
GDS-2000A Programming Manual 60 :MATH:FFT:HORizontal:SCALe Description Sets or queries the zoom scale for FFT math. Syntax :MATH:FFT:HORizonata
COMMAND DETAILS 61 Return parameter Returns the advanced source. Example :MATH:ADVanced:SOURce CH1 Sets the advanced math source as channel 1. :M
GDS-2000A Programming Manual 62 :MATH:ADVanced:POSition Description Sets the vertical position of the advanced math result, expressed in unit/d
COMMAND DETAILS 63 Cursor Commands :CURSor:MODe ... 64 :CURSor:SOURce ...
GDS-2000A Programming Manual 64 :CURSor:MODe Description Sets cursor mode to horizontal (H) or horizontal and vertical (HV). Note: When the cu
COMMAND DETAILS 65 :CURSor:HUNI Description Sets or queries the units for the horizontal bar cursors. Syntax :CURSor:HUNI {SEConds | HERtz | DEG
GDS-2000A Programming Manual 66 :CURSor:VUNI Description Sets or queries the units for the vertical bar cursors. Syntax :CURSor:VUNI {BASE | PER
COMMAND DETAILS 67 Return Parameter <NR3> Returns the readout in <NR3> format. Example :CURSor:DDT? 4.00E-05 :CURSor:H1Position Des
GDS-2000A Programming Manual 68 Syntax :CURSor:HDELta {?} Return Parameter <NR3> Returns the distance between two horizontal cursors. Exampl
COMMAND DETAILS 69 Return Parameter <NR3> Returns the difference between two vertical cursors. Example :CURSor:VDELta? 4.00E+0 Returns the v
INTERFACE OVERVIEW 7 Configure RS-232C Interface RS-232C Configuration Connector DB-9, Male Baud rate 2400, 4800, 9600, 19200, 38400, 57600, 1152
GDS-2000A Programming Manual 70 :CURSor:XY:RECTangular:Y:POSition<X> Description Sets or queries the vertical position in XY mode for the
COMMAND DETAILS 71 Example :CURSor:XY:POLar:RADIUS:POSition? 80.0E-3 Returns the polar radius position as 80.0mV. :CURSor:XY:POLar:RADIUS:DELta
GDS-2000A Programming Manual 72 Return parameter <NR3> Returns the theta delta between cursor1 and cursor2. Example :CURSor:XY:POLar:THETA:D
COMMAND DETAILS 73 Parameter <X> 1, 2 (Cursor 1, Cursor 2) Return parameter <NR3> Returns the ratio. Example :CURSor:XY:RATio:POSition
GDS-2000A Programming Manual 74 Example :DISPlay:INTensity:WAVEform 5.0E+1 Sets the waveform intensity to 50%. :DISPlay:INTensity:GRATicule Des
COMMAND DETAILS 75 Parameter FULL CROSs FRAMe GRID Return parameter Returns the graticule type. Example :DISPlay:GRATicule FULL Sets the grat
GDS-2000A Programming Manual 76 :DISPlay:WAVEform Description Sets or queries whether the waveforms are drawn as vectors or dots. Syntax :DI
COMMAND DETAILS 77 :HARDcopy:START Description Executing the HARDcopy:START command is the equivalent of pressing the Hardcopy key on the front
GDS-2000A Programming Manual 78 Parameter ON Inksaver ON OFF Inksaver OFF Return parameter Returns the print Ink Saver mode.(ON/OFF) Example :HAR
COMMAND DETAILS 79 :HARDcopy:ASSIGN Description Sets or queries what file type the hardcopy key has been assigned to save. Syntax :HARDcopy:AS
GDS-2000A Programming Manual 8 7. Press Save Now to save the settings. 8. Connect the RS-232C cable to the rear panel port: DB-9 male connect
GDS-2000A Programming Manual 80 Measure Commands :MEASure:GATing ... 81 :MEASure:SOURce ...
COMMAND DETAILS 81 :MEASure:FFFDelay ... 98 :MEASure:LRRDelay ...
GDS-2000A Programming Manual 82 :MEASure:METHod Description Sets or queries the method used to determine the High-Low measurement values. Sy
COMMAND DETAILS 83 :MEASure:FOVShoot Description Returns the fall overshoot amplitude. Syntax :MEASure:FOVShoot{?} Related Commands :MEASure:SO
GDS-2000A Programming Manual 84 Example :MEASure:SOURce1 CH1 :MEASure:FPReshoot? Selects Channel 1, and then measures the fall preshoot. :MEASure:
COMMAND DETAILS 85 Note Before using this command, select the measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:NW
GDS-2000A Programming Manual 86 Chan Off Indicates the source channel is not activated. Note Before using this command, select the measurement ch
COMMAND DETAILS 87 Return parameter <NR3> Returns the rise time. Chan Off Indicates the source channel is not activated. Note Before using
GDS-2000A Programming Manual 88 Syntax :MEASure:RPReshoot{?} Related Commands :MEASure:SOURce<X> Return parameter <NR3> Returns the
COMMAND DETAILS 89 :MEASure:NPULSE Description Returns the number of negative pulses. Syntax :MEASure:NPULSE{?} Related Commands :MEASure:SOURc
INTERFACE OVERVIEW 9 Background The Ethernet interface is used for remote configuration of the oscilloscope over a network using the integrated we
GDS-2000A Programming Manual 90 Note Before using this command, select the measurement channel. See the example below. Example :MEASure:SOURce1 CH
COMMAND DETAILS 91 Return parameter <NR3> Returns the amplitude. Chan Off Indicates the source channel is not activated. Note Before using
GDS-2000A Programming Manual 92 Syntax :MEASure:CMEan{?} Related Commands :MEASure:SOURce<X> Return parameter <NR3> Returns the cycl
COMMAND DETAILS 93 :MEASure:LOW Description Returns the low voltage/current. Syntax :MEASure:LOW{?} Related Commands :MEASure:SOURce<X>
GDS-2000A Programming Manual 94 Example :MEASure:SOURce1 CH1 :MEASure:MAX? 1.90E-3 Selects Channel 1, and then measures the maximum amplitude. :ME
COMMAND DETAILS 95 Chan Off Indicates the source channel is not activated. Note Before using this command, select the measurement channel. See th
GDS-2000A Programming Manual 96 Related Commands :MEASure:SOURce<X> Return parameter <NR3> Returns the area value. Chan Off Indicate
COMMAND DETAILS 97 :MEASure:FRRDelay Description Returns the delay between the first rising edge of source1 and the first rising edge of source2
GDS-2000A Programming Manual 98 Example :MEASure:SOURce1 CH1 :MEASure:SOURce2 CH2 :MEASure:FRFDelay? 3.43E-6 Select channel 1 and 2 as source1/2,
COMMAND DETAILS 99 Return parameter <NR3> Returns the delay. Chan Off Indicates the source channel is not activated. Note Select the two so
Comentários a estes Manuais