Instek MDO-2000E Programming Manual

Mixed-Domain Oscilloscope
MDO-2000E series
PROGRAMMING MANUAL
ISO-9001 CERTIFIED MANUFACTURER
Jun 2018
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
Table of Contents
INTERFACE OVERVIEW .................................................... 3
Interface Configuration .............................. 3
COMMAND OVERVIEW ................................................. 13
Command Syntax ..................................... 13
List of Commands in Functional Order .... 15
COMMAND DETAILS ..................................................... 31
Common Commands ............................... 33
Acquisition Commands ............................ 39
Autoscale Commands .............................. 47
Vertical Commands .................................. 48
Math Commands ..................................... 54
Cursor Commands ................................... 63
Display Commands .................................. 73
Hardcopy Commands .............................. 78
Measure Commands ................................ 81
Measurement Commands ....................... 107
Reference Commands ............................. 114
Run Command ........................................ 117
Stop Command ....................................... 117
Single Command..................................... 117
Force Command ...................................... 118
Timebase Commands.............................. 119
Trigger Commands .................................. 122
System Commands ................................. 164
Save/Recall Commands .......................... 165
Ethernet Command ................................. 170
Time Command ...................................... 170
Bus Decode Commands .......................... 171
Mark Commands..................................... 186
1
MDO-2000E Series Programming Manual
Search Commands ................................. 188
Label Commands ................................... 221
Segment Commands .............................. 229
DVM Commands .................................... 238
Go_NoGo Commands ............................ 240
AWG Commands .................................... 246
Data Logging Commands ....................... 265
Remote Disk Commands ........................ 268
DMM Commands ................................... 271
Spectrum Analyzer Commands .............. 276
Power Supply Commands ....................... 290
USB Delay Command ............................. 292
Digital Commands ................................. 293
APPENDIX .................................................................... 301
Error messages ...................................... 301
INDEX .......................................................................... 305
2
INTERFACE OVERVIEW
USB Configuration
PC side connector
Type A, host
MDO-2000E side connector
Type B, device
Speed
1.1/2.0
USB Class
CDC (communications device 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.
INTERFACE OVERVIEW
This manual describes how to use the MDO­2000E'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
3
MDO-2000E Series Programming Manual
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-2000E Download section. The driver automatically sets the MDO-2000E as a serial COM port (Shown as VPO in the PORTS node).
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-2202E,PXXXXXX,V1.00
USB Functionality Check
4
INTERFACE OVERVIEW
Ethernet Configuration
MAC Address
Domain Name
Instrument Name
DNS IP Address
User Password
Gateway IP Address
Instrument IP Address
Subnet Mask
HTTP Port 80 (fixed)
Background
The Ethernet interface is used for remote control using a socket server connection. For details, please see the Socket Server section on page 7.
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.
Configure the Ethernet Interface
5
MDO-2000E Series Programming Manual
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
6
INTERFACE OVERVIEW
Press Backspace to delete a character.
Press Save Now to save the configuration. Complete will be displayed when successful.
Configure Socket Server
1. Configure the IP address for the
MDO-2000E.
Page 5
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.
Configure Socket Server
The MDO-2000E supports socket server functionality for direct two­way communication with a client PC or device over LAN. By default, the Socket Server is off.
7
MDO-2000E Series Programming Manual
8. Press Server and turn the socket
server On.
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-2000E.
Page 5
2. Configure the socket port.
Page 7
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
Socket Server Functionality Check
8
INTERFACE OVERVIEW
5. Right click Network Devices and select Create
New Visa TCP/IP Resource…
4
5
6. Select Manual Entry of Raw Socket from the
popup window.
7. Click Next.
6
7
9
MDO-2000E Series Programming Manual
8. Enter the MDO-2000E’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
8
9
12. Choose an alias for the socket connection if you
like.
13. Click Finish to finish the configuration.
12
13
MSO
14. The MDO-2000E will now appear under
Network Devices in the Configuration Panel.
10
INTERFACE OVERVIEW
Functionality Check
15. Click the Open Visa Test Panel to send a remote
command to the MDO-2000E.
14
15
MSO
MSO-
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
11
MDO-2000E Series Programming Manual
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-2202E,PXXXXXX,V1.00
20
21
22
23
MSO
12
COMMAND OVERVIEW
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
COMMAND OVERVIEW
The Command overview chapter lists all MDO­2000E 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
13
MDO-2000E Series Programming Manual
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
14
COMMAND OVERVIEW
Common
*IDN? ...........................................................................33
*LRN? ...........................................................................33
*SAV .............................................................................34
*RCL .............................................................................34
*RST .............................................................................35
*CLS .............................................................................35
*ESE .............................................................................35
*ESR .............................................................................36
*OPC ............................................................................36
*SRE .............................................................................37
*STB .............................................................................37
Acquisition
:ACQuire:AVERage .......................................................39
:ACQuire:MODe ..........................................................40
:ACQuire<X>:MEMory? ...............................................40
:ACQuire:FILTer:SOURce ............................................42
:ACQuire:FILTer ...........................................................43
:ACQuire:FILTer:FREQuency .......................................43
:ACQuire:FILTer:TRACking ..........................................45
:ACQuire<X>:STATe? ...................................................45
:ACQuire:INTERpolation .............................................45
:ACQuire:RECOrdlength ..............................................46
:HEADer .......................................................................46
Autoscale
:AUTOSet .....................................................................47
:AUTORSET:MODe .....................................................47
Vertical Scale
:CHANnel<X>:BWLimit ...............................................48
:CHANnel<X>:COUPling .............................................49
:CHANnel<X>:DESKew ...............................................49
:CHANnel<X>:DISPlay ................................................49
:CHANnel<X>:EXPand ................................................50
:CHANnel<X>:IMPedance? .........................................50
List of Commands in Functional Order
15
MDO-2000E Series Programming Manual
:CHANnel<X>:INVert .................................................. 51
:CHANnel<X>:POSition .............................................. 51
:CHANnel<X>:PROBe:RATio ...................................... 52
:CHANnel<X>:PROBe:TYPe ........................................ 52
:CHANnel<X>:SCALe .................................................. 52
Math
:MATH:DISP ................................................................ 54
:MATH:TYPe ................................................................ 55
:MATH:DUAL:SOURce<X> ......................................... 55
:MATH:DUAL:OPERator ............................................. 55
:MATH:DUAL:POSition ............................................... 56
:MATH:DUAL:SCALe ................................................... 56
:MATH:FFT:SOURce ................................................... 57
:MATH:FFT:MAG ........................................................ 57
:MATH:FFT:WINDow .................................................. 57
:MATH:FFT:POSition .................................................. 58
:MATH:FFT:SCALe ...................................................... 58
:MATH:FFT:HORizontal:SCALe .................................. 59
:MATH:FFT:HORizontal:POSition .............................. 59
:MATH:DEFine ............................................................ 59
:MATHVAR? ................................................................. 60
:MATHVAR:VAR<X> .................................................... 61
:MATH:ADVanced:POSition ....................................... 61
:MATH:ADVanced:SCALe ........................................... 61
Cursor
:CURSor:MODe ........................................................... 64
:CURSor:SOURce......................................................... 64
:CURSor:HUNI ............................................................ 65
:CURSor:HUSE ............................................................ 65
:CURSor:VUNI ............................................................. 66
:CURSor:VUSE ............................................................. 66
:CURSor:DDT ............................................................... 66
:CURSor:H1Position .................................................... 67
:CURSor:H2Position .................................................... 67
:CURSor:HDELta ......................................................... 68
:CURSor:V1Position..................................................... 68
16
COMMAND OVERVIEW
:CURSor:V2Position .....................................................68
:CURSor:VDELta ..........................................................69
:CURSor:XY:RECTangular:X:POSition<X> ..................69
:CURSor:XY:RECTangular:X:DELta .............................69
:CURSor:XY:RECTangular:Y:POSition<X> ..................70
:CURSor:XY:RECTangular:Y:DELta .............................70
:CURSor:XY:POLar:RADIUS:POSition<X> ..................70
:CURSor:XY:POLar:RADIUS:DELta .............................71
:CURSor:XY:POLar:THETA:POSition<X> ...................71
:CURSor:XY:POLar:THETA:DELta ...............................71
:CURSor:XY:PRODuct:POSition<X> ...........................72
:CURSor:XY:PRODuct:DELta.......................................72
:CURSor:XY:RATio:POSition<X> .................................72
:CURSor:XY:RATio:DELta ............................................73
Display
:DISPlay:INTensity:WAVEform ....................................73
:DISPlay:INTensity:GRATicule.....................................74
:DISPlay:INTensity:BACKLight ....................................74
:DISPlay:INTensity:BACKLight:AUTODim:ENAble ....74
:DISplay:INTENSITy:BACKLight:AUTODim:TIMe .....75
:DISPlay:PERSistence ..................................................75
:DISPlay:GRATicule .....................................................76
:DISPlay:WAVEform .....................................................76
:DISPlay:OUTPut .........................................................76
Hardcopy
:HARDcopy:START ......................................................78
:HARDcopy:MODe ......................................................78
:HARDcopy:PRINTINKSaver .......................................79
:HARDcopy:SAVEINKSaver .........................................79
:HARDcopy:SAVEFORMat ..........................................79
:HARDcopy:ASSIGN ....................................................80
Measure
:MEASure:GATing ........................................................82
:MEASure:SOURce ......................................................82
:MEASure:METHod .....................................................83
:MEASUrement:REFLevel:PERCent:HIGH..................83
17
MDO-2000E Series Programming Manual
:MEASUrement:REFLevel:PERCent:LOW ................... 84
:MEASUrement:REFLevel:PERCent:MID .................... 84
:MEASUrement:REFLevel:PERCent:MID2 .................. 84
:MEASure:FALL ............................................................ 85
:MEASure:FOVShoot ................................................... 85
:MEASure:FPReshoot .................................................. 86
:MEASure:FREQuency ................................................. 86
:MEASure:NWIDth ...................................................... 87
:MEASure:PDUTy ........................................................ 87
:MEASure:PERiod ........................................................ 88
:MEASure:PWIDth ....................................................... 88
:MEASure:RISe ............................................................ 89
:MEASure:ROVShoot ................................................... 89
:MEASure:RPReshoot .................................................. 90
:MEASure:PPULSE ....................................................... 91
:MEASure:NPULSE ...................................................... 91
:MEASure:PEDGE ........................................................ 92
:MEASure:NEDGE ....................................................... 92
:MEASure:AMPlitude ................................................... 93
:MEASure:MEAN ......................................................... 93
:MEASure:CMEan ........................................................ 94
:MEASure:HIGH .......................................................... 95
:MEASure:LOW ............................................................ 95
:MEASure:MAX ............................................................ 96
:MEASure:MIN ............................................................ 96
:MEASure:PK2PK ......................................................... 97
:MEASure:RMS ............................................................ 97
:MEASure:CRMS .......................................................... 98
:MEASure:AREa ........................................................... 99
:MEASure:CARea ......................................................... 99
:MEASure:FRRDelay .................................................. 100
:MEASure:FRFDelay .................................................. 100
:MEASure:FFRDelay .................................................. 101
:MEASure:FFFDelay ................................................... 102
:MEASure:LRRDelay .................................................. 102
18
COMMAND OVERVIEW
:MEASure:LRFDelay ...................................................103
:MEASure:LFRDelay ...................................................103
:MEASure:LFFDelay ...................................................104
:MEASure:PHAse .......................................................105
Measurement
:MEASUrement:MEAS<X>:SOURCE<X> ..................107
:MEASUrement:MEAS<X>:TYPe ...............................108
:MEASUrement:MEAS<X>:STATE ............................108
:MEASUrement:MEAS<X>:VALue.............................109
:MEASUrement:MEAS<X>:MAXimum .....................110
:MEASUrement:MEAS<X>:MEAN ............................111
:MEASUrement:MEAS<X>:MINImum .....................111
:MEASUrement:MEAS<X>:STDdev ..........................112
:MEASUrement:STATIstics:MODe ...........................113
:MEASUrement:STATIstics:WEIghting .....................113
:MEASUrement:STATIstics .......................................113
Reference
:REF<X>:DISPlay ........................................................114
:REF<X>:TIMebase:POSition ....................................114
:REF<X>:TIMebase:SCALe ........................................115
:REF<X>:OFFSet ........................................................115
:REF<x>:SCALe ..........................................................116
Run
:RUN ..........................................................................117
Stop
:STOP .........................................................................117
Single
:SINGle .......................................................................117
Force
:FORCe .......................................................................118
Timebase
:TIMebase:EXPand ....................................................119
:TIMebase:POSition ..................................................119
:TIMebase:SCALe .......................................................119
:TIMebase:MODe ......................................................120
:TIMebase:WINDow:POSition ..................................120
19
MDO-2000E Series Programming Manual
:TIMebase:WINDow:SCALe ...................................... 121
Trigger
:TRIGger:FREQuency ................................................. 124
:TRIGger:TYPe ........................................................... 124
:TRIGger:SOURce ...................................................... 125
:TRIGger:COUPle....................................................... 125
:TRIGger:NREJ ........................................................... 126
:TRIGger:MODe ......................................................... 126
:TRIGger:HOLDoff..................................................... 126
:TRIGger:LEVel........................................................... 127
:TRIGger:HLEVel ....................................................... 127
:TRIGger:LLEVel ......................................................... 128
:TRIGger:EDGe:SLOP ................................................ 128
:TRIGger:DELay:SLOP ............................................... 128
:TRIGger:DELay:TYPe ................................................ 129
:TRIGger:DELay:TIMe ................................................ 129
:TRIGger:DELay:EVENt.............................................. 130
:TRIGger:DELay:LEVel ............................................... 130
:TRIGger:PULSEWidth:POLarity ............................... 130
:TRIGger:RUNT:POLarity .......................................... 131
:TRIGger:RUNT:WHEn .............................................. 131
:TRIGger:RUNT:TIMe ................................................ 132
:TRIGger:RISEFall:SLOP ............................................ 132
:TRIGger:RISEFall:WHEn .......................................... 132
:TRIGger:RISEFall:TIMe ............................................ 133
:TRIGger:VIDeo:TYPe ................................................ 134
:TRIGger:VIDeo:FIELd ............................................... 134
:TRIGger:VIDeo:LINe ................................................ 135
:TRIGger:VIDeo:POLarity .......................................... 135
:TRIGger:PULSe:WHEn ............................................. 135
:TRIGger:PULSe:TIMe ............................................... 136
:TRIGger:TIMEOut:WHEn ......................................... 136
:TRIGger:TIMEOut:TIMER ........................................ 137
:TRIGger:ALTernate ................................................... 137
:TRIGger:STATe ......................................................... 138
20
COMMAND OVERVIEW
:TRIGger:EXTERnal:PROBe:TYPe ..............................138
:TRIGger:EXTERnal:PROBe:RATio ............................140
:TRIGger:BUS:TYPe ...................................................140
:TRIGger:BUS:THReshold:CH<x> .............................140
:TRIGger:BUS:B1:I2C:CONDition .............................141
:TRIGger:BUS:B1:I2C:ADDRess:MODe ....................142
:TRIGger:BUS:B1:I2C:ADDRess:TYPe .......................142
:TRIGger:BUS:B1:I2C:ADDRess:VALue ....................143
:TRIGger:BUS:B1:I2C:ADDRess:DIRection ...............143
:TRIGger:BUS:B1:I2C:DATa:SIZe ..............................144
:TRIGger:BUS:B1:I2C:DATa:VALue ...........................144
:TRIGger:BUS:B1:UART:CONDition .........................145
:TRIGger:BUS:B1:UART:RX:DATa:SIZe ....................146
:TRIGger:BUS:B1:UART:RX:DATa:VALue .................146
:TRIGger:BUS:B1:UART:TX:DATa:SIZe .....................147
:TRIGger:BUS:B1:UART:TX:DATa:VALue .................147
:TRIGger:BUS:B1:SPI:CONDition .............................148
:TRIGger:BUS:B1:SPI:DATa:SIZe ..............................149
:TRIGger:BUS:B1:SPI:DATa:MISO:VALue ................149
:TRIGger:BUS:B1:SPI:DATa:MOSI:VALue ................150
:TRIGger:BUS:B1:CAN:CONDition ...........................151
:TRIGger:BUS:B1:CAN:FRAMEtype ..........................151
:TRIGger:BUS:B1:CAN:IDentifier:MODe ..................152
:TRIGger:BUS:B1:CAN:IDentifier:VALue ..................152
:TRIGger:BUS:B1:CAN:IDentifier:DIRection .............153
:TRIGger:BUS:B1:CAN:DATa:QUALifier ...................153
:TRIGger:BUS:B1:CAN:DATa:SIZe ............................154
:TRIGger:BUS:B1:CAN:DATa:VALue .........................155
:TRIGger:BUS:B1:LIN:CONDition ............................155
:TRIGger:BUS:B1:LIN:DATa:QUALifier .....................156
:TRIGger:BUS:B1:LIN:DATa:SIZe .............................157
:TRIGger:BUS:B1:LIN:DATa:VALue ..........................157
:TRIGger:BUS:B1:LIN:ERRTYPE ................................158
:TRIGger:BUS:B1:LIN:IDentifier:VALue ....................159
:TRIGger:LOGic:INPut:CLOCK:SOURce ...................159
21
MDO-2000E Series Programming Manual
:TRIGger:LOGic:INPut:CLOCK:EDGe ....................... 160
:TRIGger:LOGic:FUNCtion ....................................... 160
:TRIGger:LOGic:PATtern ........................................... 161
:TRIGger:LOGic:PATtern:INPut:D<x> ...................... 161
:TRIGger:LOGic:PATtern:DELTatime........................ 162
:TRIGger:LOGic:PATtern:WHEn ............................... 162
System commands
:SYSTem:LOCK .......................................................... 164
:SYSTem:ERRor ......................................................... 164
Save/Recall
:RECAll:SETUp ........................................................... 165
:RECAll:WAVEform .................................................... 165
:SAVe:IMAGe ............................................................. 166
:SAVe:IMAGe:FILEFormat ......................................... 166
:SAVe:IMAGe:INKSaver ............................................. 167
:SAVe:SETUp ............................................................. 167
:SAVe:WAVEform ....................................................... 168
:SAVe:WAVEform:FILEFormat .................................. 169
Ethernet Command
:ETHERnet:DHCP ...................................................... 170
Time Command
:DATe ......................................................................... 170
Bus Decode Commands
:BUS1 ......................................................................... 172
:BUS1:STATE ............................................................. 172
:BUS1:TYPe ................................................................ 172
:BUS1:INPut .............................................................. 173
:BUS1:I2C:ADDRess:RWINClude ............................. 173
:BUS1:I2C:SCLK:SOURce .......................................... 174
:BUS1:I2C:SDA:SOURce ........................................... 174
:BUS1:UART:BITRate ................................................. 174
:BUS1:UART:DATABits .............................................. 175
:BUS1:UART:PARIty ................................................... 175
:BUS1:UART:PACKEt ................................................. 175
:BUS1:UART:EOFPAcket ........................................... 176
:BUS1:UART:TX:SOURce .......................................... 176
22
COMMAND OVERVIEW
:BUS1:UART:RX:SOURce ..........................................177
:BUS1:SPI:SCLK:POLARity ........................................177
:BUS1:SPI:SS:POLARity .............................................177
:BUS1:SPI:WORDSize ...............................................178
:BUS1:SPI:BITORder .................................................178
:BUS1:SPI:SCLK:SOURce ..........................................178
:BUS1:SPI:SS:SOURce ...............................................179
:BUS1:SPI:MOSI:SOURce .........................................179
:BUS1:SPI:MISO:SOURce .........................................179
:BUS1:DISplay:FORMAt ............................................180
:LISTer:DATA .............................................................180
:BUS1:CAN:SOURce ..................................................181
:BUS1:CAN:PROBe ....................................................181
:BUS1:CAN:SAMPLEpoint .........................................181
:BUS1:CAN:BITRate ...................................................182
:BUS1:LIN:BITRate ....................................................183
:BUS1:LIN:IDFORmat ...............................................183
:BUS1:LIN:POLARity..................................................183
:BUS1:LIN:SAMPLEpoint ..........................................184
:BUS1:LIN:SOURce ...................................................184
:BUS1:LIN:STANDard ...............................................184
Mark Commands
:MARK ........................................................................186
:MARK:CREATE ..........................................................186
:MARK:DELEte ...........................................................187
Search Commands
:SEARCH:COPY .........................................................189
:SEARCH:STATE ........................................................190
:SEARCH:TOTAL ........................................................190
:SEARCH:TRIGger:TYPe ............................................190
:SEARCH:TRIGger:SOURce .......................................191
:SEARCH:TRIGger:EDGE:SLOP ................................191
:SEARCH:TRIGger:LEVel ...........................................192
:SEARCH:TRIGger:HLEVel ........................................192
:SEARCH:TRIGger:LLEVel .........................................193
23
MDO-2000E Series Programming Manual
:SEARCH:TRIGger:PULSEWidth:POLarity ................ 193
:SEARCH:TRIGger:RUNT:POLarity ........................... 194
:SEARCH:TRIGger:RISEFall:SLOP ............................ 194
:SEARCH:TRIGger:PULSe:WHEn .............................. 195
:SEARCH:TRIGger:PULSe:TIMe ................................ 195
:SEARCH:TRIGger:RUNT:WHEn .............................. 196
:SEARCH:TRIGger:RUNT:TIMe ................................ 196
:SEARCH:TRIGger:RISEFall:WHEn ........................... 197
:SEARCH:TRIGger:RISEFall:TIMe ............................. 197
:SEARCH:TRIGger:BUS:TYPe .................................... 198
:SEARCH:TRIGger:BUS:B1:I2C:CONDition ............. 198
:SEARCH:TRIGger:BUS:B1:I2C:ADDRess:MODe .... 199
:SEARCH:TRIGger:BUS:B1:I2C:ADDRess:TYPe ....... 199
:SEARCH:TRIGger:BUS:B1:I2C:ADDRess:VALue ..... 200
:SEARCH:TRIGger:BUS:B1:I2C:ADDRess:DIRection201
:SEARCH:TRIGger:BUS:B1:I2C:DATa:SIZe .............. 201
:SEARCH:TRIGger:BUS:B1:I2C:DATa:VALue ........... 202
:SEARCH:TRIGger:BUS:B1:UART:CONDition.......... 203
:SEARCH:TRIGger:BUS:B1:UART:RX:DATa:SIZe ..... 204
:SEARCH:TRIGger:BUS:B1:UART:RX:DATa:VALue .. 204
:SEARCH:TRIGger:BUS:B1:UART:TX:DATa:SIZe ..... 205
:SEARCH:TRIGger:BUS:B1:UART:TX:DATa:VALue .. 205
:SEARCH:TRIGger:BUS:B1:SPI:CONDition .............. 206
:SEARCH:TRIGger:BUS:B1:SPI:DATa:SIZe ............... 207
:SEARCH:TRIGger:BUS:B1:SPI:DATa:MISO:VALue . 207 :SEARCH:TRIGger:BUS:B1:SPI:DATa:MOSI:VALue . 208
:SEARCH:TRIGger:BUS:B1:CAN:CONDition ........... 209
:SEARCH:TRIGger:BUS:B1:CAN:FRAMEtype ........... 210
SEARCH:TRIGger:BUS:B1:CAN:IDentifier:MODe ... 210 :SEARCH:TRIGger:BUS:B1:CAN:IDentifier:VALue ... 211 :SEARCH:TRIGger:BUS:B1:CAN:IDentifier:DIRection211 :SEARCH:TRIGger:BUS:B1:CAN:DATa:QUALifier ... 212
:SEARCH:TRIGger:BUS:B1:CAN:DATa:SIZe ............ 213
:SEARCH:TRIGger:BUS:B1:CAN:DATa:VALue ......... 213
:SEARCH:TRIGger:BUS:B1:LIN:CONDition ............. 214
24
COMMAND OVERVIEW
:SEARCH:TRIGger:BUS:B1:LIN:DATa:QUALifier .....215
:SEARCH:TRIGger:BUS:B1:LIN:DATa:SIZe ..............216
:SEARCH:TRIGger:BUS:B1:LIN:DATa:VALue ...........216
:SEARCH:TRIGger:BUS:B1:LIN:ERRTYPE ................217
:SEARCH:TRIGger:BUS:B1:LIN:IDentifier:VALue .....218
:SEARCH:FFTPeak:METHod .....................................218
:SEARCH:FFTPeak:METHod:MPEak .........................219
:SEARCH:FFTPeak:SINFo ..........................................220
:SEARCH:FFTPeak:LIST .............................................220
Label Commands
:CHANnel<X>:LABel ..................................................221
:CHANnel<X>:LABel:DISPlay ....................................222
:REF<X>:LABel ...........................................................222
:REF<X>:LABel:DISPlay .............................................223
:BUS1:LABel ...............................................................224
:BUS1:LABel:DISPlay .................................................224
:D<x>:LABel ...............................................................225
:D<x>:LABel:DISPlay..................................................226
:DIGital:ANAlog:A<x>:LABel .....................................226
:DIGital:ANAlog:A<x>:LABel:DISPlay .......................227
:SET<X>:LABel ...........................................................228
Segment Commands
:SEGMents:STATE .....................................................229
:SEGMents:CURRent .................................................230
:SEGMents:TOTalnum ..............................................230
:SEGMents:TIMe .......................................................231
:SEGMents:DISPALL .................................................231
:SEGMents:MEASure:MODe ....................................231
:SEGMents:MEASure:PLOT:SOURce .......................232
:SEGMents:MEASure:PLOT:DIVide ..........................232
:SEGMents:MEASure:PLOT:SELect ..........................233
:SEGMents:MEASure:PLOT:RESults .........................233
:SEGMents:MEASure:TABle:SOURce .......................234
:SEGMents:MEASure:TABle:SELect ..........................234
:SEGMents:MEASure:TABle:LIST..............................235
25
MDO-2000E Series Programming Manual
:SEGMents:MEASure:TABle:SAVe ............................ 235
:SEGMents:SAVe ....................................................... 235
:SEGMents:SAVe:SOURce ........................................ 236
:SEGMents:SAVe:SELect:STARt ................................ 236
:SEGMents:SAVe:SELect:END .................................. 237
DVM Commands
:DVM:STATE .............................................................. 238
:DVM:SOURce ........................................................... 238
:DVM:MODe .............................................................. 239
:DVM:VALue .............................................................. 239
Go-NoGo Commands
:GONogo:CLEar ......................................................... 240
:GONogo:EXECute .................................................... 240
:GONogo:FUNCtion .................................................. 241
:GONogo:NGCount .................................................. 241
:GONogo:NGDefine .................................................. 241
:GONogo:SOURce .................................................... 242
:GONogo:VIOLation ................................................. 242
:GONogo:SCRipt ....................................................... 242
:TEMPlate:MODe ...................................................... 243
:TEMPlate:MAXimum ................................................ 243
:TEMPlate:MINimum ................................................ 243
:TEMPlate:POSition:MAXimum ................................ 244
:TEMPlate:POSition:MINimum ................................ 244
:TEMPlate:SAVe:MAXimum ...................................... 244
:TEMPlate:SAVe:MINimum ...................................... 245
:TEMPlate:TOLerance................................................ 245
:TEMPlate:SAVe:AUTo .............................................. 245
AWG Commands
:AWG<x>:AMPlitude.................................................. 247
:AWG<x>:FREQuency ................................................ 247
:AWG<x>:FUNCtion .................................................. 248
:AWG<x>:OFFSet ...................................................... 249
:AWG<x>:OUTPut:LOAd:IMPEDance ...................... 249
:AWG<x>:OUTPut:STATE ......................................... 249
26
COMMAND OVERVIEW
:AWG<x>:PHAse ........................................................250
:AWG<x>:PULSe:DUTYcycle .....................................250
:AWG<x>:RAMP:SYMmetry ......................................250
:AWG<x>:MODulation:STATE ..................................251
:AWG<x>:MODulation:TYPe .....................................251
:AWG<x>:MODulation:AM:DEPth ............................251
:AWG<x>:MODulation:AM:FREQ .............................252
:AWG<x>:MODulation:AM:SHApe ...........................252
:AWG<x>:MODulation:AM:PHAse ...........................252
:AWG<x>:MODulation:AM:DUTYcycle.....................253
:AWG<x>:MODulation:AM:SYMmetry .....................253
:AWG<x>:MODulation:AM:RATE .............................253
:AWG<x>:MODulation:FM:DEV ...............................254
:AWG<x>:MODulation:FM:FREQ .............................254
:AWG<x>:MODulation:FM:SHApe ...........................255
:AWG<x>:MODulation:FM:PHAse ...........................255
:AWG<x>:MODulation:FM:DUTYcycle .....................256
:AWG<x>:MODulation:FM:SYMmetry......................256
:AWG<x>:MODulation:FM:RATE ..............................256
:AWG<x>:MODulation:FSK:FREQ ............................257
:AWG<x>:MODulation:FSK:RATE .............................257
:AWG<x>:SWEep:STATE ...........................................258
:AWG<x>:SWEep:TYPe ..............................................258
:AWG<x>:SWEep:START ...........................................258
:AWG<x>:SWEep:STOP .............................................259
:AWG<x>:SWEep:TIMe ..............................................259
:AWG<x>:SWEep:SPAN .............................................259
:AWG<x>:SWEep:CENTer .........................................260
:AWG<x>:ARBitrary:EDIT:NUMPoint .......................260
:AWG<x>:ARBitrary:EDIT:FUNCtion .........................260
:AWG<x>:ARBitrary:SAVe:WAVEform .......................261
:AWG<x>:ARBitrary:LOAd:WAVEform ......................261
:AWG<x>:ARBitrary:EDIT:COPY................................262
:AWG<x>:ARBitrary:EDIT:CLEar ................................262
:AWG<x>:ARBitrary:EDIT:LINe .................................263
27
MDO-2000E Series Programming Manual
:AWG<x>:ARBitrary:EDIT:SCALe .............................. 263
:AWG<x>:ARBitrary:EDIT:POINt............................... 263
:AWG<x>:ARBitrary:EDIT:POINt:ADD...................... 264
:AWG<x>:ARBitrary:EDIT:POINt:DELEte ................. 264
Data Logging Commands
:DATALOG:STATE ..................................................... 265
:DATALOG:SOURce .................................................. 265
:DATALOG:SAVe ....................................................... 266
:DATALOG:INTerval .................................................. 266
:DATALOG:DURation ................................................ 267
Remote Disk Commands
:REMOTEDisk:IPADDress ......................................... 268
:REMOTEDisk:PATHName ....................................... 268
:REMOTEDisk:USERName ....................................... 269
:REMOTEDisk:PASSWord ......................................... 269
:REMOTEDisk:MOUNT ............................................ 269
:REMOTEDisk:AUTOMount ..................................... 270
DMM Commands
:DMM ......................................................................... 271
:DMM:STATE ............................................................. 271
:DMM:VALue ............................................................. 272
:DMM:HOLD ............................................................. 272
:DMM:MMIN ............................................................ 272
:DMM:MODe ............................................................ 273
:DMM:MODe:RANGe ............................................... 273
:DMM:TEMPerature:UNITs ...................................... 274
:DMM:TEMPerature:TYPe ......................................... 274
:DMM:TEMPerature:SIM .......................................... 275
Spectrum Analyzer Commands
:SA:MEMory? ............................................................. 277
:SA:MEMory:SOURce ................................................ 280
:SA:SOURce ............................................................... 280
:SA:SPECTRUMTrace ................................................ 280
:SELect:NORMal ........................................................ 281
:SELect:MAXHold ...................................................... 281
28
COMMAND OVERVIEW
:SELect:MINHold .......................................................281
:SELect:AVErage .........................................................282
:SA:AVErage:NUMAVg ..............................................282
:SA:DETECTionmethod:MODe .................................282
:SA:DETECTionmethod:MAXHold ............................283
:SA:DETECTionmethod:MINHold ............................283
:SA:DETECTionmethod:NORMal..............................284
:SA:DETECTionmethod:AVErage ..............................284
:SA:FREQuency ..........................................................285
:SA:SPAN ...................................................................285
:SA:START ..................................................................285
:SA:STOP ....................................................................286
:SA:RBW:MODe .........................................................286
:SA:RBW .....................................................................286
:SA:SPANRbwratio .....................................................287
:SA:WINDow ..............................................................288
:SA:UNIts ...................................................................288
:SA:SCAle ...................................................................289
:SA:POSition ..............................................................289
Power Supply Commands
:POWERSupply:OUTPut<X> .....................................290
:POWERSupply:OUTPut<X>:VOLTage .....................291
:POWERSupply:OUTPut<X>:RECONFigure .............291
:POWERSupply:OUTPut<X>:OCP .............................291
USB Delay Command
:USBDelay ..................................................................292
Digital Commands
:D<x>:DISPlay ............................................................293
:D<x>:POSition ..........................................................293
:DISPlay:DIGital:HEIght ............................................294
:DIGital:GROUP<x>:THReshold ...............................294
:DIGital:ANAlog:A<x>:DISPlay ..................................295
:DIGital:ANAlog:A<x>:RATio .....................................295
:DIGital:ANAlog:A<x>:POSition ................................296
:D<x>:MEMory ...........................................................296
29
MDO-2000E Series Programming Manual
:DIGital:MEMory ....................................................... 298
30
COMMAND DETAILS
Common Commands ............................... 33
Acquisition Commands ............................ 39
Autoscale Commands .............................. 47
Vertical Commands .................................. 48
Math Commands ..................................... 54
Cursor Commands ................................... 63
Display Commands .................................. 73
Hardcopy Commands .............................. 78
Measure Commands ................................ 81
Measurement Commands ....................... 107
Reference Commands ............................. 114
Run Command ........................................ 117
Stop Command ....................................... 117
Single Command..................................... 117
Force Command ...................................... 118
Timebase Commands.............................. 119
Trigger Commands .................................. 122
System Commands ................................. 159
Save/Recall Commands .......................... 165
Ethernet Command ................................. 170
Time Command ...................................... 170
Bus Decode Commands .......................... 171
Mark Commands..................................... 186
Search Commands .................................. 188
COMMAND DETAILS
The Command details chapter shows the detailed syntax, equivalent panel operation, and example for each command. For the list of all commands, see page15.
31
MDO-2000E Series Programming Manual
Label Commands ................................... 221
Segment Commands .............................. 225
DVM Commands .................................... 238
Go_NoGo Commands ............................ 240
AWG Commands .................................... 246
Data Logging Commands ....................... 265
Remote Disk Commands ........................ 268
DMM Commands ................................... 271
Spectrum Analyzer Commands .............. 276
Power Supply Commands ....................... 290
USB Delay Command ............................. 292
Digital Commands ................................. 293
32
COMMAND DETAILS
*IDN? ...........................................................................33
*LRN? ...........................................................................33
*SAV .............................................................................34
*RCL .............................................................................34
*RST .............................................................................35
*CLS .............................................................................35
*ESE .............................................................................35
*ESR .............................................................................36
*OPC ............................................................................36
*SRE .............................................................................37
*STB .............................................................................37
*IDN?
Description
Returns the manufacturer, model, serial number and version number of the unit.
Syntax
*IDN?
Example
*IDN?
GW,MDO-2074E,PXXXXXX,V1.XX
*LRN?
Description
Returns the oscilloscope settings as a data string.
Syntax
*LRN?
Example
*LRN?
:DISPlay:WAVEform VECTOR;PERSistence 2.400E-01; INTensity:WAVEform 50;INTensity:GRATicule 50;GRATicule FULL;:CHANnel CH1:DISPlay ON;BWLimit FULL;COUPling DC;INVert OFF;POSition -1.600E+00;PROBe:RATio
Query
Query
Common Commands
33
MDO-2000E Series Programming Manual
1.000e+01;PROBe:TYPe VOLTAGE;SCALe 2.000E+ 01;IMPedance 1E+6;EXPand GROUND;:CHANnel CH2:DISPlay ON;BWLimit FULL;COUPling DC;INVert OFF;POSition 0.000E+00;PROBe:RATio
1.000e+01;PROBe:TYPe VOLTAGE;SCALe
2.000E+00;IMPedance 1E+6;EXPand GROUND;:CHANnel CH3:DISPlay OFF;BWLimit FULL;COUPling DC;INVert OFF;POSition
0.000E+00;PROBe:RATio 1.000e+01;PROBe:TYPe VOLTAGE;SCALe 1.000E+00;IMPedance 1E+6;EXPand GROUND;:CHANnel CH4:DISPlay OFF;BWLimit FULL;COUPling DC;INVert OFF;POSition
0.000E+00;PROBe:RATio 1.000e+01;PROBe:TYPe VOLTAGE;SCALe 1.000E+00;IMPedance 1E+6;EXPand GROUND;:MATH:TYPe FFT;DISP OFF;DUAL:SOURce1 CH1;SOURce2 CH2;OPERator MUL;POSition 0.000E+00;SCALe ?;FFT:SOURce CH1;MAG DB;WINDow HANNING;POSition 2.800E­01;SCALe 2.000E+01;MATH:ADVanced:OPERator DIFF;ADVanced:SOURce CH1;ADVanced:EDIT: SOURce1 CH1;ADVanced:EDIT:S
*SAV
Description
Saves the current panel settings to the selected memory number( setup 1 ~ 20).
Syntax
*SAV {1 | 2 | 3 |…. | 20}
Example
*SAV 1
Saves the current panel settings to Set 1.
*RCL
Description
Recalls a set of panel settings.
Syntax
*RCL {1 | 2 | 3 |…. | 20}
Example
*RCL 1
Recalls the selected setup from Set 1.
Set
Set
34
COMMAND DETAILS
*RST
Description
Resets the MDO-2000E (recalls the default panel settings).
Syntax
*RST
*CLS
Description
Clears the error queue.
Syntax
*CLS
*ESE
Description
Sets or queries the Standard Event Status Enable register.
Syntax
Query Syntax
*ESE <NR1>
*ESE?
Return parameter
<NR1>
0~255
Bit Weight
Bit#
Weight
Event
Description
0 1 OPC
Operation Complete Bit
1 2 RQC
Not used
2 4 QYE
Query Error
3 8 DDE
Device Error
4
16
EXE
Execution Error
5
32
CME
Command Error
6
64
URQ
User Request
7
128
PON
Power On
Example
*ESE?
>4
Indicates that there is a query error.
Set
Set
Set
Query
35
MDO-2000E Series Programming Manual
*ESR
Description
Queries the Standard Event Status (Event) register. The Event Status register is cleared after it is read.
Query Syntax
*ESR?
Return parameter
<NR1>
0~255
Bit Weight
Bit#
Weight
Event
Description
0 1 OPC
Operation Complete Bit
1 2 RQC
Not used
2 4 QYE
Query Error
3 8 DDE
Device Error
4
16
EXE
Execution Error
5
32
CME
Command Error
6
64
URQ
User Request
7
128
PON
Power On
Example
*ESR?
>4
Indicates that there is a query error.
*OPC
Description
The *OPC command sets the OPC bit (bit0) of the Standard Event Status Register when all current commands have been processed.
The *OPC? Query returns 1 when all the outstanding commands have completed.
Syntax
Query Syntax
*OPC
*OPC?
Return parameter
1
Returns 1 when all the outstanding commands have completed.
Query
Set
Query
36
COMMAND DETAILS
*SRE
Description
Sets or queries the Service Request Enable register. The Service Request Enable register determines which registers of the Status Byte register are able to generate service requests.
Syntax
Query Syntax
*SRE <NR1>
*SRE?
Parameter/ Return parameter
<NR1>
0~255
Bit Weight
Bit#
Weight
Event
Description
0 1
Not used
1 2
Not used
2 4
Not used
3 8
Not used
4
16
MAV
Message Available Bit
5
32
ESB
Event Status Bit
6
64
MSS
Master Summary Bit
6
64
RQS
Request Service Bit
7
128 Not used
Example
*SRE?
>48
Indicates that the MAVB and ESB bit are both set.
*STB
Description
Queries the bit sum of the Status Byte register with MSS (Master summary Status) replacing the RQS bit (bit 6).
Query Syntax
*STB?
Return parameter
<NR1>
0 ~ 255
Set
Query
Query
37
MDO-2000E Series Programming Manual
Bit Weight
Bit#
Weight
Event
Description
0 1
Not used
1 2
Not used
2 4
Not used
3 8
Not used
4
16
MAV
Message Available Bit
5
32
ESB
Event Status Bit
6
64
MSS
Master Summary Bit
6
64
RQS
Request Service Bit
7
128 Not used
Example
*STB?
>16
Indicates that the MAV bit is set.
38
COMMAND DETAILS
:ACQuire:AVERage .......................................................39
:ACQuire:MODe ..........................................................40
:ACQuire<X>:MEMory? ...............................................40
:ACQuire:FILTer:SOURce ............................................42
:ACQuire:FILTer ...........................................................43
:ACQuire:FILTer:FREQuency .......................................43
:ACQuire:FILTer:FREQuency:UPPER ..........................43
:ACQuire:FILTer:FREQuency:LOWER .........................44
:ACQuire:FILTer:TYPe..................................................44
:ACQuire:FILTer:TRACking ..........................................45
:ACQuire<X>:STATe? ...................................................45
:ACQuire:INTERpolation .............................................45
:ACQuire:RECOrdlength ..............................................46
:HEADer .......................................................................46
:ACQuire:AVERage
Description
Selects or returns the number of waveform acquisitions that are averaged in the average acquisition mode.
Syntax
:ACQuire:AVERage {<NR1>| ?}
Related Commands
:ACQuire:MODe Parameter
<NR1>
2, 4, 8 ,16, 32, 64, 128, 256
Note
Before using this command, select the average acquisition mode. See the example below.
Example
:ACQuire:MODe AVERage
:ACQuire:AVERage 2
Selects the average acquisition mode, and sets the average number to 2.
Set
Query
Acquisition Commands
39
MDO-2000E Series Programming Manual
:ACQuire:MODe
Description
Selects or returns the acquisition mode.
Syntax
:ACQuire:MODe {SAMPle | PDETect | AVERage | ?}
Related Commands
:ACQuire:AVERage Parameter
SAMPle
Sample mode sampling
PDETect
Peak detect sampling
AVERage
Average sampling mode
Example
:ACQuire:MODe PDETect
Sets the sampling mode to peak detection.
:ACQuire<X>:MEMory?
Description
Returns the data in acquisition memory for the selected channel as a header + raw data.
Syntax
:ACQuire<X>:MEMory?
Related Commands
:ACQuire:RECOrdlength
:HEADer
Parameter
<X>
Channel number (1 to 4)
Return parameter
<string> <waveform block data>
Returns acquisition settings followed by raw waveform block data.
<string> Returns the acquisition settings for the selected channel.
Format: parameter(1),setting(1);parameter(2),se
tting(2)…parameter(n),setting(n);Wav
eform Data;
<waveform block data> Header followed by the raw waveform data.
Set
Query
Query
40
COMMAND DETAILS
Format: Header: The header (in ASCII) encodes the number of bytes for the header followed by the number of data points in bytes for the raw data.
#42000
Header identifier Indicates the number
of characters that will encode the number of data points (ie. 2000 = 4 characters) after which the raw data will follow.
Indicates the number of bytes that follow (for the raw data).
ASCII
Raw Data: Each two bytes (in hex) encodes the vertical data of a data point. The data is signed hex data (2’s complement, ­32768 ~ 32767).
Waveform Raw Data Example: Header raw data……….
Hex:
23 34 32 30 30 30 00 1C 00 1B 00 1A 00 1A 00 1B ………..
ASCII/Decimal:
#42000 28 27 26 26 27…….
The actual value of a data point can be calculated with the following formula: (Decimal value of hex data/AD Factor) * vertical scale.
Note: AD Factor is fixed as 25. The vertical scale is returned with the
41
MDO-2000E Series Programming Manual
acquisition settings that precede the raw data.
For example if the raw data for a point is 001C (=28 decimal) then, (28/25) x 0.5 = 0.56V
Example
:ACQuire1:MEMory?
Format,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 Scale,5.000E-04;Horizontal Position,0.000E+00; Horizontal Mode,Main;SincET Mode,Real Time;Sampling Period,5.000e-07;Horizontal Old Scale,5.000E-04;Horizontal Old Position,0.000E+00; Firmware,V0.99b8;Time,02-Oct-14 17:00:43; Waveform Data;
#520000………………..follows waveform block data in hex…………………..
:ACQuire:FILTer:SOURce
Description
Returns the source of the filter.
Syntax
:ACQuire:FILTer:SOURce {CH1|CH2|CH3|CH4|?}
Parameter/ Return parameter
CH1 ~ CH4
Source channel
Example
:ACQuire:FILTer:SOURce?
CH1
Sets the filter source to CH1.
Set
Query
42
COMMAND DETAILS
:ACQuire:FILTer
Description
Turns the filter on/off or queries its status.
Syntax
:ACQuire:FILTer {ON|OFF|?}
Parameter/ Return parameter
ON
Filter on.
OFF
Filter off.
Example
:ACQuire:FILTer?
OFF
Indicates that the filter is turned off.
:ACQuire:FILTer:FREQuency
Description
Sets or queries the filter frequency.
Syntax
:ACQuire:FILTer:FREQuency {DEFault|<NRf>|?}
Parameter/ Return parameter
DEFault
Sets the filter frequency to the default.
<NRf>
Manually sets the filter frequency. (1Hz ~ 500MHz)
Example
:ACQuire:FILTer:FREQuency 1
Sets the filter frequency to 1Hz.
:ACQuire:FILTer:FREQuency:UPPER
Description
Sets or returns the filter upper frequency.
Syntax
:ACQuire:FILTer:FREQuency:UPPER {DEFault}
:ACQuire:FILTer:FREQuency:UPPER <NRf>
:ACQuire:FILTer:FREQuency:UPPER?
Parameter/ Return parameter
DEFault
Sets the frequency to default.
<NRf>
Sets the frequency to user.(Range:1Hz~500MHz)
Set
Query
Set
Query
Set
Query
43
MDO-2000E Series Programming Manual
Example
:ACQuire:FILTer:FREQuency:UPPER 4.95e+07
:ACQuire:FILTer:FREQuency:UPPER?
4.950000e+07
:ACQuire:FILTer:FREQuency:LOWER
Description
Sets or returns the filter lower frequency.
Syntax
:ACQuire:FILTer:FREQuency:LOWER {DEFault}
:ACQuire:FILTer:FREQuency:LOWER <NRf>
:ACQuire:FILTer:FREQuency:LOWER?
Parameter/ Return parameter
DEFault
Sets the frequency to default.
<NRf>
Sets the frequency to user.(Range:1Hz~500MHz)
Example
:ACQuire:FILTer:FREQuency:LOWER 1.25e+07
:ACQuire:FILTer:FREQuency:LOWER?
1.250000e+07
:ACQuire:FILTer:TYPe
Description
Sets or returns the filter type.
Syntax
:ACQuire:FILTer:TRACking {LOWPass | HIGHPass| BANDPass}
:ACQuire:FILTer:TYPe?
Parameter/ Return parameter
LOWPass
Lowpass Type.
HIGHPass
Highpass Type.
BANDPass
bandpass Type.
Example
:ACQuire:FILTer:TYPe?
>LOWPass
Returns low pass type as present filter type
Set
Query
Set
Query
44
COMMAND DETAILS
:ACQuire:FILTer:TRACking
Description
Turns filter tracking on/off or queries its state.
Syntax
:ACQuire:FILTer:TRACking {ON|OFF|?}
Parameter/ Return parameter
OFF
Tracking off
ON
Tracking on
Example
:ACQuire:FILTer:TRACking ON
Turns filter tracking on.
:ACQuire<X>:STATe?
Description
Returns the status of waveform data.
Syntax
:ACQuire<X>:STATe?
Parameter
<X>
Channel number (1 to 4)
Return parameter
0
Raw data is not ready
1
Raw data is ready
Example
:ACQuire1:STATe?
0
Returns 0. Channel 1’s raw data is not ready.
Note: If the oscilloscope changes the acquisition status from STOP to RUN, the status will be reset as zero.
:ACQuire:INTERpolation
Description
Selects or returns the interpolation mode.
Syntax
:ACQuire:INTERpolation {ET | SINC | ?}
Parameter/Return parameter
ET
Equivalent Time interpolation. The MDO-2000E doesn’t support ET.
SINC
Sets to SIN(X)/X interpolation
Set
Query
Query
Set
Query
45
MDO-2000E Series Programming Manual
Example
:ACQuire:INTERpolation?
>SINC
Returns SINC as the interpolation mode.
:ACQuire:RECOrdlength
Description
Sets or queries the record length.
Syntax
:ACQuire:RECOrdlength {<NRf>| ?}
Parameter/Return parameter
<NRf>
Record length. Settable record length: (1e+3 | 1e+4 | 1e+5 | 1e+6 | 1e+7)
Example
:ACQuire:RECOrdlength 1e+3
Sets the record length to 1000 points.
:HEADer
Description
Configures whether the returned data of the :ACQuire:MEM query will contain header information or not. It is set to ON by default.
Syntax
:HEADer {OFF | ON | ?}
Related Commands
:ACQuire<X>:MEMory?
Parameter
ON
Add header information.
OFF
Don’t add header information.
Return parameter
Returns the configuration (ON, OFF) for the selected channel.
Example
:HEADer ON
Set
Query
Set
Query
46
COMMAND DETAILS
:AUTOSet .....................................................................47
:AUTORSET:MODe .....................................................47
:AUTOSet
Description
Runs the Autoset function to automatically configure the horizontal scale, vertical scale, and trigger according to the input signal.
Syntax
:AUTOSet
:AUTORSET:MODe
Description
Sets the Autoset mode or queries its state.
Syntax
:AUTORSET:MODe {FITScreen | ACPriority | ?}
Related Commands
:AUTOSet
Parameter/Return parameter
FITScreen
Fit Screen mode
ACPriority
AC priority mode
Example
:AUTORSET?
FITSCREEN
Set
Set
Query
Autoscale Commands
47
MDO-2000E Series Programming Manual
:CHANnel<X>:BWLimit ............................................... 48
:CHANnel<X>:COUPling ............................................ 49
:CHANnel<X>:DESKew ............................................... 49
:CHANnel<X>:DISPlay ................................................ 49
:CHANnel<X>:EXPand ................................................ 50
:CHANnel<X>:IMPedance? ......................................... 50
:CHANnel<X>:INVert .................................................. 51
:CHANnel<X>:POSition .............................................. 51
:CHANnel<X>:PROBe:RATio ...................................... 52
:CHANnel<X>:PROBe:TYPe ........................................ 52
:CHANnel<X>:SCALe .................................................. 52
:CHANnel<X>:BWLimit
Description
Sets or returns the bandwidth limit on/off.
Syntax
:CHANnel<X>:BWLimit {FULL | <NR3> | ?}
Parameter
<X>
Channel 1,2,3,4
FULL
Full bandwidth
<NR3>
Sets the bandwidth limit to a pre-defined bandwidth.
100E+6: 100MHz
20E+6: 20MHz
Return Parameter
<NR3>
Returns the bandwidth.
Full
Full bandwidth
Example
:CHANnel1:BWLimit 2.000E+07
Sets the channel 1 bandwidth to 20MHz.
Set
Query
Vertical Commands
48
COMMAND DETAILS
:CHANnel<X>:COUPling
Description
Selects or returns the coupling mode.
Syntax
CHANnel<X>:COUPling {AC | DC | GND | ?}
Parameter
<X>
Channel 1,2,3,4
AC
AC coupling
DC
DC coupling
GND
Ground coupling
Return parameter
Returns the coupling mode.
Example
:CHANnel1:COUPling DC
Sets the coupling to DC for Channel 1.
:CHANnel<X>:DESKew
Description
Sets the deskew time in seconds.
Syntax
:CHANnel<X>:DESKew { <NR3> | ?}
Parameter
<X>
Channel 1,2,3,4
<NR3>
Deskew time:
-5.00E -11 to 5.00E-11
-50ns to 50 ns. (10 ps /step)
Return parameter
<NR3>
Returns the deskew time.
Example
:CHANnel1:DESKew 1.300E-9
Sets the deskew time to 1.3 nano seconds.
:CHANnel<X>:DISPlay
Description
Turns a channel on/off or returns its status.
Syntax
:CHANnel<X>:DISPlay {OFF | ON | ?}
Parameter
<X>
Channel 1,2,3,4
OFF
Channel off
ON
Channel on
Set
Query
Set
Query
Set
Query
49
MDO-2000E Series Programming Manual
Return Parameter
ON
Channel is on
OFF
Channel is off
Example
:CHANnel1:DISPlay ON
Turns on Channel 1
:CHANnel<X>:EXPand
Description
Sets Expand By Ground or Expand By Center for a channel or queries its status.
Syntax
:CHANnel<X>:EXPand {GND | CENTer | ?}
Parameter
<X>
Channel 1,2,3,4
GND
Ground
CENTer
Center
Return parameter
GND
Expand By Ground
CENTER
Expand By Center
Example
:CHANnel1:EXPand GND
Sets Channel 1 to Expand By Ground.
:CHANnel<X>:IMPedance?
Description
Returns the impedance of the oscilloscope. (The impedance of the MDO-2000E is fixed at 1MΩ)
Syntax
:CHANnel<X>:IMPedance?
Parameter
<x>
Channel
1/2/3/4
CH1/2/3/4
Return parameter
<NR3>
Returns the impedance value.
Example
:CHANnel1:IMPedance?
1.000000E+06
The impedance is 1M ohms.
Set
Query
Query
50
COMMAND DETAILS
:CHANnel<X>:INVert
Description
Inverts a channel or returns its status.
Syntax
:CHANnel<X>:INVert {OFF | ON | ?}
Parameter
<X>
Channel 1, 2, 3, 4
OFF
Invert off
ON
Invert on
Return parameter
ON
Invert on
OFF
Invert off
Example
:CHANnel1:INVert ON
Inverts Channel 1
:CHANnel<X>:POSition
Description
Sets or returns the position level for a channel.
Note
The vertical position will only be set to closest allowed value. The position level range depends on the vertical scale.
The scale must first be set before the position can be set.
Syntax
:CHANnel<X>:POSition { <NRf> | ?}
Parameter
<X>
Channel 1, 2, 3, 4
<NRf>
Position. Range depends on the vertical scale.
Return parameter
<NR3>
Returns the position value.
Example 1
:CHANnel1:POSition 2.4E–3
Sets the Channel 1 position to 2.4mV/mA
Example 2
:CHANnel1:POSition?
2.4E-3
Returns 2.4mV as the vertical position.
Set
Query
Set
Query
51
MDO-2000E Series Programming Manual
:CHANnel<X>:PROBe:RATio
Description
Sets or returns the probe attenuation factor.
Syntax
:CHANnel<X>:PROBe:RATio { <NRf> | ?}
Related Commands
:CHANnel<X>:PROBe:TYPe Parameter
<X>
Channel 1, 2, 3, 4
<NRf>
Probe attenuation factor
Return parameter
<NR3>
Returns the probe factor
Example
:CHANnel1:PROBe:RATio 1.00E+0
Sets the Channel 1 probe attenuation factor to 1x
:CHANnel<X>:PROBe:TYPe
Description
Sets or returns the probe type (voltage/current).
Syntax
:CHANnel<X>:PROBe:TYPe { VOLTage | CURRent | ?}
Related Commands
:CHANnel<X>:PROBe:RATio Parameter
<X>
Channel 1, 2, 3, 4
VOLTage
Voltage
CURRent
Current
Return parameter
Returns the probe type.
Example
:CHANnel1:PROBe:TYPe VOLTage
Sets the Channel 1 probe type to voltage.
:CHANnel<X>:SCALe
Description
Sets or returns the vertical scale. The scale depends on the probe attenuation factor.
Note the probe attenuation factor should be set before the scale.
Set
Query
Set
Query
Set
Query
52
COMMAND DETAILS
Syntax
:CHANnel<X>:SCALe { <NRf> | ?}
Parameter
<X>
Channel 1, 2, 3, 4
<NRf>
Vertical scale:
2e–3 to 1e+1
2mV to 10V (Probe x1)
Return parameter
<NR3>
Returns the vertical scale in volts or amps.
Example
:CHANnel1:SCAle 2.00E–2
Sets the Channel 1 vertical scale to 20mV/div
53
MDO-2000E Series Programming Manual
:MATH:DISP ................................................................ 54
:MATH:TYPe ................................................................ 55
:MATH:DUAL:SOURce<X> ......................................... 55
:MATH:DUAL:OPERator ............................................. 55
:MATH:DUAL:POSition ............................................... 56
:MATH:DUAL:SCALe ................................................... 56
:MATH:FFT:SOURce ................................................... 57
:MATH:FFT:MAG ........................................................ 57
:MATH:FFT:WINDow .................................................. 57
:MATH:FFT:POSition .................................................. 58
:MATH:FFT:SCALe ...................................................... 58
:MATH:FFT:HORizontal:SCALe .................................. 59
:MATH:FFT:HORizontal:POSition .............................. 59
:MATH:DEFine ............................................................ 59
:MATHVAR? ................................................................. 60
:MATHVAR:VAR<X> .................................................... 61
:MATH:ADVanced:POSition ....................................... 61
:MATH:ADVanced:SCALe ........................................... 61
:MATH:DISP
Description
Turns the math display on or off on the screen.
Syntax
:MATH:DISP {OFF|ON|?}
Parameter/ Return parameter
OFF
Math is not displayed on screen
ON
Math is displayed on screen
Example
:MATH:DISP OFF
Math is off.
Set
Query
Math Commands
54
COMMAND DETAILS
:MATH:TYPe
Description
Queries or sets the Math type to FFT, Advanced Math or to dual channel math operations
Syntax
:MATH:TYPe { DUAL | ADVanced | FFT | ? }
Related Commands
:MATH:DISP Parameter
DUAL
Dual channel operations
ADVanced
Advanced math operations
FFT
FFT operations
Return parameter
Returns the math type.
Example
:MATH:TYPe DUAL
Sets the Math type to dual channel math operation.
:MATH:DUAL:SOURce<X>
Description
Sets the dual math source for source 1 or 2.
Syntax
:MATH:DUAL:SOURce<X> { CH1 | CH2 | CH3 | CH4 | REF1 | REF2 | REF3 | REF4 | ? }
Parameter
<X>
Source number 1 or 2
CH1~4
Channel 1 to 4
REF1~4
Reference waveforms 1 to 4
Return parameter
Returns the source for the source 1 or 2.
Example
:MATH:DUAL:SOURce1 CH1
Sets source1 as channel 1.
:MATH:DUAL:OPERator
Description
Sets the math operator for dual math operations.
Set
Query
Set
Query
Set
Query
55
MDO-2000E Series Programming Manual
Syntax
:MATH:DUAL:OPERator {PLUS | MINUS | MUL| DIV|?}
Parameter
PLUS
+ operator
MINUS
- operator
MUL
operator
DIV
÷ operator
Return parameter
Returns operator type.
Example
:MATH:DUAL:OPERator PLUS
Sets the math operator as plus (+).
:MATH:DUAL:POSition
Description
Sets the vertical position of the displayed math result expressed by unit/division.
Syntax
:MATH:DUAL:POSition {<NRf> | ? }
Parameter
<NRf>
Vertical position
Depends on the vertical scale (Unit/Div)
Return parameter
<NR3>
Returns the vertical position.
Example
:MATH:DUAL:POSition 1.0E+0
Sets the vertical position to 1.00 unit/div.
:MATH:DUAL:SCALe
Description
Sets the vertical scale of the displayed math result.
Syntax
:MATH:DUAL:SCALe {<NRf> | ?}
Parameter
<NRf>
Vertical scale
Return parameter
<NR3>
Returns the scale.
Example
:MATH:DUAL:SCALe 2.0E-3
Sets the vertical scale to 2mV/2mA.
Set
Query
Set
Query
56
COMMAND DETAILS
:MATH:FFT:SOURce
Description
Sets and queries the FFT math source.
Syntax
:MATH:FFT:SOURce { CH1 | CH2 | CH3 | CH4 | REF1 | REF2 | REF3 | REF4 | ? }
Related commands
:MATH:ADVanced:EDIT:SOURce<X>
:MATH:ADVanced:EDIT:OPERator
Parameter
CH1~4
Channel 1 to 4
REF1~4
Reference waveform 1 to 4
Return parameter
Returns the FFT source.
Example
:MATH:FFT:SOURce CH1
Sets the FFT math source as channel 1.
:MATH:FFT:MAG
Description
Sets FFT vertical units as linear or decibels.
Syntax
:MATH:FFT:MAG {LINEAR | DB | ?}
Parameter
LINEAR
Linear units (Vrms)
DB
Logarithmic units (dB)
Return parameter
Returns the FFT vertical units.
Example
:MATH:FFT:MAG DB
Sets FFT vertical units to dB.
:MATH:FFT:WINDow
Description
Sets the windowing filter used for the FFT function.
Syntax
:MATH:FFT:WINDow {RECTangular|HAMming|HANning|BLAckman|?}
Parameter
RECTangular
Rectangular window
Set
Query
Set
Query
Set
Query
57
MDO-2000E Series Programming Manual
HAMming
Hamming window
HANning
Hanning window
BLAckman
Blackman window
Return parameter
Returns the FFT window.
Example
:MATH:FFT:WINDow HAMming
Sets the FFT window filter to hamming.
:MATH:FFT:POSition
Description
Sets the vertical position of the displayed FFT result.
Syntax
MATH:FFT:POSition { <NRf> | ? }
Parameter
<NRf>
Vertical position: -12e+0 to +12e+0 (12 units/division to +12 units/division.)
Return parameter
<NR3>
Returns the vertical position.
Example
:MATH:FFT:POSition -2e-1
Sets the FFT position to -0.2 divisions.
:MATH:FFT:SCALe
Description
Sets the vertical scale of the displayed FFT result.
Syntax
:MATH:FFT:SCALe {<NRf> | ?}
Parameter
<NRf>
Vertical scale:
Linear: 2e-3 to 1e+3 (2mV~1kV)
dB: 1e+0 to 2e+1 (1~20dB)
Return parameter
<NR3>
Returns vertical scale.
Example
:MATH:FFT:SCAle 1.0e+0
Sets the scale to 1dB.
Set
Query
Set
Query
58
COMMAND DETAILS
:MATH:FFT:HORizontal:SCALe
Description
Sets or queries the zoom scale for FFT math.
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
Description
Sets the horizontal position of the displayed FFT result.
Syntax
MATH:FFT:HORizontal:POSition { <NRf> | ? }
Parameter
<NRf>
Horizontal position: 0Hz ~ 999.9kHz
Return parameter
<NR3>
Returns the vertical position.
Example
:MATH:FFT:HORizontal:POSition 6.0e5
Sets the FFT horizontal position to 600kHz.
:MATH:DEFine
Description
Sets or queries the advanced math expression as a string.
Syntax
:MATH:DEFine {<string>| ?}
Related
:MATH:DISP :MATH:TYPe
Parameter
<string>
An expression enclosed in double quotes. Note, ensure parentheses are used correctly in the expression. The expression can contain the following parts:
Set
Query
Set
Query
Set
Query
59
MDO-2000E Series Programming Manual
Source
CH1~CH4, Ref1~Ref4
Function
Intg(, Diff(, log(, ln(, Exp(, Sqrt(, Abs(, Rad(, Deg(, sin(, cos(, tan(, asin(, acos(, atan(
Variable
VAR1, VAR2
Operator
+, -, *, /, (, ), !(, <, >, <=,
>=, ==, !=, ||, &&
Figure
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, ., E
Measure­ment
Pk-Pk(, Max(, Min(, Amp(, High(, Low(, Mean(, CycleMean(, RMS(, CycleRMS(, Area(, CycleArea(, ROVShoot(, FOVShoot(, Freq(, Period(, Rise(, Fall(, PosWidth(, NegWidth(, Dutycycle(, FRR(, FRF(, FFR(, FFF(, LRR(, LRF(, LFR(, LFF(, Phase(
Return parameter
Returns the expression as a string.
Example
:MATH:DISP ON :MATH:TYPe ADVanced MATH:DEFine "CH1-CH2"
Sets the math expression to CH1-CH2.
:MATHVAR?
Description
Returns the value of the VAR1 and VAR2 variables.
Syntax
MATHVAR?
Related Commands
MATHVAR:VAR<X> MATH:DEFine
Return parameter
<string>
VAR1 <NR3>; VAR2 <NR3>
Query
60
COMMAND DETAILS
Example
MATHVAR? VAR1 1.000000E+06; VAR2 1.0E+1
Returns the value of both variables.
:MATHVAR:VAR<X>
Description
Sets or returns the VAR1 or VAR2 variables.
Syntax
MATHVAR:VAR<x> {<NRf> | ?}
Related Commands
MATH:DEFine Parameter
<X>
1, 2 (VAR1 or VAR2)
<NRf>
Value of VAR1/VAR2
Return parameter
<NR3>
Returns the value of VAR1/VAR2
Example
:MATH:VAR1 6.0e4
Sets VAR1 to 60000.
:MATH:ADVanced:POSition
Description
Sets the vertical position of the advanced math result, expressed in unit/div.
Syntax
MATH:ADVanced:POSition { <NRf> | ? }
Parameter
<NRf>
Vertical position: -12e+0 to +12e+0 (12 units/division to +12 units/division.)
Return parameter
<NR3>
Returns the vertical position.
Example
:MATH:ADVanced:POSition 1.0e+0
Sets the position as 1.00 unit/div.
:MATH:ADVanced:SCALe
Description
Sets or queries the vertical scale the advanced math result.
Syntax
:MATH:ADVanced:SCALe {<NRf> | ?}
Set
Query
Set
Query
Set
Query
61
MDO-2000E Series 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.
62
COMMAND DETAILS
:CURSor:MODe ...........................................................64
:CURSor:SOURce .........................................................64
:CURSor:HUNI ............................................................65
:CURSor:HUSE ............................................................65
:CURSor:VUNI .............................................................66
:CURSor:VUSE .............................................................66
:CURSor:DDT ...............................................................66
:CURSor:H1Position ....................................................67
:CURSor:H2Position ....................................................67
:CURSor:HDELta .........................................................68
:CURSor:V1Position .....................................................68
:CURSor:V2Position .....................................................68
:CURSor:VDELta ..........................................................69
:CURSor:XY:RECTangular:X:POSition<X> ..................69
:CURSor:XY:RECTangular:X:DELta .............................69
:CURSor:XY:RECTangular:Y:POSition<X> ..................70
:CURSor:XY:RECTangular:Y:DELta .............................70
:CURSor:XY:POLar:RADIUS:POSition<X> ..................70
:CURSor:XY:POLar:RADIUS:DELta .............................71
:CURSor:XY:POLar:THETA:POSition<X> ...................71
:CURSor:XY:POLar:THETA:DELta ...............................71
:CURSor:XY:PRODuct:POSition<X> ...........................72
:CURSor:XY:PRODuct:DELta.......................................72
:CURSor:XY:RATio:POSition<X> .................................72
:CURSor:XY:RATio:DELta ............................................73
Cursor Commands
63
MDO-2000E Series Programming Manual
:CURSor:MODe
Description
Sets cursor mode to horizontal (H) or horizontal 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
OFF
Turns the cursors off.
H Turns the horizontal cursors on.
HV
Turns horizontal and vertical cursors on.
Return parameter
Returns the state of the cursors (H, HV, OFF).
Example
:CURSor:MODe OFF
Turns the cursors off.
:CURSor:SOURce
Description
Sets or queries the cursor source.
Syntax
:CURSor:SOURce {CH1 | CH2 |CH3 | CH4 | REF1 | REF2 | REF3 | REF4 | MATH | LOGic | BUS1 | ?}
Parameter
CH1~CH4
Channel 1 to 4
REF1~4
Reference waveform 1 to 4
MATH
Math source
LOGic
Logic source
BUS1
Bus source
Return parameter
Returns the cursor source.
Example
:CURSor:SOURce CH1
Turns the cursor source as channel 1.
Set
Query
Set
Query
64
COMMAND DETAILS
:CURSor:HUNI
Description
Sets or queries the units for the horizontal bar cursors.
Syntax
:CURSor:HUNI {SEConds | HERtz | DEGrees | PERcent | ?}
Related Commands
:CURSor:MODe Parameter
SEConds
Sets the cursor units to time in seconds.
HERtz
Sets the cursor units to frequency.
DEGrees
Sets the cursor units to degrees.
PERcent
Sets the cursor units to percent.
Return parameter
Returns the unit type.
Example
:CURSor:HUNI SEConds
Sets the units to time in seconds.
:CURSor:HUSE
Description
Sets the current cursor position as the phase or ratio reference for the Percent or Degrees (horizontal) cursors.
Note
This command can only be used when :CURSor:HUNI is set to DEGrees or PERcent.
Syntax
:CURSor:HUSE {CURRent}
Related Commands
:CURSor:MODe
:CURSor:HUNI
Parameter
CURRent
Uses the current horizontal position
Example
:CURSor:HUSE CURRent.
Set
Query
Set
65
MDO-2000E Series Programming Manual
:CURSor:VUNI
Description
Sets or queries the units for the vertical bar cursors.
Syntax
:CURSor:VUNI {BASE | PERcent | ?}
Related Commands
:CURSor:MODe
Parameter
BASE
Sets the vertical cursor units the same as the scope units (V or A).
PERcent
Sets the displayed units to percent.
Return parameter
Returns the unit type.
Example
:CURSor:VUNI BASE
Sets the units to the base units.
:CURSor:VUSE
Description
Sets the current cursor position as the ratio reference for the Percent (vertical) cursors.
Note
This command can only be used when :CURSor:VUNI is set to PERcent.
Syntax
:CURSor:VUSE {CURRent}
Related Commands
:CURSor:MODe
:CURSor:VUNI
Parameter
CURRent
Uses the current vertical position
Example
:CURSor:VUSE CURRent.
:CURSor:DDT
Description
Returns the deltaY/deltaT (dy/dT) readout. This function is only supported if the source channels are CH1~4, Ref1~4 or Math.
Syntax
:CURSor:DDT{?}
Set
Query
Set
Query
66
COMMAND DETAILS
Related Commands
:CURSor:MODe Return Parameter
<NR3>
Returns the readout in <NR3> format.
Example
:CURSor:DDT?
4.00E-05
:CURSor:H1Position
Description
Sets or returns the first horizontal cursor (H1) position.
Syntax
:CURSor:H1Position {<NRf>| ?}
Related Commands
:CURSor:H2Position Parameter
<NRf>
Horizontal position
Return parameter
Returns the cursor position.
Example
:CURSor:H1Position?
-1.34E-3
Returns the H1 cursor position as -1.34ms.
:CURSor:H2Position
Description
Sets or returns the second horizontal cursor (H2) position.
Syntax
:CURSor:H2Position {<NRf> | ?}
Related Commands
:CURSor:H1Position Parameter
<NRf>
Horizontal Position
Return parameter
Returns the cursor position.
Example
:CURSor:H2Position 1.5E-3
Sets the H2 cursor position to 1.5ms.
Set
Query
Set
Query
67
MDO-2000E Series Programming Manual
:CURSor:HDELta
Description
Returns the delta of H1 and H2.
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
Description
Sets the first vertical cursor (V1) position.
Syntax
:CURSor:V1Position {<NRf>| ?}
Parameter
<NRf>
Vertical position. Depends on the vertical scale.
Return parameter
<NR3>
Returns the cursor position.
Example
:CURSor:V1Position 1.6E -1
Sets the V1 cursor position to 160mA.
:CURSor:V2Position
Description
Sets the first vertical cursor (V2) position.
Syntax
:CURSor:V2Position {<NRf> | ?}
Parameter
<NRf>
Vertical position. Depends on the vertical scale.
Return parameter
<NR3>
Returns the cursor position.
Example
:CURSor:V2Position 1.1E-1
Sets the V2 cursor position to 110mA.
Query
Set
Query
Set
Query
68
COMMAND DETAILS
:CURSor:VDELta
Description
Returns the delta of V1 and V2.
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>
Description
Sets or queries the horizontal position in XY mode for the X rectangular coordinates for cursor 1 or 2.
Syntax
:CURSor:XY:RECTangular:X:POSition<X> {<NRf>|?}
Parameter
<X>
Cursor 1, 2
<NRf>
Horizontal position co-ordinates
Return parameter
<NR3>
Returns the cursor position.
Example
:CURSor:XY:RECTangular:X:POSition1 4.0E-3
Sets the X-coordinate cursor 1 position to 40mV/mV.
:CURSor:XY:RECTangular:X:DELta
Description
Returns the delta value of cursor 1 and 2 on the X coordinate.
Syntax
:CURSor:XY:RECTangular:X:DELta{?}
Return Parameter
<NR3>
Returns the delta value of cursor 1 and 2 as <NR3>.
Query
Set
Query
Query
69
MDO-2000E Series Programming Manual
Example
:CURSor:XY:RECTangular:X:DELta?
80.0E-3
Returns the horizontal delta as 80mV.
:CURSor:XY:RECTangular:Y:POSition<X>
Description
Sets or queries the vertical position in XY mode for the Y rectangular coordinates for cursor 1 or 2.
Syntax
:CURSor:XY:RECTangular:Y:POSition<X> {<NRf>|?}
Parameter
<X>
Cursor 1, 2
<NRf>
Vertical position co-ordinates
Return parameter
<NR3>
Returns the cursor position.
Example
:CURSor:XY:RECTangular:Y:POSition1 4.0E-3
Sets the Y-coordinate cursor 1 position to 40mV/mV.
:CURSor:XY:RECTangular:Y:DELta
Description
Returns the delta value of cursor 1 and 2 on the Y coordinate.
Syntax
:CURSor:XY:RECTangular:Y:DELta{?}
Return Parameter
<NR3>
Returns the delta value of cursor 1 and 2 as <NR3>.
Example
:CURSor:XY:RECTangular:Y:DELta?
80.0E-3
Returns the horizontal delta as 80mV.
:CURSor:XY:POLar:RADIUS:POSition<X>
Description
Queries the polar radius position for the specified cursor in XY mode, where X can be either cursor 1 or 2.
Set
Query
Query
Query
70
COMMAND DETAILS
Syntax
:CURSor:XY:POLar:RADIUS:POSition<X>{?}
Parameter
<X>
1, 2 (cursor 1, cursor 2)
Return Parameter
<NR3>
Returns the polar radius position.
Example
:CURSor:XY:POLar:RADIUS:POSition1?
80.0E-3
Returns the polar radius position as 80.0mV.
:CURSor:XY:POLar:RADIUS:DELta
Description
Returns the radius delta value of cursor 1 and 2.
Syntax
:CURSor:XY:POLar:RADIUS:DELta{?}
Return Parameter
<NR3>
Returns the radius delta.
Example
:CURSor:XY:POLar:RADIUS:DELta?
31.4E-3
Returns the radius delta as 31.4mV.
:CURSor:XY:POLar:THETA:POSition<X>
Description
Queries the polar angle for the specified cursor in XY mode, where X can be either 1 or 2.
Syntax
:CURSor:XY:POLar:THETA:POSition<X>{?}
Parameter
<X>
1, 2 (Cursor 1, Cursor 2)
Return parameter
<NR3>
Returns the polar angle.
Example
:CURSor:XY:POLAR:RADIUS:POSition1?
8.91E+1
Returns the polar angle for cursor1 as 89.1˚.
:CURSor:XY:POLar:THETA:DELta
Description
Queries the polar angle delta between cursor1 and cursor2.
Query
Query
Query
71
MDO-2000E Series Programming Manual
Syntax
:CURSor:XY:POLar:THETA:DELta{?}
Return parameter
<NR3>
Returns the theta delta between cursor1 and cursor2.
Example
:CURSor:XY:POLar:THETA:DELta?
9.10E+0
Returns the delta as 9.1˚.
:CURSor:XY:PRODuct:POSition<X>
Description
Queries the product in XY mode for the specified cursor, where x can be either 1 or 2.
Syntax
:CURSor:XY:PRODuct:POSition<X>{?}
Parameter
<X>
1, 2 (Cursor 1, Cursor 2)
Return parameter
<NR3>
Returns the product value of the Cursor1 or Cursor2.
Example
:CURSor:XY:PRODuct:POSition1?
9.44E-5
Returns the product of cursor1 as 94.4uVV.
:CURSor:XY:PRODuct:DELta
Description
Queries the product delta in XY mode.
Syntax
:CURSor:XY:PRODuct:DELta{?}
Return parameter
<NR3>
Returns the product delta.
Example
:CURSor:XY:PRODuct:DELta?
1.22E-5
Returns the product delta as 12.2uVV.
:CURSor:XY:RATio:POSition<X>
Description
Queries the ratio in XY mode for the specified cursor, where x can be either cursor 1 or 2.
Query
Query
Query
72
COMMAND DETAILS
Syntax
:CURSor:XY:RATio:POSition<X>{?}
Parameter
<X>
1, 2 (Cursor 1, Cursor 2)
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
Description
Queries the ratio delta in XY mode.
Syntax
:CURSor:XY:RATio:DELta{?}
Return parameter
<NR3>
Returns the ratio delta.
Example
:CURSor:XY:RATio:DELta?
5.39E+1
Returns the ratio delta as 53.9V/V.
:DISPlay:INTensity:WAVEform ....................................73
:DISPlay:INTensity:GRATicule.....................................74
:DISPlay:INTensity:BACKLight ....................................74
:DISPlay:INTensity:BACKLight:AUTODim:ENAble ....74
:DISplay:INTENSITy:BACKLight:AUTODim:TIMe .....75
:DISPlay:PERSistence ..................................................75
:DISPlay:GRATicule .....................................................76
:DISPlay:WAVEform .....................................................76
:DISPlay:OUTPut .........................................................76
:DISPlay:INTensity:WAVEform
Description
Sets or queries the waveform intensity level.
Query
Set
Query
Display Commands
73
MDO-2000E Series Programming Manual
Syntax
:DISPlay:INTensity:WAVEform {<NRf> | ?}
Parameter
<NRf>
0.0E+0 to 1.0E+2 (0% to 100%)
Return Parameter
<NR3>
Returns the intensity.
Example
:DISPlay:INTensity:WAVEform 5.0E+1
Sets the waveform intensity to 50%.
:DISPlay:INTensity:GRATicule
Description
Sets or queries the graticule intensity level.
Syntax
:DISPlay:INTensity:GRATicule {<NRf> | ?}
Parameter
<NRf>
1.0E+0 to 1.0E+2 (10% to 100%)
Return Parameter
<NR3>
Returns the graticule intensity.
Example
:DISPlay:INTensity:GRATicule 5.0E+1
Sets the graticule intensity to 50%.
:DISPlay:INTensity:BACKLight
Description
Sets or queries the intensity of the backlight 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
Description
Sets or queries the display auto-dim function.
Syntax
:DISPlay:INTensity:BACKLight:AUTODim:ENAble {OFF | ON | ?}
Set
Query
Set
Query
Set
Query
74
COMMAND DETAILS
Parameter/ Return parameter
OFF
Turn auto-dim on.
ON
Turn auto-dim off.
Example
:DISPlay:INTensity:BACKLight:AUTODim:ENAble ON
Turns the auto-dim function on.
:DISplay:INTENSITy:BACKLight:AUTODim :TIMe
Description
Sets or queries the display auto-dim time.
Syntax
:DISPlay:INTensity:BACKLight:AUTODim:TIMe { <NR1> | ? }
Parameter/ Return parameter
<NR1>
1 ~ 180 minutes. Time in minutes.
Example
:DISPlay:INTensity:BACKLight:AUTODim:TIMe 10
Sets the auto-dim time to 10 minutes.
:DISPlay:PERSistence
Description
Sets or queries the waveform persistence level.
Syntax
:DISPlay:PERSistence { INFInite | OFF | <NRf> | ? }
Parameter
<NRf>
1.6E-2 ~ 4.0E+0. (16mS to 10S) Range(1.6E-2, 30E-3, 60E-3, 120E-2, 240E­3, 500E-3, 750E-3, 1, 1.5,2,...,9.5,10
INFInite
Infinite persistence
OFF
No persistence
Return Parameter
<NR3>
Returns the persistence time.
INFInite
Infinite persistence
OFF
No persistence
Example
:DISPlay:PERSistence 2.0E+0
Sets the persistence to 2 seconds.
Set
Query
Set
Query
75
MDO-2000E Series Programming Manual
:DISPlay:GRATicule
Description
Sets or queries graticule display type.
Syntax
:DISPlay:GRATicule {FULL | GRID|CROSs | FRAMe | ?}
Parameter
FULL
CROSs
FRAMe
GRID
Return parameter
Returns the graticule type.
Example
:DISPlay:GRATicule FULL
Sets the graticule to .
:DISPlay:WAVEform
Description
Sets or queries whether the waveforms are drawn as vectors or dots.
Syntax
:DISPlay:WAVEform {VECTor | DOT | ?}
Parameter
VECTor
Vectors
DOT
Dots
Return parameter
Returns VECTOR or DOT.
Example
:DISPlay:WAVEform VECTor
Sets the waveform to vectors.
:DISPlay:OUTPut
Description
Returns the screen image as a 16 bit RGB run length encoded image.
Syntax
:DISPlay:OUTPut{?}
Set
Query
Set
Query
Query
76
COMMAND DETAILS
Return parameter
Format: header+data+LF
For example assuming the image data size is 60072 bytes then the following would be returned:
#560072<[count] [color] [count] [color]….. ><LF>
Where #560072 is the header, each [count] and [color] data are 2 bytes and <LF> is a line feed character.
77
MDO-2000E Series Programming Manual
:HARDcopy:START ...................................................... 78
:HARDcopy:MODe ...................................................... 78
:HARDcopy:PRINTINKSaver ....................................... 79
:HARDcopy:SAVEINKSaver ......................................... 79
:HARDcopy:SAVEFORMat .......................................... 79
:HARDcopy:ASSIGN .................................................... 80
:HARDcopy:START
Description
Executing the HARDcopy:START command is the equivalent of pressing the Hardcopy key on the front panel.
Syntax
:HARDcopy:START
Related Commands
:HARDcopy:MODe
:HARDcopy:PRINTINKSaver
:HARDcopy:SAVEINKSaver
:HARDcopy:SAVEFORMat
:HARDcopy:ASSIGN
:HARDcopy:MODe
Description
Sets or queries whether hardcopy is set to print or save.
Syntax
:HARDcopy:MODe { PRINT | SAVE | ? }
Related Commands
:HARDcopy:START Parameter
PRINT
Print mode
SAVE
Save mode
Return parameter
Returns the mode.(PRINT/SAVE)
Set
Set
Query
Hardcopy Commands
78
COMMAND DETAILS
Example
:HARDcopy:MODe PRINT
Sets hardcopy to print.
:HARDcopy:PRINTINKSaver
Description
Sets Inksaver On or Off for printing.
Syntax
:HARDcopy:PRINTINKSaver { OFF | ON | ? }
Related Commands
:HARDcopy:START :HARDcopy:MODe
Parameter
ON
Inksaver ON
OFF
Inksaver OFF
Return parameter
Returns the print Ink Saver mode.(ON/OFF)
Example
:HARDcopy:PRINTINKSaver ON
Sets Ink Saver to ON for printing.
:HARDcopy:SAVEINKSaver
Description
Sets Inksaver On or Off for saving screen images.
Syntax
:HARDcopy:SAVEINKSaver { OFF | ON | ? }
Related Commands
:HARDcopy:START :HARDcopy:MODe
Parameter
ON
Inksaver ON
OFF
Inksaver OFF
Return parameter
Returns the screen image Ink Saver mode (ON/OFF).
Example
:HARDcopy:SAVEINKSaver ON
Sets Inksaver to ON for saving screen images.
:HARDcopy:SAVEFORMat
Description
Sets or queries the image save file type.
Syntax
:HARDcopy:SAVEFORMat { PNG | BMP | ? }
Set
Query
Set
Query
Set
Query
79
MDO-2000E Series Programming Manual
Related Commands
:HARDcopy:START :HARDcopy:MODe
Parameter
PNG
PNG file format
BMP
BMP file format
Return parameter
Returns the image file format (PNG/BMP).
Example
:HARDcopy:SAVEFORMat PNG
Sets the file format to PNG.
:HARDcopy:ASSIGN
Description
Sets or queries what file type the hardcopy key has been assigned to save.
Syntax
:HARDcopy:ASSIGN {IMAGe | WAVEform | SETUp | ALL | ?}
Related Commands
:HARDcopy:START :HARDcopy:MODe
Parameter
IMAGe
Save image files.
WAVEform
Save waveforms.
SETUp
Save the panel setup.
ALL
Save All (image, waveform,setup)
Return parameter
Returns the file type. (IMAGE/WAVEFORM/SETUP/ALL)
Example
:HARDcopy:ASSIGN IMAGE.
Set the hardcopy key to save image files.
Set
Query
80
COMMAND DETAILS
:MEASure:GATing ........................................................82
:MEASure:SOURce ......................................................82
:MEASure:METHod .....................................................83
:MEASUrement:REFLevel:PERCent:HIGH..................83
:MEASUrement:REFLevel:PERCent:LOW ...................84
:MEASUrement:REFLevel:PERCent:MID ....................84
:MEASUrement:REFLevel:PERCent:MID2 ..................84
:MEASure:FALL ............................................................85
:MEASure:FOVShoot ...................................................85
:MEASure:FPReshoot ..................................................86
:MEASure:FREQuency .................................................86
:MEASure:NWIDth ......................................................87
:MEASure:PDUTy .........................................................87
:MEASure:PERiod ........................................................88
:MEASure:PWIDth .......................................................88
:MEASure:RISe .............................................................89
:MEASure:ROVShoot ...................................................89
:MEASure:RPReshoot ..................................................90
:MEASure:PPULSE .......................................................91
:MEASure:NPULSE ......................................................91
:MEASure:PEDGE ........................................................92
:MEASure:NEDGE .......................................................92
:MEASure:AMPlitude ...................................................93
:MEASure:MEAN .........................................................93
:MEASure:CMEan ........................................................94
:MEASure:HIGH ..........................................................95
:MEASure:LOW ............................................................95
:MEASure:MAX ............................................................96
:MEASure:MIN ............................................................96
:MEASure:PK2PK .........................................................97
:MEASure:RMS ............................................................97
:MEASure:CRMS ..........................................................98
Measure Commands
81
MDO-2000E Series Programming Manual
:MEASure:AREa ........................................................... 99
:MEASure:CARea ......................................................... 99
:MEASure:FRRDelay .................................................. 100
:MEASure:FRFDelay .................................................. 100
:MEASure:FFRDelay .................................................. 101
:MEASure:FFFDelay ................................................... 102
:MEASure:LRRDelay .................................................. 102
:MEASure:LRFDelay................................................... 103
:MEASure:LFRDelay................................................... 103
:MEASure:LFFDelay ................................................... 104
:MEASure:PHAse ....................................................... 105
:MEASure:PFLI ........................................................... 105
:MEASure:FLI ............................................................. 106
:MEASure:GATing
Description
Sets or queries the measurement gating.
Syntax
:MEASure:GATing { OFF | SCREen | CURSor | ? }
Parameter
OFF
Full record
SCREen
Gating set to screen width
CURSor
Gating between cursors
Return parameter
Returns the gating. (OFF, SCREEN, CURSOR)
Example
:MEASure:GATing OFF
Turns gating off (full record).
:MEASure:SOURce
Description
Sets or queries the measurement source for source1 or source2.
Syntax
:MEASure:SOURce<X> { CH1 | CH2 | CH3 | CH4 | MATH | ? }
Parameter
<X>
Source1 or source2
Set
Query
Set
Query
82
COMMAND DETAILS
CH1~CH4
Channel 1 to 4
MATH
Math
Return parameter
Returns the source (CH1, CH2, CH3, CH4, MATH)
Example
:MEASure:SOURce1 CH1
Sets source1 to channel 1.
:MEASure:METHod
Description
Sets or queries the method used to determine the High-Low measurement values.
Syntax
:MEASure:METHod { AUTo | HIStogram | MINMax | ? }
Parameter
AUTo
Set to auto.
HIStogram
Set to the Histogram method.
MINMax
Set to the Min-Max method.
Return parameter
Returns the measurement method (AUTO, HISTOGRAM, MINMAX)
Example
:MEASure:METHod: AUTo
Set the measurement method to auto.
:MEASUrement:REFLevel:PERCent:HIGH
Description
Sets or queries the high reference level as a percentage.
Syntax
:MEASUrement:REFLevel:PERCent:HIGH {<NRf> | ?}
Parameter
<NRf>
0 - 100%
Return parameter
Returns the high reference level
Example
:MEASUrement:REFLevel:PERCent:HIGH 50.1
Set the high reference level to 50.1%.
Set
Query
Set
Query
83
MDO-2000E Series Programming Manual
:MEASUrement:REFLevel:PERCent:LOW
Description
Sets or queries the low reference level as a 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
Description
Sets or queries the first mid reference level as a percentage.
Syntax
:MEASUrement:REFLevel:PERCent:MID {<NRf> | ?}
Parameter
<NRf>
0 - 100%
Return parameter
Returns the mid reference level.
Example
:MEASUrement:REFLevel:PERCent:MID 50
Set the mid reference level to 50%.
:MEASUrement:REFLevel:PERCent:MID2
Description
Sets or queries the second mid reference level as a percentage.
Syntax
:MEASUrement:REFLevel:PERCent:MID2 {<NRf> | ?}
Parameter
<NRf>
0 - 100%
Return parameter
Returns the mid reference level of the second source.
Example
:MEASUrement:REFLevel:PERCent:MID2 50
Set the mid reference level to 50%.
Set
Query
Set
Query
Set
Query
84
COMMAND DETAILS
:MEASure:FALL
Description
Returns the fall time measurement result.
Syntax
:MEASure:FALL{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:FALL?
Selects Channel 1 as the source, and then measures the fall time.
:MEASure:FOVShoot
Description
Returns the fall overshoot amplitude.
Syntax
:MEASure:FOVShoot{?}
Related Commands
:MEASure:SOURce<X>
Return parameter
<NR3>
Returns the fall overshoot as a percentage
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Query
Query
85
MDO-2000E Series Programming Manual
Example
:MEASure:SOURce1 CH1
:MEASure:FOVShoot?
1.27E+0
Selects Channel 1, and then measures the fall overshoot.
:MEASure:FPReshoot
Description
Returns fall preshoot amplitude.
Syntax
:MEASure:FPReshoot{?}
Related Commands
:MEASure:SOURce<X> 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.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:FPReshoot?
Selects Channel 1, and then measures the fall preshoot.
:MEASure:FREQuency
Description
Returns the frequency value.
Syntax
:MEASure:FREQuency{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the frequency in Hz.
Chan Off
Indicates the source channel is not activated.
Query
Query
86
COMMAND DETAILS
Note
Before using this command, select the 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
Description
Returns the first negative pulse width timing.
Syntax
:MEASure:NWIDth{?}
Related Commands
:MEASure:SOURce<X>
Return parameter
<NR3>
Returns the negative pulse width in seconds.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:NWIDth?
4.995E-04
Selects Channel 1, and then measures the negative pulse width.
:MEASure:PDUTy
Description
Returns the positive duty cycle ratio as percentage.
Syntax
:MEASure:PDUTy{?}
Related commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the positive duty ratio.
Query
Query
87
MDO-2000E Series Programming Manual
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the 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
Description
Returns the period.
Syntax
:MEASure:PERiod{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the period.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:PERiod?
1.0E-3
Selects Channel 1, and then measures the period.
:MEASure:PWIDth
Description
Returns the first positive pulse width.
Syntax
:MEASure:PWIDth{?}
Related Commands
:MEASure:SOURce<X>
Query
Query
88
COMMAND DETAILS
Return parameter
<NR3>
Returns the positive pulse width.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the 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.
:MEASure:RISe
Description
Returns the first pulse rise time.
Syntax
:MEASure:RISe{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the rise time.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:RISe?
8.5E-6
Selects Channel 1, and then measures the rise time.
:MEASure:ROVShoot
Description
Returns the rising overshoot over the entire waveform in percentage.
Syntax
:MEASure:ROVShoot{?}
Query
Query
89
MDO-2000E Series Programming Manual
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the overshoot.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:ROVShoot?
5.00E+00
Selects Channel 1, and then measures the rise overshoot.
:MEASure:RPReshoot
Description
Returns rising preshoot over the entire waveform in percentage.
Syntax
:MEASure:RPReshoot{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the rising preshoot.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:RPReshoot?
2.13E-2
Selects Channel 1, and then measures the rise preshoot.
Query
90
COMMAND DETAILS
:MEASure:PPULSE
Description
Returns the number of positive pulses.
Syntax
:MEASure:PPULSE{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the number of positive pulses.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:PPULSE?
6.000E+00
Selects Channel 1, and then measures the number of positive pulses.
:MEASure:NPULSE
Description
Returns the number of negative pulses.
Syntax
:MEASure:NPULSE{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the number of negative pulses.
Chan Off
Indicates the source channel is not activated.
Query
Query
91
MDO-2000E Series Programming Manual
Note
Before using this command, select the 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
Description
Returns the number of positive edges.
Syntax
:MEASure:PEDGE{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the number of positive edges.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:PEDGE?
1.100E+01
Selects Channel 1, and then measures the number of positive edges.
:MEASure:NEDGE
Description
Returns the number of negative edges.
Syntax
:MEASure:NEDGE{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the number of negative edges.
Query
Query
92
COMMAND DETAILS
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the 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.
:MEASure:AMPlitude
Description
Returns the amplitude difference between the Vhigh-Vlow.
Syntax
:MEASure:AMPlitude{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the amplitude.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:AMPlitude?
3.76E-3
Selects Channel 1, and then measures the amplitude.
:MEASure:MEAN
Description
Returns the mean voltage/current of one or more full periods.
Syntax
:MEASure:MEAN{?}
Query
Query
93
MDO-2000E Series Programming Manual
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the mean.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:MEAN?
1.82E-3
Selects Channel 1, and then measures the mean value.
:MEASure:CMEan
Description
Returns the mean voltage/current of one full period.
Syntax
:MEASure:CMEan{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the cyclic mean.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:CMEan?
9.480E-01
Selects Channel 1, and then measures the mean value of the first period.
Query
94
COMMAND DETAILS
:MEASure:HIGH
Description
Returns the global high voltage/current.
Syntax
:MEASure:HIGH{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the high value.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:HIGH?
3.68E-3
Selects Channel 1, and then measures the high voltage/current.
:MEASure:LOW
Description
Returns the global low voltage/current.
Syntax
:MEASure:LOW{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the global low value.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Query
Query
95
MDO-2000E Series Programming Manual
Example
:MEASure:SOURce1 CH1
:MEASure:LOW?
1.00E-0
Selects Channel 1, and then measures the low current/voltage.
:MEASure:MAX
Description
Returns the maximum amplitude.
Syntax
:MEASure:MAX{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the maximum amplitude.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:MAX?
1.90E-3
Selects Channel 1, and then measures the maximum amplitude.
:MEASure:MIN
Description
Returns the minimum amplitude.
Syntax
:MEASure:MIN{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the minimum amplitude.
Chan Off
Indicates the source channel is not activated.
Query
Query
96
COMMAND DETAILS
Note
Before using this command, select the 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
Description
Returns the peak-to-peak amplitude (difference between maximum and minimum amplitude).
Syntax
:MEASure:PK2Pk{?}
Related Commands
:MEASure:SOURce<X>
Return parameter
<NR3>
Returns the voltage or current peak to peak measurement.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:PK2Pk?
2.04E-1
Selects Channel 1, and then measures the peak-to­peak amplitude.
:MEASure:RMS
Description
Returns the root-mean-square voltage/current of one or more full periods.
Syntax
:MEASure:RMS{?}
Query
Query
97
MDO-2000E Series Programming Manual
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the RMS value.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the 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.
:MEASure:CRMS
Description
Returns the root-mean-square voltage/current of one full periods.
Syntax
:MEASure:CRMS{?}
Related Commands
:MEASure:SOURce<X> Return parameter
<NR3>
Returns the CRMS value.
Chan Off
Indicates the source channel is not activated.
Note
Before using this command, select the measurement channel. See the example below.
Example
:MEASure:SOURce1 CH1
:MEASure:CRMS?
1.31E-3
Selects Channel 1, and then measures the CRMS voltage/current.
Query
98
Loading...