GW Instek Programming for GDS-2000A User manual

Type
User manual
Digital Storage Oscilloscope
GDS-2000A Series
PROGRAMMING MANUAL
GW INSTEK PART NO. Version 1.4, August 2013
ISO-9001 CERTIFIED MANUFACTURER
August 2013
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.
Windows is a registered trademark of Microsoft Corporation in the United States and other countries.
Good Will Instrument Co., Ltd.
No. 7-1, Jhongsing Rd., Tucheng Dist., New Taipei City 236, Taiwan.
TABLE OF CONTENTS
4
Table of Contents
INTERFACE OVERVIEW ..................................................... 6
Front Panel Overview ................................. 6
Interface Configuration .............................. 7
COMMAND OVERVIEW .................................................. 22
Command Syntax ..................................... 22
List of Commands in Functional Order .... 24
COMMAND DETAILS ...................................................... 35
Common Commands ............................... 37
Acquisition Commands ............................ 41
Autoscale Commands .............................. 46
Vertical Commands .................................. 47
Math Commands ..................................... 53
Cursor Commands ................................... 61
Display Commands .................................. 71
Hardcopy Commands ............................... 74
Measure Commands ................................ 78
Measurement Commands ...................... 101
Reference Commands ............................ 108
Run Command ....................................... 111
Stop Command ...................................... 111
Single Command .................................... 111
Force Command ..................................... 112
Timebase Commands ............................. 113
Trigger Commands ................................. 116
System Commands ................................ 148
Save/Recall Commands .......................... 149
Ethernet Commands .............................. 155
Time Commands .................................... 156
Bus Decode Commands ......................... 157
Mark Commands ..................................... 168
Search Commands .................................. 170
Digital Commands .................................. 196
Label Commands .................................... 203
Utility Commands ................................... 212
Segment Commands ............................... 213
DVM Commands ..................................... 221
Function Generator Commands .............. 223
Go_NoGo Commands ............................. 226
Data Logging Commands ........................ 232
APPENDX....................................................................... 235
Error messages ....................................... 235
INDEX............................................................................ 239
GDS-2000A Programming Manual
6
INTERFACE OVERVIEW
This manual describes how to use the
GDS-2000A’s remote command functionality and
lists the command details. The Overview chapter
describes how to configure the GDS-2000A USB
remote control interface, Ethernet interface, GPIB
interface and RS-232 interface.
Front Panel Overview
POWER
CH1 CH2
POSITION TIME/DIV
POSITION
POSITION
VOLTS/DIV VOLTS/DIV
Autoset
Menu
50 %
Force-Trig
Select
TRIGGER
HORIZONTAL
VARIABLE
Measure Cursor
Display Help Save/Recall Utility
Acquire
Single
Run/Stop
Search
Set/Clear
CH3 CH4
POSITION POSITION
VOLTS/DIV VOLTS/DIV
VERTICAL
M
R
B
Test
CH1 CH2 CH3 CH4 EXT TRIG
CAT
MW16pF
300Vpk MAX.
1
CAT
MW16pF
300Vpk MAX.
Hardcopy
Option
Menu Off
LEVEL
Zoom
MATH
REF
Demo
Logic Analyzer
1
BUS
Digital Storage Oscilloscope
GDS-2204A 200 MHz 2 GS/s
Visual Persistence Oscilloscope
GEN 1 GEN 2
Default
LCD
Variable knob
and Select key
Autoset, Run/Stop, Single
and Default settings
CH1~CH4
input
Trigger
controls
Function
keys
USB Host port,
Demo and Ground
terminals
Function
Generator
output 1&2
Power
button
Hardcopy key
Option key
Math,
Reference and
Bus keys
Bottom
menu keys
Horizontal
controls
Menu key
Vertical
controls
Logic
Analyzer
input
EXT
trigger
Side menu keys
4 channel model shown.
INTERFACE OVERVIEW
7
Interface Configuration
Configure USB Interface
PC side connector
Type A, host
GDS-2000A side
connector
Type B, device
Speed
1.1/2.0 (high speed)
USB Class
CDC (communications device
class)
1. Press the Utility key.
Utility
2. Press I/O from the bottom menu.
3. Press USB Device Port from the side
menu and select Computer.
4. Connect the USB cable to the rear
panel device port.
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-2000A product corner. The driver
automatically sets the GDS-2000A as a serial
COM port.
GDS-2000A Programming Manual
8
Configure RS-232C Interface
Connector
DB-9, Male
Baud rate
2400, 4800, 9600, 19200, 38400,
57600, 115200
Parity
None, Odd, Even
Data bit
8 (fixed)
Stop bit
1, 2
1. Press the Utility key.
Utility
2. Press I/O from the bottom menu.
3. Press RS-232C from the side menu.
4. Use the side menu to set the Baud
Rate.
Baud Rate
2400, 4800, 9600, 19200, 38400,
57600, 115200
5. Press Stop Bit to toggle the number
of stop bits.
Stop Bits
1, 2
6. Press Parity to toggle the parity.
Parity
Odd, Even, None
INTERFACE OVERVIEW
9
7. Press Save Now to save the settings.
8. Connect the RS-232C cable
to the rear panel port: DB-9
male connector. For a
functionality check, see page
14.
12345
6789
2: RxD (Receive data)
3: TxD (Transmit data)
5: GND
4, 6 ~ 9: No connection
Use a Null Modem connection as shown in the
diagram below.
GDS-2000A PC
RxDPin2 RxD Pin2
GNDPin5 GND Pin5
TxD Pin3
TxDPin3
Configure the Ethernet Interface
MAC Address
Domain Name
Instrument Name
DNS IP Address
User Password
Gateway IP Address
Instrument IP
Address
Subnet Mask
HTTP Port 80 (fixed)
The Ethernet option, DS2-LAN, must first be installed
before proceeding. Please the user manual for further
details.
GDS-2000A Programming Manual
10
The Ethernet interface is used for remote
configuration of the oscilloscope over a network
using the integrated web server or for remote
control using a socket server connection. For
details, please see the Web Server Configuration
section in the user manual or the Socket Server
section on page 12.
1. Connect the Ethernet cable to the
LAN port on the DS2-LAN
module.
2. Press the Utility key.
Utility
3. Press I/O from the bottom menu.
4. Press Ethernet from the side menu.
5. Set DHCP/BOOTP to On or Off
from the side menu.
IP addresses will automatically be assigned with
DHCP/BOOTP set to on. For Static IP Addresses,
DHCP/BOOTP should be set to off.
INTERFACE OVERVIEW
11
6. Use the Up and Down arrows on
the side menu to navigate to each
Ethernet configuration item.
Items
MAC Address, Instrument Name,
User Password, Instrument IP
Address, Domain Name, DNS IP
Address, Gateway IP Address,
Subnet Mask
Note: HTTP Port is fixed at 80.
7. Use the Variable knob to highlight a
character and use the Select key to
choose a character.
VARIABLE
Select
Press Backspace to delete a
character.
GDS-2000A Programming Manual
12
Configure Socket Server
The GDS-2000A supports socket server functionality for direct two-
way communication with a client PC or device over LAN. By default,
the Sockets Server is off.
1. Configure the IP address for the
GDS-2000A.
Page 8
2. Press the Utility key.
Utility
3. Press I/O from the bottom menu.
4. Press Socket Server from the side
menu.
5. Press Select Port and choose the
port number with the Variable
knob.
Range
1024~65535
6. Press Set Port to confirm the port
number.
7. The Current Port icon will update
to the new port number.
8. Press Server and turn the socket
server On.
INTERFACE OVERVIEW
13
Configure GPIB
To use GPIB, the optional module, DS2-GPIB, must be
installed. Please see the user manual for installation
details.
1. Connect a GPIB cable from a PC to the installed
GPIB module.
2. Press the Utility key.
Utility
3. Press I/O from the bottom menu.
4. Use the Variable knob to set the
GPIB Address from the side menu.
This option will only be available
when the GPIB module is installed.
Range
1 ~ 30
ï‚· Maximum 15 devices altogether, 20m cable
length, 2m between each device
ï‚· Unique address assigned to each device
ï‚· At least 2/3 of the devices turned On
ï‚· No loop or parallel connection
GDS-2000A Programming Manual
14
USB/RS-232C Functionality Check
Invoke a terminal application such as RealTerm.
For RS-232C and USB, 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 WinXP:
Control panel → System → Hardware tab
Example: Configuring RealTerm for RS232C
communication.
Key in this query command via the terminal
application.
*idn?
This should return the Manufacturer, Model
number, Serial number, and Firmware version in
the following format.
GW, GDS-2074A, PXXXXXX, V1.00
INTERFACE OVERVIEW
15
Socket Server Functionality Check
To test the socket server functionality, National
Instruments Measurement and Automation
Explorer can be used. This program is available on
the NI website, www.ni.com.
1. Start the NI Measurement and
Automation Explorer (MAX)
program. Using Windows, press:
Start>All Programs>National
Instruments>Measurement & Automation
2. From the Configuration panel access;
My System>Devices and Interfaces>Network
Devices
3. Press Add New Network Device>Visa TCP/IP
Resource…
GDS-2000A Programming Manual
16
4. Select Auto-detect of LAN Instrument from the
popup window. The GDS-2000A should be
automatically detected. If the GDS-2000A is not
detected, choose the manual option.
23
4
5. Select the IP address that corresponds to the
GDS-2000A and click Next.
5
INTERFACE OVERVIEW
17
6. The GDS-2000A will now appear under
Network Devices in the Configuration Panel.
7. Click the Open Visa Test Panel to send a remote
command to the GDS-2000A.
6
7
8. Click on the viWrite tab. The *IDN? query
should already be in the buffer area.
9. Click Execute to execute the query.
8
9
GDS-2000A Programming Manual
18
10. Click the viRead tab.
11. Click Execute to read the return parameter from
the *IDN? query.
12. The manufacturer, model number, serial
number and firmware version will be displayed
in the buffer. For example:
GW, GDS-2074A, P930116, V1.00
10
11
12
INTERFACE OVERVIEW
19
GPIB Functionality Check
To check that the GPIB connection is working,
National Instruments Measurement & Automation
Explorer (MAX) can be used. The following
function check is based on version 4.6.2.
For further information about National
Instruments, please see the NI website at
www.ni.com.
1. Start the NI Measurement and
Automation Explorer (MAX)
program. Using Windows, press:
Start>All Programs>National
Instruments>Measurement & Automation
2. From the Configuration panel access;
My System>Devices and Interfaces>GPIB0
GDS-2000A Programming Manual
20
3. Press the Scan for Instruments button.
4. In the Connected Instruments panel the GDS-
2000A should be detected as Instrument 0 with
the address the same as that configured on the
GDS-2000A.
5. Double click the Instrument 0 icon.
23
4
5
6. Click on Communicate with Instrument.
7. In the NI-488.2 Communicator window, ensure
*IND? is written in the Send String: text box.
Click on the Query button to send the *IDN?
query to the instrument.
8. The String Received text box will display the
query return:
GW, GDS-2XXXX,PXXXXXX,V1.XX
(manufacturer, model, serial number, version)
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244

GW Instek Programming for GDS-2000A User manual

Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI