GW Instek MDO-2000A User manual

Type
User manual
Mixed-Domain Oscilloscope
MDO-2000A series
PROGRAMMING MANUAL
ISO-9001 CERTIFIED MANUFACTURER
2
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
3
Table of Contents
INTERFACE OVERVIEW .................................................... 5
Interface Configuration .............................. 5
COMMAND OVERVIEW ................................................. 15
Command Syntax ..................................... 15
List of Commands in Functional Order .... 17
COMMAND DETAILS ..................................................... 32
Common Commands ............................... 34
Acquisition Commands ............................ 41
Autoscale Commands .............................. 49
Vertical Commands .................................. 50
Math Commands ..................................... 56
Cursor Commands ................................... 65
Display Commands .................................. 76
Hardcopy Commands .............................. 80
Measure Commands ................................ 83
Measurement Commands ....................... 109
Reference Commands ............................. 116
Run Command ........................................ 119
Stop Command ....................................... 120
Single Command..................................... 121
Force Command ...................................... 122
Timebase Commands.............................. 123
Trigger Commands .................................. 126
System Commands ................................. 160
Save/Recall Commands .......................... 161
Ethernet Command ................................. 166
Time Command ...................................... 167
Bus Decode Commands .......................... 168
Mark Commands..................................... 179
MDO-2000A series programming manual
4
Search Commands ................................. 181
Label Commands ................................... 210
Segment Commands .............................. 216
DVM Commands .................................... 225
Go_NoGo Commands ............................ 227
Mask Commands ................................... 233
AWG Commands .................................... 239
Data Logging Commands ....................... 260
Remote Disk Commands ........................ 263
Spectrum Analyzer Commands .............. 266
USB Delay Command ............................. 280
FRA Commands ..................................... 281
APPENDIX .................................................................... 287
Error messages ...................................... 287
INDEX .......................................................................... 291
INTERFACE OVERVIEW
5
INTERFACE OVERVIEW
This manual describes how to use the MDO-
2000A's remote command functionality and lists
the command details. The Overview chapter
describes how to configure the USB and Ethernet
remote control interfaces.
Interface Configuration
Configure USB Interface
USB
Configuration
PC side connector
MDO-2000A Aside
connector
Speed
USB Class
Panel Operation
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.
MDO-2000A series programming manual
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
MDO-2000A Download section. The driver
automatically sets the MDO-2000A as a serial
COM port (Shown as VPO in the PORTS node).
USB Functionality Check
Terminal
Application
Invoke a terminal application such as RealTerm.
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 → Hardware and Sound→ Device
Manager
Example: Configuring RealTerm:
Functionality
Check
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,MDO-2202A,PXXXXXX,V1.00
INTERFACE OVERVIEW
7
Configure the Ethernet Interface
Ethernet
Configuration
MAC Address
Instrument Name
User Password
Instrument IP
Address
Background
The Ethernet interface is used for remote control
using a socket server connection. For details,
please see the Socket Server section on page 9.
Panel Operation
1. Connect the Ethernet cable to the
LAN port on the rear panel.
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.
Note
IP addresses will automatically be assigned with
DHCP/BOOTP set to on. For Static IP Addresses,
DHCP/BOOTP should be set to off.
MDO-2000A series programming manual
8
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.
Select
VARIABLE
INTERFACE OVERVIEW
9
Press Backspace to delete a
character.
Press Save Now to save the
configuration. Complete will be
displayed when successful.
Configure Socket Server
The MDO-2000A supports socket server functionality for direct two-
way communication with a client PC or device over LAN. By default,
the Socket Server is off.
Configure Socket
Server
1. Configure the IP address for the
MDO-2000A.
Page 7
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.
MDO-2000A series programming manual
10
8. Press Server and turn the socket
server On.
Socket Server Functionality Check
NI Measurement
and Automation
Explorer
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.
Operation
1. Configure the IP address for the
MDO-2000A.
Page 7
2. Configure the socket port.
Page 9
3. Start the NI Measurement and
Automation Explorer (MAX)
program. Using Windows, press:
Start>All Programs>National
Instruments>Measurement & Automation
4. From the Configuration panel access;
My System>Devices and Interfaces>Network
Devices
INTERFACE OVERVIEW
11
5. Right click Network Devices and select Create
New Visa TCP/IP Resource…
45
6. Select Manual Entry of Raw Socket from the
popup window.
7. Click Next.
6
7
MDO-2000A series programming manual
12
8. Enter the MDO-2000A’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.
10
11
89
12. Choose an alias for the socket connection if you
like.
13. Click Finish to finish the configuration.
12
13
MDO-2000A
14. The MDO-2000A will now appear under
Network Devices in the Configuration Panel.
INTERFACE OVERVIEW
13
Functionality
Check
15. Click the Open Visa Test Panel to send a remote
command to the MDO-2000A.
14
15
MDO-2000A
MDO-
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).
19. Click Apply Changes.
16 17
18
19
MDO-2000A series programming manual
14
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,MDO-2202A,PXXXXXX,V1.00
20
21 22
23
MSO
GW, MDO-2202A, PXXXXXX, V1.00\N
COMMAND OVERVIEW
15
COMMAND OVERVIEW
The Command overview chapter lists all MDO-
2000A 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
Compatible
standard
ï‚· USB CDC_ACM compatible
ï‚· SCPI, 1994 (partially compatible)
Command forms
Commands and queries have two different forms,
long and short. The command syntax is written
with the short form of the command in capitals
and the remainder (long form) in lower case.
The commands can be written in capitals or lower-
case, just so long as the short or long forms are
complete. An incomplete command will not be
recognized.
Below are examples of correctly written
commands.
LONG
:TIMebase:SCALe?
:TIMEBASE:SCALE?
:timebase:scale?
:TIMebase:SCALe?
Short
Long
Short
MDO-2000A series programming manual
16
SHORT
:TIM:SCAL?
:TIM:SCAL?
Command format
1: command header
2: single space
3: parameter
4: message terminator
Parameter
Type
Description
Example
<Boolean>
boolean logic
0, 1
<NR1>
Integers
0, 1, 2, 3
<NR2>
floating point
0.1, 3.14, 8.5
<NR3>
floating point
with an exponent
4.5e-1, 8.25e+1
<NRf>
any of NR1, 2, 3
1, 1.5, 4.5e-1
Message
terminator
LF
line feed code
Note
Commands are non-case sensitive.
:TIMebase:SCALe <NR3>LF
1 2 3 4
COMMAND OVERVIEW
17
List of Commands in Functional Order
Common
commands
*IDN? ......................................................................... 34
*LRN? ......................................................................... 34
*SAV ........................................................................... 35
*RCL ........................................................................... 35
*RST ........................................................................... 35
*CLS ........................................................................... 36
*ESE ........................................................................... 36
*ESR ........................................................................... 36
*OPC .......................................................................... 37
*SRE ........................................................................... 38
*STB ........................................................................... 39
Acquisition
commands
:ACQuire:AVERage ..................................................... 41
:ACQuire:MODe ........................................................ 42
:ACQuire<X>:MEMory? ............................................. 42
:ACQuire:FILTer:SOURce .......................................... 44
:ACQuire:FILTer ......................................................... 45
:ACQuire:FILTer:FREQuency ..................................... 45
:ACQuire:FILTer:FREQuency:UPPER ........................ 45
:ACQuire:FILTer:FREQuency:LOWER ....................... 46
:ACQuire:FILTer:TYPe................................................ 46
:ACQuire:FILTer:TRACking ........................................ 47
:ACQuire<X>:STATe? ................................................. 47
:ACQuire:INTERpolation ........................................... 47
:ACQuire:RECOrdlength ............................................ 48
:HEADer ..................................................................... 48
Autoscale
commands
:AUTOSet ................................................................... 49
:AUTORSET:MODe ................................................... 49
Vertical Scale
commands
:CHANnel<X>:BWLimit ............................................. 50
:CHANnel<X>:COUPling ........................................... 51
:CHANnel<X>:DESKew ............................................. 51
MDO-2000A series programming manual
18
:CHANnel<X>:DISPlay .............................................. 51
:CHANnel<X>:EXPand .............................................. 52
:CHANnel<X>:IMPedance? ....................................... 52
:CHANnel<X>:INVert ................................................ 53
:CHANnel<X>:POSition ............................................ 53
:CHANnel<X>:PROBe:RATio .................................... 54
:CHANnel<X>:PROBe:TYPe ...................................... 54
:CHANnel<X>:SCALe ................................................ 54
Math commands
:MATH:DISP .............................................................. 56
:MATH:TYPe .............................................................. 57
:MATH:DUAL:SOURce<X> ....................................... 57
:MATH:DUAL:OPERator ........................................... 57
:MATH:DUAL:POSition ............................................. 58
:MATH:DUAL:SCALe ................................................. 58
:MATH:FFT:SOURce ................................................. 59
:MATH:FFT:MAG ...................................................... 59
:MATH:FFT:WINDow ................................................ 59
:MATH:FFT:POSition ................................................ 60
:MATH:FFT:SCALe .................................................... 60
:MATH:FFT:HORizontal:SCALe ................................ 61
:MATH:FFT:HORizontal:POSition ............................ 61
:MATH:DEFine .......................................................... 61
:MATHVAR? ............................................................... 62
:MATHVAR:VAR<X> .................................................. 63
:MATH:ADVanced:POSition ..................................... 63
:MATH:ADVanced:SCALe ......................................... 64
Cursor
commands
:CURSor:MODe ......................................................... 65
:CURSor:SOURce....................................................... 66
:CURSor:HUNI .......................................................... 66
:CURSor:HUSE .......................................................... 67
:CURSor:VUNI ........................................................... 67
:CURSor:VUSE ........................................................... 68
:CURSor:DDT ............................................................. 68
:CURSor:H1Position .................................................. 69
COMMAND OVERVIEW
19
:CURSor:H2Position .................................................. 69
:CURSor:HDELta ....................................................... 69
:CURSor:V1Position ................................................... 70
:CURSor:V2Position ................................................... 70
:CURSor:VDELta ........................................................ 70
:CURSor:XY:RECTangular:X:POSition<X> ................ 71
:CURSor:XY:RECTangular:X:DELta ........................... 71
:CURSor:XY:RECTangular:Y:POSition<X> ................ 71
:CURSor:XY:RECTangular:Y:DELta ........................... 72
:CURSor:XY:POLar:RADIUS:POSition<X> ................ 72
:CURSor:XY:POLar:RADIUS:DELta ........................... 73
:CURSor:XY:POLar:THETA:POSition<X> ................. 73
:CURSor:XY:POLar:THETA:DELta ............................. 73
:CURSor:XY:PRODuct:POSition<X> ......................... 74
:CURSor:XY:PRODuct:DELta..................................... 74
:CURSor:XY:RATio:POSition<X> ............................... 74
:CURSor:XY:RATio:DELta .......................................... 75
Display
commands
:DISPlay:INTensity:WAVEform .................................. 76
:DISPlay:INTensity:GRATicule................................... 76
:DISPlay:INTensity:BACKLight .................................. 77
:DISPlay:INTensity:BACKLight:AUTODim:ENAble .. 77
:DISPlay:INTENSITy:BACKLight:AUTODim:TIMe ... 77
:DISPlay:PERSistence ................................................ 78
:DISPlay:GRATicule ................................................... 78
:DISPlay:WAVEform ................................................... 79
:DISPlay:OUTPut ....................................................... 79
Hardcopy
commands
:HARDcopy:START .................................................... 80
:HARDcopy:MODe .................................................... 80
:HARDcopy:PRINTINKSaver ..................................... 81
:HARDcopy:SAVEINKSaver ....................................... 81
:HARDcopy:SAVEFORMat ........................................ 81
:HARDcopy:ASSIGN .................................................. 82
MDO-2000A series programming manual
20
Measure
commands
:MEASure:GATing...................................................... 84
:MEASure:SOURce .................................................... 84
:MEASure:METHod ................................................... 85
:MEASUrement:REFLevel:PERCent:HIGH ............... 85
:MEASUrement:REFLevel:PERCent:LOW ................. 86
:MEASUrement:REFLevel:PERCent:MID .................. 86
:MEASUrement:REFLevel:PERCent:MID2 ................ 86
:MEASure:FALL .......................................................... 87
:MEASure:FOVShoot ................................................. 87
:MEASure:FPReshoot ................................................ 88
:MEASure:FREQuency ............................................... 88
:MEASure:NWIDth .................................................... 89
:MEASure:PDUTy ...................................................... 89
:MEASure:PERiod ...................................................... 90
:MEASure:PWIDth ..................................................... 90
:MEASure:RISe .......................................................... 91
:MEASure:ROVShoot ................................................. 92
:MEASure:RPReshoot ................................................ 92
:MEASure:PPULSE ..................................................... 93
:MEASure:NPULSE .................................................... 93
:MEASure:PEDGE ...................................................... 94
:MEASure:NEDGE ..................................................... 94
:MEASure:AMPlitude ................................................. 95
:MEASure:MEAN ....................................................... 96
:MEASure:CMEan ...................................................... 96
:MEASure:HIGH ........................................................ 97
:MEASure:LOW .......................................................... 97
:MEASure:MAX .......................................................... 98
:MEASure:MIN .......................................................... 98
:MEASure:PK2PK ....................................................... 99
:MEASure:RMS .......................................................... 99
:MEASure:CRMS ...................................................... 100
:MEASure:AREa ....................................................... 101
:MEASure:CARea ..................................................... 101
:MEASure:FRRDelay ................................................ 102
  • 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
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296

GW Instek MDO-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