Summary of Contents for GW Instek GDS-1000B Series
Page 1
Digital Storage Oscilloscope GDS-1000B Series PROGRAMMING MANUAL GW INSTEK PART NO. Version 1.10, June 2015 ISO-9001 CERTIFIED MANUFACTURER...
Page 2
June 2015 This manual contains proprietary information which is protected by copyright. All rights are reserved. No part of this manual may be photocopied, reproduced or translated to another language without prior written consent of Good Will Corporation. The information in this manual was correct at the time of printing. However, Good Will continues to improve products and reserves the right to change specifications, equipment, and maintenance procedures at any time without notice.
INTERFACE OVERVIEW NTERFACE OVERVIEW This manual describes how to use the GDS-1000B’s remote command functionality and lists the command details. The Overview chapter describes how to configure the GDS-1000B USB and Ethernet remote control interface. Interface Configuration Configure USB Interface PC side connector Type A, host Configuration Type B, device...
Page 6
5. When the PC asks for the USB driver, select the USB driver included on the accompanying User Manual CD or download the driver from the GW Instek website, www.gwinstek.com, in the GDS-1000B Download section. The driver automatically sets the GDS-1000B as a serial...
Page 7
INTERFACE OVERVIEW USB Functionality Check Invoke a terminal application such as RealTerm. Terminal Application Set the COM port, baud rate, stop bit, data bit, and parity accordingly. To check the COM port number and associated port settings, see the Device Manager in the PC. For Windows 7: Control panel →...
Page 8
GDS-1000B Programming Manual Configure the Ethernet Interface Ethernet MAC Address Domain Name Configuration Instrument Name DNS IP Address User Password Gateway IP Address Instrument IP Subnet Mask Address HTTP Port 80 (fixed) The Ethernet interface is used for remote control Background using a socket server connection.
Page 9
INTERFACE OVERVIEW 6. Use the Up and Down arrows on the side menu to navigate to each Ethernet configuration item. MAC Address, Instrument Name, Items User Password, Instrument IP Address, Domain Name, DNS IP Address, Gateway IP Address, Subnet Mask Note: HTTP Port is fixed at 80.
Page 10
GDS-1000B Programming Manual Press Backspace to delete a character. Press Save Now to save the configuration. Complete will be displayed when successful. Configure Socket Server The GDS-1000B supports socket server functionality for direct two- way communication with a client PC or device over LAN. By default, the Socket Server is off.
Page 11
INTERFACE OVERVIEW 8. Press Server and turn the socket server On. Socket Server Functionality Check To test the socket server functionality, National NI Measurement and Automation Instruments Measurement and Automation Explorer Explorer can be used. This program is available on the NI website, www.ni.com.
Page 12
GDS-1000B Programming Manual 5. Right click Network Devices and select Create New Visa TCP/IP Resource… 6. Select Manual Entry of Raw Socket from the popup window. 7. Click Next.
Page 13
INTERFACE OVERVIEW 8. Enter the GDS-1000B’s IP address and socket port number. 9. Click Validate. 10. A popup will appear to tell you if a VISA socket session was successfully created. 11. Click Next. 12. Choose an alias for the socket connection if you like.
Page 14
GDS-1000B Programming Manual 15. Click the Open Visa Test Panel to send a remote Functionality command to the GDS-1000B. Check 16. Click on the Configuration icon. 17. Select the I/O Settings tab. 18. Mark the Enable Termination Character checkbox. Make sure the termination character is a line feed (/n, value: xA).
Page 15
INTERFACE OVERVIEW 20. Click the Input/Output icon. 21. Make sure *IDN? query is selected in the Select or Enter Command drop box. 22. Click on Query. 23. The manufacturer, model number, serial number and firmware version will be displayed in the buffer. For example: GW,GDS-1102B,PXXXXXX,V1.00...
GDS-1000B Programming Manual OMMAND OVERVIEW The Command overview chapter lists all GDS- 1000B commands in functional order as well as alphabetical order. The command syntax section shows you the basic syntax rules you have to apply when using commands. Command Syntax USB CDC_ACM compatible Compatible ...
Page 17
COMMAND OVERVIEW :TIM:SCAL? SHORT :TIM:SCAL? 1: command header Command format :TIMebase:SCALe <NR3>LF 2: single space 3: parameter 4: message terminator Parameter Type Description Example boolean logic 0, 1 <Boolean> Integers 0, 1, 2, 3 <NR1> floating point 0.1, 3.14, 8.5 <NR2>...
COMMAND DETAILS OMMAND DETAILS The Command details chapter shows the detailed syntax, equivalent panel operation, and example for each command. For the list of all commands, see page18. Common Commands ....... 29 Acquisition Commands ......35 Autoscale Commands ......42 Vertical Commands ........
Page 28
GDS-1000B Programming Manual Remote Disk Commands ......158...
COMMAND DETAILS Common Commands *IDN? ................29 *LRN? ................29 *SAV ................30 *RCL ................31 *RST ................31 *CLS ................31 *ESE ................31 *ESR ................32 *OPC ................33 *SRE ................33 *STB ................34 *IDN? Query Returns the manufacturer, model, serial number Description and version number of the unit.
COMMAND DETAILS *RCL Recalls a set of panel settings. Description Syntax *RCL {1 | 2 | 3 |…. | 20} Example *RCL 1 Recalls the selected setup from Set 1. *RST Resets the GDS-1000B (recalls the default panel Description settings). Syntax *RST *CLS...
GDS-1000B Programming Manual Execution Error Command Error User Request Power On Example *ESE? >4 Indicates that there is a query error. *ESR Query Queries the Standard Event Status (Event) register. Description The Event Status register is cleared after it is read. Query Syntax *ESR? 0~255...
COMMAND DETAILS *OPC Query The *OPC command sets the OPC bit (bit0) of the Description Standard Event Status Register when all current commands have been processed. The *OPC? Query returns 1 when all the outstanding commands have completed. Syntax *OPC Query Syntax *OPC? Returns 1 when all the outstanding...
GDS-1000B Programming Manual Not used Example *SRE? >48 Indicates that the MAVB and ESB bit are both set. *STB Query Queries the bit sum of the Status Byte register with Description MSS (Master summary Status) replacing the RQS bit (bit 6). Query Syntax *STB? 0 ~ 255...
COMMAND DETAILS Acquisition Commands :ACQuire:AVERage ............35 :ACQuire:MODe ............36 :ACQuire<X>:MEMory? ..........36 :ACQuire:FILTer:SOURce ........... 38 :ACQuire:FILTer ............39 :ACQuire:FILTer:FREQuency ........39 :ACQuire:FILTer:TRACking ......... 40 :ACQuire<X>:STATe? ..........40 :ACQuire:RECOrdlength ..........40 :HEADer ...............41 :ACQuire:AVERage Query Selects or returns the number of waveform Description acquisitions that are averaged in the average acquisition mode.
GDS-1000B Programming Manual :ACQuire:MODe Query Selects or returns the acquisition mode. Description Syntax :ACQuire:MODe {SAMPle | PDETect | AVERage | ?} Related :ACQuire:AVERage Commands SAMPle Sample mode sampling Parameter PDETect Peak detect sampling AVERage Average sampling mode Example :ACQuire:MODe PDETect Sets the sampling mode to peak detection.
Page 37
COMMAND DETAILS Format: Header: The header (in ASCII) encodes the number of bytes for the header followed by the number of data points in bytes for the raw data. ASCII #42000 Header identifier Indicates the number of characters that will encode the number of data points (ie.
GDS-1000B Programming Manual acquisition settings that precede the raw data. For example if the raw data for a point is 001C (=28 decimal) then, (28/25) x 0.5 = 0.56V Example :ACQuire1:MEMory? Format,1.0B;Memory Length,10000;IntpDistance,0; Trigger Address,4999;Trigger Level,1.160E+01; Source,CH1;Vertical Units,V;Vertical Units Div,0;Vertical Units Extend Div,15;Label,ACK ;Probe Type,0;Probe Ratio,1.000e+01;Vertical Scale,5.000e+00;Vertical Position,-1.100e+01;Horizontal Units,S;Horizontal...
COMMAND DETAILS :ACQuire:FILTer Query Turns the filter on/off or queries its status. Description This command is only applicable when the Digital Note Filter app is installed. See the Digital Filter app user manual for details. Syntax :ACQuire:FILTer {ON|OFF|?} Filter on. Parameter/ Return parameter Filter off.
GDS-1000B Programming Manual :ACQuire:FILTer:TRACking Query Turns filter tracking on/off or queries its state. Description This command is only applicable when the Digital Note Filter app is installed. See the Digital Filter app user manual for details. Syntax :ACQuire:FILTer:TRACking {ON|OFF|?} Tracking off Parameter/ Return parameter Tracking on...
COMMAND DETAILS Example :ACQuire:RECOrdlength 1e+3 Sets the record length to 1000 points. :HEADer Query Configures whether the returned data of Description the :ACQuire:MEM query will contain header information or not. It is set to ON by default. Syntax :HEADer {OFF | ON | ?} Related :ACQuire<X>:MEMory? Commands...
GDS-1000B Programming Manual Autoscale Commands :AUTOSet ..............42 :AUTORSET:MODe ............. 42 :AUTOSet Runs the Autoset function to automatically Description configure the horizontal scale, vertical scale, and trigger according to the input signal. Syntax :AUTOSet :AUTORSET:MODe Query Sets the Autoset mode or queries its state. Description Syntax :AUTORSET:MODe {FITScreen | ACPriority | ?}...
GDS-1000B Programming Manual :CHANnel<X>:COUPling Query Selects or returns the coupling mode. Description Syntax CHANnel<X>:COUPling {AC | DC | GND | ?} Channel 1,2,3,4 Parameter <X> AC coupling DC coupling Ground coupling Return parameter Returns the coupling mode. Example :CHANnel1:COUPling DC Sets the coupling to DC for Channel 1.
COMMAND DETAILS Return Parameter ON Channel is on Channel is off Example :CHANnel1:DISPlay ON Turns on Channel 1 :CHANnel<X>:EXPand Query Sets Expand By Ground or Expand By Center for a Description channel or queries its status. Syntax :CHANnel<X>:EXPand {GND | CENTer | ?} Channel 1,2,3,4 Parameter <X>...
GDS-1000B Programming Manual :CHANnel<X>:INVert Query Inverts a channel or returns its status. Description Syntax :CHANnel<X>:INVert {OFF | ON | ?} Channel 1, 2, 3, 4 Parameter <X> Invert off Invert on Return parameter ON Invert on Invert off Example :CHANnel1:INVert ON Inverts Channel 1 :CHANnel<X>:POSition Query...
GDS-1000B Programming Manual :MATH:TYPe Query Queries or sets the Math type to FFT, Advanced Description Math or to dual channel math operations (basic +, - , ×, ÷, operations). Syntax :MATH:TYPe { DUAL | ADVanced | FFT | ? } Related :MATH:DISP Commands...
COMMAND DETAILS Syntax :MATH:DUAL:OPERator {PLUS | MINUS | MUL| DIV|?} Parameter PLUS + operator MINUS - operator operator ÷ operator Return parameter Returns operator type. Example :MATH:DUAL:OPERator PLUS Sets the math operator as plus (+). :MATH:DUAL:POSition Query Sets the vertical position of the displayed math Description result expressed by unit/division.
GDS-1000B Programming Manual :MATH:FFT:HORizontal:SCALe Query Sets or queries the zoom scale for FFT math. Description Syntax :MATH:FFT:HORizonatal:SCALe {<NRf> | ?} Parameter <NRf> Zoom scale: 1 to 20 times Return parameter <NR3> Returns zoom scale. Example :MATH:FFT:HORizontal:SCALe 5 Sets the zoom scale to 5X. MATH:FFT:HORizontal:POSition Query Sets the horizontal position of the displayed FFT...
GDS-1000B Programming Manual Example MATHVAR? VAR1 1.000000E+06; VAR2 1.0E+1 Returns the value of both variables. MATHVAR:VAR<X> Query Sets or returns the VAR1 or VAR2 variables. Description Syntax MATHVAR:VAR<x> {<NRf> | ?} Related MATH:DEFine Commands Parameter <X> 1, 2 (VAR1 or VAR2) <NRf>...
Page 57
COMMAND DETAILS Parameter <NRf> Vertical scale Return parameter <NR3> Returns the vertical scale. Example :MATH:ADVanced:SCALe 2.0E-3 Sets the vertical scale to 2mV/Div.
COMMAND DETAILS Parameter Turns the cursors off. Turns the horizontal cursors on. Turns horizontal and vertical cursors on. Return parameter Returns the state of the cursors (H, HV, OFF). Example :CURSor:MODe OFF Turns the cursors off. :CURSor:SOURce Query Sets or queries the cursor source. Description Syntax :CURSor:SOURce {CH1 | CH2 |CH3 | CH4 | REF1 |...
GDS-1000B Programming Manual Return parameter Returns the unit type. Example :CURSor:HUNI SEConds Sets the units to time in seconds. :CURSor:HUSE Sets the current cursor position as the phase or Description ratio reference for the Percent or Degrees (horizontal) cursors. This command can only be used when Note :CURSor:HUNI is set to DEGrees or PERcent.
COMMAND DETAILS :CURSor:VUSE Sets the current cursor position as the ratio Description reference for the Percent (vertical) cursors. This command can only be used when Note :CURSor:VUNI is set to PERcent. Syntax :CURSor:VUSE {CURRent} Related :CURSor:MODe Commands :CURSor:VUNI Parameter CURRent Uses the current vertical position Example :CURSor:VUSE CURRent.
GDS-1000B Programming Manual Parameter <NRf> Horizontal position Return parameter Returns the cursor position. Example :CURSor:H1Position? -1.34E-3 Returns the H1 cursor position as -1.34ms. :CURSor:H2Position Query Sets or returns the second horizontal cursor (H2) Description position. Syntax :CURSor:H2Position {<NRf> | ?} Related :CURSor:H1Position Commands...
GDS-1000B Programming Manual Parameter <X> Cursor 1, 2 <NRf> Horizontal position co-ordinates Return parameter <NR3> Returns the cursor position. Example :CURSor:XY:RECTangular:X:POSition1 4.0E-3 Sets the X-coordinate cursor 1 position to 40mV/mV. :CURSor:XY:RECTangular:X:DELta Query Returns the delta value of cursor 1 and 2 on the X Description coordinate.
COMMAND DETAILS :CURSor:XY:RECTangular:Y:DELta Query Returns the delta value of cursor 1 and 2 on the Y Description coordinate. Syntax :CURSor:XY:RECTangular:Y:DELta{?} Return Parameter <NR3> Returns the delta value of cursor 1 and 2 as <NR3>. Example :CURSor:XY:RECTangular:Y:DELta? 80.0E-3 Returns the horizontal delta as 80mV. :CURSor:XY:POLar:RADIUS:POSition<X>...
GDS-1000B Programming Manual :CURSor:XY:POLar:THETA:POSition<X> Query Queries the polar angle for the specified cursor in Description XY mode, where X can be either 1 or 2. Syntax :CURSor:XY:POLar:THETA:POSition<X>{?} 1, 2 (Cursor 1, Cursor 2) Parameter <X> Returns the polar angle. Return parameter <NR3> Example :CURSor:XY:POLAR:RADIUS:POSition1? 8.91E+1...
COMMAND DETAILS Example :CURSor:XY:PRODuct:POSition1? 9.44E-5 Returns the product of cursor1 as 94.4uVV. :CURSor:XY:PRODuct:DELta Query Queries the product delta in XY mode. Description Syntax :CURSor:XY:PRODuct:DELta{?} Returns the product delta. Return parameter <NR3> Example :CURSor:XY:PRODuct:DELta? 1.22E-5 Returns the product delta as 12.2uVV. :CURSor:XY:RATio:POSition<X>...
Page 68
GDS-1000B Programming Manual Example :CURSor:XY:RATio:DELta? 5.39E+1 Returns the ratio delta as 53.9V/V.
GDS-1000B Programming Manual :DISPlay:INTensity:BACKLight Query Sets or queries the intensity of the backlight Description display. Syntax :DISPlay:INTensity:BACKLight {<NRf> | ?} Parameter <NRf> 1.0E+0 to 1.0E+2 (10% to 100%) Return Parameter <NR3> Returns the backlight intensity. Example :DISPlay:INTensity:BACKLight 5.0E+1 Sets the backlight intensity to 50%. :DISPlay:INTensity:BACKLight:AUTODim :ENAble Query...
GDS-1000B Programming Manual :DISPlay:WAVEform Query Sets or queries whether the waveforms are drawn Description as vectors or dots. Syntax :DISPlay:WAVEform {VECTor | DOT | ?} Vectors Parameter VECTor Dots Return parameter Returns VECTOR or DOT. Example :DISPlay:WAVEform VECTor Sets the waveform to vectors. :DISPlay:OUTPut Query Returns the screen image as a 16 bit RGB run...
GDS-1000B Programming Manual Example :HARDcopy:MODe PRINT Sets hardcopy to print. :HARDcopy:PRINTINKSaver Query Sets Inksaver On or Off for printing. Description Syntax :HARDcopy:PRINTINKSaver { OFF | ON | ? } Related :HARDcopy:START Commands :HARDcopy:MODe Inksaver ON Parameter Inksaver OFF Return parameter Returns the print Ink Saver mode.(ON/OFF) Example :HARDcopy:PRINTINKSaver ON Sets Ink Saver to ON for printing.
COMMAND DETAILS Related :HARDcopy:START Commands :HARDcopy:MODe PNG file format Parameter BMP file format Return parameter Returns the image file format (PNG/BMP). Example :HARDcopy:SAVEFORMat PNG Sets the file format to PNG. :HARDcopy:ASSIGN Query Sets or queries what file type the hardcopy key has Description been assigned to save.
GDS-1000B Programming Manual MATH Math Return parameter Returns the source (CH1, CH2, CH3, CH4, MATH) Example :MEASure:SOURce1 CH1 Sets source1 to channel 1. :MEASure:METHod Query Sets or queries the method used to determine the Description High-Low measurement values. Syntax :MEASure:METHod { AUTo | HIStogram | MINMax | ? } Parameter AUTo...
COMMAND DETAILS :MEASUrement:REFLevel:PERCent:LOW Query Sets or queries the low reference level as a Description percentage. Syntax :MEASUrement:REFLevel:PERCent:LOW {<NRf> | ?} Parameter <NRf> 0 - 100% Return parameter Returns the low reference level. Example :MEASUrement:REFLevel:PERCent:LOW 40.1 Set the low reference level to 40.1%. :MEASUrement:REFLevel:PERCent:MID Query Sets or queries the first mid reference level as a...
GDS-1000B Programming Manual :MEASure:FALL Query Returns the fall time measurement result. Description Syntax :MEASure:FALL{?} Related :MEASure:SOURce<X> Commands Return parameter <NR3> Chan Off Indicates the source channel is not activated. Before using this command, select the Note measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:FALL?
COMMAND DETAILS Example :MEASure:SOURce1 CH1 :MEASure:FOVShoot? 1.27E+0 Selects Channel 1, and then measures the fall overshoot. :MEASure:FPReshoot Query Returns fall preshoot amplitude. Description Syntax :MEASure:FPReshoot{?} Related :MEASure:SOURce<X> Commands Returns Returns the fall preshoot as <NR3>. Return parameter <NR3> Returns the fall preshoot as a percentage. Chan Off Indicates the source channel is not activated.
GDS-1000B Programming Manual Before using this command, select the Note measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:FREQuency? >1.0E+3 Selects Channel 1, and then measures the frequency. :MEASure:NWIDth Query Returns the first negative pulse width timing. Description Syntax :MEASure:NWIDth{?} Related :MEASure:SOURce<X>...
COMMAND DETAILS Chan Off Indicates the source channel is not activated. Before using this command, select the Note measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:PDUTy? 5.000E+01 Selects Channel 1, and then measures the positive duty cycle. :MEASure:PERiod Query Returns the period.
GDS-1000B Programming Manual Return parameter <NR3> Returns the positive pulse width. Chan Off Indicates the source channel is not activated. Before using this command, select the Note measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:PWIDth? 5.0E-6 Selects Channel 1, and then measures the positive pulse width.
COMMAND DETAILS Related :MEASure:SOURce<X> Commands Return parameter <NR3> Returns the overshoot. Chan Off Indicates the source channel is not activated. Before using this command, select the Note measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:ROVShoot? 5.00E+00 Selects Channel 1, and then measures the rise overshoot.
GDS-1000B Programming Manual :MEASure:PPULSE Query Returns the number of positive pulses. Description Syntax :MEASure:PPULSE{?} Related :MEASure:SOURce<X> Commands Return parameter <NR3> Returns the number of positive pulses. Chan Off Indicates the source channel is not activated. Before using this command, select the Note measurement channel.
COMMAND DETAILS Before using this command, select the Note measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:NPULSE? 4.000E+00 Selects Channel 1, and then measures the number of negative pulses. :MEASure:PEDGE Query Returns the number of positive edges. Description Syntax :MEASure:PEDGE{?} Related...
GDS-1000B Programming Manual Return parameter <NR3> Returns the number of negative edges. Chan Off Indicates the source channel is not activated. Before using this command, select the Note measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:NEDGE? 1.100E+01 Selects Channel 1, and then measures the number of negative edges.
COMMAND DETAILS Syntax :MEASure:MEAN{?} Related :MEASure:SOURce<X> Commands Return parameter <NR3> Returns the mean. Chan Off Indicates the source channel is not activated. Before using this command, select the Note measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:MEAN? 1.82E-3 Selects Channel 1, and then measures the mean value.
GDS-1000B Programming Manual :MEASure:HIGH Query Returns the global high voltage/current. Description Syntax :MEASure:HIGH{?} Related :MEASure:SOURce<X> Commands Return parameter <NR3> Returns the high value. Chan Off Indicates the source channel is not activated. Before using this command, select the Note measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:HIGH?
COMMAND DETAILS Example :MEASure:SOURce1 CH1 :MEASure:LOW? 1.00E-0 Selects Channel 1, and then measures the low current/voltage. :MEASure:MAX Query Returns the maximum amplitude. Description Syntax :MEASure:MAX{?} Related :MEASure:SOURce<X> Commands Return parameter <NR3> Returns the maximum amplitude. Chan Off Indicates the source channel is not activated.
GDS-1000B Programming Manual Before using this command, select the Note measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:MIN? -8.00E-3 Selects Channel 1, and then measures the minimum amplitude. :MEASure:PK2PK Query Returns the peak-to-peak amplitude (difference Description between maximum and minimum amplitude). Syntax :MEASure:PK2Pk{?} Related...
COMMAND DETAILS Related :MEASure:SOURce<X> Commands Return parameter <NR3> Returns the RMS value. Chan Off Indicates the source channel is not activated. Before using this command, select the Note measurement channel. See the example below. Example :MEASure:SOURce1 CH1 :MEASure:RMS? 1.31E-3 Selects Channel 1, and then measures the RMS voltage/current.
GDS-1000B Programming Manual :MEASure:AREa Query Returns the voltage/current area over one or more Description full periods. Syntax :MEASure:AREa{?} Related :MEASure:SOURce<X> Commands Return parameter <NR3> Returns the area value. Chan Off Indicates the source channel is not activated. Before using this command, select the Note measurement channel.
COMMAND DETAILS Example :MEASure:SOURce1 CH1 :MEASure:CARea? 1.958E-03 Selects Channel 1, and then measures the area. :MEASure:FRRDelay Query Returns the delay between the first rising edge of Description source1 and the first rising edge of source2. Syntax :MEASure:FRRDelay{?} Related :MEASure:SOURce<X> Commands Return parameter <NR3>...
GDS-1000B Programming Manual Return parameter <NR3> Returns the delay. Chan Off Indicates the source channel is not activated. Select the two source channels before entering this Note command. Example :MEASure:SOURce1 CH1 :MEASure:SOURce2 CH2 :MEASure:FRFDelay? 3.43E-6 Select channel 1 and 2 as source1/2, and then measures FRF.
COMMAND DETAILS :MEASure:FFFDelay Query Returns the delay between the first falling edge of Description source1 and the first falling edge of source2. Syntax :MEASure:FFFDelay{?} Related :MEASure:SOURce<X> Commands Return parameter <NR3> Returns the delay. Chan Off Indicates the source channel is not activated.
GDS-1000B Programming Manual Example :MEASure:SOURce1 CH1 :MEASure:SOURce2 CH2 :MEASure:LRRDelay? -8.89E-6 Select channel 1 and 2 as delay source1/2, and then measure LRR. :MEASure:LRFDelay Query Returns the delay between the first rising edge of Description source1 and the last rising edge of source2. Syntax :MEASure:LRFDelay{?} Related...
COMMAND DETAILS Return parameter <NR3> Returns the delay. Chan Off Indicates the source channel is not activated. Select the two source channels before entering this Note command. Example :MEASure:SOURce1 CH1 :MEASure:SOURce2 CH2 :MEASure:LFRDelay? -9.99E-6 Select channel 1 and 2 as delay source1/2, and then measure LFR.
GDS-1000B Programming Manual :MEASure:PHAse Query Returns the phase between source 1 and source 2. Description Syntax :MEASure:PHAse{?} Related :MEASure:SOURce<X> Commands Return parameter <NR3> Returns the phase difference. Chan Off Indicates the source channel is not activated. Select the two source channels before entering this Note command.
GDS-1000B Programming Manual Return parameter CH1 to CH4 Channel 1, 2, 3, 4 MATH Math source Example :MEASUrement:MEAS1:SOURCE1 >CH1 Returns the (first) source for measurement 1. :MEASUrement:MEAS<X>:TYPe Query Sets or queries the measurement type for a selected Description automatic measurement. This is a statistics related command.
COMMAND DETAILS Related :MEASUrement:MEAS<X>:SOUrce<X> commands :MEASUrement:MEAS<X>:TYPe Parameter MEAS<X> The automatic measurement number from 1 to 8. ON/1 Turn the measurement on. OFF/0 Turn the measurement off. Return parameter 0 Measurement is off. Measurement is on. Example :MEASUrement:MEAS1:STATE 1 Turns measurement 1 on. :MEASUrement:MEAS<X>:VALue Query Returns the measurement results for the selected...
GDS-1000B Programming Manual Example :MEASUrement:MEAS1:SOUrce1 CH1 :MEASUrement:MEAS1:TYPe PK2PK :MEASUrement:MEAS1:STATE ON :MEASUrement:MEAS1:VALue? 5.000E+0 Selects channel 1 as the source for measurement 1, sets measurement 1 to peak to peak measurement and then turns on the measurement. The result returns the peak to peak measurement. :MEASUrement:MEAS<X>:MAXimum Query Returns the maximum measurement results for the...
COMMAND DETAILS :MEASUrement:MEAS<X>:MEAN Query Returns the mean measurement results for the Description selected measurement from the last time the statistics were reset. This is a statistics related command. Syntax :MEASUrement:MEAS<X>:MEAN? Related :MEASUrement:STATIstics:MODe Commands Parameter MEAS<X> The automatic measurement number from 1 to 8. Return parameter <NR3>...
GDS-1000B Programming Manual Parameter MEAS<X> The automatic measurement number from 1 to 8. Return parameter <NR3> Returns the measurement for the selected measurement number. Example :MEASUrement:MEAS3:SOUrce1 CH1 :MEASUrement:MEAS3:TYPe PK2PK :MEASUrement:MEAS3:STATE ON :MEASUrement:STATIstics:MODe ON :MEASUrement:MEAS3:MINImum? 1.600E-02 Returns the minimum measurement result for measurement number 3.
COMMAND DETAILS Example :MEASUrement:MEAS3:SOUrce1 CH1 :MEASUrement:MEAS3:TYPe PK2PK :MEASUrement:MEAS3:STATE ON :MEASUrement:STATIstics:MODe ON :MEASUrement:MEAS3:STDdev? 1.530E-03 Returns the standard deviation for measurement number 3. :MEASUrement:STATIstics:MODe Query Puts the statics measurement results on the display Description or queries whether the statistics are displayed. Syntax :MEASUrement:STATIstics:MODe {OFF | ON | ?} Related :MEASUrement:STATIstics...
GDS-1000B Programming Manual :MEASUrement:STATIstics Resets the statics calculations. This command will Description clear all the currently accumulated measurements. Syntax :MEASUrement:STATIstics {RESET}...
COMMAND DETAILS Reference Commands :REF<X>:DISPlay ............109 :REF<X>:TIMebase:POSition ........109 :REF<X>:TIMebase:SCALe ........110 :REF<X>:OFFSet ............110 :REF<x>:SCALe ............111 :REF<X>:DISPlay Query Sets or queries whether a reference waveform will Description be shown on the display. A reference waveform must first be saved before this command can be used.
GDS-1000B Programming Manual Reference waveform 1, 2, 3, 4. Parameter <X> Horizontal co-ordinates <NRf> Returns the reference waveform position Return parameter <NR3> Example :REF1:TIMebase:POSition -5.000E-5 Selects reference 1, and then sets the horizontal position to -50us. :REF<X>:TIMebase:SCALe Query Sets or returns the selected reference waveform Description time base scale.
COMMAND DETAILS Returns the reference waveform vertical Return parameter <NR3> position. Example :REF1:OFFSet -5.000E-2 Selects reference 1, and then sets the vertical position to -50mV/mA. :REF<x>:SCALe Query Sets or returns the selected reference waveform Description vertical scale. Syntax :REF<X>:SCALe { <NRf> | ? } Related :REF<X>:DISPlay commands...
GDS-1000B Programming Manual Run Command :RUN The run command allows the oscilloscope to Description continuously make acquisitions (equivalent to pressing the Run key on the front panel). Syntax :RUN Stop Command :STOP The stop command stops the oscilloscope making Description further acquisitions (equivalent to pressing the Stop key on the front panel).
COMMAND DETAILS Force Command :FORCe The Force command forces an acquisition Description (equivalent to pressing the Force-Trig key on the front panel). Syntax :FORCe...
GDS-1000B Programming Manual Timebase Commands :TIMebase:EXPand ............ 114 :TIMebase:POSition ..........114 :TIMebase:SCALe ............114 :TIMebase:MODe ............115 :TIMebase:WINDow:POSition ........115 :TIMebase:WINDow:SCALe ........116 :TIMebase:EXPand Query Sets or queries the horizontal expansion mode. Description Syntax :TIMebase:EXPand {CENTer|TRIGger|?} Expand from the center of the Parameter/Return CENTer parameter...
COMMAND DETAILS Syntax :TIMebase:SCALe {<NRf> | ?} Horizontal scale Parameter <NRf> Returns the horizontal scale. Return parameter <NR3> Example :TIMebase:SCALe 5.00E-2 Sets the horizontal scale to 50ms/div. :TIMebase:MODe Query Sets or queries the time base mode. The time base Description mode determines the display view window on the scope.
GDS-1000B Programming Manual Example :TIMebase:WINDow:POSition 2.0E-3 Sets the zoom horizontal position as 20ms. :TIMebase:WINDow:SCALe Query Sets or queries the zoom horizontal scale. Description If the oscilloscope is under “ZOOM” mode, the Note main timebase function will be disabled and cannot be modified. Syntax :TIMebase:WINDow:SCALe {<NRf>...
GDS-1000B Programming Manual Turns noise rejection off Parameter Turns noise rejection on Return parameter Returns the noise rejection status (ON, OFF). Example :TRIGger:NREJ ON Turns noise rejection on. :TRIGger:MODe Query Sets or queries the trigger mode. Description Syntax :TRIGger:MODe {AUTo | NORMal | ?} Auto trigger (Untriggered roll) Parameter AUTo...
COMMAND DETAILS :TRIGger:LEVel {TTL | ECL | SETTO50 | <NRf> | ?} Syntax Related :TRIGger:TYPe commands Trigger level value. Parameter <NRf> Sets the trigger level to TTL. Sets the trigger level to ECL. Sets the trigger level to the User level SETTO50 (50% by default).
COMMAND DETAILS Return parameter Returns the trigger slope. Example :TRIGger:DELay:SLOP FALL Sets the trigger slope to falling. :TRIGger:DELay:TYPe Query Sets or queries the trigger delay type. Description Syntax :TRIGger:DELay:TYPE {TIMe | EVENt | ?} Related :TRIGger:TYPe commands Sets the delay type to time. Parameter TIMe Sets the delay type to event.
GDS-1000B Programming Manual Syntax :TRIGger:DELay:EVENt {<NR1> | ?} Related :TRIGger:DELay:TYPe commands 1~65535 events Parameter <NR1> Returns the number of events. Return parameter <NR1> Example :TRIGger:DELay:EVENt 2 Sets the number of events to 2. :TRIGger:DELay:LEVel Query Sets or queries the trigger delay level. Description Syntax :TRIGger:DELay:LEVel {<NRf>...
COMMAND DETAILS :TRIGger:RUNT:POLarity Query Sets or queries the Pulse Runt trigger polarity. Description Syntax :TRIGger:RUNT:POLarity { POSitive | NEGative | EITher | ? } Related :TRIGger:TYPe commands Positive polarity Parameter POSitive Negative polarity NEGative Positive or negative polarity EITher Return parameter Returns the pulse runt trigger polarity. Example :TRIGger:RUNT:POLarity POSitive Sets the Pulse Runt trigger polarity to positive.
GDS-1000B Programming Manual :TRIGger:RUNT:TIMe Query Sets or queries the Pulse Runt trigger time. Description Syntax :TRIGger:RUNT:TIMe {<NRf> | ? } Related :TRIGger:TYPe commands :TRIGger:RUNT:WHEn Pulse runt time (4nS to 10S) Parameter <NRf> Returns the runt time in seconds Return Parameter <NR3> Example :TRIGger:RUNT:TIMe 4.00E-5 Sets the runt time to 40.0uS.
COMMAND DETAILS > Parameter MOREthan < LESSthan Equal ≠ UNEQual Return parameter Returns the rise/fall trigger condition. Example :TRIGger:RISEFall:WHEn UNEQual Sets the Rise and Fall trigger condition to unequal (≠). :TRIGger:RISEFall:TIMe Query Sets or queries the Rise and Fall time. Description Syntax :TRIGger:RISEFall:TIMe {<NRf>...
GDS-1000B Programming Manual NTSC Parameter NTSC SECAM SECam Extra definition TV 480P EDTV480P Extra definition TV 576P EDTV576P High definition TV 720P HDTV720P HDTV1080I High definition TV 1080i HDTV1080P High definition TV 1080P Return parameter Returns the video trigger type. Example :TRIGger:VIDeo:TYPe NTSC Sets the video trigger to NTSC.
COMMAND DETAILS :TRIGger:VIDeo:LINe Query Sets or queries the video trigger line. Description Syntax :TRIGger:VIDeo:LINe {<NR1> | ?} Related :TRIGger:TYPe commands Video line Parameter <NR1> Returns the video trigger line. Return parameter <NR3> Example :TRIGger:VIDeo:LINe 1 Sets the video trigger to line 1. :TRIGger:VIDeo:POLarity Query Sets or queries the video trigger polarity.
GDS-1000B Programming Manual Parameter MORE than > LESSthan < EQual ≠ UNEQual Return parameter Returns the pulse width trigger conditions. Example :TRIGger:PULSe:WHEn UNEQual Sets the trigger pulse width conditions to not equal to (≠). :TRIGger:PULSe:TIMe Query Sets or queries the pulse width time. Description Syntax :TRIGger:PULSe:TIMe {<NRf>...
COMMAND DETAILS Return parameter Returns the timeout condition (HIGH, LOW, EITHER). Example1 :TRIGger:TIMEOut:WHEn LOW Sets the timeout condition to low. :TRIGger:TIMEOut:TIMER Query Sets or returns timeout trigger time. Description Syntax :TRIGger:TIMEOut:TIMER {<NRf> | ? } Related :TRIGger:TIMEOut:WHEn commands Timeout time. (4nS to 10S). Parameter <NRf>...
Page 132
GDS-1000B Programming Manual Indicates that the oscilloscope is Return parameter *ARMED acquiring pretrigger information. Indicates that the oscilloscope is in the *AUTO automatic mode and acquires data even in the absence of a trigger. Indicates that all pretrigger *READY information has been acquired and that the oscilloscope is ready to accept a trigger.
Page 133
COMMAND DETAILS :TRIGger:EXTERnal:PROBe:RATio Query Sets or queries the external probe ratio Description (attenuation). Syntax :TRIGger:EXTERnal:PROBe:RATio {<NRf> | ?} Related :TRIGger:EXTERnal:PROBe:TYPe commands External probe attenuation factor. Parameter <NRf> Returns the probe attenuation factor. Return parameter <NR3> Example :TRIGger:EXTERnal:PROBe:RATio? 5.000000e+01...
GDS-1000B Programming Manual System Commands :SYSTem:LOCK ............134 :SYSTem:ERRor ............134 :SYSTem:LOCK Query Turns the panel lock on off. Description Syntax :SYSTem:LOCK {OFF | ON | ? } System lock off Parameter System lock on Return parameter Returns the status of the panel lock (ON, OFF). Example :SYSTem:LOCK ON Turns the panel lock on.
GDS-1000B Programming Manual Parameter 1~20 (Wave1~wave20) <file page> Filename in file path. Example: “Disk:/xxx.LSF”,”USB:/xxx.LSF”, “Disk:/xxx.CSV”,”USB:/xxx.CSV” <X> 1,2,3,4 (REF1, REF2, REF3, REF4) Example :RECAll:WAVEform W1, REF1 Recalls the waveform stored in Wave1 to reference :SAVe:IMAGe Saves a screen image to the assigned file path with Description a specified filename.
COMMAND DETAILS Parameter Sets the file format to PNG Sets the file format to BMP Return parameter Returns the file format (PNG, BMP). Example :SAVe:IMAGe:FILEFormat PNG Sets the image file format to PNG. :SAVe:IMAGe:INKSaver Query Turns Ink Saver on or off. Description Syntax :SAVe:IMAGe:INKSaver {OFF | ON |?}...
GDS-1000B Programming Manual Example :SAVe:SETUp S1 Saves the current setup to Set1 in internal memory. :SAVe:SETUp “Disk:/DS0001.SET” Saves the current setup to DS0001.SET in the root directory of the internal memory. :SAVe:WAVEform Saves a waveform to internal memory or to a Description designated file path.
COMMAND DETAILS Example 3 :SAVe:WAVEform:FILEFormat FCSV :SAVe:WAVEform ALL, “Disk:/ALL002” Sets the file format to FCSV(fast CSV format). It then saves the all channel’s waveforms to the root directory (Disk:/) of the internal flash disk in the CSV format (with the filename ALL002.CSV). Example 4 :SAVe:WAVEform:FILEFormat LSF :SAVe:WAVEform CH2, “Disk:/DS0003.LSF”...
GDS-1000B Programming Manual Ethernet Commands :ETHERnet:DHCP ............140 :ETHERnet:DHCP Query Sets or queries the DHCP settings. Description Note The Ethernet commands are only applicable to GDS- 1074B & GDS-1104B. Syntax :ETHERnet:DHCP { OFF | ON | ? } Parameter Turns DHCP on. Turns DHCP off.
GDS-1000B Programming Manual :CHANnel<X>:LABel:DISPlay Query Turns the label on/off for the selected channel or Description returns its status. Syntax :CHANnel<X>:LABel:DISPlay { OFF | ON | ? } Related :CHANnel<X>:LABel commands Channel 1, 2, 3, 4 Parameter <X> Turns the file label off for the selected channel.
COMMAND DETAILS REF 1, 2, 3, 4 Parameter <X> The string must be no more than 8 <string> characters and only contain alphanumeric characters in addition to period, dash and underscore characters. The string must be enclosed in double quotes, “string”. Returns the label for the selected Return parameter <string>...
GDS-1000B Programming Manual Example :REF1:LABel "REF1" :REF1:LABel:DISPlay ON :REF1:LABel:DISPlay? Sets the label for reference waveform 1 to "REF1" and then turns the label display on. The query return shows that the label is on. :SET<X>:LABel Query Sets or returns the file label for the selected setup. Description Syntax :SET<X>:LABel {<string>...
COMMAND DETAILS DVM Commands The DVM commands are only available when the optional DVM app is installed. :DVM:STATE ..............145 :DVM:SOURce ............145 :DVM:MODe ..............146 :DVM:VALue ..............146 :DVM:STATE Query Sets or queries the DVM state to on or off. Description This command is only applicable when the DVM Note app is installed.
Page 146
GDS-1000B Programming Manual Related :DVM:STATE commands :DVM:MODe Channel 1 to 4. Parameter/ CH1~CH4 Return parameter Example :DVM:SOURce CH1 Sets the DVM source to channel 1. :DVM:MODe Query Sets or queries the DVM mode. Description This command is only applicable when the DVM Note app is installed.
Page 147
COMMAND DETAILS Syntax :DVM:VALue? Related :DVM:SOURce commands :DVM:STATE :DVD:MODe Return parameter Returns the measurement value as <NR3>. Example :DVM:VALue? >8.410E-04 Returns the measurement.
GDS-1000B Programming Manual Go_NoGo Commands The GoNoGo APP must first be launched (or use the command, “:GONogo:SCRipt”) before any of the Go_NoGo or Template commands can be used. :GONogo:CLEar ............148 :GONogo:EXECute ............ 148 :GONogo:FUNCtion ..........149 :GONogo:NGCount ..........149 :GONogo:NGDefine ..........
COMMAND DETAILS Parameter/ Disabled Return Parameter ON Enabled Example :GONogo:EXECute OFF Turns Go/NoGo off. :GONogo:FUNCtion Initializes the Go/NoGo APP. This must be run Description after the Go/NoGo APP has been started. Syntax :GONogo:FUNCtion :GONogo:NGCount Query Returns the Go/NoGo counter. Description Syntax :GONogo:NGCount{?} Return parameter Returns a string in the following format “number of...
COMMAND DETAILS :TEMPlate:MODe Query Sets or returns the Go/NoGo template mode. Description Syntax :TEMPlate:MODe {MAXimum|MINimum|AUTO|?} Parameter/ MAXimum Maximum template Return Parameter MINimum Minimum template AUTO Auto template Example :TEMPlate:MODe AUTO Sets the template mode to AUTO. :TEMPlate:MAXimum Query Defines or queries which waveform memory Description (REF1 or W1~W20) is set to the maximum template.
GDS-1000B Programming Manual :TEMPlate:POSition:MAXimum Query Sets or queries the position of the maximum Description template. Syntax :TEMPlate:POSition:MAXimum {<NR2>|?} Parameter <NR2> Desired template position (-12.0 ~ +12.0 divisions) Return parameter Returns the position in the following format: “<NR2>Div” Example :TEMPlate:POSition:MAXimum 3.00 Sets the maximum template position to 3.00 divisions.
COMMAND DETAILS :TEMPlate:SAVe:MINimum Saves the maximum template. Description Syntax :TEMPlate:SAVe:MINimum :TEMPlate:TOLerance Query Sets or queries the tolerance as a percentage. Description Syntax :TEMPlate:TOLerance {<NR2>|?} Parameter/ <NR2> The auto tolerance range (0.4% ~ 40%) Return Parameter Example :TEMPlate:TOLerance 10 Sets the tolerance to 10%. :TEMPlate:SAVe:AUTo Saves the AUTO template (maximum and Description...
GDS-1000B Programming Manual Data Logging Commands The data logging commands are only applicable after the optional Data Log app has been installed. :DATALOG:STATE ............. 154 :DATALOG:SOURce ..........155 :DATALOG:SAVe ............155 :DATALOG:INTerval ..........156 :DATALOG:DURation ..........157 :DATALOG:STATE Query Sets or queries the state of the data logging app. Description This command is only applicable when the Note...
COMMAND DETAILS :DATALOG:SOURce Query Sets or queries the data logging source channel. Description This command is only applicable when the Note Datalog app is installed. See the Datalog user manual for details. Syntax :DATALOG:SOURce {CH1~CH4|all|?} Related :DATALOG:STATE commands :DATALOG:SAVe :DATALOG:INTerval :DATALOG:DURation Channel 1, 2, 3 or 4 Parameter/Return...
GDS-1000B Programming Manual Example :DATALOG:SAVe WAVEform Sets the save format to waveform. :DATALOG:INTerval Query Sets or queries the recording interval time in Description seconds. The interval times that can be set are dependent on the settings of the DATALOG:SOURCE and DATALOG:SAVE commands.
COMMAND DETAILS :DATALOG:DURation Query Sets or queries the recording duration time in Description minutes. This command is only applicable when the Note Datalog app is installed. See the Datalog user manual for details. Syntax :DATALOG:DURation {<NR1>|?} Related :DATALOG:STATE commands :DATALOG:SOURce :DATALOG:SAVe :DATALOG:INTerval Sets returns the duration time in...
GDS-1000B Programming Manual Remote Disk Commands The remote disk commands are only available on 4 channel models. :REMOTEDisk:IPADDress ......... 158 :REMOTEDisk:PATHName ........158 :REMOTEDisk:USERName ........159 :REMOTEDisk:PASSWord ......... 159 :REMOTEDisk:MOUNT ..........159 :REMOTEDisk:AUTOMount ........160 :REMOTEDisk:IPADDress Query Sets or returns the IP address of remote disk. Description This command is only available on 4 channel Note...
COMMAND DETAILS :REMOTEDisk:USERName Query Sets or queries the account username for the Description remote disk. This command is only available on 4 channel Note models. Syntax :REMOTEDisk:USERName {<string> | ? } User name enclosed in double quotes Parameter/Return <string> parameter eg., “User_Name”.
GDS-1000B Programming Manual Unmount remote disk Parameter/Return parameter Mount remote disk Example :REMOTEDisk:IPADDress "172.16.5.154" :REMOTEDisk:PATHName "remote_disk" :REMOTEDisk:USERName "guest" :REMOTEDisk:PASSWord "password" :REMOTEDisk:MOUNT ON Sets the remote disk parameters and mounts the remote disk. :REMOTEDisk:AUTOMount Query Turns automount on/off or queries its state. The Description remote disk must be configured beforehand.
APPENDX PPENDX Error messages The following error messages may be returned Description from the :SYSTem:ERRor? query. For details see page 134. List of error Error number, “Error Description” messages +0, "No error." -100, "Command error" -101, "Invalid character" -102, "Syntax error" -103, "Invalid separator"...
Page 162
GDS-1000B Programming Manual -140, "Character data error" -141, "Invalid character data" -144, "Character data too long" -148, "Character data not allowed" -150, "String data error" -151, "Invalid string data" -158, "String data not allowed" -160, "Block data error" -161, "Invalid block data" -168, "Block data not allowed"...
Page 163
APPENDX -241, "Hardware missing" -250, "Mass storage error" -251, "Missing mass storage" -252, "Missing media" -253, "Corrupt media" -254, "Media full" -255, "Directory full" -256, "File name not found" -257, "File name error" -258, "Media protected" -260, "Expression error" -261, "Math error in expression" -270, "Macro error"...
Page 164
GDS-1000B Programming Manual -315, "Configuration memory lost" -320, "Storage fault" -321, "Out of memory" -330, "Self-test failed" -340, "Calibration failed" -350, "Queue overflow" -360, "Communication error" -361, "Parity error in program message" -362, "Framing error in program message" -363, "Input buffer overrun" -365, "Time out error"...
INDEX NDEX VDELta ........... 63 ACQuire VUNI ..........60 AVERage ........35 VUSE ..........61 HEADer ......... 41 MEMory ......... 36 POLar MODe ..........36 RADIUS RECOrdlength ......40 DELta ........65 POSition ......... 65 STATe ......... 38, 39, 40 THETA AUTORSET DELta ........
Page 166
GDS-1000B Programming Manual SOURce ........145 SCALe ..........53 SOURce ..........52 STATE .......... 145 WINDow ........... 52 Error list ........161 TYPE ..........50 MEASure Ethernet AMPlitude ........88 interface ..........8 AREa ..........94 ETHERnet CARea ..........94 DHCP ...........
Page 167
INDEX STATE ..........102 LOCK ..........134 STDdev ..........106 TEMPlate TYPe ..........102 VALue ..........103 MAXimum ........151 STATIstics ........108 MINimum ........151 MODe ..........107 MODe ........... 151 WEIghting ........107 POSition RCL ..........31 MAXimum ........152 MINimum ........152 RECAll SAVe AUTo ..........
Page 168
GDS-1000B Programming Manual WHEn ..........126 TYPE ..........118 RUNT VIDeo POLarity .......... 125 FIELd ..........128 TIMe ..........126 LINe ..........129 WHEn ..........125 POLarity .......... 129 SOURce ........119 TYPe ..........127 STATe ........... 131 TIMEOut function check ......... 7 TIMER ..........
Need help?
Do you have a question about the GDS-1000B Series and is the answer not in the manual?
Questions and answers