Digital storage oscilloscope
gds-3000 series (209 pages)
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.00, March 2015 ISO-9001 CERTIFIED MANUFACTURER...
Page 2
April 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 an 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
*idn? This should return the Manufacturer, Model number, Serial number, and Firmware version in the following format. GW,GDS-1202B,PXXXXXX,V1.00 For further details about remote control and remote Note commands, please see the GDS-1000B programming manual, available on the GW Instek website.
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 For further details about remote control and remote Note...
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 ....... 33 Acquisition Commands ......40 Autoscale Commands ......47 Vertical Commands ........
COMMAND DETAILS Common Commands *IDN? ................33 *LRN? ................33 *SAV ................35 *RCL ................36 *RST ................36 *CLS ................36 *ESE ................36 *ESR ................37 *OPC ................38 *SRE ................38 *STB ................39 *IDN? Query Returns the manufacturer, model, serial number Description and version number of the unit.
GDS-1000B Programming Manual *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).
COMMAND DETAILS 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...
GDS-1000B Programming Manual *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?
COMMAND DETAILS 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 :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. :ACQuire<X>:MEMory? Query Returns the data in acquisition memory for the...
Page 42
GDS-1000B Programming Manual 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.
COMMAND DETAILS 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,2.0E;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...
GDS-1000B Programming Manual :ACQuire:FILTer Query Turns the filter on/off or queries its status. Description Note This command is only applicable when the Digital Filter app is installed. See the user manual for details. Syntax :ACQuire:FILTer {ON|OFF|?} Filter on. Parameter/ Return parameter Filter off.
COMMAND DETAILS Return parameter ON Tracking on Example :ACQuire:FILTer:TRACking ON Turns filter tracking on. :ACQuire<X>:STATe? Query Returns the status of waveform data. Description Syntax :ACQuire<X>:STATe? Channel number (1 to 4) Parameter <X> Raw data is not ready Return parameter 0 Raw data is ready Example :ACQuire1:STATe?
GDS-1000B Programming Manual Syntax :ACQuire:RECOrdlength {<NRf>| ?} Record length. Settable record length: Parameter/Return <NRf> (1e+3 | 1e+4 | 1e+5 | 1e+6 | 1e+7) parameter 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.
COMMAND DETAILS Autoscale Commands :AUTOSet ..............47 :AUTORSET:MODe ............ 47 :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 | ?}...
COMMAND DETAILS :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. :CHANnel<X>:DESKew Query Sets the deskew time in seconds.
GDS-1000B Programming Manual 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>...
COMMAND DETAILS :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...
COMMAND DETAILS :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 Dual channel operations...
GDS-1000B Programming Manual 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.
COMMAND DETAILS :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...
COMMAND DETAILS 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 62
GDS-1000B Programming Manual 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.
GDS-1000B Programming Manual :CURSor:MODe Query Sets cursor mode to horizontal (H) or horizontal Description and vertical (HV). Note: When the cursor source is set to bus, then only the horizontal cursor is available. Syntax :CURSor:MODe {OFF | H | HV | ? } Parameter Turns the cursors off.
COMMAND DETAILS :CURSor:HUNI Query Sets or queries the units for the horizontal bar Description cursors. Syntax :CURSor:HUNI {SEConds | HERtz | DEGrees | PERcent | ?} Related :CURSor:MODe Commands Parameter SEConds Sets the cursor units to time in seconds. HERtz Sets the cursor units to frequency.
GDS-1000B Programming Manual :CURSor:VUNI Query Sets or queries the units for the vertical bar cursors. Description Syntax :CURSor:VUNI {BASE | PERcent | ?} Related :CURSor:MODe Commands Parameter BASE Sets the vertical cursor units the same as the scope units (V or A). PERcent Sets the displayed units to percent.
COMMAND DETAILS Related :CURSor:MODe Commands Return Parameter <NR3> Returns the readout in <NR3> format. Example :CURSor:DDT? 4.00E-05 :CURSor:H1Position Query Sets or returns the first horizontal cursor (H1) Description position. Syntax :CURSor:H1Position {<NRf>| ?} Related :CURSor:H2Position Commands Parameter <NRf> Horizontal position Return parameter Returns the cursor position.
GDS-1000B Programming Manual :CURSor:HDELta Query Returns the delta of H1 and H2. Description Syntax :CURSor:HDELta{?} Return Parameter <NR3> Returns the distance between two horizontal cursors. Example :CURSor:HDELta? 5.0E-9 Returns the horizontal delta as 5ns. :CURSor:V1Position Query Sets the first vertical cursor (V1) position. Description Syntax :CURSor:V1Position {<NRf>| ?}...
COMMAND DETAILS :CURSor:VDELta Query Returns the delta of V1 and V2. Description Syntax :CURSor:VDELta{?} Return Parameter <NR3> Returns the difference between two vertical cursors. Example :CURSor:VDELta? 4.00E+0 Returns the vertical delta as 4 volts. :CURSor:XY:RECTangular:X:POSition<X> Query Sets or queries the horizontal position in XY mode Description for the X rectangular coordinates for cursor 1 or 2.
GDS-1000B Programming Manual Example :CURSor:XY:RECTangular:X:DELta? 80.0E-3 Returns the horizontal delta as 80mV. :CURSor:XY:RECTangular:Y:POSition<X> Query Sets or queries the vertical position in XY mode for Description the Y rectangular coordinates for cursor 1 or 2. Syntax :CURSor:XY:RECTangular:Y:POSition<X> {<NRf>|?} Parameter <X> Cursor 1, 2 <NRf>...
COMMAND DETAILS Syntax :CURSor:XY:POLar:RADIUS:POSition<X>{?} 1, 2 (cursor 1, cursor 2) Parameter <X> Returns the polar radius position. Return Parameter <NR3> Example :CURSor:XY:POLar:RADIUS:POSition1? 80.0E-3 Returns the polar radius position as 80.0mV. :CURSor:XY:POLar:RADIUS:DELta Query Returns the radius delta value of cursor 1 and 2. Description Syntax :CURSor:XY:POLar:RADIUS:DELta{?}...
GDS-1000B Programming Manual Syntax :CURSor:XY:POLar:THETA:DELta{?} Returns the theta delta between cursor1 Return parameter <NR3> and cursor2. Example :CURSor:XY:POLar:THETA:DELta? 9.10E+0 Returns the delta as 9.1˚. :CURSor:XY:PRODuct:POSition<X> Query Queries the product in XY mode for the specified Description cursor, where x can be either 1 or 2. Syntax :CURSor:XY:PRODuct:POSition<X>{?} 1, 2 (Cursor 1, Cursor 2)
COMMAND DETAILS Syntax :CURSor:XY:RATio:POSition<X>{?} 1, 2 (Cursor 1, Cursor 2) Parameter <X> Return parameter <NR3> Returns the ratio. Example :CURSor:XY:RATio:POSition? 6.717E+1 Returns the ratio value as 6.717V/V. :CURSor:XY:RATio:DELta Query Queries the ratio delta in XY mode. Description Syntax :CURSor:XY:RATio:DELta{?} Return parameter <NR3> Returns the ratio delta.
COMMAND DETAILS :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...
COMMAND DETAILS :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...
COMMAND DETAILS 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.
GDS-1000B Programming Manual 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.
COMMAND DETAILS 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...
GDS-1000B Programming Manual :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...
COMMAND DETAILS :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?
GDS-1000B Programming Manual 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.
COMMAND DETAILS 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>...
GDS-1000B Programming Manual 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.
COMMAND DETAILS 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.
GDS-1000B Programming Manual 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.
COMMAND DETAILS :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.
GDS-1000B Programming Manual 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{?}...
COMMAND DETAILS 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.
GDS-1000B Programming Manual 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.
COMMAND DETAILS :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?
GDS-1000B Programming Manual 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.
COMMAND DETAILS 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...
GDS-1000B Programming Manual 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.
COMMAND DETAILS :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.
GDS-1000B Programming Manual 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>...
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:FRFDelay? 3.43E-6 Select channel 1 and 2 as source1/2, and then measures FRF.
GDS-1000B Programming Manual :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.
COMMAND DETAILS 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...
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:LFRDelay? -9.99E-6 Select channel 1 and 2 as delay source1/2, and then measure LFR.
COMMAND DETAILS :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.
COMMAND DETAILS 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.
GDS-1000B Programming Manual 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...
COMMAND DETAILS 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...
GDS-1000B Programming Manual :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.
COMMAND DETAILS 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.
GDS-1000B Programming Manual 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...
COMMAND DETAILS :MEASUrement:STATIstics Resets the statics calculations. This command will Description clear all the currently accumulated measurements. Syntax :MEASUrement:STATIstics {RESET}...
GDS-1000B Programming Manual Reference Commands :REF<X>:DISPlay ............114 :REF<X>:TIMebase:POSition ........114 :REF<X>:TIMebase:SCALe ........115 :REF<X>:OFFSet ............115 :REF<x>:SCALe ............116 :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.
COMMAND DETAILS 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.
GDS-1000B Programming Manual 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...
COMMAND DETAILS 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).
GDS-1000B Programming Manual Force Command :FORCe The Force command forces an acquisition Description (equivalent to pressing the Force-Trig key on the front panel). Syntax :FORCe...
COMMAND DETAILS Timebase Commands :TIMebase:EXPand ............119 :TIMebase:POSition ..........119 :TIMebase:SCALe ............119 :TIMebase:MODe ............120 :TIMebase:WINDow:POSition ........120 :TIMebase:WINDow:SCALe ........121 :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 display. Expand from the trigger point. TRIGger Example :TIMebase:EXPand TRIGger...
GDS-1000B Programming Manual 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.
COMMAND DETAILS 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>...
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.
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 :TRIGger:BUS:TYPe Query Returns the current bus type.
GDS-1000B Programming Manual :TRIGger:BUS:THReshold:CH<x> Query Sets or queries the threshold level for the selected Description channel. This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed. See the user manual for details. Syntax :TRIGger:BUS:THReshold:CH<X> {<NR3> | ?} CH1 ~ CH4 <X>...
COMMAND DETAILS Set Address as the I C trigger ADDRess condition. Set Data as the I C trigger DATA condition. Set Address and Data as the I ADDRANDDATA trigger condition. Return parameter Returns the I C bus trigger condition. Example :TRIGger:BUS:B1:I2C:CONDition ADDRess Set Address as the I2C trigger condition.
GDS-1000B Programming Manual :TRIGger:BUS:B1:I2C:ADDRess:TYPe Query Sets the I C bus address type, or queries what the Description setting is. This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed. See the user manual for details. Syntax :TRIGger:BUS:B1:I2C:ADDRess:TYPe {GENeralcall | STARtbyte | HSmode | EEPROM | CBUS | ?}...
COMMAND DETAILS Related :TRIGger:BUS:B1:I2C:ADDRess:MODe commands 7/10 characters, must be enclosed in Parameter <sting> double quotes, "string". x = don’t care 1 = binary 1 0 = binary 0 Return Parameter Returns the address value. Example1 :TRIGger:BUS:B1:I2C:ADDRess:MODe ADDR7 :TRIGger:BUS:B1:I2C:ADDRess:VALue "xxx0101" Sets the address to XXX0101 :TRIGger:BUS:B1:I2C:ADDRess:VALue? Example 2 XXX0101...
GDS-1000B Programming Manual Example :TRIGger:BUS:B1:I2C:ADDRess:DIRection READ Sets the direction to READ. :TRIGger:BUS:B1:I2C:DATa:SIZe Query Sets or queries the data size in bytes for the I Description bus. This setting only applies when the I C trigger is set Note to trigger on Data or Address/Data This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed.
COMMAND DETAILS The number of characters in the string Parameter <sting> depends on the data size setting. The string must be enclosed in double quotes, "string". x = don’t care 1 = binary 1 0 = binary 0 Return Parameter Returns the data value. Example1 :TRIGger:BUS:B1:I2C:DATa:SIZe 1 :TRIGger:BUS:B1:I2C:DATa:VALue "1x1x0101"...
GDS-1000B Programming Manual Set trigger on the RX Start Bit. Parameter RXSTArt Set trigger on RX Data. RXDATA RXENDPacket Set trigger on the RX End of Packet condition. Set trigger on RX Parity error RXPARItyerr condition. Set trigger on the TX Start Bit. TXSTArt Set trigger on TX Data.
COMMAND DETAILS :TRIGger:BUS:B1:UART:RX:DATa:VALue Query Sets or queries the triggering data value for the Description UART bus when the bus is set to trigger on Rx Data. This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed. See the user manual for details.
GDS-1000B Programming Manual This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed. See the user manual for details. Syntax :TRIGger:BUS:B1:UART:TX:DATa:SIZe {<NR1> | ?} Related :TRIGger:BUS:B1:UART:CONDition commands Number of bytes (1 to 10). Parameter <NR1> Returns the number of bytes.
COMMAND DETAILS Example1 :TRIGger:BUS:B1:UART:CONDition TXDATA :TRIGger:BUS:B1:UART:TX:DATa:SIZe 1 :TRIGger:BUS:B1:UART:TX:DATa:VALue "1x1x0101" Sets the value to 1x1x0101 Example 2 :TRIGger:BUS:B1:UART:TX:DATa:VALue? 1X1X0101 :TRIGger:BUS:B1:SPI:CONDition Query Sets or queries the SPI triggering condition. Description This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed. See the user manual for details.
GDS-1000B Programming Manual This setting only applies when the SPI trigger is set Note to trigger on MISO, MOSI or MISO/MOSI. This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed. See the user manual for details. Syntax :TRIGger:BUS:B1:SPI:DATa:SIZe {<NR1>...
COMMAND DETAILS Example1 :TRIGger:BUS:B1:SPI:CONDition MISO :TRIGger:BUS:B1:SPI:DATa:SIZe 2 :TRIGger:BUS:B1:SPI:DATa:MISO:VALue "1x1x0101" Sets the value to 1x1x0101 Example 2 :TRIGger:BUS:B1:SPI:DATa:MISO:VALue? 1X1X0101 :TRIGger:BUS:B1:SPI:DATa:MOSI:VALue Query Sets or queries the triggering data value for the SPI Description bus when the bus is set to trigger on MOSI or MISO/MOSI.
GDS-1000B Programming Manual Example2 :TRIGger:BUS:B1:SPI:DATa:MOSI:VALue? 1X1X0101 :TRIGger:BUS:B1:CAN:CONDition Query Sets or returns the CAN trigger condition. Description This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed. See the user manual for details. Syntax :TRIGger:BUS:B1:CAN:CONDition {SOF|FRAMEtype|IDentifier|DATA|IDANDDATA|EOF| ACKMISS|STUFFERR|?} Triggers on a start of frame Parameter/...
COMMAND DETAILS This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed. See the user manual for details. Syntax :TRIGger:BUS:B1:CAN:FRAMEtype {DATA|REMote|ERRor|OVERLoad|?} Sets the frame type to data frame Parameter/ DATA Return parameter Sets the frame type to remote frame REMote Sets the frame type to error frame ERRor...
GDS-1000B Programming Manual This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed. See the user manual for details. Syntax :TRIGger:BUS:B1:CAN:IDentifier:VALue {<string>|?} Related :TRIGger:BUS:B1:CAN:IDentifier:MODe Commands The size of the string depends on the Parameter/ <string> data size setting.
COMMAND DETAILS Example1 :TRIGger:BUS:B1:CAN:IDentifier:DIRection? >WRITE Example2 :TRIGger:BUS:B1:CAN:IDentifier:DIRection READ :TRIGger:BUS:B1:CAN:IDentifier:DIRection? > READ :TRIGger:BUS:B1:CAN:DATa:QUALifier Query Sets or returns the CAN data qualifier. Description Note: Only applicable when the triggering condition is set to DATA or IDANDDATA. This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed.
GDS-1000B Programming Manual :TRIGger:BUS:B1:CAN:DATa:SIZe Query Sets or returns the length of the data string in bytes Description for a CAN trigger. Note: Only applicable when the condition is set to DATA or IDANDDATA. This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed.
COMMAND DETAILS The size of the string depends on the Parameter/ <string> Return parameter data size setting. The string must be enclosed in double quotes, “string”. 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:VALue "01010X1X"...
GDS-1000B Programming Manual Sets the LIN trigger condition to the Parameter/ SYNCField sync field. Return parameter Sets the LIN trigger condition to IDentifier identifier field. Sets the LIN trigger condition to the DATA data field. IDANDDATA Sets the LIN trigger condition to identifier and data field Sets the LIN trigger condition to wake WAKEup...
COMMAND DETAILS Triggers when the data is less than Parameter/ LESSthan the qualifier value. Return parameter Triggers when the data is greater than MOREthan the qualifier value. Triggers when the data is equal to the EQual qualifier value. Triggers when the data is not equal to UNEQual the qualifier value.
GDS-1000B Programming Manual Example :TRIGger:BUS:B1:LIN:DATa:SIZe? >1 :TRIGger:BUS:B1:LIN:DATa:SIZe 2 :TRIGger:BUS:B1:LIN:DATa:SIZe? >2 :TRIGger:BUS:B1:LIN:DATa:VALue Query Sets or returns the binary data string to be used for Description the LIN trigger. Note: Only applicable when the condition is set to DATA or IDANDDATA. This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed.
COMMAND DETAILS :TRIGger:BUS:B1:LIN:ERRTYPE Query Sets or returns the error type be used for the LIN Description trigger. This command is only applicable when the Serial Note Bus Decode (DS1B-BUS) option is installed. See the user manual for details. Syntax :TRIGger:BUS:B1:LIN:ERRTYPE {SYNC|PARIty|CHecksum|?} Sets the LIN error type to SYNC.
Page 162
GDS-1000B Programming Manual The size of the string depends on the Parameter/ <string> Return parameter data size setting. The string must be enclosed in double quotes, “string”. String contents: x = don’t care 1 = binary 1 0 = binary 0 Example :TRIGger:BUS:B1:LIN:CONDition ID :TRIGger:BUS:B1:LIN:IDentifier:VALue "00X1X01X"...
COMMAND DETAILS System Commands :SYSTem:LOCK ............163 :SYSTem:ERRor ............163 :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.
COMMAND DETAILS 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.
GDS-1000B Programming Manual 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 |?}...
COMMAND DETAILS 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.
GDS-1000B Programming Manual 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”...
COMMAND DETAILS Ethernet Commands :ETHERnet:DHCP ............169 :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 Bus Decode Commands Note All bus commands are only applicable if Serial Bus Decode (DS1B-BUS) option has been installed. :BUS1 ................. 171 :BUS1:STATE ............. 171 :BUS1:TYPe ..............171 :BUS1:INPut .............. 172 :BUS1:I2C:ADDRess:RWINClude ......172 :BUS1:I2C:SCLK:SOURce .......... 173 :BUS1:I2C:SDA:SOURce..........
COMMAND DETAILS :BUS1:LIN:POLARity ..........183 :BUS1:LIN:SAMPLEpoint ..........183 :BUS1:LIN:SOURce ...........183 :BUS1:LIN:STANDard ..........184 :BUS1 Query Returns the supported BUS types. Description Syntax :BUS1? Return Parameter Returns the supported bus types. Example BUS1? I2C,SPI,UART, CAN, LIN :BUS1:STATE Query Sets or queries the state of the bus. Description Syntax :BUS1:STATE { OFF | ON | ? }...
GDS-1000B Programming Manual Parameter/Return UART Sets the bus to UART mode. parameter Sets the bus to I C mode. Sets the bus to SPI mode. Sets the bus to CAN mode. Sets the bus to LIN mode. Example :BUS1:TYPe SPI Sets the bus to SPI mode.
COMMAND DETAILS Example :BUS1:I2C:ADDRess:RWINClude ON Includes the R/W bit in the I C address. :BUS1:I2C:SCLK:SOURce Query Sets or queries which channel is used for the I Description SCLK source. Syntax :BUS1:I2C:SCLK:SOURce { CH1 | CH2 | CH3 | CH4 | ? } Parameter/Return CH1 to CH4 Analog channels 1 ~ 4.
COMMAND DETAILS Example :BUS1:UART:DATABits 7 Sets the UART frame to 7 bits. :BUS1:UART:PARIty Query Sets or queries the UART bus parity. Description Syntax :BUS1:UART:PARIty { <NR1> | ? } Parameter/Return <NR1> 0: None parameter 1: Odd parity 2: Even parity Example :BUS1:UART:PARIty 1 Sets the parity to odd.
GDS-1000B Programming Manual Parameter/Return <NR1> 0: NULL parameter 1: LF (line feed) 2: CR (carriage return) 3: SP (space character) 4: FF Example :BUS1:UART:EOFPAcket 2 Sets the OEF character to CR. :BUS1:UART:TX:SOURce Query Sets or queries which channel is used for the Description UART Tx source.
COMMAND DETAILS :BUS1:SPI:SCLK:POLARity Query Sets or queries the polarity of the SCLK line for the Description SPI bus. Syntax :BUS1:SPI:SCLK:POLARity { FALL | RISE | ? } Parameter/Return FALL Sets the polarity to falling edge. parameter RISE Sets the polarity to rising edge. Example :BUS1:SPI:SCLK:POLARity FALL Sets the polarity to falling edge.
GDS-1000B Programming Manual :BUS1:SPI:BITORder Query Sets or queries the bit order for the SPI bus. Description Syntax :BUS1:SPI:BITORder {<NR1> | ? } Parameter/Return <NR1> 0: MSB bit first parameter 1: LSB bit first Example :BUS1:SPI:BITORder? The bit order is currently set as MSB bit first. :BUS1:SPI:SCLK:SOURce Query Sets or queries which channel is used for the SPI...
COMMAND DETAILS :BUS1:SPI:MOSI:SOURce Query Sets or queries which channel is used for the SPI Description MOSI source. Syntax :BUS1:SPI:MOSI:SOURce { OFF | CH1 | CH2 | CH3 | CH4 | ? } Parameter/Return CH1 to CH4 Analog channels CH1 to CH4 parameter No MOSI source.
GDS-1000B Programming Manual Example : BUS1:DISplay:FORMAt BINary Sets the display format to binary. :LISTer:DATA Query Returns the Event Table data as a binary block Description data. Syntax :LISTer:DATA? Return Parameter Returns the event table as binary block data. The binary block data contains comma separated data with new lines at the end of each row.
COMMAND DETAILS Example :BUS1:CAN:PROBe? >CANH :BUS1:CAN:PROBe CANL :BUS1:CAN:PROBe? >CANL :BUS1:CAN:SAMPLEpoint Query Returns the sample point of the CAN bus. Description Syntax :BUS1:CAN:SAMPLEpoint? Return Parameter Returns the sample point of the CAN bus as a percentage of the bit time. Example :BUS1:CAN:SAMPLEpoint? Returns the sample point as a percentage.
GDS-1000B Programming Manual Parameter/Return RATE10K 10 kbps parameter RATE20K 20 kbps RATE50K 50 kbps RATE125K 125 kbps RATE250K 250 kbps RATE500K 500 kbps RATE800K 800 kbps RATE1M 1 Mbps Example :BUS1:CAN:BITRate? >RATE250K :BUS1:CAN:BITRate rate10k :BUS1:CAN:BITRate? >RATE10K :BUS1:LIN:BITRate Query Sets or returns the bit rate of the LIN bus. Description Syntax :BUS1:LIN:BITRate {<NR1>...
Page 183
COMMAND DETAILS Example :BUS1:LIN:IDFORmat? NOPARITY Returns the ID format. :BUS1:LIN:POLARity Query Sets or returns the LIN polarity. Description Syntax :BUS1:LIN:POLARity {NORMal|INVerted|?} Parameter/Return NORMal Normal LIN polarity parameter INVerted Inverted LIN polarity Example :BUS1:LIN:POLARity? NORMAL Returns the LIN polarity. :BUS1:LIN:SAMPLEpoint Query Returns the sample point.
Page 184
GDS-1000B Programming Manual Example :BUS1:LIN:SOURCE? >CH1 Returns the LIN source. :BUS1:LIN:STANDard Query Sets or returns the LIN standard. Description Syntax :BUS1:LIN:STANDard {V1X|V2X|BOTH|?} Parameter/Return Lin standard version 1.x parameter Lin standard version 2.x BOTH Both standards Example :BUS1:LIN:STANDard? >BOTH Returns the LIN standard.
COMMAND DETAILS Mark Commands Note All search-related commands are only applicable if Search Trigger Setting (DS1B-SRH) option has been installed. :MARK ................185 :MARK:CREATE ............185 :MARK:DELEte ............186 :MARK Move to next or previous event mark. Description Syntax :MARK { NEXT | PREVious } Related :MARK:CREATE commands...
Page 186
GDS-1000B Programming Manual Example :MARK:CREATE CURRent Creates a mark at the current position. :MARK:DELEte Deletes the current mark or all the marks on a Description waveform. Syntax :MARK:DELEte { CURRent | ALL } Related :MARK commands :MARK:CREATE Parameter CURRent Deletes the current mark Deletes all the marks Example :MARK:DELEte CURRent...
COMMAND DETAILS Example :SEARCH:COPY SEARCHtotrigger Copies the search settings to the trigger settings. :SEARCH:STATE Query Sets or queries whether the Search function is on or Description off. Syntax :SEARCH:STATE { OFF | ON | ? } Parameter/Return Turn the Search function on. parameter Turn the Search function off.
COMMAND DETAILS Example :SEARCH:TRIGger:EDGe:SLOP FALL Sets the search trigger slope to falling. :SEARCH:TRIGger:LEVel Query Sets or queries the search trigger level. Description Syntax :SEARCH:TRIGger:LEVel {TTL | ECL| SETTO50 | <NRf> | ?} Related :SEARCH:TRIGger:TYPe commands Trigger level value Parameter <NRf> Sets the search trigger level to TTL.
GDS-1000B Programming Manual Example :SEARCH:TRIGger:HLEVel 3.30E-1 Sets the high level search trigger to 330mV/mA. :SEARCH:TRIGger:LLEVel Query Sets or queries the low level search trigger. Description Applicable for Rise and Fall/Pulse Runt triggers. Note :SEARCH:TRIGger:LLEVel { <NRf> | ?} Syntax Related :SEARCH:TRIGger:TYPe commands Low level value.
COMMAND DETAILS :SEARCH:TRIGger:RUNT:POLarity Query Sets or queries the Pulse Runt search trigger Description polarity. Syntax :SEARCH:TRIGger:RUNT:POLarity {POSitive | NEGative | EITher | ?} Related :SEARCH:TRIGger:TYPe commands Positive polarity Parameter POSitive Negative polarity NEGative Positive or negative polarity EITher Return parameter Returns the pulse runt search trigger polarity. Example :SEARCH:TRIGger:RUNT:POLarity POSitive Sets the Pulse Runt search trigger polarity to...
COMMAND DETAILS :SEARCH:TRIGger:BUS:TYPe Query Returns the current bus type. Description Syntax :SEARCH:TRIGger:BUS:TYPe? I2C mode Return parameter 12C SPI mode UART mode UART CAN mode LIN mode Example :SEARCH:TRIGger:BUS:TYPe? UART :SEARCH:TRIGger:BUS:B1:I2C:CONDition Query Sets or queries the I C search trigger conditions. Description Syntax :SEARCH:TRIGger:BUS:B1:I2C:CONDition...
GDS-1000B Programming Manual Set Start as the I C search trigger Parameter STARt condition. Set Stop as the I C search trigger STOP condition. Set Repeat of Start as the I REPEATstart search trigger condition. Set Missing Acknowledgement ACKMISS as the I C search trigger condition.
COMMAND DETAILS Example :SEARCH:TRIGger:BUS:B1:I2C:ADDRess:MODe? The addressing mode is current set to 7 bits. :SEARCH:TRIGger:BUS:B1:I2C:ADDRess :TYPe Query Sets the I C bus address type, or queries what the Description setting is for the search trigger. Syntax :SEARCH:TRIGger:BUS:B1:I2C:ADDRess:TYPe {GENeralcall | STARtbyte | HSmode | EEPROM | CBUS | ?} Related :SEARCH:TRIGger:BUS:B1:I2C:CONDition...
GDS-1000B Programming Manual Related :SEARCH:TRIGger:BUS:B1:I2C:ADDRess:MODe commands 7/10 characters, must be enclosed in Parameter <sting> double quotes "string". x = don’t care 1 = binary 1 0 = binary 0 Return Parameter Returns the address value in binary. :SEARCH:TRIGger:BUS:B1:I2C:ADDRess:MODe Example 1 ADDR7 :SEARCH:TRIGger:BUS:B1:I2C:ADDRess:VALue "xxx0101"...
COMMAND DETAILS Example :SEARCH:TRIGger:BUS:B1:I2C:ADDRess:DIRection READ Sets the direction to READ. :SEARCH:TRIGger:BUS:B1:I2C:DATa:SIZe Query Sets or queries the data size in bytes for the I Description bus. This setting only applies when the I C search Note trigger is set to trigger on Data or Address/Data Syntax :SEARCH:TRIGger:BUS:B1:I2C:DATa:SIZe {<NR1>...
GDS-1000B Programming Manual The number of characters in the string Parameter <string> depends on the data size setting. The string must be enclosed in double quotes, "string". x = don’t care 1 = binary 1 0 = binary 0 Return Parameter Returns the data value. Example 1 :SEARCH:TRIGger:BUS:B1:I2C:DATa:SIZe 1 :SEARCH:TRIGger:BUS:B1:I2C:DATa:VALue...
COMMAND DETAILS Set search trigger on the RX Start Parameter RXSTArt Bit. Set search trigger on RX Data. RXDATA RXENDPacket Set search trigger on the RX End of Packet condition. Set search trigger on RX Parity error RXPARItyerr condition. Set search trigger on the TX Start TXSTArt Bit.
GDS-1000B Programming Manual Example :SEARCH:TRIGger:BUS:B1:UART:RX:DATa:SIZe 5 Sets the number of bytes to 5. :SEARCH:TRIGger:BUS:B1:UART:RX:DATa: VALue Query Sets or queries the search triggering data value for Description the UART bus when the bus is set to trigger on Rx Data. Syntax :SEARCH:TRIGger:BUS:B1:UART:RX:DATa:VALue {<string>...
COMMAND DETAILS This setting only applies when the UART search Note trigger is set to trigger on Tx Data Syntax :SEARCH:TRIGger:BUS:B1:UART:TX:DATa:SIZe {<NR1> | ?} Related :SEARCH:TRIGger:BUS:B1:UART:CONDition commands Number of bytes (1 to 10). Parameter <NR1> Returns the number of bytes. Return parameter <NR1>...
GDS-1000B Programming Manual Example 1 :SEARCH:TRIGger:BUS:B1:UART:CONDition TXDATA :SEARCH:TRIGger:BUS:B1:UART:TX:DATa:SIZe 1 :SEARCH:TRIGger:BUS:B1:UART:TX:DATa:VALue "1x1x0101" Sets the value to 1x1x0101 Example 2 :SEARCH:TRIGger:BUS:B1:UART:TX:DATa:VALue? 1X1X0101 :SEARCH:TRIGger:BUS:B1:SPI:CONDition Query Sets or queries the SPI search triggering condition. Description Syntax :SEARCH:TRIGger:BUS:B1:SPI:CONDition {SS | MISO | MOSI | MISOMOSI | ? } Set to trigger on the Slave Selection Parameter condition.
COMMAND DETAILS Syntax :SEARCH:TRIGger:BUS:B1:SPI:DATa:SIZe {<NR1> | ?} Related :SEARCH:TRIGger:BUS:B1:SPI:CONDition commands Number of words (1 to 32). Parameter <NR1> Returns the number of words. Return parameter <NR1> Example :SEARCH:TRIGger:BUS:B1:SPI:DATa:SIZe 10 Sets the number of words to 10. :SEARCH:TRIGger:BUS:B1:SPI:DATa:MISO: VALue Query Sets or queries the search triggering data value for Description the SPI bus when the bus is set to trigger on MISO or MISO/MOSI.
GDS-1000B Programming Manual Example 2 :SEARCH:TRIGger:BUS:B1:SPI:DATa:MISO:VALue? 1X1X0101 :SEARCH:TRIGger:BUS:B1:SPI:DATa:MOSI: VALue Query Sets or queries the search triggering data value for Description the SPI bus when the bus is set to trigger on MOSI or MISO/MOSI. Syntax :SEARCH:TRIGger:BUS:B1:SPI:DATa:MOSI:VALue {<string> | ? } Related :SEARCH:TRIGger:BUS:B1:SPI:DATa:SIZe commands...
COMMAND DETAILS Syntax :SEARCH:TRIGger:BUS:B1:CAN:CONDition {SOF|FRAMEtype|IDentifier|DATA|IDANDDATA|EOF| ACKMISS|STUFFERR|?} Sets search to trigger on a start of Parameter/ Return frame parameter FRAMEtype Sets search to trigger on the type of frame Sets search to trigger on a matching Identifier identifier Sets search to trigger on matching data DATA IDANDDATA Sets search to trigger on matching identifier and data field...
GDS-1000B Programming Manual Sets the frame type to data frame Parameter/ DATA Return parameter Sets the frame type to remote frame REMote Sets the frame type to error frame ERRor Sets the frame type to overload OVERLoad Example :SEARCH:TRIGger:BUS:B1:CAN:FRAMEtype DATA Sets the frame type to DATA.
COMMAND DETAILS Related :SEARCH:TRIGger:BUS:B1:CAN:IDentifier:MODe Commands The size of the string depends on the Parameter/ <string> data size setting. The string must be Return parameter enclosed in double quotes, “string”. String contents: x = don’t care 1 = binary 1 0 = binary 0 Example :SEARCH:TRIGger:BUS:B1:CAN:CONDition ID :SEARCH:TRIGger:BUS:B1:CAN:IDentifier:MODe...
GDS-1000B Programming Manual :SEARCH:TRIGger:BUS:B1:CAN:DATa: QUALifier Query Sets or returns the CAN data qualifier. Description Note: Only applicable when the search triggering condition is set to DATA or IDANDDATA. Syntax :SEARCH:TRIGger:BUS:B1:CAN:DATa:QUALifier {LESSthan|MOREthan|EQual|UNEQual|LESSEQual|M OREEQual|?} Sets search to trigger when the data is Parameter/ LESSthan less than the qualifier value.
COMMAND DETAILS :SEARCH:TRIGger:BUS:B1:CAN:DATa:SIZe Query Sets or returns the length of the data string in bytes Description for the CAN search trigger. Note: Only applicable when the condition is set to DATA or IDANDDATA. Syntax :SEARCH:TRIGger:BUS:B1:CAN:DATa:SIZe {<NR1>|?} 1~8 (bytes) Parameter/ <NR1> Return parameter Example :SEARCH:TRIGger:BUS:B1:CAN:DATa:SIZe?
GDS-1000B Programming Manual Example :SEARCH:TRIGger:BUS:B1:CAN:DATa:SIZe 1 :SEARCH:TRIGger:BUS:B1:CAN:DATa:VALue "01010X1X" :SEARCH:TRIGger:BUS:B1:CAN:DATa:VALue? >01010X1X :SEARCH:TRIGger:BUS:B1:LIN:CONDition Query Sets or returns the LIN search trigger condition. Description Syntax :SEARCH:TRIGger:BUS:B1:LIN:CONDition {SYNCField|IDentifier|DATA|IDANDDATA|WAKEup|SL EEP|ERRor|?} Sets the LIN search trigger condition Parameter/ SYNCField to the sync field. Return parameter Sets the LIN search trigger condition IDentifier to identifier field.
COMMAND DETAILS :SEARCH:TRIGger:BUS:B1:LIN:DATa: QUALifier Query Sets or returns the LIN data qualifier. Description Note: Only applicable when the search trigger condition is set to DATA or IDANDDATA. Syntax :SEARCH:TRIGger:BUS:B1:LIN:DATa:QUALifier {LESSthan|MOREthan|EQual|UNEQual|LESSEQual|M OREEQual|?} Sets search to trigger when the data is Parameter/ LESSthan less than the qualifier value.
GDS-1000B Programming Manual :SEARCH:TRIGger:BUS:B1:LIN:DATa:SIZe Query Sets or returns the length of the data string in bytes Description for the LIN search trigger. Note: Only applicable when the condition is set to DATA or IDANDDATA. Syntax :SEARCH:TRIGger:BUS:B1:LIN:DATa:SIZe {<NR1>|?} 1~8 (bytes) Parameter/ <NR1>...
COMMAND DETAILS Example :SEARCH:TRIGger:BUS:B1:LIN:DATa:SIZe 1 :SEARCH:TRIGger:BUS:B1:LIN:DATa:VALue "01010X1X" :SEARCH:TRIGger:BUS:B1:LIN:DATa:VALue? >01010X1X :SEARCH:TRIGger:BUS:B1:LIN:ERRTYPE Query Sets or returns the error type to be used for the LIN Description search trigger. Syntax :SEARCH:TRIGger:BUS:B1:LIN:ERRTYPE {SYNC|PARIty|CHecksum|?} Sets the LIN error type to SYNC. Parameter/ SYNC Return parameter Sets the LIN error type to parity.
GDS-1000B Programming Manual The size of the string depends on the Parameter/ <string> Return parameter data size setting. The string must be enclosed in double quotes, “string”. String contents: x = don’t care 1 = binary 1 0 = binary 0 Example :SEARCH:TRIGger:BUS:B1:LIN:CONDition ID :SEARCH:TRIGger:BUS:B1:LIN:IDentifier:VALue...
COMMAND DETAILS :SEARCH:FFTPeak:METHod:MPEak Query Sets the active peak number (1 ~ 10) or return the Description frequency of the active peak number. Related :SEARCH:TRIGger:TYPe Commands :SEARCH:FFTPeak:METHod Syntax :SEARCH:FFTPeak:METHod:MPEak {<NR1> | ?} Active peak number. Parameter <NR1> Frequency of the active peak. Return parameter <NR3>...
Page 220
GDS-1000B Programming Manual Sets the State Info to Mark. Parameter/ MARK Return parameter Sets the State Info to Peak. PEAK Example :SEARCH:FFTPeak:SINFo? >PEAK :SEARCH:FFTPeak:SINFo mark :SEARCH:FFTPeak:SINFo? >MARK...
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. :BUS1:LABel Query Sets or returns the file label for the bus. Description Syntax :BUS1:LABel {<string>...
COMMAND DETAILS Related :BUS1:LABel commands Turns the file label off for the bus. Parameter Turns the file label on for the bus. Return parameter Returns the status of the file label for the bus (ON, OFF). Example :BUS1:LABel "Bus" :BUS1:LABel:DISPlay ON :BUS1:LABel:DISPlay? Sets the label for the bus to "Bus"...
GDS-1000B Programming Manual :SEGMents:CURRent Query Sets or queries the current segment. The total Description number of segments depends on the record length. Syntax :SEGMents:CURRent {SETTOMIN|SETTOMAX|<NR1>|?} Related :SEGMents:STATE commands :SEGMents:TOTalnum SETTOMIN Current segment = min segment Parameter/ Return parameter SETTOMAX Current segment = max segment 1~29000 <NR1>...
COMMAND DETAILS :SEGMents:TIMe Query Returns the time of the current segment in relation Description to the first segment. Syntax :SEGMents:TIMe? Related :SEGMents:STATE commands :SEGMents:CURRent Return parameter The segment time as <NR3>. Example :SEGMents:TIMe? >8.040E-03 Returns the segment time. :SEGMents:DISPALL Query Sets or queries whether all the segments are Description displayed on the screen.
GDS-1000B Programming Manual Disables the automatic measurement Parameter/ Return parameter function for the segments measurement. Sets the measurement mode to PLOT Statistics. Sets the measurement mode to a TABLE measurement list. Example :SEGMents:MEASure:MODe? >PLOT Returns the measurement mode as Statistics. :SEGMents:MEASure:PLOT:SOURce Query Sets or queries the statistics source.
COMMAND DETAILS 1~20 Parameter/ <NR1> Return parameter Example1 :SEGMents:MEASure:PLOT:DIVide 5 Sets the number of bins to 5 for the statistics function. :SEGMents:MEASure:PLOT:SELect Query Sets or queries which bin to view the statics of. Description Syntax :SEGMents:MEASure:PLOT:SELect {<NR1> | ? } Related :SEGMents:MEASure:PLOT:SOURce commands...
GDS-1000B Programming Manual Example :SEGMents:STATE ON STOP :SEGMents:MEASure:MODe PLOT :SEGMents:MEASure:PLOT:SOURce 1 :SEGMents:MEASure:PLOT:DIVide 10 :SEGMents:MEASure:PLOT:SELect 1 :SEGMents:MEASure:PLOT:RESults? > MAX,1.000kHz;MIN,1.000kHz;MEAN,1.000kHz; Bin Statistics,1 of 10;Percent,10.00%;Count,1; Measured,10;Unmeasured,0;Bin Range, 1.000kHz~1.000kHz; Plots the results for automatic measurement #1, bin 1 of 10. :SEGMents:MEASure:TABle:SOURce Query Sets or queries the source of the measurement list. Description Syntax :SEGMents:MEASure:TABle:SOURce {CH1 | CH2 |...
COMMAND DETAILS Related :SEGMents:TOTalnum commands 1~29000 Parameter <NR1> Return parameter Returns the number of segments as <NR3>. Example1 :SEGMents:MEASure:TABle:SELect 10 Select segment number 10. :SEGMents:MEASure:TABle:LIST Query Returns the measurement results of each segment Description in the list. Syntax :SEGMents:MEASure:TABle:LIST? Return parameter Returns the measurements results as a string for each segment.
COMMAND DETAILS :SEGMents:SAVe:SELect:END Query Sets or queries the ending segment to save from. Description The number of possible segments depends on the record length. Syntax :SEGMents:SAVe:SELect:END {SETTOMIN | SETTOMAX | <NR1> | ? } Related :SEGMents:TOTalnum commands SETTOMIN Sets the starting segment to min Parameter/ Return parameter segment.
GDS-1000B Programming Manual DVM Commands The DVM commands are only available when the optional DVM app is installed. :DVM:STATE .............. 236 :DVM:SOURce ............236 :DVM:MODe .............. 237 :DVM:VALue .............. 237 :DVM:STATE Query Sets or queries the DVM state to on or off. Description Syntax :DVM:STATE {OFF | ON | ? }...
Page 237
COMMAND DETAILS :DVM:MODe Query Sets or queries the DVM mode. Description Syntax :DVM:MODe {ACRMS|DC|DCRMS|DUTY| FREQuency|?} Related :DVM:SOURce commands :DVM:STATE Sets the mode to AC RMS Parameter/ ACRMS Return parameter Sets the mode to DC Sets the mode to DC RMS DCRMS Sets the mode to AC Duty DUTY...
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 ............238 :GONogo:EXECute ............ 238 :GONogo:FUNCtion ..........239 :GONogo:NGCount ..........239 :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. Please see the user manual for further details. :DATALOG:STATE ............. 244 :DATALOG:SOURce ..........244 :DATALOG:SAVe ............245 :DATALOG:INTerval ..........245 :DATALOG:DURation ..........
Page 245
COMMAND DETAILS Related :DATALOG:STATE commands :DATALOG:SAVe :DATALOG:INTerval :DATALOG:DURation Channel 1, 2, 3 or 4 Parameter/Return CH1 ~CH4 parameter All displayed channels. Example :DATALOG:SOURce CH1 Sets the source to CH1. :DATALOG:SAVe Query Sets or queries the save format as image or Description waveform.
Page 246
GDS-1000B Programming Manual Related :DATALOG:STATE commands :DATALOG:SOURce :DATALOG:SAVe :DATALOG:DURation Sets or returns the interval time in Parameter/Return <NR1> parameter discrete seconds: Interval time for DATALOG:SOURCE = All or DATALOG:SAVE=IMAGE: 5, 10, 15, 20, 25, 30, 35, 60, 120 Interval time for DATALOG:SOURCE = CH1~CH4: 2, 3, 4, 5, 10, 20, 30, 60, Example :DATALOG:INTerval 5...
GDS-1000B Programming Manual User name enclosed in double quotes Parameter/Return <string> eg., “User_Name”. parameter Example :REMOTEDisk:USERName “User_Name” Sets the account name as User_Name. :REMOTEDisk:PASSWord Query Sets or queries the account password for the Description remote disk. Syntax :REMOTEDisk:PASSWord {<string> | ? } Username password enclosed in Parameter/Return <string>...
COMMAND DETAILS :REMOTEDisk:AUTOMount Query Turns automount on/off or queries its state. The Description remote disk must be configured beforehand. Syntax :REMOTEDisk:AUTOMount { OFF | ON | ? } Don’t mount the remote disk at start Parameter/Return parameter Automatically mount the remote disk on start up.
GDS-1000B Programming Manual PPENDX Error messages The following error messages may be returned Description from the :SYSTem:ERRor? query. For details see page 163. List of error Error number, “Error Description” messages +0, "No error." -100, "Command error" -101, "Invalid character" -102, "Syntax error"...
Page 251
APPENDX -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 252
GDS-1000B Programming Manual -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"...
Page 253
APPENDX -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"...
Need help?
Do you have a question about the GDS-1000B Series and is the answer not in the manual?
Questions and answers