SDS1000DL+ - CML+ Programming Guide
SDS1000DL+ - CML+ Programming Guide
Programming Guide
Digital Oscilloscopes
PG01-E02B
1
Digital Oscilloscope Series
Version Declaration
This chapter declares the modifications of command in the most recent release of
the programming guide version.
For comparison with the previous programming guide, differences have been
listed in “Obsolete Commands for Old Models”.
2
Digital Oscilloscope Series
Content
PROGRAMMING OVERVIEW ........................................................................ 6
3
Digital Oscilloscope Series
HISTORY Commands .................................................................................. 88
MATH Commands ........................................................................................ 93
MEASURE Commands............................................................................... 110
PASS/FAIL Commands .............................................................................. 124
PRINT Commands ...................................................................................... 136
RECALL Commands .................................................................................. 138
REFERENCE Commands ........................................................................... 142
SAVE Commands ....................................................................................... 152
STATUS Commands................................................................................... 159
SYSTEM Commands .................................................................................. 162
TIMEBASE Commands .............................................................................. 167
TRIGGER Commands ................................................................................ 175
SERIAL TRIGGER Commands.................................................................. 192
WAVEFORM Commands .......................................................................... 243
WGEN Commands...................................................................................... 257
Obsolete Commands for Old Models .......................................................... 264
PROGRAMMING EXAMPLES .................................................................... 289
4
Digital Oscilloscope Series
Common Command Examples ................................................................... 316
Read Waveform Data (WF) Example ..................................................... 316
Read Waveform Data of Digital Example .............................................. 317
Screen Dump (SCDP) Example .............................................................. 318
INDEX ........................................................................................................... 319
5
Digital Oscilloscope Series
Programming Overview
This chapter introduces how to build communication between the instrument and
the PC. It also introduces how to configure a system for remote instrument control.
By using USB and LAN interfaces, in combination with NI-VISA and
programming languages, users can remotely control the instruments. Through
LAN interface, VXI-11, Sockets and Telnet protocols can be used to
communicate with the instruments.
Establishing Communications
Install NI-VISA
Before programming, you need to install the National Instruments NI-VISA
library, which you can download from the National Instruments web site.
Currently, NI-VISA is packaged in two versions: a full version and a Run-Time
Engine version. The full version includes the NI device drivers and a tool named
NI MAX which is a user interface to control and test remotely connected devices.
The Run-Time Engine is recommended, as it is a much smaller download than
the full version and includes the necessary tools for basic communication to
instruments.
For example, you can get the NI-VISA 5.4 full version from:
http://www.ni.com/download/ni-visa-5.4/4230/en/.
You also can download NI-VISA Run-Time Engine 5.4 to your PC and install it
as the default selection. Its installation process is similar with the full version.
After you downloaded the file, follow these steps to install NI-VISA (The full
version of NI-VISA 5.4 is used in this example. Newer versions are likely, and
should be compatible with SIGLENT instrumentation. Download the latest
version available for the operating system being used by the controlling
computer):
6
Digital Oscilloscope Series
b. Click Unzip, the installation process will automatically launch after unzipping
files. If your computer needs to install .NET Framework 4, it may auto start.
c. The NI-VISA installing dialog is shown above. Click Next to start the
installation process.
7
Digital Oscilloscope Series
e. Click Next twice, in the License Agreement dialog, select the “I accept the
above 2 License Agreement(s).”,and click Next, dialog shown as below:
8
Digital Oscilloscope Series
9
Digital Oscilloscope Series
Connect the Instrument
Depending on the specific model, your oscilloscope may be able to communicate
with a PC through the USB or LAN interface.
Connect the instrument and the USB Host interface of the PC using a USB cable.
Assuming your PC is already turned on, turn on your oscilloscope, and then the
PC will display the “Device Setup” screen as it automatically installs the device
driver as shown below.
Wait for the installation to complete and then proceed to the next step.
10
Digital Oscilloscope Series
Remote Control
User-defined Programming
Users can use SCPI commands via a computer to program and control the digital
oscilloscope. For details, refer to the introductions in "Programming Examples".
1. On your PC, click Start > All Programs > Accessories > Command Prompt.
3. Press the Enter key. The Telnet display screen will be displayed.
11
Digital Oscilloscope Series
5. At the SCPI> prompt, input the SCPI commands such as *IDN? to return the
company name, model number, serial number, and firmware version number.
12
Digital Oscilloscope Series
7. Type quit at the prompt or close the Telnet window to close the connection
to the instrument and exit Telnet.
13
Digital Oscilloscope Series
The description for each command or query, with syntax and other information,
begins on a new page. The name (header) is given in both long and short form at
the top of the page, and the subject is indicated as a command or query or both.
The commands are given in long format for the “COMMAND SYNTAX” and
“QUERY SYNTAX” sections and they are used in a short form for the
“EXAMPLE”.
Queries perform actions such as obtaining information, and are recognized by the
question mark (?) following the header.
Description
In the description, a brief explanation of the function performed is given. This is
followed by a presentation of the formal syntax, with the header given in upper
case characters and the short form derived from it. Where applicable, the syntax
of the query is given with the format of its response.
Usage
The commands and queries listed here can be used for SIGLENTs Digital
Oscilloscope Series as shown below. Models are arranged according to their
initial release dates.
14
Digital Oscilloscope Series
SDS2000/2000X SPO model
SDS1000X/1000X+ SPO model
SDS1000X-E/X-C SPO model
Command Notation
The following notations are used in the commands:
< > Angular brackets enclose words that are used as placeholders, of which
there are two types: the header path and the data parameter of a command.
:= A colon followed by an equals sign separates a placeholder from the
description of the type and range of values that may be used in a command
instead of the placeholder.
{ } Braces enclose a list of choices, one of which one must be made.
[] Square brackets enclose optional items.
… An ellipsis indicates that the items both to its left and right may be repeated
for a number of times.
As an example, consider the syntax notation for the command to set the vertical
input sensitivity:
<channel>:VOLT_DIV <v_gain>
<channel>:={C1,C2,C3,C4}
<v_gain>:= 2 mV to 10 V
The first line shows the formal appearance of the command, with <channel>
denoting the placeholder for the header path and <v_gain> the placeholder for the
data parameter specifying the desired vertical gain value. The second line
indicates that one of four channels must be chosen for the header path. And the
third explains that the actual vertical gain can be set to any value between 2 mV
and 10 V.
15
Digital Oscilloscope Series
16
Digital Oscilloscope Series
17
Digital Oscilloscope Series
18
Digital Oscilloscope Series
Response message:
Siglent Technologies,SDS1204X-
E,SDS1EBAC0L0098,7.6.1.15
19
Digital Oscilloscope Series
20
Digital Oscilloscope Series
21
Digital Oscilloscope Series
COMM_HEADER Commands
CHDR
22
Digital Oscilloscope Series
Note:
Default is the SHORT response format.
23
Digital Oscilloscope Series
ACQUIRE Commands
The ACQUIRE subsystem controls the way in which waveforms are acquired.
These commands set the parameters for acquiring and storing data.
ARM
STOP
ACQW
AVGA
MSIZ
SAST?
SARA?
SANU?
SXSA
XYDS
24
Digital Oscilloscope Series
Note:
INR bit 13 (8192) = Trigger is ready.
INR bit 0 (1) = New Signal Acquired.
Query message:
INR?
Response message:
INR 8193(trigger ready)
Query message:
INR?
Response message:
INR 0
Command message:
ARM
Query message:
INR?
Response message:
INR 8193
25
Digital Oscilloscope Series
26
Digital Oscilloscope Series
ACQUIRE STOP
Command
27
Digital Oscilloscope Series
<mode>:={SAMPLING,PEAK_DETECT,AVE
RAGE,HIGH_RES}
<time>:={4,16,32,64,128,256,512,…}
Note:
• The [HIGH_RES] option is valid for SPO
models. See models on page 14.
• <time>:={4,16,32,64,128,256,512,…} when
<mode> = AVERAGE.
28
Digital Oscilloscope Series
ACQW AVERAGE,16
29
Digital Oscilloscope Series
<time>:= {4,16,32,64,128,256,…}
Note:
Options of <time> vary from models. See the data
sheet or the acquire menu of the oscilloscope for
details.
30
Digital Oscilloscope Series
Note:
Options of <size> vary from models. See the data
sheet or the acquire menu of the oscilloscope for
details.
31
Digital Oscilloscope Series
Response message:
SAST Trig'd
32
Digital Oscilloscope Series
Response message:
SARA 5.00E+05Sa/s
Response message:
DI:SARA 5.00E+05Sa/s
Note:
The table shows the availability of “DI:SARA?” in each digital oscilloscope series.
Model Valid?
33
Digital Oscilloscope Series
SDS2000X no
SDS1000X no
SDS1000X-E yes
34
Digital Oscilloscope Series
<channel>:={C1,C2,C3,C4}
Response message:
SANU 7.00E+05pts
35
Digital Oscilloscope Series
<state>:={ON,OFF}
•ON — sine interpolation.
•OFF — linear interpolation.
36
Digital Oscilloscope Series
<state>:={ON,OFF}
37
Digital Oscilloscope Series
AUTOSET Commands
The AUTOSET subsystem commands control the function of automatic
waveform setting. The oscilloscope will automatically adjust the vertical position,
the horizontal time base and the trigger mode according to the input signal to
make the waveform display to the best state.
ASET
38
Digital Oscilloscope Series
39
Digital Oscilloscope Series
CHANNEL Commands
The CHANNEL subsystem commands control the analog channels. Channels are
independently programmable for offset, probe, coupling, bandwidth limit,
inversion, and more functions. The channel index (1, 2, 3, or 4) specified in the
command selects the analog channel that is affected by the command.
ATTN
BWL
CPL
OFST
SKEW
TRA
UNIT
VDIV
INVS
40
Digital Oscilloscope Series
<channel>:={C1,C2,C3,C4}
<attenuation>:={0.1,0.2,0.5,1,2,5,10,20,50,100,2
00,500,1000,2000,5000,10000}
Command message:
C1:ATTN 100
41
Digital Oscilloscope Series
<channel>:={C1,C2,C3,C4}
<mode>:={ON,OFF}
42
Digital Oscilloscope Series
<channel>:={C1,C2,C3,C4}
<coupling>:={A1M,A50,D1M,D50,GND}
•A — alternating current.
•D — direct current.
•1M — 1MΩ input impedance.
•50 — 50Ω input impedance.
Note:
Options of <coupling> vary from models. See the
data sheet or the channel menu of oscilloscope for
details.
43
Digital Oscilloscope Series
<channel>:={C1,C2,C3,C4}
Note:
•If there is no unit (V/mV/uV) added, it defaults
to volts (V).
•If you set the offset to a value outside of the legal
range, the offset value is automatically set to the
nearest legal value. Legal values are affected by
the probe attenuation setting.
44
Digital Oscilloscope Series
CHANNEL SKEW
Command/Query
<trace>:={C1,C2,C3,C4}
Command message:
C1:SKEW 3NS
45
Digital Oscilloscope Series
<trace>:={C1,C2,C3,C4}
<mode>:={ON,OFF}
Command message:
C1:TRA ON
46
Digital Oscilloscope Series
CHANNEL UNIT
Command /Query
<channel>:={C1,C2,C3,C4}
<type>:={V,A}
Command message:
C1:UNIT V
47
Digital Oscilloscope Series
<channel>:={C1,C2,C3,C4}
Note:
If there is no unit (V/mV/uV) added, it defaults
to volts (V).
Command message:
C1:VDIV 50mV
48
Digital Oscilloscope Series
<trace>:={C1,C2,C3,C4,MATH}
<state>:= {ON,OFF}
Command message:
C1:INVS ON
49
Digital Oscilloscope Series
CURSOR Commands
The CURSOR subsystem commands set and query the settings of X-axis
markers(X1 and X2 cursors) and the Y-axis markers (Y1 and Y2 cursors). You
can set and query the marker mode and source, the position of X and Y cursors,
and query delta X and delta Y cursor values.
CRMS
CRST
CRTY
CRVA?
50
Digital Oscilloscope Series
Format 1:
<mode>:={OFF,ON}
•OFF — manual mode.
•ON — track mode.
Format 2:
<mode>:={OFF,MANUAL,TRACK}
•OFF — close the cursors.
•MANUAL — manual mode.
•TRACK — track mode.
Note:
The table on next page shows the available
command format in each oscilloscope series.
51
Digital Oscilloscope Series
Format in Each Oscilloscope Series
Model Command Format
SDS1000CFL Format 1
SDS1000A Format 1
SDS1000CML+/CNL+/DL+/E+/F+ Format 1
SDS2000X Format 1
SDS1000X Format 1
SDS1000X-E Format 2
52
Digital Oscilloscope Series
<trace>:={C1,C2,C3,C4}
<cursor>:={VREF,VDIF,TREF,TDIF,HRDF,H
DIF}
•VREF — The voltage-value of Y1 (curA) under
manual mode.
•VDIF — The voltage-value of Y2 (curB) under
manual mode.
•TREF — The time value of X1 (curA) under
manual mode.
•TDIF — The time value of X2 (curB) under
manual mode.
•HREF — The time value of X1 (curA) under
track mode.
•HDIF — The time value of X2 (curB) under
track mode.
Note:
53
Digital Oscilloscope Series
•The horizontal position range is related to the
size of screen.
•You need to add the unit to the position value.
<cursor>:={VREF,VDIF,TREF,TDIF,HREF,H
DIF}
54
Digital Oscilloscope Series
<mode>:={X,Y,X-Y}
Command message:
CRTY Y
55
Digital Oscilloscope Series
<mode>:= {HREL,VREL}
•HREL — return the delta time value, reciprocal
of delta time value, X1 (curA) time value and X2
(curB) time value.
•VREL — return the delta volt value, Y1 (curA)
volt value and Y2 (curB) volt value under manual
mode.
Note:
For non-SPO models, VREL is the delta volt
value under manual mode. See models on page
14.
<trace>:CURSOR_VALUE
VREL,<delta>,<value1>,<value2>
Query message:
56
Digital Oscilloscope Series
C1:CRVA? VREL
Response message:
C1:CRVA VREL,-5.00E+00V,2.50E+00V,-
2.50E+00V
57
Digital Oscilloscope Series
DECODE Commands
The DECODE subsystem commands control the serial protocols and
parameters for each serial bus decode. They control the serial decode bus
viewing, and other options.
DCST
DCPA
B<n>:DCIC
B<n>:DCSP
B<n>:DCUT
B<n>:DCCN
B<n>:DCLN
58
Digital Oscilloscope Series
DECODE DCST
Command /Query
<state>:={OFF,ON}
Command message:
DCST ON
59
Digital Oscilloscope Series
DECODE DCPA
Command
<param> <value>
BUS {B1,B2}
LIST {OFF,D1,D2}
FOMT {BIN,DEC,HEX}
LINK {TR_TO_DC,DC_TO_TR}
LSSC 1 to lines of list
LSNM 1 to 7
Command message:
DCPA BUS,B1
Command message:
DCPA BUS,B2,LIST,D2,FOMT,HEX,LSNM,5
60
Digital Oscilloscope Series
DECODE B<n>:DCIC
Command
<n>:={1,2}
<param> <value>
DIS {OFF,ON}
SCL {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
SCLT value with unit
SDA {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
SDAT value with unit
RW {OFF,ON}
Note:
•You need add the volt unit(V) to the value. If
there is no unit added, it defaults to be V.
• Only international unit(V) is supported at
present.
•The range of value is related to the vertical scale
of the source.
61
Digital Oscilloscope Series
Command message:
B2:DCIC SCLT,0.2V
Command message:
B1:DCIC DIS,ON,SCL,D0,SDA,D1,RW,ON
62
Digital Oscilloscope Series
DECODE B<n>:DCSP
Command
<n>:={1,2}
<param> <value>
DIS {OFF,ON}
CLK {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
CLKT value with unit
EDGE {RISING,FALLING}
MISO {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
MISOT value with unit
MOSI {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
MOSIT value with unit
CSTP {CS,NCS,TIMEOUT}
CS {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
CST value with unit
NCS {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
NCST value with unit
TIM value with unit
BIT {MSB,LSB}
DLEN 4 to 32
63
Digital Oscilloscope Series
•DIS— Display the current bus.
•CLK— Sets the CLK source for the SPI bus.
•CLK— Sets the threshold of the CLK.
•EDGE— Sets the edge of the clock that data
latched on.
•MISO— Sets the MISO source for the SPI bus.
•MISOT— Sets the threshold of the MISO.
•MOSI— Sets the MISO source for the SPI bus.
•MOSIT— Sets the threshold of the MISO.
•CSTP— Sets the chip selection type for the SPI
bus.
•CS— Sets the CS source for the SPI bus.
•CST— Sets the threshold of the CS.
•NCS—Sets the ~CS source for the SPI bus.
•NCST— Sets the threshold of the ~CS.
•TIM— Sets the timeout value when the CS type
is CLK Timeout.
•BIT— Sets the bit order for the SPI bus.
•DLEN— Sets the data length for the SPI bus.
Note:
•You need add the volt unit(V) or time unit(S) to
the value. If there is no unit added, it defaults to
be V or S.
• Only international unit(V/S) is supported at
present.
•The range of threshold value is related to the
vertical scale of the source.
Command message:
B2:DCSP CLKT,0.2V
Command message:
B1:DCSP
DIS,ON,CLK,D0,MOSI,D1,CSTP,TIMEOUT,TI
64
Digital Oscilloscope Series
M,2uS,BIT,MSB,DLEN,32
65
Digital Oscilloscope Series
DECODE B<n>:DCUT
Command
<n>:={1,2}
<param> <value>
DIS {OFF,ON}
RX {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
RXT value with unit
TX {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
TXT value with unit
BAUD value without unit, 300 to
50000000
DLEN 5 to 8
PAR {NONE,EVEN,ODD}
STOP {1,1.5,2}
POL {LOW,HIGH}
BIT {MSB,LSB}
66
Digital Oscilloscope Series
•BIT— Sets the bit order for the UART bus.
Note:
•You need add the volt unit(V) to the value. If
there is no unit added, it defaults to be V.
• Only international unit(V) is supported at
present.
•The range of value is related to the vertical scale
of the source.
Command message:
B2:DCUT RX,0.2V
Command message:
B1:DCUT
DIS,ON,RX,D0,BAUD,9600,PAR,ODD,STOP,2
POL,HIGH,BIT,MSB
67
Digital Oscilloscope Series
DECODE B<n>:DCCN
Command
<n>:={1,2}
<param> <value>
DIS {OFF,ON}
CANH {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
CANHT value with unit
CANL {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
CANLT value with unit
SRC {CAN_H,CAN_L,SUB_L}
BAUD 5000 to 1000000
Note:
•You need add the volt unit(V) to the value. If
there is no unit added, it defaults to be V.
• Only international unit(V) is supported at
present.
•The range of value is related to the vertical scale
of the source.
68
Digital Oscilloscope Series
EXAMPLE •The following command sets the threshold of
CANH source for CAN bus2 to 200mv
separately.
Command message:
B2:DCCN CANH,0.2V
Command message:
B1:DCCN
DIS,ON,CANH,D0,SRC,CANH,BAUD,9600
69
Digital Oscilloscope Series
DECODE B<n>:DCLN
Command
<n>:={1,2}
<param> <value>
DIS {OFF,ON}
SRC {C1,C2,C3,C4,D0,D1,D2,D
3,D4,D5,D6,D7,D8,D9,D10
,D11,D12,D13,D14,D15}
SRCT value with unit
BAUD 300 to 2000
Note:
•You need add the volt unit(V) to the value. If
there is no unit added, it defaults to be V.
• Only international unit(V) is supported at
present.
•The range of value is related to the vertical scale
of the source.
Command message:
B2:DCLN SRCT,0.2V
Command message:
70
Digital Oscilloscope Series
B1:DCCN DIS,ON,SRC,D0,BAUD,9600
71
Digital Oscilloscope Series
DIGITAL Commands
The DIGITAL subsystem commands control the viewing of digital channels.
They also control threshold settings for groups of digital channels.
DGCH
DGST
DGTH
SW
TRA
TSM
CUS
Note:
These commands are only valid for models which have installed the MSO
option.
72
Digital Oscilloscope Series
<digital>:={D0,D1,D2,D3,D4,D5,D6,D7,D8,D9,
D10,D11,D12,D13,D14,D15}
<state>:={OFF,ON}
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS2000X yes
SDS1000X yes
SDS1000X-E no
73
Digital Oscilloscope Series
<state>:={OFF,ON}
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS2000X yes
SDS1000X yes
SDS1000X-E no
74
Digital Oscilloscope Series
<group>:={C1,C2}
•C1 — D0-D7.
•C2 — D8-D15.
<type>:={TTL,CMOS,CMOS3.3,CMOS2.5,CU
STOM}
Note:
•If there is no unit(V) added to <level>, it defaults
to be V.
•If you set the threshold to a value outside of the
legal range, the threshold is automatically set to
the nearest legal value.
Format 2:
DIGITAL_THR <group>:<level>
75
Digital Oscilloscope Series
threshold of D0-D7 to LVLCMOS3.3.
Command message:
C1:DGTH CMOS3.3
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS2000X yes
SDS1000X yes
SDS1000X-E no
76
Digital Oscilloscope Series
DIGITAL SWITCH | SW
Command /Query
<function>:={DI}
<state>:={OFF,ON}
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS2000X no
SDS1000X no
SDS1000X-E yes
77
Digital Oscilloscope Series
<digital>:={D0,D1,D2,D3,D4,D5,D6,D7,D8,D9,
D10,D11,D12,D13,D14,D15}
<state>:={OFF,ON}
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS2000X no
SDS1000X no
SDS1000X-E yes
78
Digital Oscilloscope Series
<group>:={H8,L8}
•H8 — D8-D15.
•L8 — D0-D7.
<type>:={TTL,CMOS,LVCMOS33,LVCMOS2
5,CUSTOM}
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS2000X no
SDS1000X no
SDS1000X-E yes
79
Digital Oscilloscope Series
<group>:={H8,L8}
•H8 — D8-D15.
•L8 — D0-D7.
Note:
• You need to add the volt unit(V/mV) to the
value. If there is no unit added, it defaults to volts
(V).
•The range of value varies from models. See the
data sheet for details.
•An out-of-range value will be adjusted to the
closest legal value.
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS2000X no
80
Digital Oscilloscope Series
SDS1000X no
SDS1000X-E yes
81
Digital Oscilloscope Series
DISPLAY Commands
The DISPLAY subsystem is used to control how waveforms, and the graticules
are displayed on the screen.
DTJN
GRDS
INTS
MENU
PESU
82
Digital Oscilloscope Series
<state>:={ON,OFF}
• ON — dots. This mode displays data more
quickly than vector mode but does not draw lines
between sample points.
•OFF — vectors. This is the default mode and
draws lines between points.
Command message:
DTJN ON
83
Digital Oscilloscope Series
Command message:
GRDS FULL
84
Digital Oscilloscope Series
Note:
You can also set the intensity level of the grid or
trace using a key-value pair alone, see the
example for details.
85
Digital Oscilloscope Series
DISPLAY MENU
Command/Query
<state>:={ON,OFF}
86
Digital Oscilloscope Series
Models <time>:=
SDS1000X-E {OFF,INFINITE,1,5,10,30}
Others {INFINITE,1,5,10,30}
Note:
•See models on page 14.
•See the command PERS in Obsolete Commands
for Old Models to set persist off .
•Options of <time> vary from models. See the
data sheet or the display menu of the oscilloscope
for details.
87
Digital Oscilloscope Series
HISTORY Commands
The HISTORY subsystem commands control the waveform recording function
and the history waveform play function.
FRAM
FTIM?
HSMD
HSLST
88
Digital Oscilloscope Series
Note:
You can send the query FRAM? to get the max
frame number when the history function is turned
on for the first time.
Note:
The query is only valid for SDS1000X-E series.
Command message:
FRAM 50
89
Digital Oscilloscope Series
Format 2:
\xFF\x0F\x03\x01&\xD5\x02\x00
Note:
•Format 2 is binary data and has no key word.
•The table below shows the available response
format in each oscilloscope series.
Response message:
FTIM 00: 05: 12. 650814
90
Digital Oscilloscope Series
<state>:={ON,OFF}
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
91
Digital Oscilloscope Series
<state>:={ON,OFF}
Note:
This command can only be used when History
function is turned on.
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL/CML /CNL/DL no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS1000A no
SDS2000X no
SDS1000X no
SDS1000X-E yes
92
Digital Oscilloscope Series
MATH Commands
The MATH subsystem controls the math functions in the oscilloscope. As
selected by the DEF command, these math functions are available:
Operators: Add, Subtract, Multiply, Divide.
Operators perform their function on two analog channel sources.
Transforms: DIFF, Integrate, FFT, SQRT.
DEF
INVS
MTVD
MTVP
FFTC
FFTF
FFTP
FFTS
FFTT?
FFTU
FFTW
93
Digital Oscilloscope Series
Note:
<equation> is the mathematical expression,
enclosed by single or double quotation marks.
Function Equations
<source1> + <source2> Addition
<source1> - <source2> Subtraction
<source1>*<source2> Multiplicatio
n
<source1>/<source2> Ratio
FFT<source> FFT
INTG<source> Integral
DIFF<source> Differentiato
r
SQRT<source> Square Root
<source>:={C1,C2,C3,C4}
<source1>:={C1,C2,C3,C4}
<source2>:={C1,C2,C3,C4}
94
Digital Oscilloscope Series
on, the following command sets the math
operation to Differentiator, source to C1.
Command message:
DEFINE EQN,’DIFFC1’
95
Digital Oscilloscope Series
Note:
This command is only valid in add, subtract,
multiply and divide operation.
<trace>:={MATH}
<state>:= {ON,OFF}
96
Digital Oscilloscope Series
<scale>:={500uV,1mV,2mV,5mV,10mV,20mV,
50mV,100mV,200mV,500mV,1V,2V,5V,10V,2
0V ,50V,100V}(for add, subtract, multiply and
divide)
Note:
Legal values for the scale depend on the selected
operation. For details, please refer to the math
menu of the oscilloscope as shown below.
97
Digital Oscilloscope Series
and physical unit,
such as 500mV.
Command message:
MTVD 1V
98
Digital Oscilloscope Series
Note:
The point represents the screen pixels and is
related to the screen center. For example, if the
point is 50. The math waveform will be displayed
1 grid above the vertical center of the screen.
Namely one grid is 50.
99
Digital Oscilloscope Series
Note:
• If you set the center to a value outside of the
legal range, the center value is automatically set
to the nearest legal value. Legal values are
affected by the Hz/div setting.
•The range for center is related to the horizontal
scale of FFT and varied by models. See the math
menu of oscilloscope as shown below for details.
100
Digital Oscilloscope Series
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
101
Digital Oscilloscope Series
102
Digital Oscilloscope Series
Note:
•This command is only valid when the scale type
is Vrms.
Note:
•If there is no unit (V/mV/uV) added, it defaults
to volts (V).
•If you set the offset to a value outside of the legal
range, the center value is automatically set to the
nearest legal value. Legal values are affected by
the Scale setting.
Command message:
FFTU VRMS
Command message:
103
Digital Oscilloscope Series
FFTP 28mV
Command message:
FFTU VRMS
Command message:
FFTP -13.5V
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
104
Digital Oscilloscope Series
<scale>:={0.001,0.002,0.005,0.01,0.02,0.05,0.1,
0. 2,0.5,1, 2,5,10,20} when scale type is Vrms.
Command message:
FFTU DBVRMS
Command message:
FFTS 5
105
Digital Oscilloscope Series
Command message:
FFTU VRMS
Command message:
FFTS 0.1
106
Digital Oscilloscope Series
Response message:
FFTT 100.00MHz
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
107
Digital Oscilloscope Series
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
108
Digital Oscilloscope Series
109
Digital Oscilloscope Series
MEASURE Commands
The commands in the MEASURE subsystem are used to make parametric
measurements on displayed waveforms.
CYMT?
MEAD
PACU
PAVA?
110
Digital Oscilloscope Series
Note:
When the signal frequency is less than 10 Hz, it
returns “10 Hz” or “<10Hz”.
111
Digital Oscilloscope Series
Response message:
CYMT 10Hz
112
Digital Oscilloscope Series
<sourceA-sourceB>:={C1-C2,C1-C3,C1-C4,C2-
C3,C2-C4,C3-C4}
<type>:={PHA,FRR,FRF,FFR,FFF,LRR,LRF,L
FR,LFF,SKEW}
Type Description
PHA The phase difference
between two channels.
(rising edge - rising edge)
Delay between two
FRR channels.
(first rising edge - first rising
edge)
Delay between two
FRF channels.
(first rising edge - first
falling edge)
Delay between two
FFR channels.
(first falling edge - first
rising edge)
Delay between two
FFF channels.
(first falling edge - first
falling edge)
Delay between two
LRR channels.
(first rising edge - last rising
edge)
LRF Delay between two
channels.
(first rising edge - last falling
113
Digital Oscilloscope Series
edge)
Delay between two
LFR channels.
(first falling edge - last rising
edge)
Delay between two
LFF channels.
(first falling edge - last
falling edge)
Delay between two
Skew channels.
(edge – edge of the same
type)
Command message:
MEAD PHA,C2-C4
114
Digital Oscilloscope Series
Command message:
C2-C4:MEAD? PHA
Response message:
C2-C4:MEAD PHA,-89.46degree
115
Digital Oscilloscope Series
<parameter>,<source>
<source>:= {C1,C2,C3,C4}
<parameter>:={PKPK,MAX,MIN,AMPL,TOP,
BASE,CMEAN,MEAN,RMS,CRMS,OVSN,FP
RE,OVSP,RPRE,PER,FREQ,PWID,NWID,RIS
E,FALL,WID,DUTY,NDUTY,ALL}
Description of Parameter
Parameter Description
PKPK vertical peak-to-peak
MAX maximum vertical value
MIN minimum vertical value
AMPL vertical amplitude
TOP waveform top value
BASE waveform base value
CMEAN average value in the first
cycle
MEAN average value
RMS RMS value
CRMS RMS value in the first
cycle
OVSN overshoot of a falling
edge
FPRE preshoot of a falling edge
OVSP overshoot of a rising edge
RPRE preshoot of a rising edge
PER period
FREQ frequency
116
Digital Oscilloscope Series
PWID positive pulse width
NWID negative pulse width
RISE rise-time
FALL fall-time
WID Burst width
DUTY positive duty cycle
NDUTY negative duty cycle
ALL All measurement
117
Digital Oscilloscope Series
118
Digital Oscilloscope Series
<source>:PARAMETER_VALUE?
<parameter>
<source>:= {C1,C2,C3,C4}
<parameter>:={PKPK,MAX,MIN,AMPL,TOP,
BASE,CMEAN,MEAN,RMS,CRMS,OVSN,FP
RE,OVSP,RPRE,PER,FREQ,PWID,NWID,RIS
E,FALL,WID,DUTY,NDUTY,ALL}
Custom Description
Parameters
119
Digital Oscilloscope Series
CUST1 The first measure
parameter specified by
“PACU”
CUST2 The second measure
parameter specified by
“PACU”
CUST3 The third measure
parameter specified by
“PACU”
CUST4 The fourth measure
parameter specified by
“PACU”
CUST5 The fifth measure
parameter specified by
“PACU”
CUSTALL All measure parameters
specified by “PACU”
Note:
• Installing the measurement as CUST<x> by
using command “PACU”, before using usage 2.
•When the number of installed measurements is
less than 5 and you send the command “PAVA?
CUSTALL”, it will return OFF as value for
remaining custom parameters.
Custom Description
Parameters
STAT1 Statistics of the first
measure parameter
specified by “PACU”
STAT2 Statistics of the second
measure parameter
specified by “PACU”
STAT3 Statistics of the third
measure parameter
specified by “PACU”
120
Digital Oscilloscope Series
STAT4 Statistics of the fourth
measure parameter
specified by “PACU”
STAT5 Statistics of the fifth
measure parameter
specified by “PACU”
Note:
Installing the statistics of the measurement as
STAT<x> by using command “PACU”, before
using usage 3.
Parameter Description
cur Current value of
measurement
mean Mean value of
measurement
min Minimum value of
measurement
max Maximum value of
measurement
std-dev Standard deviation of
measurement
count Measurement count
Query message:
C2:PAVA? RISE
Response message:
C2:PAVA RISE, 3.6E-9S
Query message:
121
Digital Oscilloscope Series
C1:PAVA? ALL
Response message:
C1:PAVA MAX,2.04E+00V,MIN,-
2.16E+00V,PKPK,4.20E+00V,TOP,2.00E+00V,
BASE,-2.08E+00V,AMPL,4.08E+00V,MEAN,-
1.95E-02V,CMEAN,-6.30E-
03V,STDEV,1.46E+00V,VSTD,1.46E+00V,RMS,
1.46E+00V,CRMS,1.46E+00V,OVSN,1.96%,FP
RE,0.98%,OVSP,0.98%,RPRE,0.00%,LEVELX,0
.00E+00V,PER,4.00E08S,FREQ,2.50E+07Hz,P
WID,****,NWID,****,RISE,4.29E-
01S,FALL,1.14E-08S,WID,9.99E-
08S,DUTY,****,NDUTY,****,DELAY,-6.01E-
08S,TIMEL,3.97E-08S
Command message:
PACU PKPK,C1
Query message:
PAVA? CUST1
Response message:
PAVA CUST1:C1,PKPK,4.08E+00V
Command message:
PAVA? CUSTALL
Response message:
PAVA
CUST1:C1,PKPK,4.08E+00V;CUST2:OFF;CU
ST3:OFF;CUST4:OFF;CUST5:OFF
122
Digital Oscilloscope Series
statistical values of user defined measurement
parameters.
Command message:
PACU FREQ,C3
Query message:
PAVA? STAT1
Response message:
PAVA STAT1 C3
FREQ:cur,1.00E+06Hz,mean,1.00E+06Hz,min,
9.97E+05Hz,max,1.00E+06Hz,std-
dev,1.41E+03Hz,count,171
123
Digital Oscilloscope Series
PASS/FAIL Commands
The PASS/FAIL subsystem commands and queries control the mask test features.
PACL
PFBF
PFCM
PFDD?
PFDS
PFEN
PFFS
PFOP
PFSC
PFST
124
Digital Oscilloscope Series
125
Digital Oscilloscope Series
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
126
Digital Oscilloscope Series
Note:
This command is valid only if the pass / fail test
function has been opened (PFEN) and is not in
operation (PFOP).
Command message:
PFEN ON
Command message:
PFCM
127
Digital Oscilloscope Series
Response message:
PFDD FAIL,0,PASS,0,TOTAL,0
128
Digital Oscilloscope Series
<state>:={ON,OFF}
Command message:
PFEN ON
Command message:
PFDS ON
129
Digital Oscilloscope Series
<state>:= {ON,OFF}
•ON — Enables the mask test features.
•OFF — Disables the mask test features.
Command message:
PFEN ON
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
130
Digital Oscilloscope Series
<state>:={ON,OFF}
Command message:
PFFS OFF
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
131
Digital Oscilloscope Series
SDS1000X-E yes
132
Digital Oscilloscope Series
<state>:={ON,OFF}
Command message:
PFOP ON
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
133
Digital Oscilloscope Series
<trace>:={C1,C2,C3,C4}
Command message:
PFSC C1
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
134
Digital Oscilloscope Series
Note:
Step value is 0.04.
Command message:
PFST XMASK,0.4,YMASK,0.52
135
Digital Oscilloscope Series
PRINT Commands
SCDP
136
Digital Oscilloscope Series
Note:
You only need to save the returned
information in a BMP format file.
137
Digital Oscilloscope Series
RECALL Commands
Recall previously saved oscilloscope setups and reference waveforms.
*RCL
RCPN
138
Digital Oscilloscope Series
RECALL *RCL
Command
<setup_num>:= 0 to 20.
Note:
•When setup_num is 0, it will recall the default
panel setup.
• As shown below, when the progress is
finished, there will be a prompt message.
Command message:
*RCL 3
139
Digital Oscilloscope Series
Models Description
SDS1000X-E The filename string is
up to eight characters,
with the extension
“.xml”.
Others The filename string is
up to eight characters,
with the extension
“.set”.
Note:
•See models on page 14.
•For SDS1000X-E series, the ‘/’ character to
define the root directory is not supported.
• As shown below, when the progress is
finished, there will be a prompt message.
140
Digital Oscilloscope Series
there will be a prompt message.
Command message:
RCPN DISK,UDSK,FILE,‘TEST.xml’
Command message:
RCPN
DISK,UDSK,FILE,’/SAVE/TEST.xml’
141
Digital Oscilloscope Series
REFERENCE Commands
The REFERENCE system controls the reference waveforms.
REFCL
REFDS
REFLA
REFPO
REFSA
REFSC
REFSR
142
Digital Oscilloscope Series
Command message:
REFCL
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
143
Digital Oscilloscope Series
<state>:= {ON,OFF}
Note:
Only used when the current reference
channel has been stored, and the Reference
function is enable.
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
144
Digital Oscilloscope Series
<location>:= {REFA,REFB,REFC,REFD}
Command message:
REFLA REFA
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
145
Digital Oscilloscope Series
Note:
• If there is no unit(V/mV/uV) added, it
defaults to be V.
•The range of legal offset varies with the
value set by the REFSC command. If you set
the offset to a value outside of the legal
range, the offset value is automatically set to
the nearest legal value.
Command message:
REFPO 0.2V
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
146
Digital Oscilloscope Series
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
147
Digital Oscilloscope Series
Command message:
REFSA
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
148
Digital Oscilloscope Series
Note:
If there is no unit(V/mV/uV) added, it
defaults to be V.
Command message:
REFSC 100mV
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
149
Digital Oscilloscope Series
SDS1000X-E yes
150
Digital Oscilloscope Series
<source>:= {C1,C2,C3,C4,MATH}
Command message:
REFSR C1
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL no
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
151
Digital Oscilloscope Series
SAVE Commands
Save oscilloscope setups and waveform data.
*SAV
PNSU
STPN
152
Digital Oscilloscope Series
SAVE *SAV
Command
<setup_num>:= 1 to 20.
Note:
If there is already a file in the specified
location, it will overwrite the original file.
Command message:
*SAV 3
Command message:
*RCL 3
153
Digital Oscilloscope Series
Command message:
CHDR OFF
Command message:
PNSU?
Response message:
<binary data>
Command message:
PNSU <binary data>
154
Digital Oscilloscope Series
155
Digital Oscilloscope Series
<device>:= {UDSK}
Models Description
SDS1000X-E The filename string is
up to eight characters,
with the extension
“.xml”.
Others The filename string is
up to eight characters,
with the extension
“.set”.
Note:
•See models on page 14.
•For SDS1000X-E series, the ‘/’ character to
define the root directory is not supported.
•As shown below, during the execution of
the command, a progress bar will appear on
the interface. When the progress is finished,
there will be a prompt message.
156
Digital Oscilloscope Series
Command message:
STPN DISK,UDSK,FILE,’TEST.xml’
Command message:
STPN DISK,UDSK,FILE,’/SAVE/TEST.xml’
157
Digital Oscilloscope Series
158
Digital Oscilloscope Series
STATUS Commands
IEEE 488.2 defines data structures, commands, and common bit definitions for
status reporting. There are also instrument-defined structures and bits.
An overview of the oscilloscope's status reporting structure is shown in the
following commands.
INR?
159
Digital Oscilloscope Series
STATUS INR?
Query
<value>:= 0 to 65535.
Note :
•This query only returns 0 bit and 13 bit.
•See the table INternal State Register (INR)
Structure as shown below for details.
Response message:
INR 0
Response message:
INR 1
Response message:
INR 8193
Response message:
INR 8193
160
Digital Oscilloscope Series
Step 5: After sending the query in step 4, send
the query again.
Response message:
INR 0
Response message:
INR 8192
161
Digital Oscilloscope Series
SYSTEM Commands
The SYSTEM subsystem commands control basic system functions of the
oscilloscope.
*CAL?
BUZZ
CONET
SCSV
162
Digital Oscilloscope Series
SYSTEM *CAL?
Query
Response message:
*CAL 0
163
Digital Oscilloscope Series
<state>:= {ON,OFF}
Command message:
BUZZ ON
164
Digital Oscilloscope Series
Command message:
CONET 10,11,0,230
165
Digital Oscilloscope Series
Note:
When the screensaver is enabled, the
oscilloscope is still fully functional.
<time>:={OFF,1MIN,5MIN,10MIN,30MIN
,60MIN}
•OFF — Do not use screensaver.
•Others — When the oscilloscope enters the
idle state and holds for the specified time,
screensaver will be enabled.
Command message:
SCSV 10MIN
166
Digital Oscilloscope Series
TIMEBASE Commands
The TIMEBASE subsystem commands control the horizontal (X-axis) functions.
The time per division, delay, and reference can be controlled for the main and
window (zoomed) time bases.
TDIV
TRDL
HMAG
HPOS
167
Digital Oscilloscope Series
<value>:={1NS,2NS,5NS,10NS,20NS,50N
S,100NS,200NS,500NS,1US,2US,5US,10U
S,20US,50US,100US,200US,500US,1MS,2
MS,5MS,10MS,20MS,50MS,100MS,200M
S,500MS,1S,2S,5S,10S,20S,50S,100S}
•NS — for nanoseconds.
•US — for microseconds.
•MS — for milliseconds.
•S — for seconds.
Note:
The range of value varies from the models.
See the data sheet for details.
Command message:
TDIV 500US
168
Digital Oscilloscope Series
Note:
•The range of delay is related to the time base.
See the data sheet for details.
•If you set the delay to a value outside of the
legal range, the delay value is automatically set
to the nearest legal value.
169
Digital Oscilloscope Series
EXAMPLE When the time base is 1us/div, the following
command sets the trigger delay to -4.8us (pre
trigger).
Command message:
TRDL -4.8US
170
Digital Oscilloscope Series
<value >:={1NS,2NS,5NS,10NS,20NS,50NS,10
0NS,200NS,500NS,1US,2US,5US,10US,20US,5
0US,100US,200US,500US,1MS,2MS,5MS,10M
S,20MS}
Format 2:
HOR_MAGNIFY <factor>
<factor>:= 1 to 2,000,000.
Note:
The table on next page shows the available format
in each oscilloscope series.
HOR_MAGNIFY <factor>
171
Digital Oscilloscope Series
horizontal scale to 1US.
Command message:
HMAG 1US
172
Digital Oscilloscope Series
Note:
•You need add the time unit(s/ms/us/ns) to the
position. If there is no unit added, it defaults to be
S.
Format 2:
HOR_POSITION <factor_div>
Note:
The table on next page shows the available format
in each oscilloscope series.
173
Digital Oscilloscope Series
HOR_POSITION <factor_div>
Command message:
HPOS 100ns
174
Digital Oscilloscope Series
TRIGGER Commands
The TRIGGER subsystem controls the trigger modes and parameters for each
trigger type.
SET50
TRCP
TRLV
TRLV2
TRMD
TRPA
TRSE
TRSL
TRWI
175
Digital Oscilloscope Series
TRIGGER SET50
Command
Command message:
SET50
176
Digital Oscilloscope Series
<trig_source>:={C1,C2,C3,C4,EX,EX5}
<trig_coupling>:={AC,DC,HFREJ,LFREJ}
•AC — AC coupling block DC component in
the trigger path, removing dc offset voltage
from the trigger waveform. Use AC coupling to
get a stable edge trigger when your waveform
has a large dc offset.
•DC — DC coupling allows dc and ac signals
into the trigger path.
•HFREJ — HFREJ coupling places a low-pass
filter in the trigger path.
•LFREJ — LFREJ coupling places a high-pass
filter in the trigger path.
Command message:
C2:TRCP AC
177
Digital Oscilloscope Series
<trig_source>:={C1,C2,C3,C4,EX,EX5}
Note:
•You need to add the volt unit(V/mV) to the
trig_level. If there is no unit added, it defaults
to volts (V).
•An out-of-range value will be adjusted to the
closest legal value.
Command message:
C3:TRLV52MV
178
Digital Oscilloscope Series
TRLV2
179
Digital Oscilloscope Series
<trig_source>:= {C1,C2,C3,C4}
Note:
• You need add the volt unit(V/mV) to the
trig_level. If there is no unit added, it defaults
to volts (V).
•An out-of-range value will be adjusted to the
closest legal value.
Command message:
C2:TRLV 3.5V
Command message:
180
Digital Oscilloscope Series
C2:TRLV2 800mV
181
Digital Oscilloscope Series
<mode>:= {AUTO,NORM,SINGLE,STOP}
• AUTO — When AUTO sweep mode is
selected, the oscilloscope begins to search for
the trigger signal that meets the conditions.
If the trigger signal is satisfied, the running
state on the top left corner of the user interface
shows Trig'd, and the interface shows stable
waveform.
Otherwise, the running state always shows
Auto, and the interface shows unstable
waveform.
182
Digital Oscilloscope Series
the interface does not display the waveform.
Command message:
TRMD NORM
183
Digital Oscilloscope Series
<status>:={X,L,H}
Note:
The status of source can only be set when the
source is on.
Command message:
TRPA C2,L,C3,L,STATE,AND
184
Digital Oscilloscope Series
Parameter description
SLE Slope IL Interval
W larger
GLI Glitch/ IS Interval
T Pulse smaller
INT Interva I2 Interval
V l in range
DRO Dropo I1 Interval
P ut out of
range
SR Source P Pulse
L larger
TI Time PS Pulse
smaller
HT Hold P2 Pulse in
type/ range
Limit
range
HV Hold P1 Pulse out
value/ of range
Limit
value
185
Digital Oscilloscope Series
<trig_type>:={EDGE,SLEW,GLIT,INTV,RU
NT,DROP}
<source>:={C1,C2,C3,C4,LINE,EX,EX5}
Note:
LINE/EX/EX5 can only be selected when the
trigger type is Edge.
Note:
• If there is no unit(S/mS/uS/nS) added, it
defaults to be S.
•The range of hold_values varies from trigger
types. [80nS, 1.5S] for Edge trigger, and [2nS,
4.2S] for others.
Command message:
TRSE EDGE,SR,C1,HT,TI,HV,1.43uS
Command message:
186
Digital Oscilloscope Series
TRSE GLIT,SR,C2,HT,P2,HV,5nS,HV2,1uS
Command message:
TRSE DROP,SR,C4,HT,TI,HV,2.8mS
Parameter description
STAN Standard
FLD field
CUST Custom
<trig_type>:= {TV}
<source>:={C1,C2,C3,C4}
<standard>:={NTSC,PAL,720P/50,720P/60,1
080P/50,1080P/60,1080I/50,1080I/60, CUST}
187
Digital Oscilloscope Series
1080I/ 1 to 1 to 562
50 563
1080I/ 1 to 1 to 562
60 563
CUST 1 to number of Lines
<field>:= [1,2]
for NTSC/PAL/1080I/50/1080I/60
Note:
Field can only be selected when the standard is
NTSC/PAL/1080I/50/1080I/60/CUST.
<trig_type>,SR,<source>,STAN,<standard>,S
YNC,<sync_type>[,LINE,<line>[,FLD,<field
>]]
Command message:
TRSE TV,SR,C1,STAN,NTSC,SYNC,ANY
Command message:
TRSE
TV,SR,C1,STAN,PAL,SYNC,SELECT,LINE,30
0,FLD,2
188
Digital Oscilloscope Series
Command message:
TRSE
TV,SR,C2,STAN,1080P/50,SYNC,SELECT,LI
NE,200
189
Digital Oscilloscope Series
<trig_source>:={C1,C2,C3,C4,EX,EX5}
<trig_slope>:={NEG,POS,WINDOW} for
edge trigger.
Command message:
C2:TRSL NEG
190
Digital Oscilloscope Series
Note:
This command is only valid when the window
type is relative.
Note:
• You need add the volt unit(V/mV) to the
value. If there is no unit added, it defaults to be
V.
• The range of value is related to the center
value of the level.
Command message:
TRWI 2V
191
Digital Oscilloscope Series
To set up a serial trigger, set the trigger type to Serial using the command TRSE
SERIAL. Then set the appropriate trigger criteria according to serial trigger type
(using TRIIC:CON, etc.)
These commands are used for the following serial bus protocols: I2C, SPI, UART,
CAN, and LIN.
TRIIC:SCL
TRIIC:SDA
TRIIC:CON
TRIIC:ADDR
TRIIC:DATA
TRIIC:DAT2
TRIIC:QUAL
TRIIC:RW
TRIIC:ALEN
TRIIC:DLEN
TRSPI:CLK
TRSPI:CLK:EDGE
TRSPI:CLK:TIM
TRSPI:MOSI
TRSPI:MISO
TRSPI:CSTP
TRSPI:CS
TRSPI:NCS
TRSPI:TRTY
TRSPI:DATA
TRSPI:DLEN
TRSPI:BIT
TRUART:RX
192
Digital Oscilloscope Series
TRUART:TX
TRUART:TRTY
TRUART:CON
TRUART:QUAL
TRUART:DATA
TRUART:BAUD
TRUART:DLEN
TRUART:PAR
TRUART:POL
TRUART:STOP
TRUART:BIT
TRCAN:CANH
TRCAN:CON
TRCAN:ID
TRCAN:IDL
TRCAN:DATA
TRCAN:DAT2
TRCAN:BAUD
TRLIN:SRC
TRLIN:CON
TRLIN:ID
TRLIN:DATA
TRLIN:DAT2
TRLIN:BAUD
193
Digital Oscilloscope Series
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X no
SDS1000X no
SDS1000X-E yes
194
Digital Oscilloscope Series
<source>:=
{C1,C2,C3,C4,D0,D1,D2,D3,D4,D5,D6,D7,D
8,D9,D10,D11,D12,D13,D14,D15}
Note:
• You need add the volt unit(V/mV) to the
threshold. If there is no unit added, it defaults
to be V.
•The range of threshold is related to the vertical
scale of the source.
Command message:
TRIIC:SCL C3,0.2V
195
Digital Oscilloscope Series
<source>:=
{C1,C2,C3,C4,D0,D1,D2,D3,D4,D5,D6,D7,D
8,D9,D10,D11,D12,D13,D14,D15}
Note:
• You need add the volt unit(V/mV) to the
threshold. If there is no unit added, it defaults
to be V.
•The range of threshold is related to the vertical
scale of the source.
Command message:
TRIIC:SDA C3,0.2V
196
Digital Oscilloscope Series
<condition>:=
{START,STOP,RESTART,NOACK,EEPRO
M,7ADDA,10ADDA,DALENTH}
Command message:
TRIIC:CON 7ADDA
197
Digital Oscilloscope Series
Note:
•Use the don't care data (128) to ignore the
address value when trigger condition is
7ADDA.
•Use the don't care data (1024) to ignore the
address value when trigger condition is
10ADDA.
Command message:
TRIIC:ADDR 290
Command message:
TRIIC:ADDR 1024
198
Digital Oscilloscope Series
<value>:= 0 to 256
Note:
Use the don't care data (256) to ignore the data
value.
Command message:
TRIIC:DATA 41
Command message:
TRIIC:DATA 256
199
Digital Oscilloscope Series
<value>:= 0 to 256
Note:
Use the don't care data (256) to ignore the data
value.
Command message:
TRIIC:DAT2 41
Command message:
TRIIC:DAT2 256
200
Digital Oscilloscope Series
<value>:= {EQUAL,MORE,LESS}
Command message:
TRIIC:QUAL EQUAL
201
Digital Oscilloscope Series
<value>:= {READ,WRITE,DONT_CARE}
Command message:
TRIIC:RW WRITE
202
Digital Oscilloscope Series
<value>:= {7BIT,10BIT}
Command message:
TRIIC:ALEN 7BIT
203
Digital Oscilloscope Series
<value>:= 1 to 12
Command message:
TRIIC:DLEN 8
204
Digital Oscilloscope Series
<source>:=
{C1,C2,C3,C4,D0,D1,D2,D3,D4,D5,D6,D7,D
8,D9,D10,D11,D12,D13,D14,D15}
Note:
• You need add the volt unit(V/mV) to the
threshold. If there is no unit added, it defaults
to be V.
•The range of threshold is related to the vertical
scale of the source.
Command message:
TRSPI:CLK C3,0.2V
205
Digital Oscilloscope Series
<edge>:= {RISING,FALLING}
Command message:
TRSPI:CLK:EDGE RISING
206
Digital Oscilloscope Series
Note:
If there is no unit(S/mS/uS/nS) added, it
defaults to be S.
Command message:
TRSPI:CLK:TIM 2uS
207
Digital Oscilloscope Series
<source>:=
{C1,C2,C3,C4,D0,D1,D2,D3,D4,D5,D6,D7,D
8,D9,D10,D11,D12,D13,D14,D15}
Note:
• You need add the volt unit(V/mV) to the
threshold. If there is no unit added, it defaults
to be V.
•The range of threshold is related to the vertical
scale of the source.
Command message:
TRSPI:MOSI C3,0.2V
208
Digital Oscilloscope Series
<source>:=
{C1,C2,C3,C4,D0,D1,D2,D3,D4,D5,D6,D7,D
8,D9,D10,D11,D12,D13,D14,D15}
Note:
• You need add the volt unit(V/mV) to the
threshold. If there is no unit added, it defaults
to be V.
•The range of threshold is related to the vertical
scale of the source.
Command message:
TRSPI:MISO C3,0.2V
209
Digital Oscilloscope Series
<type>:= {CS,NCS,TIMEOUT}
Command message:
TRSPI:CSTP CS
210
Digital Oscilloscope Series
<source>:=
{C1,C2,C3,C4,D0,D1,D2,D3,D4,D5,D6,D7,D
8,D9,D10,D11,D12,D13,D14,D15}
Note:
• You need add the volt unit(V/mV) to the
threshold. If there is no unit added, it defaults
to be V.
•The range of threshold is related to the vertical
scale of the source.
Command message:
TRSPI:CS C3,0.2V
211
Digital Oscilloscope Series
<source>:=
{C1,C2,C3,C4,D0,D1,D2,D3,D4,D5,D6,D7,D
8,D9,D10,D11,D12,D13,D14,D15}
Note:
• You need add the volt unit(V/mV) to the
threshold. If there is no unit added, it defaults
to be V.
•The range of threshold is related to the vertical
scale of the source.
Command message:
TRSPI:NCS C3,0.2V
212
Digital Oscilloscope Series
<source>:= {MOSI,MISO}
Command message:
TRSPI:TRTY MOSI
213
Digital Oscilloscope Series
<value>:= {0,1,X}
Command message:
TRSPI:DATA 1,0,1,1
Command message:
TRSPI:DATA X,X,X,X
214
Digital Oscilloscope Series
<value>:= 4 to 96
Command message:
TRSPI:DLEN 8
215
Digital Oscilloscope Series
<order>:= {MSB,LSB}
Command message:
TRSPI:BIT MSB
216
Digital Oscilloscope Series
<source>:=
{C1,C2,C3,C4,D0,D1,D2,D3,D4,D5,D6,D7,D
8,D9,D10,D11,D12,D13,D14,D15}
Note:
• You need add the volt unit(V/mV) to the
threshold. If there is no unit added, it defaults
to be V.
•The range of threshold is related to the vertical
scale of the source.
Command message:
TRUART:RX C3,0.2V
217
Digital Oscilloscope Series
<source>:=
{C1,C2,C3,C4,D0,D1,D2,D3,D4,D5,D6,D7,D
8,D9,D10,D11,D12,D13,D14,D15}
Note:
• You need add the volt unit(V/mV) to the
threshold. If there is no unit added, it defaults
to be V.
•The range of threshold is related to the vertical
scale of the source.
Command message:
TRUART:TX C3,0.2V
218
Digital Oscilloscope Series
<source>:= {RX,TX}
Command message:
TRUART:TRTY TX
219
Digital Oscilloscope Series
<condition>:=
{START,STOP,DATA,ERROR}
Command message:
TRUART:CON START
220
Digital Oscilloscope Series
<condition>:= {EQUAL,MORE,LESS }
Command message:
TRUART:QUAL EQUAL
221
Digital Oscilloscope Series
<value>:= 0 to 256
Note:
Use the don't care data (256) to ignore the data
value.
Command message:
TRUART:DATA 41
Command message:
TRUART:DATA 256
222
Digital Oscilloscope Series
<value1>:=
{600,1200,2400,4800,9600,19200,38400,5760
0,115200,CUSTOM}
Command message:
TRUART:BAUD 9600
Command message:
TRUART:BAUD CUSTOM,2000
223
Digital Oscilloscope Series
<value>:= 5 to 8
Command message:
TRUART:DLEN 6
224
Digital Oscilloscope Series
<value>:= {NONE,ODD,EVEN}
Command message:
TRUART:PAR ODD
225
Digital Oscilloscope Series
<value>:= {LOW,HIGH}
Command message:
TRUART:POL LOW
226
Digital Oscilloscope Series
<value>:= {1,1.5,2}
Command message:
TRUART:STOP 1
227
Digital Oscilloscope Series
<value>:= {LSB,MSB}
Command message:
TRUART:BIT MSB
228
Digital Oscilloscope Series
<source>:=
{C1,C2,C3,C4,D0,D1,D2,D3,D4,D5,D6,D7,D
8,D9,D10,D11,D12,D13,D14,D15}
Note:
• You need add the volt unit(V/mV) to the
threshold. If there is no unit added, it defaults
to be V.
•The range of threshold is related to the vertical
scale of the source.
Command message:
TRCAN:CANH C3,0.2V
229
Digital Oscilloscope Series
<condition>:=
{START,REMOTE,ID,ID_AND_DATA,ERR
OR}
Command message:
TRCAN:CON START
230
Digital Oscilloscope Series
Note:
•Use the don't care data (2048) to ignore the
address value when trigger condition is ID or
ID_AND_DATA, and the ID length is 11.
•Use the don't care data (536870912) to ignore
the address value when trigger condition is ID
or ID_AND_DATA, and the ID length is 29.
Command message:
TRCAN:ID 41
Command message:
TRCAN:ID 2048
231
Digital Oscilloscope Series
232
Digital Oscilloscope Series
<value>:= {11BITS,29BITS}
Command message:
TRCAN:IDL 11BITS
233
Digital Oscilloscope Series
<value>:= 0 to 256
Note:
Use the don't care data (256) to ignore the data
value.
Command message:
TRCAN:DATA 41
Command message:
TRCAN:DATA 256
234
Digital Oscilloscope Series
<value>:= 0 to 256
Note:
Use the don't care data (256) to ignore the data
value.
Command message:
TRCAN:DAT2 41
Command message:
TRCAN:DAT2 256
235
Digital Oscilloscope Series
<value1>:=
{5k,10k,20k,59k,100k,125k,250,500k,800k,1
M,CUSTOM}
Command message:
TRCAN:BAUD 5k
Command message:
TRCAN:BAUD CUSTOM,100000
236
Digital Oscilloscope Series
<source>:=
{C1,C2,C3,C4,D0,D1,D2,D3,D4,D5,D6,D7,D
8,D9,D10,D11,D12,D13,D14,D15}
Note:
• You need add the volt unit(V/mV) to the
value. If there is no unit added, it defaults to be
V.
•The range of value is related to the vertical
scale of the source.
Command message:
TRLIN:SRC C3,0.2V
237
Digital Oscilloscope Series
<condition>:=
{BREAK,ID,ID_AND_DATA,DATA_ERRO
R}
Command message:
TRLIN:CON BREAK
238
Digital Oscilloscope Series
<value>:= 0 to 64.
Note:
Use the don't care data (64) to ignore the ID
value.
Command message:
TRLIN:ID 41
Command message:
TRLIN:ID 64
239
Digital Oscilloscope Series
<value>:= 0 to 256
Note:
Use the don't care data (256) to ignore the data
value.
Command message:
TRLIN:DATA 41
Command message:
TRLIN:DATA 256
240
Digital Oscilloscope Series
<value>:= 0 to 256.
Note:
Use the don't care data (256) to ignore the data
value.
Command message:
TRLIN:DAT2 41
Command message:
TRLIN:DAT2 256
241
Digital Oscilloscope Series
<value1>:=
{600,1200,2400,4800,9600,19200,CUSTOM}
Command message:
TRLIN:BAUD 9600
Command message:
TRLIN:BAUD CUSTOM,500
242
Digital Oscilloscope Series
WAVEFORM Commands
The WAVEFORM subsystem is used to transfer data to a controller from the
oscilloscope waveform memory.
The waveform record is actually contained in two portions: the preamble and
waveform data. The waveform record must be read from the oscilloscope by the
controller using two separate commands. The waveform data is the actual data
acquired for each point in the specified source. The preamble contains the
information for interpreting the waveform data.
WF?
WFSU
243
Digital Oscilloscope Series
Note:
The format of the waveform data depends on
the current settings specified by the last
WFSU command.
<trace>:={C1,C2,C3,C4,MATH,D0,D1,D2,
D3,D4,D5,D6,D7,D8,D9,D10,D11,D12,D1
3,D14,D15}
•C[X] — Analog channel.
• D[X] — Digital channel. Only valid for
SDS1000X-E series.
• MATH — Valid except for the FFT
waveform and only valid for SDS1000X-E
series.
<section>:={DAT2}
•DAT2 — Return the main data include the
head, the wave data and the ending flag. The
length of data is current memory depth.
244
Digital Oscilloscope Series
Query message:
C1:WF? DAT2
Response message:
The head of message: C1:WF DAT2. These are followed by the string
#9000000070, the beginning of a binary block in which nine ASCII
integers are used to give the length of the block (70 bytes). After the length
of block, is beginning of the wave data. “0A 0A” means the end of data.
245
Digital Oscilloscope Series
code value: The decimal of wave data.
Note: If the decimal is greater than “127”, it should minus 255.Then the
value is code value. Such as the wave data is “FC” convert to decimal is
“252”. So the code value is 252-255 = -3.
According to the wave data, we can know the first point of waveform is
the 22th data “02”, convert to decimal is “2” (Hexadecimal converted to
decimal).
246
Digital Oscilloscope Series
Return TDIV 5.00E-09S.
The time value of the first data point: time value = - (5.00E-09*14/2) = -
35.00E-09(s) = -35(ns).
So the time value of the second data point: value = -35ns+1ns = -34ns.
Use python to reconstruct the waveform: (See the code in Read Waveform
247
Digital Oscilloscope Series
Data (WF) Example)
Note: If you want the command return the “numerical” data type only (i.e.
return as “1.00E+09” when send the command “SARA?”), send the command
“CHDR OFF” at the first. See CHDR for details.
248
Digital Oscilloscope Series
Query message:
D0:WF? DAT2
Response message:
The head of message: D0:WF ALL. These are followed by the string
#9000000700, the beginning of a binary block in which nine ASCII integers
are used to give the length of the data (700 points). For digital, one bit
represents a data point, so there are 88 bytes. After the length of block, is
beginning of the wave data. “0A 0A” means the end of data.
Step 2: Covert to the high (1) and low (0) corresponding to the data point.
According to the wave data, we can know the first eight points of
249
Digital Oscilloscope Series
waveform is the 22th byte “00”, convert to binary is “00000000”
(Hexadecimal converted to binary (LSB)).
The time value of the first data point: time value = - (5.00E-08*14/2) = -
3.50E-07(s) = -350(ns).
So the time value of the second data point: value = -350ns+1ns = -349ns.
Use python to reconstruct the waveform: (See the code in Read Waveform
Data of Digital Example)
250
Digital Oscilloscope Series
251
Digital Oscilloscope Series
Query message:
MATH:WF? DAT2
Response message:
The head of message: MATH:WF ALL. These are followed by the string
#9000000700, the beginning of a binary block in which nine ASCII
integers are used to give the length of the block (700 bytes). The point
number is 700 with interpolation. After the length of block, is beginning
of the wave data. “0A 0A” means the end of data.
code value: The decimal of wave data. Different from the code of analog
channel waveform, it contains the offset.
Note: If the decimal is greater than “127”, it should minus 255.Then the
value is code value. Such as the wave data is “FC” convert to decimal is
“252”. So the code value is 252-255 = -3.
252
Digital Oscilloscope Series
According to the wave data, we can know the first point of waveform is
the 24th data “FF”, convert to decimal is “255” (Hexadecimal converted
to decimal). Then minus 255, the code value is 0.
The time value of the first data point: time value = - (5.00E-09*14/2) = -
35.00E-09(s) = -35(ns).
253
Digital Oscilloscope Series
So the time value of the second data point: value = -35ns+0.1ns = -34.9ns.
254
Digital Oscilloscope Series
For example:
SP = 0 sends all data points.
SP = 1 sends all data points.
SP = 4 sends every 4th data point.
For example:
NP = 0 sends all data points.
NP = 50 sends a maximum of 50 data points.
For example:
FP = 0 corresponds to the first data point.
FP = 1 corresponds to the second data point.
Note:
•You can set the sparse point or number of
points or the first point using key-value pairs
alone. See the example for details.
•After power on, SP is set to 0,NP is set to
0,and FP is set to 0.
255
Digital Oscilloscope Series
Command message:
WFSU SP,3,FP,200
256
Digital Oscilloscope Series
WGEN Commands
When the built-in waveform generator is licensed (Option AWG), you can use it
to output sine, square, ramp, pulse, DC, noise, exponential rise, exponential fall,
cardiac, Gaussian pulse and arbitrary waveforms. The WGEN commands are
used to select the waveform function and parameters.
ARWV
PROD?
STL?
WGEN
WVPR?
Note:
These commands are only valid for the model which has installed AWG option.
257
Digital Oscilloscope Series
<index>:= {0,1,2,3,4,5,6,7,8,9}.
Command message:
ARWV INDEX,3
Note:
See the table Availability of WGEN Commands in Each Oscilloscope Series for details.
258
Digital Oscilloscope Series
<parameter>:={MODEL,BAND}
Query message:
PROD? BAND
Response message:
PROD BAND,25MHz
Note:
See the table Availability of WGEN Commands in Each Oscilloscope Series for details.
259
Digital Oscilloscope Series
<type>:={DEBUG,RELEASE}
Query message:
STL? DEBUG
Response message:
STL
M0,SINE,M1,NOISE,M2,CARDIAC,M3,GA
US_PULSE,M4,EXP_RISE,M5,EXP_FALL,
M6,EMPTY,M7,EMPTY,M8,EMPTY,M9,E
MPTY
Note:
See the table Availability of WGEN Commands in Each Oscilloscope Series for details.
260
Digital Oscilloscope Series
261
Digital Oscilloscope Series
<parameter>:={OUTP,WVTP,FREQ,AMP
L,OFST,DCOFST,DUTY,SYMM,WIDTH,
STDEV,MEAN,LOAD,ALL}
Command message:
WGEN
TYPE,SQUARE,FREQ,10000Hz,AMPL,2.5
V,DUTY,45%
Command message:
WGEN
TYPE,NOISE,STDEV,0.2V,MEAN,1V
Command message:
WGEN OUTP,OFF
Note:
See the table Availability of WGEN Commands in Each Oscilloscope Series for details.
262
Digital Oscilloscope Series
Query message:
WVPR? M0
Response message:
WVPR
POS,M0,WVNM,SINE,FREQ,1.000000e+0
3,AMPL,6.000000e+00,OFST,0.000000e+0
0
Note:
See the table Availability of WGEN Commands in Each Oscilloscope Series for details.
263
Digital Oscilloscope Series
Obsolete commands are older forms of commands that are provided to reduce
customer rework for existing systems and programs.
Generally, these commands are mapped onto some of the commands, but may
not strictly have the same behavior as the new command.
264
Digital Oscilloscope Series
<state>:={ON,OFF}
Command message:
ACAL OFF
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X yes
SDS1000X no
SDS1000X-E no
265
Digital Oscilloscope Series
<type>:={SP,MP,RS,DRP,RC}
Command message:
AUTTS MP
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X yes
SDS1000X yes
266
Digital Oscilloscope Series
SDS1000X-E no
267
Digital Oscilloscope Series
Command message:
COUN ON
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X no
SDS1000X no
SDS1000X-E no
268
Digital Oscilloscope Series
Command message:
CRAU
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X no
SDS1000X no
SDS1000X-E no
269
Digital Oscilloscope Series
<state>:={OFF,ON}
•ON — The file contains the oscilloscope model,
serial number, software version number, and the
current parameter configuration of the
oscilloscope as shown below.
•OFF — The file only contains the waveform
data as shown below.
State is ON:
State is OFF:
270
Digital Oscilloscope Series
Format 2:
CSV_SAVE SAVE,<state>
<state>:={OFF,ON}
Format 3:
CSV_SAVE DD,<DD>,SAVE,<state>
<DD>:={MAX,DIS}
•MAX — save as the maximum data depth.
•DIS — save as the date depth which is displayed on
the screen.
<state>:={OFF,ON}
Note:
•The table below shows the available format in
each oscilloscope series.
Command message:
CSVS OFF
271
Digital Oscilloscope Series
SDS1000A Format 3
SDS1000CML+/CNL+/DL+/E+/F+ Format 3
SDS2000X Format 2
SDS1000X Format 2
SDS1000X-E Format 1
272
Digital Oscilloscope Series
Obsolete DATE
Command /Query
<day>:= 1 to 31.
<month>:={JAN,FEB,MAR,APR,MAY,JUN,JU
L,AUG,SEP,OCT,NOV,DEC}
<hour>:= 0 to 23.
<minute>:= 0 to 59.
<second>:= 0 to 59.
Command message:
DATE 1,NOV,2017,14,38,16
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A no
SDS1000CML+/CNL+/DL+/E+/F+ no
SDS2000X yes
273
Digital Oscilloscope Series
SDS1000X no
SDS1000X-E no
274
Digital Oscilloscope Series
<zoom>:={1,2,5,10}
Command message:
FFTZ 1
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X yes
SDS1000X yes
SDS1000X-E no
275
Digital Oscilloscope Series
<channel>:={C1,C2,C3,C4}
<state>:={ON,OFF}
Command message.
C1:FILT ON
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X no
SDS1000X no
SDS1000X-E no
276
Digital Oscilloscope Series
<type>:={LP,HP,BP,BR}
•LP — low-pass.
•HP — high-pass.
•BP — band-pass.
•BR — band-reject.
<limit>:={UPPLIMIT,LOWLIMIT}
Note:
If selected the <limit>, the <type> must be
related.
Command message:
C1:FILTS
TYPE,BP,UPPLIMIT,200KHz,LOWLIMIT,100K
Hz
277
Digital Oscilloscope Series
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X no
SDS1000X no
SDS1000X-E no
278
Digital Oscilloscope Series
<state>:={ON,OFF}
Command message:
PDET ON
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X yes
SDS1000X yes
SDS1000X-E no
279
Digital Oscilloscope Series
<trace>:={C1,C2,C3,C4}
<control>:={START,STOP}
<output>:={FAIL,PASS}
<state>:={ON,OFF}
Command message:
PFCT
TRACE,C1,CONTROL,START,OUTPUT,PASS,
OUTPUTSTOP,OFF
Note:
The table below shows the availability of command in each oscilloscope series.
280
Digital Oscilloscope Series
Model Valid?
SDS1000CFL yes
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X yes
SDS1000X yes
SDS1000X-E no
281
Digital Oscilloscope Series
<mode>:={ON,OFF}
Command message:
PERS ON
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X yes
SDS1000X yes
SDS1000X-E no
282
Digital Oscilloscope Series
<device>:={UDSK}
Command message:
M1:REC DISK,UDSK,FILE,‘C1WF.DAV’
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X yes
SDS1000X yes
SDS1000X-E no
283
Digital Oscilloscope Series
284
Digital Oscilloscope Series
<ref>:={RA,RB,RC,RD}
<state>:={ON,OFF}
The state enables or disables to display the
specified reference waveform.
Note:
If the command syntax include ‘SAVE, DO’,
the specified trace will be saved to the
specified reference waveform.
Command message:
REFS
TRACE,C1,REF,RA,STATE,ON,SAVE,DO
Note:
285
Digital Oscilloscope Series
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X yes
SDS1000X yes
SDS1000X-E no
286
Digital Oscilloscope Series
<trace>:={TA,TB,TC,TD}
Note:
•If there is no unit(V/mV/uV) added, it defaults
to be V.
•If you set the offset to a value outside of the
legal range, the center value is automatically set
to the nearest legal value. Legal values are
affected by the Scale setting.
Command message:
TA:VPOS 3V
Note:
The table below shows the availability of command in each oscilloscope series.
Model Valid?
SDS1000CFL yes
287
Digital Oscilloscope Series
SDS1000A yes
SDS1000CML+/CNL+/DL+/E+/F+ yes
SDS2000X yes
SDS1000X yes
SDS1000X-E no
288
Digital Oscilloscope Series
Programming Examples
This chapter gives some examples for the programmer. In these examples you
can see how to use VISA or sockets, in combination with the commands
described above to control the oscilloscope. By following these examples, you
can develop many more applications.
VISA Examples
VC++ Example
VB Example
MATLAB Example
LabVIEW Example
C# Example
Examples of Using Sockets
Python Example
C Example
Common Command Examples
Read Waveform Data (WF) Example
Screen Dump (SCDP) Example
289
Digital Oscilloscope Series
VISA Examples
VC++ Example
Environment: Win7 32-bit, Visual Studio.
Description: Use National Instruments VISA to control the device with
USBTMC or TCP/IP access. Perform a write and read operation.
Steps:
1. Open Visual Studio, create a new VC++ win32 project.
2. Set the project environment to use the NI-VISA library. There are two ways to
use NI-VISA, static or automatic:
a) Static:
Find the files visa.h, visatype.h, visa32.lib in the NI-VISA installation path,
copy them to your project, and add them into the project. In the
projectname.cpp file, add the follow two lines:
#include "visa.h"
#pragma comment(lib,"visa32.lib")
b) Automatic:
Set the .h file include directory, the NI-VISA install path, in our computer
we set the path is: C:\Program Files\IVI Foundation \VISA\WinNT\include.
Set this path to project---properties---c/c++---General---Additional Include
Directories: See the picture.
290
Digital Oscilloscope Series
Set lib path: the NI-VISA install path, in our computer we set the path is :
C:\Program Files\IVI Foundation\VISA\WinNT
\lib\msc. Set this path to project---properties---Linker---General---
Additional Library Directories: as shown in the pictures below.
291
Digital Oscilloscope Series
a) USBTMC:
IntUsbtmc_test()
{
/* This code demonstrates sending synchronous read & write commands */
/* to an USB Test & Measurement Class (USBTMC) instrument using */
/* NI-VISA */
/* The example writes the "*IDN?\n" string to all the USBTMC */
/* devices connected to the system and attempts to read back */
/* results using the write and read functions. */
/* The general flow of the code is */
/* Open Resource Manager */
/* Open VISA Session to an Instrument */
/* Write the Identification Query Using viPrintf */
/* Try to Read a Response With viScanf */
/* Close the VISA Session */
/***********************************************************/
ViSession defaultRM;
ViSession instr;
ViUInt32 numInstrs;
ViFindList findList;
ViUInt32 retCount;
ViUInt32 writeCount;
ViStatus status;
Char instrResourceString[VI_FIND_BUFLEN];
Unsigned char buffer[100];
Charstringinput[512];
Int i;
/** First we must call viOpenDefaultRM to get the manager
* handle. We will store this handle in defaultRM.*/
status=viOpenDefaultRM (&defaultRM);
292
Digital Oscilloscope Series
if (status<VI_SUCCESS)
{
printf ("Could not open a session to the VISA Resource Manager!\n");
return status;
}
/* Find all the USB TMC VISA resources in our system and store the number of
resources in the system in numInstrs. */
status = viFindRsrc (defaultRM, "USB?*INSTR", &findList, &numInstrs,
instrResourceString);
if (status<VI_SUCCESS)
{
printf ("An error occurred while finding resources.\nHit enter to continue.");
fflush(stdin);
getchar();
viClose (defaultRM);
return status;
}
/** Now we will open VISA sessions to all USB TMC instruments.
* We must use the handle from viOpenDefaultRM and we must
* also use a string that indicates which instrument to open. This
* is called the instrument descriptor. The format for this string
* can be found in the function panel by right clicking on the
* descriptor parameter. After opening a session to the
* device, we will get a handle to the instrument which we
* will use in later VISA functions. The AccessMode and Timeout
* parameters in this function are reserved for future
* functionality. These two parameters are given the value VI_NULL.*/
for (i=0; i<numInstrs; i++)
{
if (i> 0)
{
293
Digital Oscilloscope Series
viFindNext (findList, instrResourceString);
}
status = viOpen (defaultRM, instrResourceString, VI_NULL, VI_NULL, &instr);
if (status<VI_SUCCESS)
{
printf ("Cannot open a session to the device %d.\n", i+1);
continue;
}
/* * At this point we now have a session open to the USB TMC instrument.
* We will now use the viPrintf function to send the device the string "*IDN?\n",
* asking for the device's identification. */
char * cmmand ="*IDN?\n";
status = viPrintf (instr, cmmand);
if (status<VI_SUCCESS)
{
printf ("Error writing to the device %d.\n", i+1);
status = viClose (instr);
continue;
}
/** Now we will attempt to read back a response from the device to
* the identification query that was sent. We will use the viScanf
* function to acquire the data.
* After the data has been read the response is displayed.*/
status = viScanf(instr, "%t", buffer);
if (status<VI_SUCCESS)
{
printf ("Error reading a response from the device %d.\n", i+1);
}
else
{
printf ("\nDevice %d: %*s\n", i+1,retCount, buffer);
294
Digital Oscilloscope Series
}
status = viClose (instr);
}
/** Now we will close the session to the instrument using
* viClose. This operation frees all system resources. */
status = viClose (defaultRM);
printf("Press 'Enter' to exit.");
fflush(stdin);
getchar();
return 0;
}
b) TCP/IP:
intTCP_IP_Test(char *pIP)
{
char outputBuffer[VI_FIND_BUFLEN];
ViSession defaultRM, instr;
ViStatus status;
ViUInt32 count;
ViUInt16 portNo;
/* First we will need to open the default resource manager. */
status = viOpenDefaultRM (&defaultRM);
if (status<VI_SUCCESS)
{
printf("Could not open a session to the VISA Resource Manager!\n");
}
/* Now we will open a session via TCP/IP device */
char head[256] ="TCPIP0::";
char tail[] ="::INSTR";
char resource [256];
295
Digital Oscilloscope Series
strcat(head,pIP);
strcat(head,tail);
status = viOpen (defaultRM, head, VI_LOAD_CONFIG, VI_NULL, &instr);
if (status<VI_SUCCESS)
{
printf ("An error occurred opening the session\n");
viClose(defaultRM);
}
status = viPrintf(instr, "*idn?\n");
status = viScanf(instr, "%t", outputBuffer);
if (status<VI_SUCCESS)
{
printf("viRead failed with error code: %x \n",status);
viClose(defaultRM);
}
else
{
printf ("\ndata read from device: %*s\n", 0,outputBuffer);
}
status = viClose (instr);
status = viClose (defaultRM);
printf("Press 'Enter' to exit.");
fflush(stdin);
getchar();
return 0;
}
296
Digital Oscilloscope Series
VB Example
Environment: Windows7 32-bit, Microsoft Visual Basic 6.0
Description: The function of this example: Use the NI-VISA, to control the
device with USBTMC and TCP/IP access to do a write and read.
Steps:
1. Open Visual Basic, and build a standard application program project.
2.Set the project environment to use the NI-VISA lib: Click the Existing tab
of Project>>Add Module, search the visa32.bas file in the “include” folder
under the NI-VISA installation path and add the file, as shown in the figure
below:
3. Coding:
a) USBTMC:
297
Digital Oscilloscope Series
' NI-VISA
' The example writes the "*IDN?\n" string to all the USBTMC
' devices connected to the system and attempts to read back
' results using the write and read functions.
' The general flow of the code is
' Open Resource Manager
' Open VISA Session to an Instrument
' Write the Identification Query Using viWrite
' Try to Read a Response With viRead
' Close the VISA Session
Const MAX_CNT = 200
298
Digital Oscilloscope Series
' Find all the USB TMC VISA resources in our system and store the
' number of resources in the system in numInstrs.
status=viFindRsrc(defaultRM,"USB?*INSTR",findList,numlnstrs,instrResourceString)
If (status < VI_SUCCESS) Then
Debug.Print "An error occurred while finding resources."
viClose (defaultRM)
Usbtmc_test = status
Exit Function
End If
' Now we will open VISA sessions to all USB TMC instruments.
' We must use the handle from viOpenDefaultRM and we must
' also use a string that indicates which instrument to open. This
' is called the instrument descriptor. The format for this string
' can be found in the function panel by right clicking on the
' descriptor parameter. After opening a session to the
' device, we will get a handle to the instrument which we
' will use in later VISA functions. The AccessMode and Timeout
' parameters in this function are reserved for future
' functionality. These two parameters are given the value VI_NULL.
For i = 0 To numInstrs
If (i > 0) Then
status = viFindNext(findList, instrResourceString)
End If
status = viOpen(defaultRM, instrResourceString, VI_NULL, VI_NULL, instrsesn)
If (status < VI_SUCCESS) Then
Debug.Print "Cannot open a session to the device ", i + 1
GoTo NextFind
End If
' At this point we now have a session open to the USB TMC instrument.
299
Digital Oscilloscope Series
' We will now use the viWrite function to send the device the string "*IDN?",
' asking for the device's identification.
status = viWrite(instrsesn, "*IDN?", 5, retCount)
If (status < VI_SUCCESS) Then
Debug.Print "Error writing to the device."
status = viClose(instrsesn)
GoTo NextFind
End If
' Now we will attempt to read back a response from the device to
' the identification query that was sent. We will use the viRead
' function to acquire the data.
' After the data has been read the response is displayed.
status = viRead(instrsesn, buffer, MAX_CNT, retCount)
If (status < VI_SUCCESS) Then
Debug.Print "Error reading a response from the device.", i + 1
Else
Debug.Print i + 1, retCount, buffer
End If
status = viClose(instrsesn)
Next i
b) TCP/IP:
300
Digital Oscilloscope Series
Dim outputBuffer As String * VI_FIND_BUFLEN
Dim defaultRM As Long
Dim instrsesn As Long
Dim status As Long
Dim count As Long
301
Digital Oscilloscope Series
Else
Debug.Print "read from device:", outputBuffer
End If
status = viClose(instrsesn)
status = viClose(defaultRM)
TCP_IP_Test = 0
End Function
302
Digital Oscilloscope Series
MATLAB Example
Environment: Windows7 32-bit, MATLAB R2010b
Description: The function of this example: Use the NI-VISA, to control the
device with USBTMC or TCP/IP access to do a write and read.
Steps:
1.Open MATLAB, and modify the current directory. In this demo, the current
directory is modified to D:\USBTMC_TCPIP_Demo.
3. Coding:
a) USBTMC:
function USBTMC_test()
% This code demonstrates sending synchronous read & write commands
% to an USB Test & Measurement Class (USBTMC) instrument using
% NI-VISA
end
b) TCP/IP:
function TCP_IP_test( IPstr )
303
Digital Oscilloscope Series
% This code demonstrates sending synchronous read & write commands
% to an TCP/IP instrument using NI-VISA
end
304
Digital Oscilloscope Series
LabVIEW Example
Environment: Windows7 32-bit, LabVIEW 2011
Description: The functions of this example: use the NI-VISA, to control the
device with USBTMC and TCP/IP access to do a write and read.
Steps:
1. Open LabVIEW, create a VI file.
2. Add controls. Right-click in the Front Panel interface, select and add VISA
resource name, error in, error out and some indicators from the Controls
column.
3. Open the Block Diagram interface. Right-click on the VISA resource
name and you can select and add the following functions from VISA Palette
from the pop-up menu: VISA Write, VISA Read, VISA Open and VISA
Close.
4. The connection is as shown in the figure below:
5. Select the device resource from the VISA Resource Name list box and run
the program.
305
Digital Oscilloscope Series
306
Digital Oscilloscope Series
307
Digital Oscilloscope Series
C# Example
Environment: Windows7 32-bit, Visual Studio
Description: The functions of this example: use the NI-VISA, to control the
device with USBTMC or TCP/IP access to do a write and read.
Steps:
1.Open Visual Studio, create a new C# project.
2.Add References. Add NationalInstruments.Common.dll and
NationalInstruments.VisaNS.dll to the project. (Notice: you must install
the .NET Framework 3.5/4.0/4.5 Languages support when you install the NI-
VISA.)
3. Coding:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NationalInstruments.VisaNS;
namespace TestVisa
308
Digital Oscilloscope Series
{
class Program
{
static void Main(string[] args)
{
// Find all the USBTMC resources
string[]
usbRsrcStrings=ResourceManager.GetLocalManager().FindResources("
USB?*INSTR");
if (usbRsrcStrings.Length <= 0)
{
Console.WriteLine("Can not find USBTMC Device!");
return;
}
309
Digital Oscilloscope Series
Console.WriteLine(result);
}
}
}
310
Digital Oscilloscope Series
Note that SCPI strings are terminated with a “\n” (new line) character.
Python Example
Python has a low-level networking module that provides access to the socket
interface. Python scripts can be written for sockets to do a variety of test and
measurement tasks.
311
Digital Oscilloscope Series
def SocketConnect():
try:
#create an AF_INET, STREAM socket (TCP)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
except socket.error:
print ('Failed to create socket.')
sys.exit();
try:
#Connect to remote server
s.connect((remote_ip , port))
info = s.recv(4096)
print (info)
except socket.error:
print ('failed to connect to ip ' + remote_ip)
return s
def SocketClose(Sock):
#close the socket
Sock.close()
312
Digital Oscilloscope Series
time.sleep(.300)
def main():
global remote_ip
global port
global count
# Body: send the SCPI commands *IDN? 10 times and print the return message
s = SocketConnect()
for i in range(10):
qStr = SocketQuery(s, b'*IDN?')
print (str(count) + ":: " + str(qStr))
count = count + 1
SocketClose(s)
input('Press "Enter" to exit')
if __name__ == '__main__':
proc = main()
313
Digital Oscilloscope Series
C Example
int MySocket;
if((MySocket=socket(PF_INET,SOCK_STREAM,0))==-1)
{
exit(1);
}
struct in_addr
{
unsigned long s_addr;
};
struct sockaddr_in
{
short int sin_family; // Address family
unsigned short int sin_port; // Port number
struct in_addr sin_addr; // Internet address
unsigned char sin_zero[8]; // Padding
};
struct sockaddr_in MyAddress;
// Read response
char buffer[200];
int actual;
if((actual=recv(MySocket,&buffer[0],200,0))==-1)
{
exit(1);
}
314
Digital Oscilloscope Series
buffer[actual]=0; // Add zero character (C string)
printf(“Instrument ID: %s\n”,buffer);
// Close socket
if(close(MySocket)==-1)
{
exit(1);
}
315
Digital Oscilloscope Series
def main():
_rm = visa.ResourceManager()
sds = _rm.open_resource("USB0::0xF4EC::0xEE38::0123456789::INSTR")
sds.write("chdr off")
vdiv = sds.query("c1:vdiv?")
ofst = sds.query("c1:ofst?")
tdiv = sds.query("tdiv?")
sara = sds.query("sara?")
sara_unit = {'G':1E9,'M':1E6,'k':1E3}
for unit in sara_unit.keys():
if sara.find(unit)!=-1:
sara = sara.split(unit)
sara = float(sara[0])*sara_unit[unit]
break
sara = float(sara)
sds.timeout = 30000 #default value is 2000(2s)
sds.chunk_size = 20*1024*1024 #default value is 20*1024(20k bytes)
sds.write("c1:wf? dat2")
recv = list(sds.read_raw())[15:]
recv.pop()
recv.pop()
volt_value = []
for data in recv:
if data > 127:
data = data - 255
else:
pass
volt_value.append(data)
time_value = []
for idx in range(0,len(volt_value)):
volt_value[idx] = volt_value[idx]/25*float(vdiv)-float(ofst)
time_data = -(float(tdiv)*14/2)+idx*(1/sara)
time_value.append(time_data)
316
Digital Oscilloscope Series
pl.figure(figsize=(7,5))
pl.plot(time_value,volt_value,markersize=2,label=u"Y-T")
pl.legend()
pl.grid()
pl.show()
if __name__=='__main__':
main()
def get_char_bit(char,n):
return (char >> n) & 1
def main():
_rm = visa.ResourceManager()
sds = _rm.open_resource("USB0::0xF4EC::0xEE38::0123456789::INSTR")
sds.write("chdr off")
tdiv = sds.query("tdiv?")
sara = sds.query("di:sara?")
sara_unit = {'G':1E9,'M':1E6,'k':1E3}
for unit in sara_unit.keys():
if sara.find(unit)!=-1:
sara = sara.split(unit)
sara = float(sara[0])*sara_unit[unit]
break
sara = float(sara)
sds.timeout = 30000 #default value is 2000(2s)
sds.chunk_size = 20*1024*1024 #default value is 20*1024(20k bytes)
sds.write("d0:wf? dat2")
recv = list(sds.read_raw())[15:]
recv.pop()
recv.pop()
volt_value = []
data =bytearray(recv)
317
Digital Oscilloscope Series
time_data = -(float(tdiv)*14/2)+idx*(1/sara)
time_value.append(time_data)
pl.figure(figsize=(7,5))
pl.ylim(-1,2)
pl.plot(time_value,volt_value,markersize=2,label=u"Y-T")
pl.legend()
pl.grid()
pl.show()
if __name__=='__main__':
main()
def main():
_rm = visa.ResourceManager()
sds = _rm.open_resource("USB0::0xF4EC::0xEE38::0123456789::INSTR")
file_name = "F:\\SCDP.bmp"
sds.write("SCDP")
result_str = sds.read_raw()
f = open(file_name,'wb')
f.write(result_str)
f.flush()
f.close()
if __name__=='__main__':
main()
318
Digital Oscilloscope Series
Index
A
ACQUIRE_WAY, ACQW, Command/Query, 28
ARBWAVE, ARWV, Command, 258
ARM_ACQUISITION, ARM, Command, 25
ATTENUATION, ATTN, Command/Query, 41
AUTO_CALIBRATE, ACAL, Command/Query, 265
AUTO_SETUP, ASET, Command, 39
AUTO_TYPESET, AUTTS, Command/Query, 266
AVERAGE_ACQUIRE, AVGA, Command/Query, 30
B
BANDWIDTH_LIMIT, BWL, Command/Query, 42
BUZZER, BUZZ, Command/ Query, 164
B<n>:DCCN, Command, 68
B<n>:DCIC, Command, 61
B<n>:DCLN, Command, 70
B<n>:DCSP, Command, 63
B<n>:DCUT, Command, 66
C
CAL?, Query, 163
COMM_HEADER, CHDR, Command/Query, 23
COMM_NET, CONET, Command/Query, 165
COUNTER, COUN, Command/Query, 268
COUPLING, CPL, Command/Query, 43
CURSOR_AUTO, CRAU, Command, 269
CURSOR_MEASURE, CRMS, Command/Query, 51
CURSOR_SET, CRST, Command/Query, 53
CURSOR_TYPE, CRTY, Command/Query, 55
CURSOR_VALUE?, CRVA?,Query, 56
CUSTOM, CUS, Command/Query, 80
CSV_SAVE, CSVS, Command/Query, 270
CYMOMETER, CYMT, Query, 111
D
DATE, Command/Query, 273
DCPA, Command, 60
DCST, Command/Query, 59
DEFINE, DEF, Command/Query, 94
DIGITAL_CHANNEL, DGCH, Command/Query, 73
DIGITAL_STATE, DGST, Command/Query, 74
319
Digital Oscilloscope Series
DIGITAL_THR, DGTH, Command/Query, 75
DOT_JOIN, DTJN, Command/Query, 83
F
FFT_CENTER, FFTC, Command/Query, 100
FFT_FULLSCREEN, FFTF, Command/Query, 102
FFT_POSITION, FFTP, Command/Query, 103
FFT_SCALE, FFTS, Command/Query, 105
FFT_TDIV?, FFTT?, Query, 107
FFT_UNIT, FFTU, Command/Query, 108
FFT_WINDOW, FFTW, Command/Query, 109
FFT_ZOOM, FFTZ, Command/Query, 275
FILTER, FILT, Command/Query, 276
FILT_SET, FILTS, Command/Query, 277
FRAME_SET, FRAM, Command, 89
FRAME_TIME?, FTIM?, Query, 90
G
GRID_DISPLAY, GRDS, Command/Query, 84
H
HOR_MAGNIFY, HMAG, Command/Query, 171
HOR_POSITION, HPOS, Command/Query, 173
HISTORY_LIST, HLST, Command/Query, 92
HISTORY_MODE, HSMD, Command/Query, 91
I
IDN?, Query, 19
INTENSITY, INTS, Command/Query, 85
INR?, Query, 160
INVERT_SET, INVS, Command/Query, 49/96
M
MEASURE_DELY, MEAD, Command/Query, 113
MENU, MENU, Command/Query, 86
MEMORY_SIZE, MSIZ, Command/Query, 31
MATH_VERT_DIV, MTVD, Command/Query, 97
MATH_VERT_POS, MTVP, Command/Query, 99
O
OFFSET, OFST, Command/Query, 44
OPC, Command, 20
320
Digital Oscilloscope Series
P
PANEL_SETUP, PNSU, Command/Query, 154
PARAMETER_CLR, PACL, Command, 125
PARAMETER_CUSTOM, PACU, Command, 116
PARAMETER_VALUE?, PAVA?, Query, 119
PEAK_DETECT, PDET, Command/Query, 279
PERSIST, PERS, Command/Query, 282
PERSIST_SETUP, PESU, Command/Query, 87
PF_BUFFER, PFBF, Command/Query, 126
PF_CONTROL, PFCT, Command/Query, 280
PF_CREATEM, PFCM, Command, 127
PF_DATEDIS?, PFDD?, Query, 128
PF_DISPLAY, PFDS, Command/Query, 129
PF_ENABLE, PFEN, Command/Query, 130
PF_FAIL_STOP, PFFS, Command/Query, 131
PF_OPERATION, PFOP, Command/Query, 133
PF_SET, PFST, Command/Query, 135
PF_SOURCE, PFSC, Command/Query, 134
PRODUCT?, PROD?, Query, 259
R
RCL, Command, 139
RECALL, REC, Command, 283
RECALL_PANEL, RCPN, Command, 140
REF_CLOSE, REFCL, Command, 143
REF_DISPALY, REFDS, Command/Query, 144
REF_LOCATION, REFLA, Command/Query, 145
REF_POISITION, REFPO, Command/Query, 146
REF_SAVE, REFSA, Command, 148
REF_SCLALE, REFSC, Command/Query, 149
REF_SET, REFS, Command/Query, 285
REF_SOURCE, REFSR, Command/Query, 151
RST, Command, 21
S
SAMPLE_NUM?, SANU?, Query, 35
SAMPLE_RATE?, SARA?, Query, 33
SAMPLE_STATUS?, SAST?, Query, 32
SAV, Command, 153
SCREEN_DUMP, SCDP, Query, 137
SCREEN_SAVE, SCSV, Command/Query, 166
SET50, Command, 176
SINXX_SAMPLE, SXSA, Command/Query, 36
SKEW, Command, 45
STORELIST?, STL?, Query, 260
321
Digital Oscilloscope Series
STOP, Command, 27
STORE_PANEL, STPN, Command, 156
SWITCH, SW, Command/Query, 77
T
THRESHOLD_MODE, TSM, Command/Query, 79
TIME_DIV, TDIV, Command/Query, 168
TRACE, TRA, Command/Query, 46/78
TRCAN:BAUD, Command/Query, 236
TRCAN:CANH, Command/Query, 229
TRCAN:CON, Command/Query, 230
TRCAN:DAT, Command/Query, 235
TRCAN:DATA, Command/Query, 234
TRCAN:ID, Command/Query, 231
TRCAN:IDL, Command/Query, 233
TRIIC:ADDR, Command/Query, 198
TRIIC:ALEN, Command/Query, 203
TRIIC:CON, Command/Query, 197
TRIIC:DAT2, Command/Query, 200
TRIIC:DATA, Command/Query, 199
TRIIC:DLEN, Command/Query, 204
TRIIC:RW, Command/Query, 202
TRIIC:QUAL, Command/Query, 201
TRIIC:SCL, Command/Query, 195
TRIIC:SDA, Command/Query, 196
TRIG_COUPLING, TRCP, Command/Query, 177
TRIG_DELAY, TRDL, Command/Query, 169
TRIG_LEVEL, TRLV, Command/Query, 178
TRIG_LEVEL2, TRLV2, Command/Query, 180
TRIG_MODE, TRMD, Command/Query, 182
TRIG_PATTERN, TRPA, Command/Query,184
TRIG_SELECT, TRSE, Command/Query, 185
TRIG_SLOPE, TRSL, Command/Query, 190
TRIG_WINDOW, TRWI, Command/Query, 191
TRLIN:BAUD, Command/Query, 242
TRLIN:CON, Command/Query, 238
TRLIN:DAT2, Command/Query, 241
TRLIN:DATA, Command/Query, 240
TRLIN:ID, Command/Query, 239
TRLIN:SRC, Command/Query, 237
TRSPI:BIT, Command/Query, 216
TRSPI:CLK, Command/Query, 205
TRSPI:CLK:EDGE, Command/Query, 206
TRSPI:CLK:TIM, Command/Query, 207
TRSPI:CS, Command/Query, 211
TRSPI:CSTP, Command/Query, 210
322
Digital Oscilloscope Series
TRSPI:DATA, Command, 214
TRSPI:DLEN, Command/Query, 215
TRSPI:MOSI, Command/Query, 208
TRSPI:MISO, Command/Query, 209
TRSPI:NCS, Command/Query, 212
TRSPI:TRTY, Command/Query, 213
TRUART:BAUD, Command/Query, 223
TRUART:BIT, Command/Query, 228
TRUART:CON, Command/Query, 220
TRUART:DATA, Command/Query, 222
TRUART:DLEN, Command/Query, 224
TRUART:QUAL, Command/Query, 221
TRUART:PAR, Command/Query, 225
TRUART:POL, Command/Query, 226
TRUART:RX, Command/Query, 217
TRUART:TRTY, Command/Query, 219
TRUART:TX, Command/Query, 218
TRUART:STOP, Command/Query, 227
U
UNIT, UNIT, Command/Query, 47
V
VOLT_DIV, VDIV, Command/Query, 48
VERT_POSITION, VPOS, Command/Query, 287
W
WAVEFORM?, WF?, Query, 244
WAVEFORM_SETUP, WFSU, Command/Query, 255
WAVEGENERATOR, WGEN, Command/Query, 261
WAVE_PARA?, WVPR?, Query,263
X
XY_DISPLAY, XYDS, Command/Query, 37
323