T3dso2000a Programming Manual
T3dso2000a Programming Manual
Programming Guide
Copyright and Declaration
Copyright
Teledyne LeCroy. All Rights Reserved.
Trademark Information
Teledyne Test Tools is the registered trademark of Teledyne LeCroy.
Declaration
Teledyne LeCroy products are protected by patent law in and outside of P.R.C.
Teledyne LeCroy reserves the right to modify or change parts of or all the specifications or pricing
policies at the company’s sole decision.
Information in this publication replaces all previously corresponding material.
Any way of copying, extracting or translating the contents of this manual is not allowed without
the permission of Teledyne LeCroy.
Product Certification
Teledyne LeCroy guarantees this product conforms to the national and industrial standards in
China and
other international standard conformance certifications are in progress.
Contact Us
If you have any problem or requirement when using our products, please contact Teledyne
LeCroy
Headquarters
Teledyne LeCroy
(US Headquarters)
700 Chestnut Ridge Road
Chestnut Ridge, NY. USA 10977-6499
This chapter declares the modifications of command in the most recent release of the
programming guide version.
Version at Introduction
This document defines the instruction format of each group according to the SCPI
specifications and adopts tree-style management. However, not all series models
support these instructions, see the next chapter “Supported Models” for details.
Supported Models
The commands and queries listed in this document can be used for Teledyne
LeCroy’s T3DSO2000A Digital Oscilloscope Series.
Users can remotely control the instrument through USB and LAN interfaces, in
combination with National Instruments NI-VISA and programming languages.
Through the LAN interface, users can communicate using VXI-11, Sockets and
Telnet protocols, depending on the capabilities of the specific instrument.
Establishing Communications
Install NI-VISA
USB control requires the National Instruments NI-VISA Library for communications.
We also recommend using it for LAN communications for its ease of use, but
sockets, telnet, and VXI-11 can also be implemented via LAN connections.
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 to 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 Teledyne Test Tools instrumentation. Download the latest version
available for the operating system being used by the controlling computer):
a. Double click the visa540_full.exe, the dialog will be similar to that shown below:
c. The NI-VISA installing dialog is shown above. Click Next to start the installation
process.
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:
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.
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.
7. Type quit at the prompt or close the Telnet window to close the connection to the
instrument and exit Telnet.
Socket API can be used to control the T3DSO2000A series via LAN without
installing any other libraries. This can reduce the complexity of programming.
Please see the section "Examples of Using Sockets" for the details.
Commands usually start with a colon [:]. A keyword is separated by a colon (:)
followed by optional parameter settings. A question mark (?) is added after the
command line to indicate that this function is queried. The command keyword is
separated from the first parameter by spaces.
Example:
:CHANnel:SCALe <value>
:CHANnel:SCALe?
Each command has both a long and a short form. Note that elsewhere in this
document a special notation is employed to differentiate the short form keyword from
the long form of the same keyword. The long form of the keyword is shown, with the
short form portion shown in uppercase characters, and the rest of the keyword is
shown in lowercase characters. If you want to abbreviate, you have to type all the
capital letters in the command format.
Example:
:CHANnel1:SCALe?
CHAN1:SCAL?
Syntax Notation
Angle brackets enclose words that are used as placeholders, of which there are two
types: the header path and the data parameter of a command. Parameters are
distinguished by enclosing the type name in angle brackets.
{ } (Braces)
Braces or curly brackets are used to enclose one or more parameters that may be
included zero or more times. The vertical bar (|) can be read as “or” and is used to
separate alternative parameter options.
[ ] (Square Brackets)
Square brackets are used to enclose a keyword that is optional when programming
the command; that is, the instrument shall process the command to have the same
effect whether the option node is omitted by the programmer or not.
… (Ellipsis)
An ellipsis (trailing dots) indicates that the preceding element may be repeated one
or more times.
Parameter Types
Enumeration
Numeric
Many oscilloscope commands require numeric arguments. The syntax shows the
format that the oscilloscope returns in response to a query. This is also the preferred
format when sending the command to the oscilloscope, though any of the formats will
be accepted. This documentation represents these arguments as described below.
Type
Meaning
<NR1> Signed integer value
<NR2> Floating point value without an exponent
Quoted String
A quoted string is simply a group of ASCII characters enclosed by double quote (").
The following is an example of a quoted string: "This is a quoted string". This
documentation represents these arguments as follows: Some commands accept or
return data in the form of a quoted string
Type Meaning
<qstring> Quoted string of ASCII text
A quoted string can include any character defined in the 7-bit ASCII character set.
Follow these rules when you use quoted strings:
1. Use a double quote character to open and close the string.
Example: "this is a valid string".
2. You can mix quotation marks within a string as long as you follow the previous
rule. But cannot include a double quote character within a string by repeating the
quote.
Example: "this is an 'acceptable' string".
3. You cannot include double quotes character within a string by repeating the double
quote.
Example: "here is a "" mark". It will be recognized as "here is a ".
4. Strings can have upper or lower case characters. But the oscilloscope will
automatically convert it to uppercase.
5. A carriage return or line feed embedded in a quoted string does be recognized as
the string.
This chapter introduces each command subsystem of the Teledyne Test Tools Digital
Oscilloscope Series command set. The contents of this chapter are shown as below:
The IEEE 488.2 standard defines some general commands for querying the basic
information of an instrument or performing common basic operations. These
commands usually start with *, and the command key length is 3 characters.
� *IDN
� *OPC
� *RST
Query message:
*IDN?
Response message:
LeCroy,T3DSO2502A,T3D5XDSO2R0160,4.6.0.8.7R1
DESCRIPTION The command query places an ASCII "1" in the output queue
when all pending device operations have completed. The
interface hangs until this query returns.
RESPONSE FORMAT 1
Response message:
1
Command message:
*RST
� :AUToset
� :PRINt
DESCRIPTION The command saves the screen image and specifies the
image format.
<type>:= {BMP|PNG}
� BMP selects bitmap format
� PNG selects Portable Networks Graphics format
EXAMPLE The following command saves the screen image of the BMP
type.
Command message:
:PRINt BMP
PRIN BMP
The :ACQUIRE subsystem commands control the way in which waveforms are
acquired. These commands set the parameters for acquiring and storing data.
� :ACQuire:AMODe
� :ACQuire:CSWeep
� :ACQuire:INTerpolation
� :ACQuire:MODE
� :ACQuire:MDEPth
� :ACQuire:POINts
� :ACQuire:SEQuence
� :ACQuire:SEQuence:COUNt
� :ACQuire:SRATe
� :ACQuire:TYPE
<rate>:= {FAST|SLOW}
Command message:
:ACQuire:AMODe FAST
ACQ:AMOD FAST
Query message:
ACQ:AMOD?
Response message:
FAST
Command message:
:ACQuire:CSWeep
ACQ:CSW
<state>:= {ON|OFF}
� ON selects sinx/x (sinc) interpolation
� OFF selects linear interpolation
<state>:= {ON|OFF}
Command message:
:ACQuire:INTerpolation ON
ACQ:INT ON
Query message:
ACQ:INT?
Response message:
ON
<mode_type>:= {YT|XY|ROLL}
� YT mode plots amplitude (Y) vs. time (T)
� XY mode plots channel X vs. channel Y, commonly
referred to as a Lissajous curve
� Roll mode plots amplitude (Y) vs. time (T) as in YT
mode, but begins to write the waveforms from the
right-hand side of the display. This is similar to a
“strip chart” recording and is ideal for slow events
that happen a few times/second.
<mode_type>:= {YT|XY|ROLL}
Command message:
:ACQuire:MODE YT
ACQ:MODE YT
Query message:
ACQ:MODE?
Response message:
YT
Model <memory_size>
Single Channel
T3DSO2000A
{20k|200k|2M|20M|200M}
Dual-Channel
{10k|100k|1M|10M|100M}
Note:
� Single Channel Mode: Only one of C1/C2 is turned
on, and only one of C3/C4 is turned on.
� Dual-Channel Mode: Both C1/C2 are turned on, or
both C3/C4 are turned on.
� Turn on digital channels or set the acquisition type to
AVERage/ERES or set the acquisition mode to
ROLL, will limit the memory depth.
Command message:
:ACQuire:MDEPth 10M
ACQ:MDEP 10M
Query message:
:ACQ:MDEP?
Response message:
10M
Query message:
ACQ:POIN?
Response message:
1.25E+08
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:ACQuire:SEQuence ON
ACQ:SEQ ON
Query message:
ACQ:SEQ?
Response message:
ON
Command message:
:ACQuire:SEQuence:COUNt 5
ACQ:SEQ:COUN 5
Query message:
ACQ:SEQ:COUN?
Response message:
5
Query message:
ACQ:SRAT?
Response message:
1.25E+09
<type>:= {NORMal|PEAK|AVERage[,<times>]|ERES[,<bits>]}
<times>:= {4|16|32|64|128|256|512|1024}
<bits>:= {0.5|1.0|1.5|2.0|2.5|3.0}
� NORMal sets the oscilloscope to normal mode.
� PEAK sets the oscilloscope to peak detect mode.
� AVERage sets the oscilloscope acquisition to averaging
mode. You can set the number of averages by sending
the command followed by a numeric integer value
<times>.
� ERES sets the oscilloscope to the enhanced resolution
mode. This is essentially a digital boxcar filter and is used
to reduce noise at slower sweep speeds. You can set the
enhanced bits by sending the command followed by the
<bits>.
Note:
The AVERage|ERES type is not available when in sequence
mode (:ACQuire:SEQuence ON).
<type>:= {NORMal|PEAK|AVERage[,<times>]|ERES[,<bits>]}
Query message:
ACQ:TYPE?
Response message:
AVERage,16
The :CHANnel<n> 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.
� :CHANnel<n>:BWLimit
� :CHANnel<n>:COUPling
� :CHANnel<n>:IMPedance
� :CHANnel<n>:INVert
� :CHANnel<n>:LABel
� :CHANnel<n>:LABel:TEXT
� :CHANnel<n>:OFFSet
� :CHANnel<n>:PROBe
� :CHANnel<n>:SCALe
� :CHANnel<n>:SKEW
� :CHANnel<n>:SWITch
� :CHANnel<n>:UNIT
� :CHANnel<n>:VISible
<bwlimit>:= {FULL|20M|200M}
� FULL sets the oscilloscope bandwidth to full.
� 20M enables the 20 MHz bandwidth filter.
� 200M enables the 200 MHz bandwidth filter.
<bwlimit>:= {FULL|20M|200M}
Command message:
:CHANnel1:BWLimit 20M
CHAN1:BWL 20M
Query message:
CHAN1:BWL?
Response message:
20M
<coupling_mode>:= {DC|AC|GND}
� DC sets the channel coupling to DC.
� AC sets the channel coupling to AC.
� GND sets the channel coupling to Ground.
<coupling_mode>:= {DC|AC|GND}
Command message:
:CHANnel1:COUPling AC
CHAN1:COUP AC
Query message:
CHAN1:COUP?
Response message:
AC
<impedance>:= {ONEMeg|FIFTy}
� ONEMeg means 1 Mohm.
� FIFTy means 50 ohm.
Note:
When set to FIFTy, the range of legal values set by
the :CHANnel<n>:SCALe commands is limited to less than 1
V.
<impedance>:= {ONEMeg|FIFTy}
Command message:
:CHANnel2:IMPedance ONEMeg
CHAN2:IMP ONEM
Query message:
CHAN2:IMP?
Response message:
ONEMeg
<state>:= {ON|OFF}
� ON enables channel inversion.
� Off disables channel inversion.
<state>:= {ON|OFF}
Command message:
:CHANnel2:INVert ON
CHAN2:INV ON
Query message:
CHAN2:INV?
Response message:
ON
<state>:= {ON|OFF}
� ON enables the channel label.
� OFF disables the channel label.
<state>:= {ON|OFF}
Command message:
:CHANnel1:LABel ON
CHAN1:LAB ON
Query message:
CHAN1:LAB?
Response message:
ON
DESCRIPTION The command sets the selected channel label to the string
that follows. Setting a label for a channel also adds the name
to the label list in non-volatile memory (replacing the oldest
label in the list)
Note:
All characters will be automatically converted to uppercase.
Command message:
:CHANnel2:LABel:TEXT ”VOUT”
CHAN2:LAB:TEXT “VOUT”
Query message:
CHAN2:LAB:TEXT?
Response message:
“ VOUT ”
Note:
The range of legal values varies with the value set by
the :CHANnel<n>:SCALe commands.
Command message:
:CHANnel2:OFFSet -3.8E+00
CHAN1:OFFS -3.8E+00
Query message:
CHAN1:OFFS?
Response message:
-3.8E+00
DESCRIPTION The command specifies the probe attenuation factor for the
selected channel. This command does not change the actual
input sensitivity of the oscilloscope. It changes the reference
constants for scaling the display factors, for making
automatic measurements, and for setting trigger levels.
The query returns the current probe attenuation factor for the
selected channel.
<attenuation>:= {DEFault|VALue}
� DEFault means set to the default value 1X.
� VALue means set to the <value>.
Command message:
:CHANnel1:PROBe VALue,1.00E+02
CHAN1:PROB VAL,1.00E+02
Query message:
CHAN1:PROB?
Response message:
1.00E+02
Note:
The range of value varies from the models and the
bandwidth of the model. See the data sheet for details.
Command message:
:CHANnel1:SCALe 5.00E-02
CHAN1:SCAL 5.00E-02
Query message:
CHAN1:SCAL?
Response message:
5.00E-02
5.00E-01 (when the probe attenuation ratio is 10:1)
The query returns the current probe skew setting for the
selected channel.
Command message:
:CHANnel1:SKEW 1.52E-09
CHAN1:SKEW 1.52E-09
Query message:
CHAN1:SKEW?
Response message:
1.52E-09
<state>:= {OFF|ON}
<state>:= {OFF|ON}
Command message:
:CHANnel1:SWITch ON
CHAN1:SWIT ON
Query message:
CHAN1:SWIT?
Response message:
ON
<unit>:= {V|A}
Note:
The related parameter units are changed to the selected unit
after processing this command. This also effects
measurement results, cursors value, channel sensitivity, and
trigger level.
<unit>:= {V|A}
Command message:
:CHANnel1:UNIT A
CHAN1:UNIT A
Query message:
CHAN1:UNIT?
Response message:
A
<display_state>:= {ON|OFF}
<display_state>:= {ON|OFF}
Command message:
:CHANnel2:VISible ON
CHAN2:VIS ON
Query message:
CHAN2:VIS?
Response message:
ON
� :CURSor
� :CURSor:DISPlay
� :CURSor:IXDelta
� :CURSor:MODE
� :CURSor:SOURce1
� :CURSor:SOURce2
� :CURSor:X1
� :CURSor:X2
� :CURSor:XDELta
� :CURSor:XREFerence
� :CURSor:Y1
� :CURSor:Y2
� :CURSor:YDELta
� :CURSor:YREFerence
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:CURSor ON
CURS ON
Query message:
CURS?
Response message:
ON
DESCRIPTION The command selects the display type of the cursor value.
<type>:= {M1|M2}
<type>:= {M1|M2}
EXAMPLE The following command sets the display type of cursor value
to M1.
Command message:
:CURSor:DISPlay M1
CURS:DISP M1
Query message:
:CURS:DISP?
Response message:
M1
Response message:
5.7143E+00
DESCRIPTION The command specifies the mode of cursor, and the type of
cursor to be displayed when the cursor mode is manual.
<type>:= {TRACk|MANual[,<mode>]}
<mode>:= {X|Y|XY}
� MANual means the manual cursors
� TRACk means the track cursors
<type>:= {TRACk|MANual[,<mode>]}
<mode>:= {X|Y|XY}
Command message:
:CURSor:MODE MANual,X
CURS:MODE MAN,X
Query message:
CURS:MODE?
Response message:
MANual,X
<source>:=
{C<x>|F<x>|REFA|REFB|REFC|REFD|DIGital|HISTOGram}
Note:
When the cursor mode is a TRACk, the source cannot be set
to HISTOGram or DIGital.
<source>:=
{C<x>|F<x>|REFA|REFB|REFC|REFD|DIGital|HISTOGram}
EXAMPLE The following command sets the source of the cursor source
1 as Channel 1.
Command message:
:CURSor:SOURce1 C1
CURS:SOUR1 C1
Query message:
CURS:SOUR1?
Response message:
C1
<source>:=
{C<x>|F<x>|REFA|REFB|REFC|REFD|DIGital|HISTOGram}
Note:
When the cursor mode is a TRACk, the source cannot be set
to HISTOGram or DIGital.
<source>:=
{C<x>|F<x>|REFA|REFB|REFC|REFD|DIGital|HISTOGram}
EXAMPLE The following command sets the source of the cursor source
2 as Channel 1.
Command message:
:CURSor:SOURce2 C1
CURS:SOUR2 C1
Query message:
CURS:SOUR2?
Response message:
C1
Command message:
:CURSor:X1 1.00E-06
CURS:X1 1.00E-06
Query message:
CURS:X1?
Response message:
1.00E-06
Command message:
:CURSor:X2 1.00E-06
CURS:X2 1.00E-06
Query message:
CURS:X2?
Response message:
1.00E-06
Query message:
CURS:XDEL?
Response message:
1.750E-01
<type>:= {DELay|POSition}
� DELay means that the cursor value is fixed, and the on-
screen cursor position changes for different timebase
values.
� POSition means that the cursor position is fixed, and
does not change at any time. Timebase changes cause
an expansion or contraction of the waveforms around
the cursor position.
Command message:
:CURSor:XREFerence DELay
CURS:XREF DEL
Query message:
CURS:XREF?
Response message:
DELay
Command message:
:CURSor:Y1 1.20E+01
CURS:Y1 1.20E+01
Query message:
CURS:Y1?
Response message:
1.20E+01
Command message:
:CURSor:Y2 1.00E+01
CURS:Y2 1.00E+01
Query message:
CURS:Y2?
Response message:
1.00E+01
DESCRIPTION The query returns the vertical difference between the cursor
Y1 and cursor Y2.
Query message:
CURS:YDEL?
Response message:
1.80E+01
<type>:= {OFFSet|POSition}
� OFFSet means that the cursor value is fixed, and the
cursor position moves with vertical scale changes. The
cursors expand or contract if the vertical scale changes.
� POSition means that the cursor position is fixed, and
does not change at any time.
<type>:= {OFFSet|POSition}
Command message:
:CURSor:YREFerence OFFSet
CURS:YREF OFFS
Query message:
CURS:YREF?
Response message:
OFFSet
The :DECode subsystem commands control the basic decode functions of the
oscilloscope.
� :DECode
� :DECode:LIST
� :DECode:LIST:LINE
� :DECode:LIST:SCRoll
� :DECode:BUS<n>
� :DECode:BUS<n>:COPY
� :DECode:BUS<n>:FORMat
� :DECode:BUS<n>:PROTocol
� :DECode:BUS<n>:IIC Commands
� :DECode:BUS<n>:SPI Commands
� :DECode:BUS<n>:UART Commands
� :DECode:BUS<n>:CAN Commands
� :DECode:BUS<n>:LIN Commands
� :DECode:BUS<n>:FLEXray Commands [Option]
� :DECode:BUS<n>:CANFd Commands [Option]
� :DECode:BUS<n>:IIS Commands [Option]
� :DECode:BUS<n>:M1553 Commands
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:DECode ON
DEC ON
Query message:
DEC?
Response message:
ON
This query returns the current switch state of the decode list.
<state>:= {OFF|D1|D2}
� D1 means bus 1
� D2 means bus 2
<state>:= {OFF|D1|D2}
Command message:
:DECode:LIST D1
DEC:LIST D1
Query message:
DEC:LIST?
Response message:
D1
Command message:
:DECode:LIST:LINE 6
DEC:LIST:LINE 6
Query message:
DEC:LIST:LINE?
Response message:
6
DESCRIPTION The command sets the selected line when the decode list is
turned on.
EXAMPLE The following command sets the third line 3 selected when
decoding the display.
Command message:
:DECode:LIST:SCRoll 3
DEC:LIST:SCR 3
Query message:
DEC:LIST:SCR?
Response message:
3
<state>:= {ON|OFF}.
<state>:= {ON|OFF}
Command message:
:DECode:BUS1 ON
DEC:BUS1 ON
Query message:
DEC:BUS1?
Response message:
ON
<operation>:= {FROMtrigger|TOTRigger}.
� FROMtrigger means copy trigger settings to the
decoding bus.
� TOTRigger means copy decoding settings to trigger.
Command message:
:DECode:BUS1:COPY FROMtrigger
DEC:BUS1:COPY FROM
<format>:= {BINary|DECimal|HEX|ASCii}
<format>:= {BINary|DECimal|HEX|ASCii}
EXAMPLE The following command selects the display format of the bus
1 as HEX.
Command message:
:DECode:BUS1:FORMat HEX
DEC:BUS1:FORM HEX
Query message:
DEC:BUS1:FORM?
Response message:
HEX
<protocol>:=
{IIC|SPI|UART|CAN|LIN|FLEXray|CANFd|IIS|M1553}
<protocol>:=
{IIC|SPI|UART|CAN|LIN|FLEXray|CANFd|IIS|M1553}
Command message:
:DECode:BUS1:PROTocol IIC
DEC:BUS1:PROT IIC
Query message:
DEC:BUS1:PROT?
Response message:
IIC
� :DECode:BUS<n>:IIC:RWBit
� :DECode:BUS<n>:IIC:SCLSource
� :DECode:BUS<n>:IIC:SCLThreshold
� :DECode:BUS<n>:IIC:SDASource
� :DECode:BUS<n>:IIC:SDAThreshold
<state>:= {ON|OFF}.
<state>:= {ON|OFF}
EXAMPLE The following command selects to enable read and write bits
on bus 1.
Command message:
:DECode:BUS1:IIC:RWBit ON
DEC:BUS1:IIC:RWB ON
Query message:
DEC:BUS1:IIC:RWB?
Response message:
ON
DESCRIPTION The command selects the SCL source of the IIC bus.
This query returns the current SCL source of the IIC bus.
<source>:= {C<x>|D<m>}.
<source>:= {C<x>|D<m>}
EXAMPLE The following command selects the SCL source of the IIC
on bus 1 as C1.
Command message:
:DECode:BUS1:IIC:SCLSource C1
DEC:BUS1:IIC:SCLS C1
Query message:
DEC:BUS1:IIC:SCLS?
Response message:
C1
DESCRIPTION The command sets the threshold of the SCL on IIC bus.
Command message:
:DECode:BUS1:IIC:SCLThreshold 1.00E+00
DEC:BUS1:IIC:SCLT 1.00E+00
Query message:
DEC:BUS1:IIC:SCLT?
Response message:
1.00E+00
DESCRIPTION The command selects the SDA source of the IIC bus.
This query returns the current SDA source of the IIC bus.
<source>:= {C<x>|D<m>}
<source>:= {C<x>|D<m>}
EXAMPLE The following command selects the SDA source of the IIC
on bus 1 as C1.
Command message:
:DECode:BUS1:IIC:SDASource C1
DEC:BUS1:IIC:SDAS C1
Query message:
DEC:BUS1:IIC:SDAS?
Response message:
C1
DESCRIPTION The command sets the threshold of the SDA on IIC bus.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:DECode:BUS1:IIC:SDAThreshold 1.00E+00
DEC:BUS1:IIC:SDAT 1.00E+00
Query message:
DEC:BUS1:IIC:SDAT?
Response message:
1.00E+00
� :DECode:BUS<n>:SPI:BITorder
� :DECode:BUS<n>:SPI:CLKSource
� :DECode:BUS<n>:SPI:CLKThreshold
� :DECode:BUS<n>:SPI:CSSource
� :DECode:BUS<n>:SPI:CSThreshold
� :DECode:BUS<n>:SPI:CSTYpe
� :DECode:BUS<n>:SPI:DLENgth
� :DECode:BUS<n>:SPI:LATChedge
� :DECode:BUS<n>:SPI:MISOSource
� :DECode:BUS<n>:SPI:MISOThreshold
� :DECode:BUS<n>:SPI:MOSISource
� :DECode:BUS<n>:SPI:MOSIThreshold
� :DECode:BUS<n>:SPI:NCSSource
� :DECode:BUS<n>:SPI:NCSThreshold
DESCRIPTION The command sets the bit order of the SPI bus.
This query returns the current bit order of the SPI bus.
<order>:= {LSB|MSB}.
<order>:= {LSB|MSB}
EXAMPLE The following command sets bit order of the SPI on BUS 1 to
LSB.
Command message:
:DECode:BUS1:SPI:BITorder LSB
DEC:BUS1:SPI:BIT LSB
Query message:
DEC:BUS1:SPI:BIT?
Response message:
LSB
DESCRIPTION The command selects the CLK source of the SPI bus.
This query returns the current CLK source of the SPI bus.
<source>:= {C<x>|D<m>}
EXAMPLE The following command selects the CLK source of the SPI
on bus 1 as C1.
Command message:
:DECode:BUS1:SPI:CLKSource C1
DEC:BUS1:SPI:CLKS C1
Query message:
DEC:BUS1:SPI:CLKS?
Response message:
C1
DESCRIPTION The command sets the threshold of the CLK on SPI bus.
Command message:
:DECode:BUS1:SPI:CLKThreshold 1.00E+00
DEC:BUS1:SPI:CLKT 1.00E+00
Query message:
DEC:BUS1:SPI:CLKT?
Response message:
1.00E+00
<source>:= {C<x>|D<m>}
Command message:
:DECode:BUS1:SPI:CSSource C1
DEC:BUS1:SPI:CSS C1
Query message:
DEC:BUS1:SPI:CSS?
Response message:
C1
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:DECode:BUS1:SPI:CSThreshold 1.00E+00
DEC:BUS1:SPI:CST 1.00E+00
Query message:
DEC:BUS1:SPI:CST?
Response message:
1.00E+00
DESCRIPTION The command sets the chip selection type of the SPI bus.
This query returns the current chip selection type of the SPI
bus.
<type>:= {NCS|CS|TIMeout[,<time>]}
� CS means set to chip select state.
� NCS means set to non-chip select state.
� TIMeout indicates set to clock timeout status.
<type>:= {NCS|CS|TIMeout[,<time>]}
EXAMPLE The following command sets the chip selection type of the
SPI on bus 1 to CS.
Command message:
:DECode:BUS1:SPI:CSTYpe CS
DEC:BUS1:SPI:CSTY CS
Query message:
DEC:BUS1:SPI:CSTY?
Response message:
CS
DESCRIPTION The command sets the data length of the SPI bus.
This query returns the current data length of the SPI bus.
EXAMPLE The following command sets the data length of the SPI on
bus 1 to 5.
Command message:
:DECode:BUS1:SPI:DLENgth 5
DEC:BUS1:SPI:DLEN 5
Query message:
DEC:BUS1:SPI:DLEN?
Response message:
5
DESCRIPTION The command selects the sampling edge of CLK on SPI bus.
<slope>:= {RISing|FALLing}
<slope>:= {RISing|FALLing}
Command message:
:DECode:BUS1:SPI:LATChege RISing
DEC:BUS1:SPI:LATC RIS
Query message:
DEC:BUS1:SPI:LATC?
Response message:
RISing
DESCRIPTION The command selects the MISO source of the SPI bus.
This query returns the current MISO source of the SPI bus.
<source>:= {C<x>|D<m>|DIS}
<source>:= {C<x>|D<m>|DIS}
EXAMPLE The following command sets the MISO source of the SPI on
bus 1 as C1.
Command message:
:DECode:BUS1:SPI:MISOSource C1
DEC:BUS1:SPI:MISOS C1
Response message:
C1
DESCRIPTION The command sets the threshold of the MISO on SPI bus.
Command message:
:DECode:BUS1:SPI:MISOThreshold 1.00E+00
DEC:BUS1:SPI:MISOT 1.00E+00
Query message:
DEC:BUS1:SPI:MISOT?
Response message:
1.00E+00
DESCRIPTION The command selects the MOSI source of the SPI bus.
This query returns the current MOSI source of the SPI bus.
<source>:= {C<x>|D<m>|DIS}
<source>:= {C<x>|D<m>|DIS}
EXAMPLE The following command selects the MOSI source of the SPI
on bus 1 as C1.
Command message:
:DECode:BUS1:SPI:MOSISource C1
DEC:BUS1:SPI:MOSIS C1
Query message:
DEC:BUS1:SPI:MOSIS?
Command message:
:DECode:BUS1:SPI:MOSIThreshold 1.00E+00
DEC:BUS1:SPI:MOSIT 1.00E+00
Query message:
DEC:BUS1:SPI:MOSIT?
Response message:
1.00E+00
DESCRIPTION The command sets the NCS source of the SPI bus.
This query returns the current NCS source of the SPI bus.
<source>:= {C<x>|D<m>}
<source>:= {C<x>|D<m>}
EXAMPLE The following command sets the NCS source of the SPI on
bus 1 as C1.
Command message:
:DECode:BUS1:SPI:NCSSource C1
DEC:BUS1:SPI:NCSS C1
Query message:
DEC:BUS1:SPI:NCSS?
Response message:
C1
DESCRIPTION The command sets the threshold of the NCS on SPI bus.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:DECode:BUS1:SPI:NCSThreshold 1.00E+00
DEC:BUS1:SPI:NCST 1.00E+00
Query message:
DEC:BUS1:SPI:NCST?
Response message:
1.00E+00
� :DECode:BUS<n>:UART:BAUD
� :DECode:BUS<n>:UART:BITorder
� :DECode:BUS<n>:UART:DLENgth
� :DECode:BUS<n>:UART:IDLE
� :DECode:BUS<n>:UART:PARity
� :DECode:BUS<n>:UART:RXSource
� :DECode:BUS<n>:UART:RXThreshold
� :DECode:BUS<n>:UART:STOP
� :DECode:BUS<n>:UART:TXSource
� :DECode:BUS<n>:UART:TXThreshold
DESCRIPTION The command sets the baud rate of the UART bus.
This query returns the current baud rate of the UART bus.
<baud>:=
{600bps|1200bps|2400bps|4800bps|9600bps|19200bps|384
00bps|57600bps|115200bps|CUSTom[,<value>]}
<baud>:=
{600bps|1200bps|2400bps|4800bps|9600bps|19200bps|384
00bps|57600bps|115200bps|CUSTom[,<value>]}
EXAMPLE The following command sets the baud rate of the UART to
9600bps on bus 1.
Command message:
:DECode:BUS1:UART:BAUD 9600bps
DEC:BUS1:UART:BAUD 9600bps
Query message:
DEC:BUS1:UART:BAUD?
Response message:
9600bps
DESCRIPTION The command sets the bit order of the UART bus.
This query returns the current bit order of the UART bus.
<order>:= {LSB|MSB}
<order>:= {LSB|MSB}
� LSB is Least Significant Bit order
� MSB is Most Significant Bit order
EXAMPLE The following command sets bit order of the UART bus on
bus 1 to LSB.
Command message:
:DECode:BUS1:UART:BITorder LSB
DEC:BUS1:UART:BIT LSB
Query message:
DEC:BUS1:UART:BIT?
Response message:
LSB
DESCRIPTION The command sets the data length of the UART bus.
This query returns the current data length of the UART bus.
EXAMPLE The following command sets the data length of the UART to
5 on bus 1.
Command message:
:DECode:BUS1:UART:DLENgth 5
DEC:BUS1:UART:DLEN 5
Query message:
DEC:BUS1:UART:DLEN?
Response message:
5
DESCRIPTION The command sets the idle level of the UART bus.
This query returns the current idle level of the UART bus.
<idle>:= {LOW|HIGH}
<idle>:= {LOW|HIGH}
� LOW means that the idle voltage value is low
� HIGH means that the idle voltage value is high
EXAMPLE The following command sets the idle level of the UART on
bus 1 to low.
Command message:
:DECode:BUS1:UART:IDLE LOW
DEC:BUS1:UART:IDLE LOW
Query message:
DEC:BUS1:UART:IDLE?
Response message:
LOW
DESCRIPTION The command sets the parity check of the UART bus.
<parity>:= {NONE|ODD|EVEN|MARK|SPACe}
<parity>:= {NONE|ODD|EVEN|MARK|SPACe}
EXAMPLE The following command sets the parity check of the UART
on bus 1 to NONE.
Command message:
:DECode:BUS1:UART:PARity NONE
DEC:BUS1:UART:PAR NONE
Query message:
DEC:BUS1:UART:PAR?
Response message:
NONE
<source>:= {C<x>|D<m>|DIS}
<source>:= {C<x>|D<m>|DIS}
Command message:
:DECode:BUS1:UART:RXSource C1
DEC:BUS1:UART:RXS C1
Query message:
DEC:BUS1:UART:RXS?
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:DECode:BUS1:UART:RXThreshold 1.00E+00
DEC:BUS1:UART:RXT 1.00E+00
Query message:
DEC:BUS1:UART:RXT?
Response message:
1.00E+00
DESCRIPTION The command sets the length of the stop bit on UART bus.
This query returns the current length of the stop bit on UART
bus.
<bit>:= {1|1.5|2}
<bit>:= {1|1.5|2}
EXAMPLE The following command sets the current length of the stop bit
to 1 on bus 1.
Command message:
:DECode:BUS1:UART:STOP 1
DEC:BUS1:UART:STOP 1
Query message:
DEC:BUS1:UART:STOP?
Response message:
1
<source>:= {C<x>|D<m>|DIS}
<source>:= {C<x>|D<m>|DIS}
Command message:
:DECode:BUS1:UART:TXSource C1
DEC:BUS1:UART:TXS C1
Query message:
DEC:BUS1:UART:TXS?
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:DECode:BUS1:UART:TXThreshold 1.00E+00
DEC:BUS1:UART:TXT 1.00E+00
Query message:
DEC:BUS1:UART:TXT?
Response message:
1.00E+00
� :DECode:BUS<n>:CAN:BAUD
� :DECode:BUS<n>:CAN:SOURce
� :DECode:BUS<n>:CAN:THReshold
DESCRIPTION The command sets the baud rate of the CAN bus.
This query returns the current baud rate of the CAN bus.
<baud>:=
{5kbps|10kbps|20kbps|50kbps|100kbps|125kbps|250kbps|5
00kbps|800kbps|1Mbps|CUSTom[,<value>]}
<baud>:=
{5kbps|10kbps|20kbps|50kbps|100kbps|125kbps|250kbps|5
00kbps|800kbps|1Mbps|CUSTom[,<value>]}
EXAMPLE The following command sets the baud rate of the CAN on
bus 1 to 10kbps.
Command message:
:DECode:BUS1:CAN:BAUD 10kbps
DEC:BUS1:CAN:BAUD 10kbps
Query message:
DEC:BUS1:CAN:BAUD?
Response message:
10kbps
<source>:= {C<x>|D<m>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
Command message:
:DECode:BUS1:CAN:SOURce C1
DEC:BUS1:CAN:SOUR C1
Query message:
DEC:BUS1:CAN:SOUR?
Response message:
C1
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the threshold of the CAN bus
source to 1 V on bus 1.
Command message:
:DECode:BUS1:CAN:THReshold 1.00E+00
DEC:BUS1:CAN:THR 1.00E+00
Query message:
DEC:BUS1:CAN:THR?
Response message:
1.00E+00
� :DECode:BUS<n>:LIN:BAUD
� :DECode:BUS<n>:LIN:SOURce
� :DECode:BUS<n>:LIN:THReshold
DESCRIPTION The command sets the baud rate for the LIN bus.
This query returns the current baud rate for the LIN bus.
<baud>:=
{600bps|1200bps|2400bps|4800bps|9600bps|19200bps|CUS
Tom[,<value>]}
<baud>:=
{600bps|1200bps|2400bps|4800bps|9600bps|19200bps|CUS
Tom[,<value>]}
EXAMPLE The following command sets the baud rate for the LIN to
9600bps on bus 1.
Command message:
:DECode:BUS1:LIN:BAUD 9600bps
DEC:BUS1:LIN:BAUD 9600bps
Query message:
DEC:BUS1:LIN:BAUD?
Response message:
9600bps
<source>:= {C<x>|D<m>}
<source>:= {C<x>|D<m>}
EXAMPLE The following command selects the source of the LIN on bus
1 as C1.
Command message:
:DECode:BUS1:LIN:SOURce C1
DEC:BUS1:LIN:SOUR C1
Query message:
DEC:BUS1:LIN:SOUR?
Response message:
C1
DESCRIPTION The command sets the threshold of the source on LIN bus.
EXAMPLE The following command sets the threshold of the LIN source
to 1 V on bus 1.
Command message:
:DECode:BUS1:LIN:THReshold 1.00E+00
DEC:BUS1:LIN:THR 1.00E+00
Query message:
DEC:BUS1:LIN:THR?
Response message:
1.00E+00
� :DECode:BUS<n>:FLEXray:BAUD
� :DECode:BUS<n>:FLEXray:SOURce
� :DECode:BUS<n>:FLEXray:THReshold
DESCRIPTION The command sets the baud rate of the Flexray bus.
This query returns the current baud rate of the Flexray bus.
<baud>:= {2500kbps|5Mbps|10Mbps|CUSTom[,<value>]}
<baud>:= {2500kbps|5Mbps|10Mbps|CUSTom[,<value>]}
EXAMPLE The following command sets the baud rate of the Flexray to
5Mbps on bus 1.
Command message:
:DECode:BUS1:FLEXray:BAUD 5Mbps
DEC:BUS1:FLEX:BAUD 5Mbps
Query message:
DEC:BUS1:FLEX:BAUD?
Response message:
5Mbps
<source>:= {C<x>|D<m>}
Command message:
:DECode:BUS1:FLEXray:SOURce C1
DEC:BUS1:FLEX:SOUR C1
Query message:
DEC:BUS1:FLEX:SOUR?
Response message:
C1
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:DECode:BUS1:FLEXray:THReshold 1.00E+00
DEC:BUS1:FLEX:THR 1.00E+00
Query message:
DEC:BUS1:FLEX:THR?
Response message:
1.00E+00
� :DECode:BUS<n>:CANFd:BAUDData
� :DECode:BUS<n>:CANFd:BAUDNominal
� :DECode:BUS<n>:CANFd:SOURce
� :DECode:BUS<n>:CANFd:THReshold
DESCRIPTION The command sets the data baud rate of the CAN FD bus.
This query returns the current data baud rate of the CAN FD
bus.
<baud>:=
{500kbps|1Mbps|2Mbps|5Mbps|8Mbps|10Mbps|CUSTom[,<v
alue>]}
<baud>:=
{500kbps|1Mbps|2Mbps|5Mbps|8Mbps|10Mbps|CUSTom[,<v
alue>]}
<value>:= Value in NR1 format, including an integer and no
decimal point, like 1.
EXAMPLE The following command sets the data baud rate of the CAN
FD to 500kbps on bus 1.
Command message:
:DECode:BUS1:CANFd:BAUDData 500kbps
DEC:BUS1:CANF:BAUDD 500kbps
Query message:
DEC:BUS1:CANF:BAUDD?
Response message:
500kbps
DESCRIPTION The command sets the nominal baud rate of the CAN FD
bus.
<baud>:=
{10kbps|25kbps|50kbps|100kbps|250kbps|1Mbps|CUSTom
[,<value>]}
<baud>:=
{10kbps|25kbps|50kbps|100kbps|250kbps|1Mbps|CUSTom
[,<value>]}
EXAMPLE The following command sets the nominal baud rate of the
CAN FD to 50kbps on bus 1.
Command message:
:DECode:BUS1:CANFd:BAUDNominal 50kbps
DEC:BUS1:CANF:BAUDN 50kbps
Query message:
DEC:BUS1:CANF:BAUDN?
Response message:
50kbps
<source>:= {C<x>|D<m>}
<source>:= {C<x>|D<m>}
Command message:
:DECode:BUS1:CANFd:SOURce C1
DEC:BUS1:CANF:SOUR C1
Query message:
DEC:BUS1:CANF:SOUR?
Response message:
C1
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:DECode:BUS1:CANFd:THReshold 1.00E+00
DEC:BUS1:CANF:THR 1.00E+0
Query message:
DEC:BUS1:CANF:THR?
Response message:
1.00E+00
� :DECode:BUS<n>:IIS:ANNotate
� :DECode:BUS<n>:IIS:AVARiant
� :DECode:BUS<n>:IIS:BCLKSource
� :DECode:BUS<n>:IIS:BCLKThreshold
� :DECode:BUS<n>:IIS:BITorder
� :DECode:BUS<n>:IIS:DLENgth
� :DECode:BUS<n>:IIS:DSource
� :DECode:BUS<n>:IIS:DTHReshold
� :DECode:BUS<n>:IIS:LATChedge
� :DECode:BUS<n>:IIS:LCH
� :DECode:BUS<n>:IIS:SBIT
� :DECode:BUS<n>:IIS:WSSource
� :DECode:BUS<n>:IIS:WSTHreshold
<type>:= {ALL|LEFT|RIGHt}
<type>:= {ALL|LEFT|RIGHt}
Command message:
:DECode:BUS1:IIS:ANNotate ALL
DEC:BUS1:IIS:ANN ALL
Query message:
DEC:BUS1:IIS:ANN?
Response message:
ALL
DESCRIPTION The command selects the audio variant for IIS bus.
This query returns the current audio variant for IIS bus.
<type>:= {I2S|LJ|RJ}
� I2S justified.
� LJ is left justified.
� RL is right justified.
<type>:= {I2S|LJ|RJ}
EXAMPLE The following command sets the audio variable of the IIS on
bus 1 to RJ.
Command message:
:DECode:BUS1:IIS:AVARiant RJ
DEC:BUS1:IIS:AVAR RJ
Query message:
DEC:BUS1:IIS:AVAR?
Response message:
RJ
DESCRIPTION The command selects the BCLK source of the IIS bus.
This query returns the current BCLK source of the IIS bus.
<source>:= {C<x>|D<m>}
<source>:= {C<x>|D<m>}
Command message:
:DECode:BUS1:IIS:BCLKSource C1
DEC:BUS1:IIS:BCLKS C1
Query message:
DEC:BUS1:IIS:BCLKS?
Response message:
C1
DESCRIPTION The command sets the threshold of the BCLK on IIS bus.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:DECode:BUS1:IIS:BCLKThreshold 1.00E+00
DEC:BUS1:IIS:BCLKT 1.00E+00
Query message:
DEC:BUS1:IIS:BCLKT?
Response message:
1.00E+00
DESCRIPTION The command sets the bit order for the IIS bus.
This query returns the current bit order for the IIS bus.
<order>:= {LSB|MSB}
� LSB is Least Significant Bit.
� MSB is Most Significant Bit.
<order>:= {LSB|MSB}
EXAMPLE The following command sets bit order for the IIS on bus 1 to
LSB.
Command message:
:DECode:BUS1:IIS:BITorder LSB
DEC:BUS1:IIS:BIT LSB
Query message:
DEC:BUS1:IIS:BIT?
Response message:
LSB
DESCRIPTION The command sets the data bits for the IIS bus.
This query returns the current data bits for the IIS bus.
EXAMPLE The following command sets the data bits for the IIS to 5 on
bus 1.
Command message:
:DECode:BUS1:IIS:DLENgth 5
DEC:BUS1:IIS:DLEN 5
Query message:
DEC:BUS1:IIS:DLEN?
Response message:
5
DESCRIPTION The command selects the data source of the IIS bus.
This query returns the current data source of the IIS bus.
<source>:= {C<x>|D<m>}
<source>:= {C<x>|D<m>}
EXAMPLE The following command selects the data source of the IIS
bus on bus 1 as C1.
Command message:
:DECode:BUS1:IIS:DSource C1
DEC:BUS1:IIS:DS C1
Query message:
DEC:BUS1:IIS:DS?
Response message:
C1
DESCRIPTION The command sets the threshold of the data source on IIS
bus.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the threshold of the data source
to 1 V on bus 1.
Command message:
:DECode:BUS1:IIS:DTHReshold 1.00E+00
DEC:BUS1:IIS:DTHR 1.00E+00
Query message:
DEC:BUS1:IIS:DTHR?
Response message:
1.00E+00
<slope>:= {RISing|FALLing}
<slope>:= {RISing|FALLing}
� RISing selects the rising edge.
� FALLing selects the falling edge.
Command message:
:DECode:BUS1:IIS:LATChege RISing
DEC:BUS1:IIS:LATC RIS
Query message:
DEC:BUS1:IIS:LATC?
Response message:
RISing
<left>:= {LOW|HIGH}
<left>:= {LOW|HIGH}
Command message:
:DECode:BUS1:IIS:LCH LOW
DEC:BUS1:IIS:LCH LOW
Query message:
DEC:BUS1:IIS:LCH?
Response message:
LOW
EXAMPLE The following command sets the number of the data bit to 1
on bus 1.
Command message:
:DECode:BUS1:IIS:SBIT 1
:DEC:BUS1:IIS:SBIT 1
Query message:
DEC:BUS1:IIS:SBIT?
Response message:
1
<source>:= {C<x>|D<m>}
<source>:= {C<x>|D<m>}
EXAMPLE The following command selects the WS source of the IIS bus
on bus 1 as C1.
Command message:
:DECode:BUS1:IIS:WSSource C1
DEC:BUS1:IIS:WSS C1
Query message:
DEC:BUS1:IIS:WSS?
Response message:
C1
Command message:
:DECode:BUS1:IIS:WSTHreshold 1.00E+00
DEC:BUS1:IIS:WSTH 1.00E+00
Query message:
DEC:BUS1:IIS:WSTH?
Response message:
1.00E+00
� :DECode:BUS<n>:M1553:LTHReshold
� :DECode:BUS<n>:M1553:SOURce
� :DECode:BUS<n>:M1553:UTHReshold
DESCRIPTION The command sets the lower threshold of the M1553 source.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Note:
The lower threshold value cannot be greater than the upper
threshold value set by the command
:DECode:BUS<n>:M1553:UTHReshold.
Command message:
:DECode:BUS1:M1553:LTHReshold 1.00E+00
DEC:BUS1:M1553:LTHR 1.00E+00
Query message:
DEC:BUS1:M1553:LTHR?
Response message:
1.00E+00
<source>:= {C<x>}
<source>:= {C<x>}
Command message:
:DECode:BUS1:M1553:SOURce C1
DEC:BUS1:M1553:SOUR C1
Query message:
DEC:BUS1:M1553:SOUR?
Response message:
C1
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Note:
The upper threshold value cannot be less than the lower
threshold value set by the command
:DECode:BUS<n>:M1553:LTHReshold.
Command message:
:DECode:BUS1:M1553:UTHReshold 2.00E+00
DEC:BUS1:M1553:UTHR 2.00E+00
Query message:
DEC:BUS1:M1553:UTHR?
Response message:
2.00E+00
The :DIGital subsystem commands control the viewing of digital channels. They also
control threshold settings for groups of digital channels.
� :DIGital
� :DIGital:ACTive
� :DIGital:BUS<n>:DEFault
� :DIGital:BUS<n>:DISPlay
� :DIGital:BUS<n>:FORMat
� :DIGital:BUS<n>:MAP
� :DIGital:D<n>
� :DIGital:HEIGht
� :DIGital:LABel<n>
� :DIGital:POINts
� :DIGital:POSition
� :DIGital:SKEW
� :DIGital:SRATe
� :DIGital:THReshold<n>
<state>:= {ON|OFF}
� ON enables the channel.
� OFF disables the channel.
<state>:= {ON|OFF}
Command message:
:DIGital ON
DIG ON
Query message:
DIG?
Response message:
ON
<digital>:= {D<x>}
<digital>:= {D<x>}
Command message:
:DIGital:ACTive D5
DIG:ACT D5
Query message:
DIG:ACT?
Response message:
D5
DESCRIPTION This command resets the digital channel bus bit order
EXAMPLE The following command resets the digital channel bus1 data.
Command message:
:DIGital:BUS1:DEFault
DIG:BUS1:DEF
DESCRIPTION The command sets the display of the specified digital bus.
<state>:= {ON|OFF}
<state>:= {ON|OFF}
� ON displays the selected bus.
� OFF removes the selected bus from the display.
Command message:
:DIGital:BUS1:DISPlay ON
DIG:BUS1:DISP ON
Query message:
DIG:BUS1:DISP?
Response message:
ON
<format>:= {BINary|DECimal|HEX|ASCii}
� BINary presents the decoded data in binary format
� DECimal presents the decoded data in decimal format
� HEX presents the decoded data in hexadecimal format
� ASCii presents the decoded data in ASCII format
<format>:= {BINary|DECimal|HEX|ASCii}
Command message:
:DIGital:BUS1:FORMat HEX
DIG:BUS1:FORM HEX
Query message:
DIG:BUS1:FORM?
Response message:
HEX
DESCRIPTION The command sets the bit order of each digital channel in the
digital bus and the bit width of the digital bus.
<source>:= {D<x>}
Note:
� It will synchronously set the bit width of the digital bus,
which is determined by the number of parameters.
� Use the command :DIGital:BUS<n>:DEFault to reset the
bit sequence to d0-d15 according to the current digital
bus bit width.
<source>:= {D<x>}
Command message:
:DIGital:BUS1:MAP D0,D3,D7,D15
DIG:BUS1:MAP D0,D3,D7,D15
Query message:
DIG:BUS1:MAP?
<state>:= {ON|OFF}
� ON enables the specified digital channel.
� OFF disables the specified digital channel.
Command message:
:DIGital:D5 OFF
DIG:D5 OFF
Query message:
DIG:D5?
Response message:
OFF
EXAMPLE The following command sets the height of the digital channel
display area to 6 div.
Command message:
:DIGital:HEIGht 6.00E+00
DIG:HEIG 6.00E+00
Query message:
DIG:HEIG?
Response message:
6.00E+00
DESCRIPTION This command sets the label text of the selected digital
channel.
This query returns the current label text of the selected digital
channel.
EXAMPLE The following command sets the label name of the digital
channel 15 to "IIC_DATA".
Command message:
:DIGital:LABel15 "IIC_DATA"
DIG:LAB15 "IIC_DATA"
Query message:
DIG:LAB15?
Response message:
“ IIC_DATA ”
Query message:
DIG:POIN?
Response message:
6.25E+02
Note:
The range of legal values varies with the number of digital
channels displayed.
Command message:
:DIGital:POSition 4.00E+00
DIG:POS 4.00E+00
Query message:
DIG:POS?
Response message:
4.00E+00
EXAMPLE The following command sets the skew of the digital channel
to 100 ns.
Command message:
:DIGital:SKEW 1.00E-07
DIG:SKEW 1.00E-07
Query message:
DIG:SKEW?
Response message:
1.00E-07
DESCRIPTION This command query returns the sampling rate of the digital
channel.
Query message:
DIG:SRAT?
Response message:
1.25E+09
DESCRIPTION This command sets the threshold value of the digital channel
group.
<n>:= {1|2}
� 1 means D0-D7
� 2 means D8-D15
<type>:=
{TTL|CMOS|LVCMOS33|LVCMOS25|CUSTom[,<value>]}
<type>:=
{TTL|CMOS|LVCMOS33|LVCMOS25|CUSTom[,<value>]}
Command message:
:DIGital:THReshold1 CMOS
DIG:THR1 CMOS
Query message:
DIG:THR1?
Response message:
CMOS
� :DISPlay:BACKlight
� :DISPlay:CLEar
� :DISPlay:COLor
� :DISPlay:GRATicule
� :DISPlay:GRID
� :DISPlay:INTensity
� :DISPlay:PERSistence
� :DISPlay:TRANsparence
� :DISPlay:TYPE
Command message:
:DISPlay:BACKlight 100
DISP:BACK 100
Query message:
DISP:BACK?
Response message:
100
Command message:
:DISPlay:CLEar
DISP:CLE
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:DISPlay:COLor ON
DISP:COL ON
Query message:
DISP:COL?
Response message:
ON
Command message:
:DISPlay:GRATicule 50
DISP:GRAT 50
Query message:
DISP:GRAT?
Response message:
50
<type>:= {FULL|HALF|OFF}
<type>:= {FULL|HALF|OFF}
EXAMPLE The following command sets the grid type to a half grid.
Command message:
:DISPlay:GRID HALF
DISP:GRID HALF
Query message:
DISP:GRID?
Response message:
HALF
Command message:
:DISPlay:INTensity 75
DISP:INT 75
Query message:
DISP:INT?
Response message:
75
<time>:= {OFF|INFinite|1S|5S|10S|30S}
<time>:= {OFF|INFinite|1S|5S|10S|30S}
Command message:
:DISPlay:PERSistence 5S
DISP:PERS 5S
Query message:
DISP:PERS?
Response message:
5S
Command message:
:DISPlay:TRANsparence 80
DISP:TRAN 80
Query message:
DISP:TRAN?
Response message:
80
<type>:= {VECTor|DOT}
� VECTor is the default mode and draws lines between
points.
� DOT mode displays data more quickly than vector mode
but does not draw lines between sample points.
<type>:= {VECTor|DOT}
Command message:
:DISPlay:TYPE VECTor
DISP:TYPE VECT
Query message:
DISP:TYPE?
Response message:
VECTor
The :FUNCtion subsystem commands control the math functions in the oscilloscope.
� :FUNCtion:FFTDisplay
� :FUNCtion:INTGate
� :FUNCtion:INTGate:GA
� :FUNCtion:INTGate:GB
� :FUNCtion<n>
� :FUNCtion<n>:DIFF:DX
� :FUNCtion<n>:FFT:AUToset
� :FUNCtion<n>:FFT:HCENter
� :FUNCtion<n>:FFT:HSCale
� :FUNCtion<n>:FFT:LOAD
� :FUNCtion<n>:FFT:MODE
� :FUNCtion<n>:FFT:POINts
� :FUNCtion<n>:FFT:RESET
� :FUNCtion<n>:FFT:RLEVel
� :FUNCtion<n>:FFT:SCALe
� :FUNCtion<n>:FFT:SEARch
� :FUNCtion<n>:FFT:SEARch:EXCursion
� :FUNCtion<n>:FFT:SEARch:THReshold
� :FUNCtion<n>:FFT:UNIT
� :FUNCtion<n>:FFT:WINDow
� :FUNCtion<n>:INTegrate:OFFSet
� :FUNCtion<n>:INVert
� :FUNCtion<n>:LABel
� :FUNCtion<n>:LABel:TEXT
� :FUNCtion<n>:OPERation
� :FUNCtion<n>:POSition
� :FUNCtion<n>:SCALe
� :FUNCtion<n>:SOURce1
� :FUNCtion<n>:SOURce2
DESCRIPTION This command sets the display mode of the FFT waveform.
<mode>:= {SPLit|FULL|EXCLusive}
� SPLit means that the channel waveform and the FFT
waveform are displayed on the screen separately.
� FULL means a full-screen display of the FFT waveform.
� EXCLusive means that only the FFT waveform is
displayed on the screen.
<mode>:= {SPLit|FULL|EXCLusive}
EXAMPLE The following command sets the display mode of the FFT
waveform to split.
Command message:
:FUNCtion:FFTDisplay SPLit
FUNC:FFTD SPL
Query message:
FUNC:FFTD?
Response message:
SPLit
Note:
The command is valid for all math integral waveforms at the
same time. The query returns the integration threshold state
of F1.
<state>:= {ON|OFF}
Command message:
:FUNCtion:INTGate ON
FUNC:INTG ON
Query message:
FUNC:INTG?
Response message:
ON
Note:
The command is valid for all math integral waveforms at the
same time. And the query returns the integration gate A of
F1.
Note:
The value of GA cannot be greater than that of GB. If you set
the value greater than GB, it will automatically be set to the
same value as GB.
Command message:
:FUNCtion:INTGate:GA -1.00E-07
FUNC:INTG:GA -1.00E-07
Query message:
FUNC:INTG:GA?
Response message:
-1.00E-07
Note:
The command is valid for all math integral waveforms at the
same time. And the query returns the integration gate B of
F1.
Note:
The value of GB cannot be less than that of GA. If you set
the value less than GA, it will automatically be set to the
same value as GA.
EXAMPLE The following command sets the position of gate B to 200 ns.
Command message:
:FUNCtion:INTGate:GB 2.00E-07
FUNC:INTG:GB 2.00E-07
Query message:
FUNC:INTG:GB?
Response message:
2.00E-07
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:FUNCtion1 ON
FUNC1 ON
Query message:
FUNC1?
Response message:
ON
DESCRIPTION This command sets the step size of the differential operation.
Command message:
:FUNCtion1:DIFF:DX 6
FUNC1:DIFF:DX 6
Query message:
FUNC1:DIFF:DX?
Response message:
6
Command message:
:FUNCtion2:FFT:AUToset
FUNC2:FFT:AUT
Note:
The range of legal values varies with the value set by the
command :TIMebase:SCALe.
Command message:
:FUNCtion2:FFT:HCENter 2.00E+06
FUNC2:FFT:HCEN 2.00E+06
Query message:
FUNC2:FFT:HCEN?
Response message:
2.00E+06Hz
Note:
The range of legal values varies with the value set by the
command :TIMebase:SCALe.
Command message:
:FUNCtion2:FFT:HSCale 1.00E+08
FUNC2:FFT:HSC 1.00E+08
Query message:
FUNC2:FFT:HSC?
Response message:
1.00E+08
Note:
The load can be set only when the FFT unit is dBm.
Command message:
:FUNCtion2:FFT:LOAD 50
FUNC2:FFT:LOAD 50
Query message:
FUNC2:FFT:LOAD?
Response message:
50
<mode>:= {NORMal|MAXHold|AVERage[,<num>]}
� NORMal sets the FFT in the normal mode.
� MAXHold sets the FFT in the max detect mode.
� AVERage sets the FFT in the averaging mode.
<mode>:= {NORMal|MAXHold|AVERage[,<num>]}
EXAMPLE The following command sets the acquisition mode of the FFT
operation on Function2 to normal.
Command message:
:FUNCtion2:FFT:MODE NORMaL
FUNC2:FFT:MODE NORM
Query message:
FUNC2:FFT:MODE?
DESCRIPTION This command sets the maximum number of points for the
FFT operation.
<point>:= Vary from models, see the table below for details.
Command message:
:FUNCtion2:FFT:POINts 2M
FUNC2:FFT:POIN 2M
Query message:
FUNC2:FFT:POIN?
Response message:
2M
Command message:
:FUNCtion2:FFT:RESET
FUNC2:FFT:RESET
Note:
The smaller the :FUNCtion<n>:FFT:SCALe, the greater the
accuracy of the level value.
Command message:
:FUNCtion2:FFT:RLEVel 1.00E+01
FUNC2:FFT:RLEV 1.00E+01
Query message:
FUNC2:FFT:RLEV?
Response message:
1.00E+01
Command message:
:FUNCtion2:FFT:SCALe 2.00E+01
FUNC2:FFT:SCAL 2.00E+01
Query message:
FUNC2:FFT:SCAL?
Response message:
2.00E+01
DESCRIPTION This command selects the search tools type of the FFT
operation.
This query returns the current search tools type of the FFT
operation.
<type>:= {OFF|PEAK|MARKer}
<type>:= {OFF|PEAK|MARKer}
EXAMPLE The following command sets the search tools type of FFT
operation on Function2 to marker.
Command message:
:FUNCtion2:FFT:SEARch MARKer
FUNC2:FFT:SEAR MARK
Query message:
FUNC2:FFT:SEAR?
Response message:
MARKer
DESCRIPTION This command sets the search excursion of the search tool
(marker or peak) for the FFT operation.
The range of the values is [0, 1.60E+02] when the FFT unit is
dBVrms. The value range varies with the corresponding unit.
Note:
The range of values varies with the value set by
the :CHANnel<n>:PROBe commands.
Command message:
:FUNCtion2:FFT:SEARch:EXCursion 2.00E+01
FUNC2:FFT:SEAR:EXC 2.00E+01
Query message:
FUNC2:FFT:SEAR:EXC?
Response message:
2.00E+01
DESCRIPTION The command sets the search threshold of the search tool
(marker or peak) for the FFT operation.
Command message:
:FUNCtion2:FFT:SEARch:THReshold -1.00E+2
FUNC2:FFT:SEAR:THR -1.00E+2
Query message:
FUNC2:FFT:SEAR:THR?
Response message:
-1.00E+02
DESCRIPTION This command sets the unit type of the FFT operation.
This query returns the current unit type of the FFT operation.
<unit>:= {DBVrms|Vrms|DBm}
<unit>:= {DBVrms|Vrms|DBm}
EXAMPLE The following command sets the unit type of FFT operation
on Function2 to dBVrms.
Command message:
:FUNCtion2:FFT:UNIT DBVrms
FUNC2:FFT:UNIT DBVrms
Query message:
FUNC2:FFT:UNIT?
Response message:
DBVrms
DESCRIPTION This command selects the window type of the FFT operation.
<window>:=
{RECTangle|BLACkman|HANNing|HAMMing|FLATtop}
� RECTangle is useful for transient signals, and signals
where there are an integral number of cycles in the time
record.
� BLACkman reduces time resolution compared to the
rectangular window, but it improves the capacity to
detect smaller impulses due to lower secondary lobes
(provides minimal spectral leakage).
� HANNing is useful for frequency resolution and general-
purpose use. It is good for resolving two frequencies that
are close together, or for making frequency
measurements.
� HAMMing means Hamming.
� FLATtop is the best for making accurate amplitude
measurements of frequency peaks.
<window>:=
{RECTangle|BLACkman|HANNing|HAMMing|FLATtop}
Command message:
:FUNCtion2:FFT:WINDow FLATtop
FUNC2:FFT:WIND FLAT
Query message:
FUNC2:FFT:WIND?
Response message:
FLATtop
Command message:
:FUNCtion1:INTegrate:OFFSet 1.00E-01
FUNC1:INT:OFFS 1.00E-01
Query message:
FUNC1:INT:OFFS?
Response message:
1.00E-01
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:FUNCtion1:INVert ON
FUNC1:INV ON
Query message:
FUNC1:INV?
Response message:
ON
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:FUNCtion1:LABel ON
FUNC1:LAB ON
Query message:
FUNC1:LAB?
Response message:
ON
DESCRIPTION This command sets the selected math label to the string that
follows. Setting a label for a math function also adds the
name to the label list in non-volatile memory (replacing the
oldest label in the list)
This query returns the current label text of the selected math.
EXAMPLE The following command sets the label text of the Function1
to “MATH”.
Command message:
:FUNCtion1:LABel:TEXT "MATH"
FUNC1:LAB:TEXT "MATH"
Query message:
FUNC1:LAB:TEXT?
Response message:
“ MATH ”
<operation>:=
{ADD|SUBTract|MULTiply|DIVision|INTegrate|DIFF|FFT|SQ
RT|ERES|AVERage}
<operation>:=
{ADD|SUBTract|MULTiply|DIVision|INTegrate|DIFF|FFT|SQ
RT|ERES|AVERage}
Command message:
:FUNCtion1:OPERation MULTiply
FUNC1:OPER MULT
Query message:
FUNC1:OPER?
Response message:
MULTiply
DESCRIPTION This command sets the vertical position of the selected math
operation (arithmetic and algebra operation).
This query returns the current position value for the selected
operation.
Note:
The range of values is uniform and related to an operation.
Command message:
:FUNCtion1:POSition 5.00E-01
FUNC1:POS 5.00E-01
Query message:
FUNC1:POS?
Response message:
5.00E-01
DESCRIPTION The command sets the vertical scale of the selected math
operation (arithmetic and algebra operation).
The query returns the current scale value for the selected
operation.
Note:
� The range of the function scale is related to the scale of
the function source.
� When the operation is INTegrate and DIFF, the scale
range is related to the timebase.
Command message:
:FUNCtion1:SCALe 1.00E+00
FUNC1:SCAL 1.00E+00
Query message:
FUNC1:SCAL?
Response message:
1.00E+00
<source>:= {C<x>|Z<x>|F<x>}
� C is analog channel <x>
� Z is zoom channel <x>
� F is math function <x>, for math-on-math operations
Note:
� Z<x> is optional only when Zoom is on.
� FUNCtion<n> cannot set itself as the source.
<source>:= {C<x>|Z<x>|F<x>}
Command message:
:FUNCtion2:SOURce1 C1
FUNC2:SOUR1 C1
Query message:
FUNC2:SOUR1?
<source>:= {C<x>|Z<x>|F<x>}
� C is analog channel <x>
� Z is zoom channel <x>
� F is math function <x>, for math-on-math operations
Note:
� Z<x> is optional only when Zoom is on.
� FUNCtion<n> cannot set itself as the source.
<source>:= {C<x>|Z<x>|F<x>}
Command message:
:FUNCtion2:SOURce2 C1
FUNC2:SOUR2 C1
Query message:
FUNC2:SOUR2?
Response message:
C1
The :HISTORy subsystem commands control the waveform recording function and
the history waveform play function.
� :HISTORy
� :HISTORy:FRAMe
� :HISTORy:INTERval
� :HISTORy:LIST
� :HISTORy:PLAY
� :HISTORy:TIME
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:HISTORy ON
HISTOR ON
Query message:
HISTOR?
Response message:
ON
Note:
The maximum number of frames is related to the number of
samples set for the acquisition (memory depth). More
points/frame means less total frames available. Fewer
points/frame equals more frames available.
EXAMPLE The following command sets the number of the history frame
to 4.
Command message:
:HISTORy:FRAMe 4
HISTOR:FRAM 4
Query message:
HISTOR:FRAM?
Response message:
4
DESCRIPTION This command sets the play interval of the history frame.
EXAMPLE The following command sets the play interval of the history
frame to 1 ms.
Command message:
:HISTORy:INTERval 1.00E-03
HISTOR:INTER 1.00E-03
Query message:
HISTOR:INTER?
Response message:
1.00E-03
<state>:= {OFF|ON[,<type>]}
<type>:= {TIME|DELTa}
� TIME indicates that the time column is displayed by
sampling time
� DELTa indicates that the time column is displayed by the
sampling interval.
<state>:= {OFF|ON[,<type>]}
<type>:= {TIME|DELTa}
EXAMPLE The following command turns on the history list and displays
it by sampling time.
Command message:
:HISTORy:LIST ON,TIME
HISTOR:LIST ON,TIME
Query message:
HISTOR:LIST?
Response message:
ON,TIME
DESCRIPTION This command sets the play state of the history waveform.
<state>:= {BACKWards|PAUSe|FORWards}
� BACKWards indicates that the frame number is played
from highest frame number to lowest (last-to-first,
chronologically).
� FORWards indicates that the frame number is played
from the lowest frame number to the highest (first-to-last,
chronologically).
� PAUSe will pause playback.
<state>:= {BACKWards|PAUSe|FORWards}
EXAMPLE The following command sets the playback state of the history
waveform to backwards.
Command message:
:HISTORy:PLAY BACKWards
HISTOR:PLAY BACKW
Query message:
HISTOR:PLAY?
Response message:
BACKWards
Query message:
:HISTOR:TIME?
Response message:
07:48:09.253827
� :MEASure
� :MEASure:ADVanced:LINenumber
� :MEASure:ADVanced:P<n>
� :MEASure:ADVanced:P<n>:SOURce1
� :MEASure:ADVanced:P<n>:SOURce2
� :MEASure:ADVanced:P<n>:STATistics
� :MEASure:ADVanced:P<n>:TYPE
� :MEASure:ADVanced:P<n>:VALue
� :MEASure:ADVanced:STATistics
� :MEASure:ADVanced:STATistics:HISTOGram
� :MEASure:ADVanced:STATistics:MAXCount
� :MEASure:ADVanced:STATistics:RESet
� :MEASure:ADVanced:STYLe
� :MEASure:GATE
� :MEASure:GATE:GA
� :MEASure:GATE:GB
� :MEASure:MODE
� :MEASure:SIMPle:ITEM
� :MEASure:SIMPle:SOURce
� :MEASure:SIMPle:VALue
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:MEASure ON
:MEAS ON
Query message:
MEAS?
Response message:
ON
Command message:
:MEASure:ADVanced:LINenumber 12
MEAS:ADV:LIN 12
Query message:
MEAS:ADV:LIN?
Response message:
12
<n>:= 1 to 12
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:MEASure:ADVanced:P1 ON
MEAS:ADV:P1 ON
Query message:
MEAS:ADV:P1?
Response message:
ON
<n>:= 1 to 12
<source>:=
{C<x>|Z<x>|F<x>|D<m>|ZD<m>|REFA|REFB|REFC|REFD}
� C denotes an analog input channel.
� Z denotes a zoomed input.
� F denotes a math function.
� D denotes a digital input channel.
� ZD denotes a zoomed digital input channel.
� REF denotes a reference waveform.
Note:
� Z<x> and ZD<m> are optional only when Zoom is on.
� The source can only be set to C<x> when the type is
delay measurement.
<source>:=
{C<x>|Z<x>|F<x>|D<m>|ZD<m>|REFA|REFB|REFC|REFD}
Command message:
:MEASure:ADVanced:P1:SOURce1 C1
MEAS:ADV:P1:SOUR1 C1
Query message:
MEAS:ADV:P1:SOUR1?
Response message:
C1
<n>:= 1 to 12
<source>:=
{C<x>|Z<x>|F<x>|D<m>|ZD<m>|REFA|REFB|REFC|REFD}
� C denotes an analog input channel. For example, C1 is
analog input 1.
� Z denotes a zoomed waveform. For example, Z1 is zoom
waveform 1.
� F denotes a math function. For example, F1 is math
function 1.
� D denotes a digital waveform. For example, D1 denotes
digital input 1.
� ZD denotes a zoomed digital input.
� REF denotes a reference waveform.
Note:
� Z<x> and ZD<m> are optional only when Zoom is on.
� The source can only be set to C<x> when the type is
delay measurement.
<source>:=
{C<x>|Z<x>|F<x>|D<m>|ZD<m>|REFA|REFB|REFC|REFD}
Command message:
:MEASure:ADVanced:P1:SOURce2 C2
MEAS:ADV:P1:SOUR2 C2
Query message:
MEAS:ADV:P1:SOUR2?
Response message:
C2
<n>:= 1 to 12
<type>:=
{ALL|CURRent|MEAN|MAXimum|MINimum|STDev|COUNt}
� ALL returns all the statistics
� CURRent returns the current value of the statistics
� MEAN returns the mean value of the statistics
� MAXimum returns the maximum value of the statistics
� MINimum returns the minimum value of the statistics
� STDev returns the standard deviation of the statistics
� COUNt returns the current number of counts used to
calculate the statistical data
Note:
When measurement statistics are off, it returns OFF.
EXAMPLE The following query returns the statistical current value of the
first measurement item.
Query message:
MEAS:ADV:P1:STAT? CURR
Response message:
6.7E-02
DESCRIPTION This command sets the type for the specified measurement
item.
<n>:= 1 to 12
<parameter>:=
{PKPK|MAX|MIN|AMPL|TOP|BASE|LEVELX|CMEAN|MEAN|
STDEV|VSTD|RMS|CRMS|MEDIAN|CMEDIAN|OVSN|FPRE
|OVSP|RPRE|PER|FREQ|TMAX|TMIN|PWID|NWID|DUTY|N
DUTY|WID|NBWID|DELAY|TIMEL|RISE|FALL|RISE20T80|F
ALL80T20|CCJ|PAREA|NAREA|AREA|ABSAREA|CYCLES|
REDGES|FEDGES|EDGES|PPULSES|NPULSES|PHA|SKE
W|FRR|FRF|FFR|FFF|LRR|LRF|LFR|LFF}
Description of Parameters
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
LEVELX Level measure at trigger position
CMEAN Average value in the first cycle
MEAN Average value
STDEV Standard deviation of the data
VSTD Standard deviation of the first cycle
RMS RMS value
CRMS RMS value in the first cycle
MEDIAN Value at which 50% of the
measurement are above and 50% are
below
CMEDIAN Median of the first cycle
OVSN Overshoot of a falling edge
FPRE Preshoot of a falling edge
Command message:
:MEASure:ADVanced:P1:TYPE MAX
MEAS:ADV:P1:TYPE MAX
Query message:
MEAS:ADV:P1:TYPE?
Response message:
MAX
<n>:= 1 to 12
Query message:
MEAS:ADV:P1:VAL?
Response message:
4.033E+00
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:MEASure:ADVanced:STATistics ON
MEAS:ADV:STAT ON
Query message:
MEAS:ADV:STAT?
Response message:
ON
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:MEASure:ADVanced:STATistics:HISTOGram ON
MEAS:ADV:STAT:HISTOG ON
Query message:
MEAS:ADV:STAT:HISTOG?
Response message:
ON
Note:
When the value is set to 0, it means unlimited statistics.
Command message:
:MEASure:ADVanced:STATistics:MAXCount 1024
MEAS:ADV:STAT:MAXC 1024
Query message:
MEAS:ADV:STAT:MAXC?
Response message:
1024
Command message:
:MEASure:ADVanced:STATistics:RESet
MEAS:ADV:STAT:RES
<type>:= {M1|M2}
� M1 lists a measurement, corresponding statistics, and
histogram vertically on the display.
� M2 lists a measurement and corresponding statistics
horizontally on the display. No histogram is available
with M2.
<type>:= {M1|M2}
Command message:
:MEASure:ADVanced:STYLe M1
MEAS:ADV:STYL M1
Query message:
MEAS:ADV:STYL?
Response message:
M1
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:MEASure:GATE ON
MEAS:GATE ON
Query message:
MEAS:GATE?
Response message:
ON
Note:
The value of GA cannot be greater than that of GB. If you set
the value greater than GB, it will automatically be set to the
same value as GB.
Command message:
:MEASure:GATE:GA -1.00E-07
MEAS:GATE:GA -1.00E-07
Query message:
MEAS:GATE:GA?
Response message:
-1.00E-07
Note:
The value of GB cannot be less than that of GA. If you set
the value less than GA, it will automatically be set to the
same value as GA.
EXAMPLE The following command sets the position of gate B to 100 ns.
Command message:
:MEASure:GATE:GB 1.00E-07
MEAS:GATE:GB 1.00E-07
Query message:
MEAS:GATE:GB?
Response message:
1.00E-07
<type>:= {SIMPle|ADVanced}
� SIMPle shows measurements only
� ADVanced shows measurements and includes selections
for statistics, view mode (M1, M2), histogram, and
trending.
Command message:
:MEASure:MODE SIMPle
MEAS:MODE SIMP
Query message:
MEAS:MODE?
Response message:
SIMPle
<parameter>:=
{PKPK|MAX|MIN|AMPL|TOP|BASE|LEVELX|CMEAN|MEAN|
STDEV|VSTD|RMS|CRMS|MEDIAN|CMEDIAN|OVSN|FPRE
|OVSP|RPRE|PER|FREQ|TMAX|TMIN|PWID|NWID|DUTY|N
DUTY|WID|NBWID|DELAY|TIMEL|RISE|FALL|RISE20T80|F
ALL80T20|CCJ|PAREA|NAREA|AREA|ABSAREA|CYCLES|
REDGES|FEDGES|EDGES|PPULSES|NPULSES}
<state>:= {ON|OFF}
Note:
See the table Description of Parameter for details.
Command message:
:MEASure:SIMPle:ITEM MAX,ON
MEAS:SIMP:ITEM MAX,ON
<source>:=
{C<x>|Z<x>|F<x>|D<m>|ZD<m>|REFA|REFB|REFC|REFD}
� C denotes an analog input channel. For example, C1 is
analog input 1.
� Z denotes a zoomed waveform. For example, Z1 is zoom
waveform 1.
� F denotes a math function. For example, F1 is math
function 1.
� D denotes a digital waveform. For example, D1 denotes
digital input 1.
� REF denotes a reference waveform.
Note:
Z<x> and ZD<m> are optional only when Zoom is on.
<source>:=
{C<x>|Z<x>|F<x>|D<m>|ZD<m>|REFA|REFB|REFC|REFD}
Command message:
:MEASure:SIMPle:SOURce C1
MEAS:SIMP:SOUR C1
Query message:
MEAS:SIMP:SOUR?
Response message:
C1
RELATED COMMANDS
<type>:=
{PKPK|MAX|MIN|AMPL|TOP|BASE|LEVELX|CMEAN|MEAN|
STDEV|VSTD|RMS|CRMS|MEDIAN|CMEDIAN|OVSN|FPRE
|OVSP|RPRE|PER|FREQ|TMAX|TMIN|PWID|NWID|DUTY|N
DUTY|WID|NBWID|DELAY|TIMEL|RISE|FALL|RISE20T80|F
ALL80T20|CCJ|PAREA|NAREA|AREA|ABSAREA|CYCLES|
REDGES|FEDGES|EDGES|PPULSES|NPULSES|ALL}
Note:
� See the table Description of Parameter for details.
� ALL is only valid for queries, and it returns all
measurement values of all measurement types except
for delay measurements.
Query message:
MEAS:SIMP:VAL? MAX
Response message:
2.000E+00
� :MTESt
� :MTESt:COUNt
� :MTESt:FUNCtion:BUZZer
� :MTESt:FUNCtion:COF
� :MTESt:FUNCtion:FTH
� :MTESt:FUNCtion:SOF
� :MTESt:IDISplay
� :MTESt:MASK:CREate
� :MTESt:MASK:LOAD
� :MTESt:OPERate
� :MTESt:RESet
� :MTESt:SOURce
� :MTESt:TYPE
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:MTESt ON
MTES ON
Query message:
MTES?
Response message:
ON
EXAMPLE The following command returns the count of the mask test.
Query message:
MTES:COUN?
Response message:
FAIL,38176,PASS,5617,TOTAL,43793
DESCRIPTION This command sets the state of the buzzer when failure
frames are detected.
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:MTESt:FUNCtion:BUZZer ON
MTES:FUNC:BUZZ ON
Query message:
MTES:FUNC:BUZZ?
Response message:
ON
<state>:= {OFF|ON}
<state>:= {OFF|ON}
Command message:
:MTESt:FUNCtion:COF ON
MTES:FUNC:COF ON
Query message:
MTES:FUNC:COF?
Response message:
ON
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:MTESt:FUNCtion:FTH ON
MTES:FUNC:FTH ON
Query message:
MTES:FUNC:FTH?
Response message:
ON
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:MTESt:FUNCtion:SOF ON
MTES:FUNC:SOF ON
Query message:
MTES:FUNC:SOF?
Response message:
ON
DESCRIPTION This command sets the state of the mask test result display.
<state>:= {ON|OFF}
<state>:= {ON|OFF}
EXAMPLE The following command enables the display of the mask test.
Command message:
:MTESt:IDISplay ON
MTES:IDIS ON
Query message:
MTES:IDIS?
Response message:
ON
DESCRIPTION This command sets the mask X and mask Y of mask test.
EXAMPLE The following command sets the mask X to 0.8, the mask Y
to 0.08.
Command message:
:MTESt:MASK:CREate 0.8,0.08
MTES: MASK:CRE 0.8,0.08
<location>:= {INTernal,<num>|EXTernal,<path>}
<num>:= {1|2|3|4}
Note:
The file format is not automatically determined by the file
name extension. You need to choose a file name with an
extension which is consistent with the selected file format.
Command message:
:MTESt:MASK:LOAD INTernal,1
MTES: MASK:LOAD INT,1
Command message:
MTES:MASK:LOAD EXTernal,”T3DSO/TEST.msk”
DESCRIPTION This command sets the state of the mask test operation.
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:MTESt:OPERate ON
MTES:OPER ON
Query message:
MTES:OPER?
Response message:
ON
Command message:
:MTESt:RESet
MTES:RES
<source>:= {C<x>|Z<x>}
� C denotes an analog input. C1 is analog input channel 1,
for example.
� Z denotes a zoomed input. Z1 denotes zoom 1.
Note:
Only Z<x> can be selected when Zoom is on.
<source>:= {C<x>|Z<x>}
EXAMPLE The following command sets the source of the mask test
source as C1.
Command message:
:MTESt:SOURce C1
MTES:SOUR C1
Query message:
MTES:SOUR?
Response message:
C1
<type>:= {ALL_IN|ALL_OUT|ANY_IN|ANY_OUT}
EXAMPLE The following command sets the type of the mask test source
as all in.
Command message:
:MTESt:TYPE ALL_IN
MTES:TYPE ALL_IN
Query message:
MTES:TYPE?
Response message:
ALL_IN
The :RECall subsystem commands control the recall of setups or waveform data to
the oscilloscope.
� :RECall:FDEFault
� :RECall:REFerence
� :RECall:SERase
� :RECall:SETup
Command message:
:RECall:FDEFault
REC:FDEF
<location>:= {REFA|REFB|REFC|REFD}
� REF is the reference waveform name
Note:
The file format is not automatically determined by the file
name extension. You need to choose a file name with an
extension which is consistent with the selected file format.
Command message:
:RECall:REFerence REFD,"T3DSO\math.ref"
REC:REF REFD,"T3DSO\math.ref"
DESCRIPTION This command deletes user defined files stored inside the
oscilloscope, includes reference waveforms, internal
setups, internal mask files, custom default setups, the
waveform files copied from analog trace to AWG.
Command message:
:RECall:SERase
REC:SER
DESCRIPTION This command will recall the saved settings file from internal
or external sources.
<state>:= {INTernal,<num>|EXTernal,<path>}
The range of the value varies by model, see the table below
for details.
Model Value Range
T3DSO2000A [1, 10]
Note:
The file format is not automatically determined by the file
name extension. You need to choose a file name with an
extension which is consistent with the selected file format.
Command message:
:RECall:SETup INTernal,1
REC:SET INT,1
Command message:
:RECall:SETup EXTernal,”T3DSO\default.xml”
REC:SET EXT,”T3DSO\default.xml”
� :REF<r>:LABel
� :REF<r>:LABel:TEXT
� :REF<r>:DATA
� :REF<r>:DATA:SOURce
� :REF<r>:DATA:SCALe
� :REF<r>:DATA:POSition
The query returns the state of the label associated with the
specified reference.
<r>:= {A|B|C|D}
� Reference waveform name
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Query message:
REFA:LAB?
Response message:
ON
DESCRIPTION The command sets the selected REF label to the string that
follows. Setting a label for a REF also adds the name to the
label list in non-volatile memory (replacing the oldest label in
the list).
<r>:= {A|B|C|D}
� Reference waveform name
Command message:
:REFA:LABel:TEXT “REFA”
REFA:LAB:TEXT “REFA”
Query message:
REFA:LAB:TEXT?
Response message:
“REFA”
<r>:= {A|B|C|D}
� Reference waveform name
<operation>:= {LOAD|UNLoad|SAVE,<source>}
� LOAD means to call up the reference waveform display.
� UNLoad means to turn off the reference waveform
display.
� SAVE means to save the waveform to the reference
waveform.
<source>:= {C<x>|F<x>|D<n>}
� C denotes an analog input channel. For example, C1 is
analog input 1.
� F denotes a math function. For example, F1 is math
function 1.
� D denotes a digital waveform. For example, D1 denotes
digital input 1.
Command message:
:REFA:DATA LOAD
REFA:DATA LOAD
<r>:= {A|B|C|D}
<source>:= {C<x>|F<x>|D<n>}
� C denotes an analog input channel. For example, C1 is
analog input 1.
� F denotes a math function. For example, F1 is math
function 1.
� D denotes a digital waveform. For example, D1 denotes
digital input 1.
Query message:
REFA:DATA:SOUR?
Response message:
C1
DESCRIPTION The command sets the vertical scale of the current reference
channel. This command is only used when the current
reference channel has been stored, and the display state is
on.
<r>:= {A|B|C|D}
� Reference waveform name
Note:
The scale range of the reference waveform is the same as
that of the reference source.
EXAMPLE When the Reference function is on, and REFA has been
saved, the following command sets the vertical scale of
REFA to 100 mV.
Command message:
:REFA:DATA:SCALe 1.00E-01
REFA:DATA:SCAL 1.00E-01
Query message:
REFA:DATA:SCAL?
Response message:
1.00E-01
DESCRIPTION The command sets the vertical offset of the current reference
channel. This command is only used when the current
reference channel has been saved, and the display state is
on.
<r>:= {A|B|C|D}
� Reference channel name
Note:
The position range of the reference waveform is the same as
that of the reference source.
EXAMPLE When the Reference function is on, REFB has been saved
and the scale is 2 V, the following command sets the current
reference channel vertical offset to 0.2 V.
Command message:
:REFA:DATA:POSition 2.00E-01
REFA:DATA:POS 2.00E-01
Query message:
REFA:DATA:POS?
Response message:
2.00E-01
The SAVE subsystem commands control to save oscilloscope setups and waveform
data to internal or external memory locations.
� :SAVE:BINary
� :SAVE:CSV
� :SAVE:DEFault
� :SAVE:IMAGe
� :SAVE:MATLab
� :SAVE:REFerence
� :SAVE:SETup
Note:
The file format is not automatically determined by the file
name extension. You need to choose a file name with an
extension which is consistent with the selected file format.
Command message:
:SAVE:BINary "T3DSO/c1_digital.bin"
SAVE:BIN "T3DSO/c1_digital.bin"
<source>:= {C<x>|D<n>}
� C denotes an analog input channel. For example, C1 is
analog input 1.
� D denotes a digital waveform. For example, D1 denotes
digital input 1.
<state>:= {OFF|ON}
� ON enables parameter save. This adds vertical scale
values, horizontal timebase settings, and more
instrument configuration information to the file.
� OFF means to disables parameter save.
Note:
The file format is not automatically determined by the file
name extension. You need to choose a file name with an
extension which is consistent with the selected file format.
Command message:
:SAVE:CSV "T3DSO/channel1.csv",C1,ON
SAVE:CSV "T3DSO/channel1.csv",C1,ON
<set>:= {CUSTom|FACTory}
� CUSTom means the current settings.
� FACTory means factory settings.
Command message:
:SAVE:DEFault CUSTom
SAVE:DEF CUST
<type>:= {BMP|JPG|PNG}
<invert>:= {OFF|ON}}
� ON will store images that have inverted colors. This
means that a normally black background will be white
when inverted. This setting is recommended if you plan
on printing the image as an inverted image with a white
background will save on ink.
� OFF will store images that are identical to the display of
the instrument.
Command message:
:SAVE:IMAGe “TELEDYNE/screen.bmp”,BMP,ON
SAVE:IMAG “TELEDYNE/screen.bmp",BMP,ON
<source>:= {C<x>|D<n>}
� C denotes an analog input channel. For example, C1 is
analog input 1.
� D denotes a digital waveform. For example, D1 denotes
digital input 1.
Note:
The file format is not automatically determined by the file
name extension. You need to choose a file name with an
extension which is consistent with the selected file format.
Command message:
:SAVE:MATLab "TELEDYNE/channel.dat",C1
SAVE:MATL "TELEDYNE/channel.dat",C1
<source>:= {C<x>|F<x>|D<n>}
� C denotes an analog input channel. For example, C1 is
analog input 1.
� F denotes a math function. For example, F1 is math
function 1.
� D denotes a digital waveform. For example, D1 denotes
digital input 1.
Note:
The file format is not automatically determined by the file
name extension. You need to choose a file name with an
extension which is consistent with the selected file format.
Command message:
:SAVE:REFerence "TELEDYNE/channel.ref",C1
SAVE:REF "TELEDYNE/channel.ref",C1
<setup_num>:= {INTernal,<num>|EXTernal,<path>}
Note:
The file format is not automatically determined by the file
name extension. You need to choose a file name with an
extension which is consistent with the selected file format.
Command message:
:SAVE:SETup INTernal,1
SAVE:SET INT,1
The :SYSTem subsystem commands control the basic system functions of the
oscilloscope.
� :SYSTem:BUZZer
� :SYSTem:CLOCk
� :SYSTem:COMMunicate:LAN:GATeway
� :SYSTem:COMMunicate:LAN:IPADdress
� :SYSTem:COMMunicate:LAN:MAC
� :SYSTem:COMMunicate:LAN:SMASk
� :SYSTem:COMMunicate:LAN:TYPE
� :SYSTem:DATE
� :SYSTem:EDUMode
� :SYSTem:MENU
� :SYSTem:PON
� :SYSTem:REBoot
� :SYSTem:REMote
� :SYSTem:SELFCal
� :SYSTem:SHUTdown
� :SYSTem:SSAVer
� :SYSTem:TIME
� :SYSTem:TOUCh
� :SYSTem:VNCPort
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:SYSTem:BUZZer ON
SYST:BUZZ ON
Query message:
SYST:BUZZ?
Response message:
ON
DESCRIPTION The command sets the oscilloscope clock source and the
state of the 10 MHz clock output.
<source>:= {EXT|IN_ON|IN_OFF}
� EXT selects the external clock source. The 10 MHz
output will be automatically disabled.
� IN_ON selects the internal clock source and enables the
10 MHz output.
� IN_OFF selects the internal clock source and disables
the 10M output.
<source>:= {EXT|IN_ON|IN_OFF}
Command message:
:SYSTem:CLOCk IN_ON
SYST:CLOC IN_ON
Query message:
SYST:CLOC?
Response message:
IN_ON
Command message:
:SYSTem:COMMunicate:GATeway "10.12.0.1"
SYST:COMM:LAN:GAT "10.12.0.1"
Query message:
SYST:COMM:LAN:GAT?
Response message:
"10.12.0.1"
Command message:
:SYSTem:COMMunicate:IPADdress "10.12.255.229"
SYST:COMM:LAN:IPAD "10.12.255.229"
Query message:
SYST:COMM:LAN:IPAD?
Response message:
"10.12.255.229"
Query message:
SYST:COMM:LAN:MAC?
Response message:
00:01:D2:0C:00:A0
Command message:
:SYSTem:COMMunicate:SMASk "255.255.0.0"
SYST:COMM:LAN:SMAS "255.255.0.0"
Query message:
SYST:COMM:LAN:SMAS?
Response message:
"255.255.0.0"
<state>:= {STATIC|DHCP}
� STATIC means that the Ethernet settings will be
configured manually, using
commands :SYSTem:COMMunicate:LAN:IPADdress, :S
YSTem:COMMunicate:LAN:SMASK,
and :SYSTem:COMMunicate:LAN:GATeway
� DHCP means that the oscilloscope’s IP address, subnet
mask and gateway settings will be received from a
DHCP server on the local network.
<state>:= {STATIC|DHCP}
Command message:
:SYSTem:COMMunicate:LAN:TYPE DHCP
SYST:COMM:LAN:TYPE DHCP
Query message:
SYST:COMM:LAN:TYPE?
Response message:
DHCP
Command message:
:SYSTem:DATE 20191220
SYST:DATE 20190819
Query message:
SYST:DATE?
Response message:
20190819
<func>:= {AUTOSet|MEASure|CURSor}
<lock>:= {ON|OFF}
� ON means the enable the function.
� OFF means disable the function.
:SYSTem:EDUMode? <func>
Note:
The query without parameters will return the lock
status of all functions.
Format 2:
<lock>
<lock>:= {ON|OFF}
Command message:
:SYSTem:EDUMode AUTOSet,OFF
SYST:EDUM AUTOS,OFF
Query message:
SYST:EDUM? AUTOS
<language>:=
{SCHinese|TCHinese|ENGLish|FRENch|JAPanese|KORean|
DEUTsch|ESPan|RUSSian|ITALiana|PORTuguese}
<language>:=
{SCHinese|TCHinese|ENGLish|FRENch|JAPanese|KORean|
DEUTsch|ESPan|RUSSian|ITALiana|PORTuguese}
Command message:
:SYSTem:LANGuage ENGLish
SYST:LANG ENGL
Query message:
SYST:LANG?
Response message:
ENGLish
Note:
This command is only valid for models with the menu switch.
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:SYSTem:MENU ON
SYST:MENU ON
Query message:
SYST:MENU?
Response message:
ON
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:SYSTem:PON ON
SYST:PON ON
Query message:
SYST:PON?
Response message:
ON
Command message:
:SYSTem:REBoot
SYST:REB
DESCRIPTION The command sets the status of the remote control. When
the remote control is turned on, the touch screen, the front
panel and the touch screen, front panel and peripheral will be
locked, and there will be a remote prompt on the screen.
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:SYSTem:REMote ON
SYST:REM ON
Query message:
SYST:REM?
Response message:
ON
<state>:= {DOING|DONE}
Command message:
:SYSTem:SELFCal
SYST:SELFC
Query message:
SYST:SELFC?
Response message:
DONE
Command message:
:SYSTem:SHUTdown
SYST:SHUT
<time>:= {OFF|1MIN|5MIN|10MIN|30MIN|60MIN}
<time>:= {OFF|1MIN|5MIN|10MIN|30MIN|60MIN}
Command message:
:SYSTem:SSAVer 10MIN
SYST:SSAV 10MIN
Query message:
SYST:SSAV?
Response message:
10MIN
DESCRIPTION The command sets the oscilloscope current time using a 24-
hour format.
Command message:
:SYSTem:TIME 081040
SYST:TIME 081040
Query message:
SYST:TIME?
Response message:
081040
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:SYSTem:TOUCh ON
SYST:TOUC ON
Query message:
SYST:TOUC?
Response message:
ON
Command message:
:SYSTem:VNVPort 5903
SYST:VNCP 5903
Query message:
SYST:VNCP?
Response message:
5903
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.
� :TIMebase:DELay
� :TIMebase:SCALe
� :TIMebase:WINDow
� :TIMebase:WINDow:DELay
� :TIMebase:WINDow:SCALe
DESCRIPTION The command specifies the main timebase delay. This delay
is the time between the trigger event and the delay reference
point on the screen.
Command message:
:TIMebase:DELay 1.00E-05
TIM:DEL 1.00E-05
Query message:
TIM:DEL?
Response message:
1.00E-05
DESCRIPTION The command sets the horizontal scale per division for the
main window.
Note:
Due to the limitation of the expansion strategy, when the time
base is set from large to small, it will automatically adjust to
the minimum time base that can be set currently.
Note:
The range of value varies from the models. See the
datasheet for details.
Query message:
TIM:SCAL?
Response message:
1.00E-07
<state>:= {ON|OFF}
<state>:= {ON|OFF}
Command message:
:TIMebase:WINDow ON
TIM:WIND ON
Query message:
TIM:WIND?
Response message:
ON
Note:
� The main sweep range and the main sweep horizontal
position determine the range for the delay value of the
zoomed window. It must keep the zoomed view window
within the main sweep range.
� If you set the delay to a value outside of the legal range,
the delay value is automatically set to the nearest legal
value.
Command message:
:TIMebase:WINDow:DELay 1.00E-03
TIM:WIND:DEL 1.00E-03
Response message:
1.00E-03
Note:
The scale of the zoomed window cannot be greater than that
of the main window. If you set the value greater than, it will
automatically be set to the same value as the main window.
Command message:
:TIMebase:WINDow:SCALe 1.00E-03
TIM:WIND:SCAL 1.00E-03
Query message:
TIM:WIND:SCAL?
Response message:
1.00E-03
The :TRIGGER subsystem commands control the trigger modes and parameters for
each trigger type.
� :TRIGger:MODE
� :TRIGger:RUN
� :TRIGger:STATus
� :TRIGger:STOP
� :TRIGger:TYPE
� :TRIGger:EDGE Commands
� :TRIGger:SLOPe Commands
� :TRIGger:PULSe Commands
� :TRIGger:VIDeo Commands
� :TRIGger:WINDow Commands
� :TRIGger:INTerval Commands
� :TRIGger:DROPout Commands
� :TRIGger:PATTern Commands
� :TRIGger:QUALified Commands
� :TRIGger:IIC Commands
� :TRIGger:SPI Commands
� :TRIGger:UART Commands
� :TRIGger:CAN Commands
� :TRIGger:LIN Commands
� :TRIGger:FLEXray Commands [Option]
� :TRIGger:CANFd Commands [Option]
� :TRIGger:IIS Commands [Option]
Command/Query
<mode>:= {SINGle|NORMal|AUTO}
� AUTO: 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.
� NORMal: The oscilloscope enters the wait trigger state
and begins to search for trigger signals that meet the
conditions. If the trigger signal is satisfied, the running
state shows Trig'd, and the interface shows stable
waveform.
Otherwise, the running state shows Ready, and the
interface displays the last triggered waveform (previous
trigger) or does not display the waveform (no previous
trigger).
� SINGle: The backlight of SINGLE key lights up, the
oscilloscope enters the waiting trigger state and begins
to search for the trigger signal that meets the conditions.
If the trigger signal is satisfied, the running state shows
Trig'd, and the interface shows stable waveform. Then,
the oscilloscope stops scanning, the RUN/STOP key
becomes red, and the running status shows Stop
Otherwise, the running state shows Ready, and the
interface does not display the waveform.
<mode>:= {SINGle|NORMal|AUTO}
Command message:
:TRIGger:MODE SINGle
TRIG:MODE SING
Query message:
TRIG:MODE?
Response message:
SINGle
Command message:
:TRIGger:RUN
TRIG:RUN
DESCRIPTION The command query returns the current state of the trigger.
<status>:= {Arm|Ready|Auto|Trig'd|Stop|Roll}
Query message:
TRIG:STAT?
Response message:
Stop
Command message:
:TRIGger:STOP
TRIG:STOP
Command/Query
<type>:=
{EDGE|PULSe|SLOPe|INTerval|PATTern|RUNT|QUALified|
WINDow|DROPout|VIDeo|IIC|SPI|UART|LIN|CAN|FLEXray|
CANFd|IIS}
<type>:=
{EDGE|PULSE|SLOPe|INTerval|PATTern|RUNT|QUALified|
WINDow|DROPout|VIDeo|IIC|SPI|UART|LIN|CAN|FLEXray|
CANFd|IIS}
Command message:
:TRIGger:TYPE EDGE
TRIG:TYPE EDGE
Query message:
TRIG:TYPE?
Command message:
EDGE
� :TRIGger:EDGE:COUPling
� :TRIGger:EDGE:HLDEVent
� :TRIGger:EDGE:HLDTime
� :TRIGger:EDGE:HOLDoff
� :TRIGger:EDGE:HSTart
� :TRIGger:EDGE:LEVel
� :TRIGger:EDGE:NREJect
� :TRIGger:EDGE:SLOPe
� :TRIGger:EDGE:SOURce
DESCRIPTION The command sets the coupling mode of the edge trigger.
<mode>:= {DC|AC|LFREJect|HFREJect}
� DC coupling allows dc and ac signals into the trigger
path.
� AC coupling places a high-pass filter 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.
� HFREJect which is a high-frequency rejection filter that
adds a low-pass filter in the trigger path to remove high-
frequency components from the trigger waveform. Use
the high-frequency rejection filter to remove high-
frequency noise, such as AM or FM broadcast stations,
from the trigger path.
� LFREJect which is a low frequency rejection filter adds a
high-pass filter in series with the trigger waveform to
remove any unwanted low-frequency components from
a trigger waveform, such as power line frequencies, that
can interfere with proper triggering.
<mode>:= {DC|AC|LFREJect|HFREJect}
EXAMPLE The following command sets the coupling mode of the edge
trigger to DC.
Command message:
:TRIGger:EDGE:COUPling DC
TRIG:EDGE:COUP DC
Query message:
TRIG:EDGE:COUP?
Command/Query
DESCRIPTION This command sets the number of holdoff events of the edge
trigger.
Command message:
:TRIGger:EDGE:HLDEVent 3
TRIG:EDGE:HLDEV 3
Query message:
TRIG:EDGE:HLDEV?
Response message:
3
Command/Query
DESCRIPTION The command sets the holdoff time of the edge trigger.
The query returns the current holdoff time of the edge trigger.
The range of the value varies by model, see the table below
for details.
Model Value Range
T3DSO2000A [8.00E-09, 3.00E+01]
EXAMPLE The following command sets the holdoff time of the edge
trigger to 15 ns.
Command message:
:TRIGger:EDGE:HLDTime 1.50E-08
TRIG:EDGE:HLDT 1.50E-08
Query message:
TRIG:EDGE:HLDT?
Response message:
1.50E-08
Command/Query
DESCRIPTION The command selects the holdoff type of the edge trigger.
The query returns the current holdoff type of the edge trigger.
<holdoff_type>:= {OFF|EVENts|TIME}
� OFF means to turn off the holdoff.
� EVENts means the number of trigger events that the
oscilloscope counts before re-arming the trigger circuitry.
� TIME means the amount of time that the oscilloscope
waits before re-arming the trigger circuitry.
<holdoff_type>:= {OFF|EVENts|TIME}
EXAMPLE The following command turns off the holdoff of the edge
trigger.
Command message:
:TRIGger:EDGE:HOLDoff OFF
TRIG:EDGE:HOLD OFF
Query message:
TRIG:EDGE:HOLD?
Response message:
OFF
DESCRIPTION The command defines the initial position of the edge trigger
holdoff.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
� LAST_TRIG means the initial position of holdoff is the
first time point satisfying the trigger condition.
� ACQ_START means the initial position of holdoff is the
time of the last trigger.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
EXAMPLE The following command sets the start holdoff mode to last
trigger.
Command message:
:TRIGger:EDGE:HSTart LAST_TRIG
TRIG:EDGE:HST LAST_TRIG
Query message:
TRIG:EDGE:HST?
Response message:
LAST_TRIG
DESCRIPTION The command sets the trigger level of the edge trigger.
The query returns the current trigger level value of the edge
trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the trigger level of the edge
trigger to 0.5 V.
Command message:
:TRIGger:EDGE:LEVel 5.00E-01
TRIG:EDGE:LEV 5.00E-01
Query message:
TRIG:EDGE:LEV?
Response message:
5.00E-01
<state>:= {OFF|ON}
<state>:= {OFF|ON}
Command message:
:TRIGger:EDGE:NREJect ON
TRIG:EDGE:NREJ ON
Query message:
TRIG:EDGE:NREJ?
Response message:
ON
<slope_type>:= {RISing|FALLing|ALTernate}
<slope_type>:= {RISing|FALLing|ALTernate}
EXAMPLE The following command set the rising slope as trigger edge.
Command message:
:TRIGger:EDGE:SLOPe RISing
TRIG:EDGE:SLOP RIS
Query message:
TRIG:EDGE:SLOP?
Response message:
RISing
Command/Query
DESCRIPTION The command sets the trigger source of the edge trigger.
<source>:= {C<x>|D<n>|EX|EX5|LINE}
<source>:= {C<x>|D<n>|EX|EX5|LINE}
EXAMPLE The following command sets the trigger source of the edge
trigger as C1.
Command message:
:TRIGger:EDGE:SOURce C1
TRIG:EDGE:SOUR C1
Query message:
TRIG:EDGE:SOUR?
Response message:
C1
� :TRIGger:SLOPe:COUPling
� :TRIGger:SLOPe:HLDEVent
� :TRIGger:SLOPe:HLDTime
� :TRIGger:SLOPe:HLEVel
� :TRIGger:SLOPe:HOLDoff
� :TRIGger:SLOPe:HSTart
� :TRIGger:SLOPe:LIMit
� :TRIGger:SLOPe:LLEVel
� :TRIGger:SLOPe:NREJect
� :TRIGger:SLOPe:SLOPe
� :TRIGger:SLOPe:SOURce
� :TRIGger:SLOPe:TLOWer
� :TRIGger:SLOPe:TUPPer
DESCRIPTION The command sets the coupling mode of the slope trigger.
<mode>:= {DC|AC|LFREJect|HFREJect}
� DC coupling allows dc and ac signals into the trigger
path.
� AC coupling places a high-pass filter 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.
� HFREJect which is a high-frequency rejection filter
adds a low-pass filter in the trigger path to remove
high frequency components from the trigger
waveform. Use the high-frequency reject filter to
remove high-frequency noise, such as AM or FM
broadcast stations, from the trigger path.
� LFREJect which is a low frequency rejection filter
adds a high-pass filter in series with the trigger
waveform to remove any unwanted low frequency
components from a trigger waveform, such as power
line frequencies, that can interfere with proper
triggering.
<mode>:= {DC|AC|LFREJect|HFREJect}
Command message:
:TRIGger:SLOPe:COUPling DC
TRIG:SLOP:COUP DC
Response message:
DC
Command/Query
DESCRIPTION This command sets the number of holdoff events of the slope
trigger.
Command message:
:TRIGger:SLOPe:HLDEVent 3
TRIG:SLOP:HLDEV 3
Query message:
TRIG:SLOP:HLDEV?
Response message:
3
Command/Query
DESCRIPTION This command sets the holdoff time of the slope trigger.
The range of the value varies by model, see the table below
for details.
Model Value Range
T3DSO2000A [8.00E-09, 3.00E+01]
EXAMPLE The following command sets the holdoff time of the slope
trigger to 15 ns.
Command message:
:TRIGger:SLOPe:HLDTime 1.50E-08
TRIG:SLOP:HLDT 1.50E-08
Query message:
TRIG:SLOP:HLDT?
Response message:
1.50E-08
DESCRIPTION The command sets the high level of the slope trigger.
The query returns the current high level of the slope trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Note:
The high level value cannot be less than the low level value
using by the command :TRIGger:SLOPe:LLEVel.
EXAMPLE The following command sets the high level of the slope
trigger to 0.5 V.
Command message:
:TRIGger:SLOPe:HLEVel 5.00E-01
TRIG:SLOP:HLEV 5.00E-01
Query message:
TRIG:SLOP:HLEV?
Response message:
5.00E-01
DESCRIPTION The command selects the holdoff type of the slope trigger.
<holdoff_type>:= {OFF|EVENts|TIME}
� OFF means to turn off the holdoff
� EVENts means the amount of events that the
oscilloscope counts before re-arming the trigger
circuitry
� TIME means the amount of time that the oscilloscope
waits before re-arming the trigger circuitry
EXAMPLE The following command turns off the holdoff of the slope
trigger.
Command message:
:TRIGger:SLOPe:HOLDoff OFF
TRIG:SLOP:HOLD OFF
Query message:
TRIG:SLOP:HOLD?
Response message:
OFF
<start_type>:= {LAST_TRIG|ACQ_START}
� LAST_TRIG means the initial position of holdoff is the
first time point satisfying the trigger condition.
� ACQ_START means the initial position of holdoff is
the time of the last trigger.
<type>:= {LAST_TRIG|ACQ_START}
Command message:
:TRIGger:SLOPe:HSTart LAST_TRIG
TRIG:SLOP:HST LAST_TRIG
Query message:
TRIG:SLOP:HST?
Response message:
LAST_TRIG
DESCRIPTION The command sets the limit range type of the slope
trigger.
The query returns the current limit range type of the slope
trigger.
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
EXAMPLE The following command sets the limit of the slope trigger
to LESSthan.
Command message:
:TRIGger:SLOPe:LIMit LESSthan
TRIG:SIOP:LIM LESS
Query message:
TRIG:SIOP:LIM?
Response message:
LESSthan
DESCRIPTION The command sets the low level of the slope trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Note:
The low level value cannot be greater than the low level
value using by the command :TRIGger:SLOPe:HLEVel.
EXAMPLE The following command sets the low level of the slope
trigger to -0.5 V.
Command message:
:TRIGger:SLOPe:LLEVel -5.00E-01
TRIG:SLOP:LLEV -5.00E-01
Query message:
TRIG:SLOP:LLEV?
Response message:
-5.00E-01
<state>:= {OFF|ON}
<state>:= {OFF|ON}
Command message:
:TRIGger:SLOPe:NREJect ON
TRIG:SLOP:NREJ ON
Query message:
TRIG:SLOP:NREJ?
Response message:
ON
<slope_type>:= {RISing|FALLing|ALTernate}
<slope_type>:= {RISing|FALLing|ALTernate}
EXAMPLE The following command sets the rising slope of the slope
trigger.
Command message:
:TRIGger:SLOPe:SLOPe RISing
TRIG:SLOP:SLOP RIS
Query message:
TRIG:SLOP:SLOP?
Response message:
RISing
DESCRIPTION The command sets the trigger source of the slope trigger.
<source>:= {C<x>}
<source>:= {C<x>}
EXAMPLE The following command sets the trigger source of the slope
trigger to C2 (channel 2).
Command message:
:TRIGger:SLOPe:SOURce C2
TRIG:SLOP:SOUR C2
Query message:
TRIG:SLOP:SOUR?
Response message:
C2
DESCRIPTION The command sets the lower value of the slope trigger limit
type.
The query returns the current lower value of the slope trigger
limit type.
Note:
� The lower value cannot be greater than the upper value
using by the command :TRIGger:SLOPe:TUPPer.
� The command is not valid when the limit range type is
LESSthan.
EXAMPLE The following command sets the lower time of the slope
trigger to 10 ns.
Command message:
:TRIGger:SLOPe:TLOWer 1.00E-08
TRIG:SLOP:TLOW 1.00E-08
Query message:
TRIG:SLOP:TLOW?
Response message:
1.00E-08
DESCRIPTION The command sets the upper value of the slope trigger limit
type.
The query returns the current upper value of the slope trigger
limit type.
Note:
� The upper value cannot be less than the lower value
using by the command :TRIGger:SLOPe:TLOWer.
� The command is not valid when the limit range type is
GREATerthan.
EXAMPLE The following command sets the upper value of the slope
trigger to 30 ns, when the limit range type is OUTer.
Command message:
:TRIGger:SLOPe:TUPPer 3.00E-08
TRIG:SLOP:TUPP 3.00E-08
Query message:
TRIG:SLOP:TUPP?
Response message:
3.00E-08
� :TRIGger:PULSe:COUPling
� :TRIGger:PULSe:HLDEVent
� :TRIGger:PULSe:HLDTime
� :TRIGger:PULSe:HOLDoff
� :TRIGger:PULSe:HSTart
� :TRIGger:PULSe:LEVel
� :TRIGger:PULSe:LIMit
� :TRIGger:PULSe:NREJect
� :TRIGger:PULSe:POLarity
� :TRIGger:PULSe:SOURce
� :TRIGger:PULSe:TLOWer
� :TRIGger:PULSe:TUPPer
DESCRIPTION The command sets the coupling mode of the pulse trigger.
<mode>:= {DC|AC|LFREJect|HFREJect}
� DC coupling allows dc and ac signals into the trigger
path.
� AC coupling places a high-pass filter 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.
� HFREJect which is a high-frequency rejection filter adds
a low-pass filter in the trigger path to remove high
frequency components from the trigger waveform. Use
the high-frequency rejection filter to remove high-
frequency noise, such as AM or FM broadcast stations,
from the trigger path.
� LFREJect which is a low frequency rejection filter adds a
high-pass filter in series with the trigger waveform to
remove any unwanted low frequency components from a
trigger waveform, such as power line frequencies, that
can interfere with proper triggering.
<mode>:= {DC|AC|LFREJect|HFREJect}
Command message:
:TRIGger:PULSe:COUPling DC
TRIG:PULS:COUP DC
Query message:
TRIG:PULS:COUP?
DESCRIPTION This command sets the number of holdoff events of the pulse
trigger.
Command message:
:TRIGger:PULSe:HLDEVent 3
TRIG:PULS:HLDEV 3
Query message:
TRIG:PULS:HLDEV?
Response message:
3
DESCRIPTION This command sets the holdoff time of the pulse trigger.
The range of the value varies by model, see the table below
for details.
Model Value Range
T3DSO2000A [8.00E-09, 3.00E+01]
EXAMPLE The following command sets the holdoff time of the pulse
trigger to 15 ns.
Command message:
:TRIGger:PULSe:HLDTime 1.50E-08
TRIG:PULS:HLDT 1.50E-08
Query message:
TRIG:PULS:HLDT?
Response message:
1.50E-08
DESCRIPTION The command selects the holdoff type of the pulse trigger.
<holdoff_type>:= {OFF|EVENts|TIME}
� OFF means to turn off the holdoff.
� EVENts means the amount of events that the
oscilloscope counts before re-arming the trigger circuitry.
� TIME means the amount of time that the oscilloscope
waits before re-arming the trigger circuitry.
EXAMPLE The following command turns off the holdoff of the pulse
trigger.
Command message:
:TRIGger:PULSe:HOLDoff OFF
TRIG:PULS:HOLD OFF
Query message:
TRIG:PULS:HOLD?
Response message:
OFF
DESCRIPTION The command defines the initial position of the pulse trigger
holdoff.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
� LAST_TRIG means the initial position of holdoff is the
first time point satisfying the trigger condition.
� ACQ_START means the initial position of holdoff is the
time of the last trigger.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
EXAMPLE The following command sets the start holdoff mode of pulse
trigger to LAST_TRIG (last trigger).
Command message:
:TRIGger:PULSe:HSTart LAST_TRIG
TRIG:PULS:HST LAST_TRIG
Query message:
TRIG:PULS:HST?
Response message:
LAST_TRIG
DESCRIPTION The command sets the trigger level of the pulse trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the trigger level of the pulse
trigger to 0.5 V.
Command message:
:TRIGger:PULSe:LEVel 5.00E-01
TRIG:PULS:LEV 5.00E-01
Query message:
TRIG:PULS:LEV?
Response message:
5.00E-01
DESCRIPTION The command sets the limit range type of the pulse trigger.
The query returns the current limit range type of the pulse
trigger.
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
EXAMPLE The following command sets the trigger limit of the pulse
trigger to inner.
Command message:
:TRIGger:PULSe:LIMit INNer
TRIG:PULS:LIM INN
Query message:
TRIG:PULS:LIM?
Response message:
INNer
<state>:= {OFF|ON}
<state>:= {OFF|ON}
Command message:
:TRIGger:PULSe:NREJect ON
TRIG:PULS:NREJ ON
Query message:
TRIG:PULS:NREJ?
Response message:
ON
<polarity_type>:= {POSitive|NEGative}
<polarity_type>:= {POSitive|NEGative}
EXAMPLE The following command sets the polarity of the pulse trigger
to POSitive.
Command message:
:TRIGger:PULSe:POLarity POSitive
TRIG:PULS:POL POS
Query message:
TRIG:PULS:POL?
Response message:
POSitive
DESCRIPTION The command sets the trigger source of the pulse trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
EXAMPLE The following command sets the polarity of the pulse trigger
as channel 2.
Command message:
:TRIGger:PULSe:SOURce C2
TRIG:PULS:SOUR C2
Query message:
TRIG:PULS:SOUR?
Response message:
C2
DESCRIPTION The command sets the lower value of the pulse trigger limit
type.
The query returns the current lower value of the pulse trigger
limit type.
Note:
� The lower value cannot be greater than the upper value
using by the command :TRIGger:PULSe:TUPPer.
� The command is not valid when the limit range type is
LESSthan.
EXAMPLE The following command sets the lower time of the pulse
trigger to 10 ns.
Command message:
:TRIGger:PULSe:TLOWer 1.00E-08
TRIG:PULS:TLOW 1.00E-08
Query message:
TRIG:PULS:TLOW?
Response message:
1.00E-08
DESCRIPTION The command sets the upper value of the pulse trigger limit
type.
The query returns the current upper value of the pulse trigger
limit type.
Note:
� The upper value cannot be less than the lower value
using by the command :TRIGger:PULse:TLOWer.
� The command is not valid when the limit range type is
GREATerthan.
EXAMPLE The following command sets the upper time of the pulse
trigger to 30 ns.
Command message:
:TRIGger:PULSe:TUPPer 3.00E-08
TRIG:PULS:TUPP 3.00E-08
Query message:
TRIG:PULS:TUPP?
Response message:
3.00E-08
� :TRIGger:VIDeo:FCNT
� :TRIGger:VIDeo:FIELd
� :TRIGger:VIDeo:FRATe
� :TRIGger:VIDeo:INTerlace
� :TRIGger:VIDeo:LCNT
� :TRIGger:VIDeo:LEVel
� :TRIGger:VIDeo:LINE
� :TRIGger:VIDeo:SOURce
� :TRIGger:VIDeo:STANdard
� :TRIGger:VIDeo:SYNC
DESCRIPTION The command sets the fields of the custom video trigger.
<field_cnt>:= {1|2|4|8}
<field_cnt>:= {1|2|4|8}
EXAMPLE The following command sets the fields of the custom video
trigger to 8.
Command message:
:TRIGger:VIDeo:FCNT 8
TRIG:VID:FCNT 8
Query message:
TRIG:VID:FCNT?
Response message:
8
DESCRIPTION The command sets the synchronous trigger field when the
video standard is NTSC, PAL, 1080i/50 or 1080i/60.
<field>:= {1|2}
<field>:= {1|2}
Command message:
:TRIGger:VIDeo:FIELd 2
TRIG:VID:FIEL 2
Query message:
TRIG:VID:FIEL?
Response message:
2
DESCRIPTION The command sets the frame rate of the custom video
trigger.
The query returns the current frame rate of the custom video
trigger.
<frate>:= {25Hz|30Hz|50Hz|60Hz}
<frate>:= {25Hz|30Hz|50Hz|60Hz}
EXAMPLE The following command sets the frame rate of the custom
video trigger to 50Hz.
Command message:
:TRIGger:VIDeo:FRATe 50Hz
TRIG:VID:FRAT 50Hz
Query message:
TRIG:VID:FRAT?
Response message:
50Hz
DESCRIPTION The command sets the interlace of the custom video trigger.
<interlace>:= {1|2|4|8}
<interlace>:= {1|2|4|8}
Command message:
:TRIGger:VIDeo:INTerlace 8
TRIG:VID:INT 8
Query message:
TRIG:VID:INT?
Response message:
8
DESCRIPTION The command sets the lines of the custom video trigger.
EXAMPLE The following command sets the lines of the custom video
trigger to 500.
Command message:
:TRIGger:VIDeo:LCNT 500
TRIG:VID:LCNT 500
Query message:
TRIG:VID:LCNT?
DESCRIPTION The command sets the trigger level of the video trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the trigger level of the video
trigger to 0.5 V.
Command message:
:TRIGger:VIDeo:LEVel 5.00E-01
TRIG:VID:LEV 5.00E-01
Query message:
TRIG:VID:LEV?
Response message:
5.00E-01
DESCRIPTION The command sets the synchronous trigger line when the
video standard is not custom.
Command message:
:TRIGger:VIDeo:LINE 2
TRIG:VID:LINE 2
Query message:
TRIG:VID:LINE?
DESCRIPTION The command sets the trigger source of the video trigger.
<source>:= {C<x>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<source>:= {C<x>}
EXAMPLE The following command sets the trigger source of the video
trigger to channel 2.
Command message:
:TRIGger:VIDeo:SOURce C2
TRIG:VID:SOUR C2
Query message:
TRIG:VID:SOUR?
Response message:
C2
<standard>:=
{NTSC|PAL|P720L50|P720L60|P1080L50|P1080L60|I1080L
50|I1080L60|CUSTom}
<standard>:=
{NTSC|PAL|P720L50|P720L60|P1080L50|P1080L60|I1080L
50|I1080L60|CUSTom}
EXAMPLE The following command sets the standard of the video trigger
to NTSC.
Command message:
:TRIGger:VIDeo:STANdard NTSC
TRIG:VID:STAN NTSC
Query message:
TRIG:VID:STAN?
Response message:
NTSC
DESCRIPTION The command sets the sync mode of the video trigger.
The query returns the current sync mode of the video trigger.
<sync>:= {SELect|ANY}
<sync>:= {SELect|ANY}
EXAMPLE The following command sets the sync mode of the video
trigger to select.
Command message:
:TRIGger:VIDeo:SYNC SELect
TRIG:VID:SYNC SEL
Query message:
TRIG:VID:SYNC?
Response message:
SELect
� :TRIGger:WINDow:CLEVel
� :TRIGger:WINDow:COUPling
� :TRIGger:WINDow:DLEVel
� :TRIGger:WINDow:HLDEVent
� :TRIGger:WINDow:HLDTime
� :TRIGger:WINDow:HLEVel
� :TRIGger:WINDow:HOLDoff
� :TRIGger:WINDow:HSTart
� :TRIGger:WINDow:LLEVel
� :TRIGger:WINDow:NREJect
� :TRIGger:WINDow:SOURce
� :TRIGger:WINDow:TYPE
DESCRIPTION The command sets the center level of the window trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the center level of the window
trigger to 0.5 V.
Command message:
:TRIGger:WINDow:CLEVel 5.00E-01
TRIG:WIND:CLEV 5.00E-01
Query message:
TRIG:WIND:CLEV?
Response message:
5.00E-01
DESCRIPTION The command sets the coupling mode of the window trigger.
<mode>:= {DC|AC|LFREJect|HFREJect}
� DC coupling allows dc and ac signals into the trigger
path.
� AC coupling places a high-pass filter 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.
� HFREJect which is a high-frequency rejection filter adds
a low-pass filter in the trigger path to remove high-
frequency components from the trigger waveform. Use
the high frequency rejection filter to remove high-
frequency noise, such as AM or FM broadcast stations,
from the trigger path.
� LFREJect which is a low frequency rejection filter adds a
high-pass filter in series with the trigger waveform to
remove any unwanted low frequency components from a
trigger waveform, such as power line frequencies, that
can interfere with proper triggering.
<mode>:= {DC|AC|LFREJect|HFREJect}
Command message:
:TRIGger:WINDow:COUPling DC
TRIG:WIND:COUP DC
Query message:
TRIG:WIND:COUP?
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the delta level of window trigger
to 0.5 V.
Command message:
:TRIGger:WINDow:DLEVel 5.00E-01
TRIG:WIND:DLEV 5.00E-01
Query message:
TRIG:WIND:DLEV?
Response message:
5.00E-01
Command message:
:TRIGger:WINDow:HLDEVent 3
TRIG:WIND:HLDEV 3
Query message:
TRIG:WIND:HLDEV?
Response message:
3
Command/Query
The range of the value varies by model, see the table below
for details.
Model Value Range
T3DSO2000A [8.00E-09, 3.00E+01]
EXAMPLE The following command sets the holdoff time of the window
trigger to 15 ns.
Command message:
:TRIGger:WINDow:HLDTime 1.50E-08
TRIG:WIND:HLDT 1.50E-08
Query message:
TRIG:WIND:HLDT?
Response message:
1.50E-08
Command/Query
DESCRIPTION The command sets the high trigger level of window trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Note:
The high level value cannot be less than the low level value
using by the command :TRIGger:WINDow:LLEVel.
EXAMPLE The following command sets the high trigger level of window
trigger to 0.5 V.
Command message:
:TRIGger:WINDow:HLEVel 5.00E-01
TRIG:WIND:HLEV 5.00E-01
Query message:
TRIG:WIND:HLEV?
Response message:
5.00E-01
DESCRIPTION The command selects the holdoff type of the window trigger.
<holdoff_type>:= {OFF|EVENts|TIME}
� OFF means to turn off the holdoff.
� EVENts means the amount of events that the
oscilloscope counts before re-arming the trigger circuitry.
� TIME means the amount of time that the oscilloscope
waits before re-arming the trigger circuitry.
EXAMPLE The following command turns off the holdoff of the window
trigger.
Command message:
:TRIGger:WINDow:HOLDoff OFF
TRIG:WIND:HOLD OFF
Query message:
TRIG:WIND:HOLD?
Response message:
OFF
<start_holdoff>:= {LAST_TRIG|ACQ_START}
� LAST_TRIG means the initial position of holdoff is the
first time point satisfying the trigger condition.
� ACQ_START means the initial position of holdoff is the
time of the last trigger.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
Command message:
:TRIGger:WINDow:HSTart LAST_TRIG
TRIG:WIND:HST LAST_TRIG
Query message:
TRIG:PULS:HST?
Response message:
LAST_TRIG
DESCRIPTION The command sets the low trigger level of the window
trigger.
The query returns the current low trigger level of the window
trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Note:
The low level value cannot be greater than the high level
value using by the command :TRIGger:WINDow:HLEVel.
EXAMPLE The following command sets the low trigger level of runt
trigger to -0.5 V.
Command message:
:TRIGger:WINDowLLEVel -5.00E-01
TRIG:WIND:LLEV -5.00E-01
Query message:
TRIG:WIND:LLEV?
Response message:
-5.00E-01
<state>:= {OFF|ON}
<state>:= {OFF|ON}
Command message:
:TRIGger:WINDow:NREJect ON
TRIG:WIND:NREJ ON
Query message:
TRIG:WIND:NREJ?
Response message:
ON
DESCRIPTION The command sets the trigger source of the window trigger.
<source>:= {C<x>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<source>:= {C<x>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
EXAMPLE The following command sets the trigger source of the window
trigger to channel 2.
Command message:
:TRIGger:WINDow:SOURce C2
TRIG:WIND:SOUR C2
Query message:
TRIG:WIND:SOUR?
Response message:
C2
DESCRIPTION The command sets the window type of the window trigger.
<type>:= {ABSolute|RELative}
<type>:= {ABSolute|RELative}
Command message:
:TRIGger:WINDow:TYPE ABSolute
TRIG:WIND:TYPE ABS
Query message:
TRIG:WIND:TYPE?
Response message:
ABSolute
� :TRIGger:INTerval:COUPling
� :TRIGger:INTerval:HLDEVent
� :TRIGger:INTerval:HLDTime
�
� :TRIGger:INTerval:HOLDoff
� :TRIGger:INTerval:HSTart
� :TRIGger:INTerval:LEVel
� :TRIGger:INTerval:LIMit
� :TRIGger:INTerval:NREJect
� :TRIGger:INTerval:SLOPe
� :TRIGger:INTerval:SOURce
� :TRIGger:INTerval:TLOWer
� :TRIGger:INTerval:TUPPer
DESCRIPTION The command sets the coupling mode of the interval trigger.
<mode>:= {DC|AC|LFREJect|HFREJect}
� DC coupling allows dc and ac signals into the trigger
path.
� AC coupling places a high-pass filter 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.
� HFREJect which is a high-frequency rejection filter adds
a low-pass filter in the trigger path to remove high-
frequency components from the trigger waveform. Use
the high-frequency reject filter to remove high-frequency
noise, such as AM or FM broadcast stations, from the
trigger path.
� LFREJect which is a low frequency rejection filter adds a
high-pass filter in series with the trigger waveform to
remove any unwanted low frequency components from a
trigger waveform, such as power line frequencies, that
can interfere with proper triggering.
<mode>:= {DC|AC|LFREJect|HFREJect}
Command message:
:TRIGger:INTerval:COUPling DC
TRIG:INT:COUP DC
Response message:
DC
Command/Query
Command message:
:TRIGger:INTerval:HLDEVent 3
TRIG:INT:HLDEV 3
Query message:
TRIG:INT:HLDEV?
Response message:
3
Command/Query
EXAMPLE The following command sets the holdoff time of the interval
trigger to 15 ns.
Command message:
:TRIGger:INTerval:HLDTime 1.50E-08
TRIG:INT:HLDT 1.50E-08
Query message:
TRIG:INT:HLDT?
Response message:
1.50E-08
RELATED COMMANDS
:TRIGger:INTerval:HOLDoff
DESCRIPTION The command selects the holdoff type of the interval trigger.
<holdoff_type>:= {OFF|EVENts|TIME}
� OFF means to turn off the holdoff.
� EVENts means the amount of events that the
oscilloscope counts before re-arming the trigger circuitry
� TIME means the amount of time that the oscilloscope
waits before re-arming the trigger circuitry.
EXAMPLE The following command turns off the holdoff of the interval
trigger.
Command message:
:TRIGger:INTerval:HOLDoff OFF
TRIG:INT:HOLD OFF
Query message:
TRIG:INT:HOLD?
Response message:
OFF
DESCRIPTION The command sets the start holdoff mode of the interval
trigger.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
� LAST_TRIG means the initial position of holdoff is the
first time point satisfying the trigger condition.
� ACQ_START means the initial position of holdoff is the
time of the last trigger.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
EXAMPLE The following command sets the start holdoff mode of the
interval trigger as LAST_TRIG (last trigger).
Command message:
:TRIGger:INTerval:HSTart LAST_TRIG
TRIG:INT:HST LAST_TRIG
Query message:
TRIG:INT:HST?
Response message:
LAST_TRIG
DESCRIPTION The command sets the trigger level of the interval trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the trigger level of the interval
trigger to 0.5 V.
Command message:
:TRIGger:INTerval:LEVel 5.00E-01
TRIGr:INT:LEV 5.00E-01
Query message:
TRIG:INT:LEV?
Response message:
5.00E-01
DESCRIPTION The command sets the limit range type of the interval trigger.
The query returns the current limit range type of the interval
trigger.
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
EXAMPLE The following command sets the limit of the interval trigger to
LESSthan.
Command message:
:TRIGger:INTerval:LIMit LESSthan
TRIG:INT:LIM LESS
Query message:
TRIG:INT:LIM?
Response message:
LESSthan
<state>:= {OFF|ON}
<state>:= {OFF|ON}
Command message:
:TRIGger:INTerval:NREJect ON
TRIG:INT:NREJ ON
Query message:
TRIG:INT:NREJ?
Response message:
ON
<slope_type>:= {RISing|FALLing}
<slope_type>:= {RISing|FALLing}
EXAMPLE The following command sets the rising slope of the interval
trigger.
Command message:
:TRIGger:INTerval:SLOPe RISing
TRIG:INT:SLOP RIS
Query message:
TRIG:INT:SLOP?
Response message:
RISing
DESCRIPTION The command sets the trigger source of the interval trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
EXAMPLE The following command sets the trigger source of the interval
trigger as channel 1.
Command message:
:TRIGger:INTerval:SOURce C1
TRIG:INT:SOUR C1
Query message:
TRIG:INT:SOUR?
Response message:
C1
DESCRIPTION The command sets the lower value of the interval trigger limit
type.
Note:
� The lower value cannot be greater than the upper value
using by the command :TRIGger:INTerval:TUPPer.
� The command is not valid when the limit range type is
LESSthan.
EXAMPLE The following command sets the time lower value of the
interval trigger to 10 ns.
Command message:
:TRIGger:INTerval:TLOWer 1.00E-08
TRIG:INT:TLOW 1.00E-08
Query message:
TRIG:INT:TLOW?
Response message:
1.00E-08
DESCRIPTION The command sets the upper value of the interval trigger
limit type.
Note:
� The upper value cannot be less than the lower value
using by the command :TRIGger:INTerval:TLOWer.
� The command is not valid when the limit range type is
GREATerthan.
EXAMPLE The following command sets the time upper value of the
interval trigger to 30 ns.
Command message:
:TRIGger:INTerval:TUPPer 3.00E-08
TRIG:INT:TUPP 3.00E-08
Query message:
TRIG:INT:TUPP?
Response message:
3.00E-08
� :TRIGger:DROPout:COUPling
� :TRIGger:DROPout:HLDEVent
� :TRIGger:DROPout:HLDTime
�
� :TRIGger:DROPout:HOLDoff
� :TRIGger:DROPout:HSTart
� :TRIGger:DROPout:LEVel
� :TRIGger:DROPout:NREJect
� :TRIGger:DROPout:SLOPe
� :TRIGger:DROPout:SOURce
� :TRIGger:DROPout:TIME
� :TRIGger:DROPout:TYPE
DESCRIPTION The command sets the coupling mode of the dropout trigger.
<mode>:= {DC|AC|LFREJect|HFREJect}
� DC coupling allows dc and ac signals into the trigger
path.
� AC coupling places a high-pass filter 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.
� HFREJect which is a high-frequency rejection filter adds
a low-pass filter in the trigger path to remove high-
frequency components from the trigger waveform. Use
the high-frequency rejection filter to remove high-
frequency noise, such as AM or FM broadcast stations,
from the trigger path.
� LFREJect which is a low frequency rejection filter adds a
high-pass filter in series with the trigger waveform to
remove any unwanted low frequency components from a
trigger waveform, such as power line frequencies, that
can interfere with proper triggering.
<mode>:= {DC|AC|LFREJect|HFREJect}
Command message:
:TRIGger:DROPout:COUPling DC
TRIG:DROP:COUP DC
Query message:
TRIG:DROP:COUP?
Response message:
DC
Command message:
:TRIGger:DROPout:HLDEVent 3
TRIG:DROP:HLDEV 3
Query message:
TRIG:DROP:HLDEV?
Response message:
3
Command/Query
EXAMPLE The following command sets the holdoff time of the dropout
trigger to 15 ns.
Command message:
:TRIGger:DROPout:HLDTime 1.50E-08
:TRIG:DROP:HLDT 1.50E-08
Query message:
TRIG:DROP:HLDT?
Response message:
1.50E-08
RELATED COMMANDS
:TRIGger:DROPout:HOLDoff
DESCRIPTION The command selects the holdoff type of the dropout trigger.
<holdoff_type>:= {OFF|EVENts|TIME}
� OFF means to turn off the holdoff.
� EVENts means the amount of events that the
oscilloscope counts before re-arming the trigger circuitry.
� TIME means the amount of time that the oscilloscope
waits before re-arming the trigger circuitry.
EXAMPLE The following command turns off the holdoff of the dropout
trigger.
Command message:
:TRIGger:DROPout:HOLDoff OFF
TRIG:DROP:HOLD OFF
Query message:
TRIG:DROP:HOLD?
Response message:
OFF
DESCRIPTION The command sets the start holdoff mode of the dropout
trigger.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
� LAST_TRIG means the initial position of holdoff is the
first time point satisfying the trigger condition.
� ACQ_START means the initial position of holdoff is the
time of the last trigger.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
EXAMPLE The following command sets the start hold off mode to
LAST_TRIG (last trigger).
Command message:
:TRIGger:DROPout:HSTart LAST_TRIG
TRIG:DROP:HST LAST_TRIG
Query message:
TRIG:DROP:HST?
Response message:
LAST_TRIG
DESCRIPTION The command sets the trigger level of the dropout trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the trigger level of the dropout
trigger to 0.5 V.
Command message:
:TRIGger:DROPout:LEVel 5.00E-1
TRIG:DROP:LEV 5.00E-1
Query message:
TRIG:DROP:LEV?
Response message:
5.00E-01
<state>:= {OFF|ON}
<state>:= {OFF|ON}
Command message:
:TRIGger:DROPout:NREJect ON
TRIG:DROP:NREJ ON
Query message:
TRIG:DROP:NREJ?
Response message:
ON
<slope_type>:= {RISing|FALLing}
<slope_type>:= {RISing|FALLing}
EXAMPLE The following command sets the rising slope of the dropout
trigger.
Command message:
:TRIGger:DROPout:SLOPe RISing
TRIG:DROP:SLOP RIS
Query message:
TRIG:DROP:SLOP?
Response message:
RISing
DESCRIPTION The command sets the trigger source of the dropout trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
Command message:
:TRIGger:DROPout:SOURce C2
TRIG:DROP:SOUR C2
Query message:
TRIG:DROP:SOUR?
Response message:
C2
DESCRIPTION The command sets the dropout time of the dropout trigger.
EXAMPLE The following command sets the time of the dropout trigger
to 10 ns.
Command message:
:TRIGger:DROPout:TIME 1.00E-08
TRIG:DROP:TIME 1.00E-08
Query message:
TRIG:DROP:TIME?
Response message:
1.00E-08
DESCRIPTION The command sets the over time type of the dropout trigger.
The query returns the current over time type of the dropout
trigger.
<type>:= {EDGE|STATe}
<type>:= {EDGE|STATe}
EXAMPLE The following command sets the over time type of the
dropout trigger to EDGE.
Command message:
:TRIGger:DROPout:TYPE EDGE
TRIG:DROP:TYPE EDGE
Query message:
TRIG:DROP:TYPE?
Response message:
EDGE
� :TRIGger:RUNT:COUPling
� :TRIGger:RUNT:HLDEVent
� :TRIGger:RUNT:HLDTime
� :TRIGger:RUNT:HLEVel
� :TRIGger:RUNT:HOLDoff
� :TRIGger:RUNT:HSTart
� :TRIGger:RUNT:LIMit
� :TRIGger:RUNT:LLEVel
� :TRIGger:RUNT:NREJect
� :TRIGger:RUNT:POLarity
� :TRIGger:RUNT:SOURce
� :TRIGger:RUNT:TLOWer
� :TRIGger:RUNT:TUPPer
DESCRIPTION The command sets the coupling mode of the runt trigger.
<mode>:= {DC|AC|LFREJect|HFREJect}
� DC coupling allows dc and ac signals into the trigger
path.
� AC coupling places a high-pass filter 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.
� HFREJect which is a high-frequency rejection filter adds
a low-pass filter in the trigger path to remove high
frequency components from the trigger waveform. Use
the high-frequency reject filter to remove high-frequency
noise, such as AM or FM broadcast stations, from the
trigger path.
� LFREJect which is a low frequency rejection filter adds a
high-pass filter in series with the trigger waveform to
remove any unwanted low frequency components from a
trigger waveform, such as power line frequencies, that
can interfere with proper triggering.
<mode>:= {DC|AC|LFREJect|HFREJect}
Command message:
:TRIGger:RUNT:COUPling DC
TRIG:RUNT:COUP DC
Response message:
DC
Command/Query
DESCRIPTION This command sets the number of holdoff events of the runt
trigger.
Command message:
:TRIGger:RUNT:HLDEVent 3
TRIG:RUNT:HLDEV 3
Query message:
TRIG:RUNT:HLDEV?
Response message:
3
Command/Query
DESCRIPTION This command sets the holdoff time of the runt trigger.
The query returns the current holdoff time of the runt trigger.
[8.00E-09, 3.00E+01]
EXAMPLE The following command sets the holdoff time of the runt
trigger to 15 ns.
Command message:
:TRIGger:RUNT:HLDTime 1.50E-08
TRIG:RUNT:HLDT 1.50E-08
Query message:
TRIG:RUNT:HLDT?
Response message:
1.50E-08
Command/Query
DESCRIPTION The command sets the high trigger level of the runt trigger.
The query returns the current high trigger level of the runt
trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Note:
The high level value cannot be less than the low level value
using by the command :TRIGger:RUNT:LLEVel.
EXAMPLE The following command sets the high trigger level of the runt
trigger to 0.5 V.
Command message:
:TRIGger:RUNT:HLEVel 5.00E-01
TRIG:RUNT:HLEV 5.00E-01
Query message:
TRIG:RUNT:HLEV?
Response message:
5.00E-01
DESCRIPTION The command selects the holdoff type of the runt trigger.
The query returns the current holdoff type of the runt trigger.
<holdoff_type>:= {OFF|EVENts|TIME}
� OFF means to turn off the holdoff.
� EVENts means the amount of events that the
oscilloscope counts before re-arming the trigger circuitry.
� TIME means the amount of time that the oscilloscope
waits before re-arming the trigger circuitry.
EXAMPLE The following command turns off the holdoff of the runt
trigger.
Command message:
:TRIGger:RUNT:HOLDoff OFF
TRIG:RUNT:HOLD OFF
Query message:
TRIG:RUNT:HOLD?
Response message:
OFF
DESCRIPTION The command sets the start holdoff mode of the runt trigger.
The query returns the current start holdoff mode of the runt
trigger.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
� LAST_TRIG means the initial position of holdoff is the
first time point satisfying the trigger condition.
� ACQ_START means the initial position of holdoff is the
time of the last trigger.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
Command message:
:TRIGger:RUNT:HSTart LAST_TRIG
TRIG:RUNT:HST LAST_TRIG
Query message:
TRIG:RUNT:HST?
Response message:
LAST_TRIG
DESCRIPTION The command sets the limit range type of the runt trigger.
The query returns the current limit range type of the runt
trigger.
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
EXAMPLE The following command sets the limit of the runt trigger to
LESSthan.
Command message:
:TRIGger:RUNT:LIMit LESSthan
TRIG:RUNT:LIM LESS
Query message:
TRIG:RUNT:LIM?
Response message:
LESSthan
DESCRIPTION The command sets the low trigger level of the runt trigger.
The query returns the current low trigger level of the runt
trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Note:
The low level value cannot be greater than the high level
value using by the command :TRIGger:RUNT:HLEVel.
EXAMPLE The following command sets the low trigger level of the
runt trigger to -0.5 V.
Command message:
:TRIGger:RUNT:LLEVel - 5.00E-01
TRIG:RUNT:LLEV - 5.00E-01
Query message:
TRIG:RUNT:LLEV?
Response message:
-5.00E-01
<state>:= {OFF|ON}
<state>:= {OFF|ON}
Command message:
:TRIGger:RUNT:NREJect ON
TRIG:RUNT:NREJ ON
Query message:
TRIG:RUNT:NREJ?
Response message:
ON
<polarity_type>:= {POSitive|NEGative}
<polarity_type>:= {POSitive|NEGative}
EXAMPLE The following command sets the polarity of the runt trigger to
POSitive.
Command message:
:TRIGger:RUNT:POLarity POSitive
TRIG:RUNT:POL POS
Query message:
TRIG:RUNT:POL?
Response message:
POSitive
DESCRIPTION The command sets the trigger source of the runt trigger.
<source>:= {C<x>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<source>:= {C<x>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
EXAMPLE The following command sets the trigger source of the runt
trigger to channel 2
Command message:
:TRIGger:RUNT:SOURce C2
TRIG:RUNT:SOUR C2
Query message:
TRIG:RUNT:SOUR?
Response message:
C2
DESCRIPTION The command sets the lower value of the runt trigger limit
type.
The query returns the current lower value of the runt trigger
limit type.
Note:
� The lower value cannot be greater than the upper value
using by the command :TRIGger:RUNT:TUPPer.
� The command is not valid when the limit range type is
LESSthan.
EXAMPLE The following command sets the lower time of the runt trigger
to 10 ns.
Command message:
:TRIGger:RUNT:TLOWer 1.00E-08
TRIG:RUNT:TLOW 1.00E-08
Query message:
TRIG:RUNT:TLOW?
Response message:
1.00E-08
Command/Query
DESCRIPTION The command sets the upper value of the runt trigger limit
type.
The query returns the current upper value of the runt trigger
limit type.
Note:
� The upper value cannot be less than the lower value
using by the command :TRIGger:RUNT:TLOWer.
� The command is not valid when the limit range type is
GREATerthan.
EXAMPLE The following command sets the upper time of the runt
trigger to 30 ns.
Command message:
:TRIGger:RUNT:TUPPer 3.00E-08
TRIG:RUNT:TUPP 3.00E-08
Query message:
TRIG:RUNT:TUPP?
Response message:
3.00E-08
� :TRIGger:PATTern:HLDEVent
� :TRIGger:PATTern:HLDTime
� :TRIGger:PATTern:HOLDoff
� :TRIGger:PATTern:HSTart
� :TRIGger:PATTern:INPut
� :TRIGger:PATTern:LEVel
� :TRIGger:PATTern:LIMit
� :TRIGger:PATTern:LOGic
� :TRIGger:PATTern:TLOWer
� :TRIGger:PATTern:TUPPer
Command message:
:TRIGger:PATTern:HLDEVent 3
TRIG:PATT:HLDEV 3
Query message:
TRIG:PATT:HLDEV?
Response message:
3
The range of the value varies, see the values below for
details.
[8.00E-09, 3.00E+01]
EXAMPLE The following command sets the holdoff time of the pattern
trigger to 15 ns.
Command message:
:TRIGger:PATTern:HLDTime 1.50E-08
TRIG:PATT:HLDT 1.50E-08
Query message:
TRIG:PATT:HLDT?
Response message:
1.50E-08
DESCRIPTION The command selects the holdoff type of the pattern trigger.
<holdoff_type>:= {OFF|EVENts|TIME}
� OFF means to turn off the holdoff
� EVENts means the amount of events that the
oscilloscope counts before re-arming the trigger circuitry
� TIME means the amount of time that the oscilloscope
waits before re-arming the trigger circuitry
EXAMPLE The following command turns off the holdoff of the pattern
trigger.
Command message:
:TRIGger:PATTern:HOLDoff OFF
TRIG:PATT:HOLD OFF
Query message:
TRIG:PATT:HOLD?
Response message:
OFF
DESCRIPTION The command sets the start holdoff mode of the pattern
trigger.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
� LAST_TRIG means the initial position of holdoff is the
first time point satisfying the trigger condition.
� ACQ_START means the initial position of holdoff is the
time of the last trigger.
<start_holdoff>:= {LAST_TRIG|ACQ_START}
Command message:
:TRIGger:PATTern:HSTart LAST_TRIG
TRIG:PATT:HST LAST_TRIG
Query message:
TRIG:PATT:HST?
Response message:
LAST_TRIG
DESCRIPTION The command specifies the logical input condition for the
channel (C1-C4) and digital channel (d0-d15) of the pattern
trigger.
<logic>:= {X|L|H}
� X means the "don't care" state.
� H means the logic high state.
� L means the logic low state.
Note:
Parameters are configured to corresponding sources in the
order of C1-C4, d0-d15.
<input>:= {X|L|H}
EXAMPLE The following command sets the logic input for channel 1 to
H, for channel 2 to H, for channel 3 to L, for channel 4 to X
and for all digital channel to X.
Command message:
:TRIGger:PATTern:INPut
H,H,L,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X
TRIG:PATT:INP H,H,L,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X
Query message:
TRIG:PATT:INP?
Response message:
H,H,L,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X
DESCRIPTION The command sets the trigger level of source in the pattern
trigger.
<source>:= {C<x>}
The range of the value varies, see the values below for
details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
<source>:= {C<x>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<source>:= {C<x>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
Command message:
:TRIGger:PATTern:LEVel C2,5.00E-01
TRIG:PATT:LEV C2,5.00E-01
Query message:
TRIG:PATT:LEV? C2
Response message:
C2,5.00E-01
DESCRIPTION The command sets the limit range type of the pattern trigger
when the logic combination is AND or NOR.
The query returns the current limit range type of the pattern
trigger.
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
Command message:
:TRIGger:PATTern:LIMit LESSthan
TRIG:PATT:LIM LESS
Query message:
TRIG:PATT:LIM?
Response message:
LESSthan
<type>:= {AND|OR|NAND|NOR}
<logic_type>:= {AND|OR|NAND|NOR}
EXAMPLE The following command sets the logic mode of the pattern
trigger to AND.
Command message:
:TRIGger:PATTern:LOGic AND
TRIG:PATT:LOG AND
Query message:
TRIG:PATT:LOG?
Response message:
AND
DESCRIPTION The command sets the lower value of the pattern trigger limit
type when the logic combination is AND or NOR.
Note:
� The lower value cannot be greater than the upper value
using by the command :TRIGger:PATTern:TUPPer.
� The command is not valid when the limit range type is
LESSthan.
EXAMPLE The following command sets the lower time of the pattern
trigger to 10 ns.
Command message:
:TRIGger:PATTern:TLOWer 1.00E-08
TRIG:PATT:TLOW 1.00E-08
Query message:
TRIG:PATT:TLOW?
Response message:
1.00E-08
DESCRIPTION The command sets the upper value of the pattern trigger limit
type when the logic combination is AND or NOR.
Note:
� The upper value cannot be less than the lower value
using by the command :TRIGger:PATTern:TLOWer.
� The command is not valid when the limit range type is
GREATerthan.
EXAMPLE The following command sets the upper time of the pattern
trigger to 30 ns.
Command message:
:TRIGger:PATTern:TUPPer 3.00E-08
TRIG:PATT:TUPP 3.00E-08
Query message:
TRIG:PATT:TUPP?
Response message:
3.00E-08
� :TRIGger:QUALified:ELEVel
� :TRIGger:QUALified:ESLope
� :TRIGger:QUALified:ESource
� :TRIGger:QUALified:LIMit
� :TRIGger:QUALified:QLEVel
� :TRIGger:QUALified:QSource
� :TRIGger:QUALified:TLOWer
� :TRIGger:QUALified:TUPPer
� :TRIGger:QUALified:TYPE
DESCRIPTION The command sets the edge trigger level value in the
qualified trigger.
The query returns the current edge trigger level value in the
qualified trigger.
The range of the value varies, see the table below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the edge trigger level value of
the qualified trigger to 0.5 V.
Command message:
:TRIGger:QUALified:ELEVel 5.00E-01
TRIG:QUAL:ELEV 5.00E-01
Query message:
TRIG:QUAL:ELEV?
Response message:
5.00E-01
DESCRIPTION The command sets the edge trigger slope in the qualified
trigger.
<type>:= {RISing|FALLing}
<type>:= {RISing|FALLing}
EXAMPLE The following command sets the edge trigger slope in the
qualified trigger to RISing.
Command message:
:TRIGger:QUALified:ESLope RISing
TRIG:QUAL:ESL RIS
Query message:
TRIG:QUAL:ESL?
Response message:
RISing
DESCRIPTION The command sets the edge trigger source in the qualified
trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
EXAMPLE The following command sets the edge trigger source of the
qualified trigger to channel 1.
Command message:
:TRIGger:QUALified:ESource C1
TRIG:QUAL:ES C1
Query message:
TRIG:QUAL:ES?
Response message:
C1
DESCRIPTION The command sets the limit range type when the qualified
type is State with Delay or Edge with Delay in the qualified
trigger.
The query returns the current limit range type in the qualified
trigger.
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
<type>:= {LESSthan|GREATerthan|INNer|OUTer}
Command message:
:TRIGger:QUALified:LIMit LESSthan
TRIG:QUAL:LIM LESS
Query message:
TRIG:QUAL:LIM?
Response message:
LESSthan
DESCRIPTION The command sets the level of the qualify source level in the
qualified trigger.
The range of the value varies, see the table below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the level of the qualify source in
the qualified trigger to 0.5 V.
Command message:
:TRIGger:QUALified:QLEVel 5.00E-01
TRIG:QUAL:QLEV 5.00E-01
Query message:
TRIG:QUAL:QLEV?
Response message:
5.00E-01
DESCRIPTION The command sets the qualify source of the qualified trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
Command message:
:TRIGger:QUALified:QSource C1
TRIG:QUAL:QS C1
Query message:
TRIG:QUAL:QS?
Response message:
C1
DESCRIPTION The command sets the delay lower value when the qualified
type is Edge with Delay or State with Delay in the qualified
trigger.
Note:
� The lower value cannot be greater than the upper value
using by the command :TRIGger:QUALified:TUPPer.
� The command is not valid when the limit range type is
LESSthan.
EXAMPLE The following command sets the lower time of the qualified
trigger to 10 ns.
Command message:
:TRIGger:QUALified:TLOWer 1.00E-08
TRIG:QUAL:TLOW 1.00E-08
Query message:
TRIG:QUAL:TLOW?
Response message:
1.00E-08
DESCRIPTION The command sets delay upper value when the qualified
type is Edge with Delay or State with Delay in the qualified
trigger.
Note:
� The upper value cannot be less than the lower value
using by the command :TRIGger:QUALified:TLOWer.
� The command is not valid when the limit range type is
GREATerthan.
EXAMPLE The following command sets the delay upper value of the
qualified trigger to 30 ns.
Command message:
:TRIGger:QUALified:TUPPer 3.00E-08
TRIG:QUAL:TUPP 3.00E-08
Query message:
TRIG:QUAL:TUPP?
Response message:
3.00E-08
DESCRIPTION The command sets the qualified type of the qualified trigger.
<type>:= {STATe|STATE_DLY|EDGE|EDGE_DLY}
<type>:= {STATe|STATE_DLY|EDGE|EDGE_DLY}
Command message:
:TRIGger:QUALified:TYPE EDGE
TRIG:QUAL:TYPE EDGE
Query message:
TRIG:QUAL:TYPE?
Response message:
EDGE
The :TRIGGER:IIC subsystem commands control the IIC bus trigger parameters.
� :TRIGger:IIC:ADDRess
� :TRIGger:IIC:ALENgth
� :TRIGger:IIC:CONDition
� :TRIGger:IIC:DAT2
� :TRIGger:IIC:DATA
� :TRIGger:IIC:DLENgth
� :TRIGger:IIC:LIMit
� :TRIGger:IIC:RWBit
� :TRIGger:IIC:SCLSource
� :TRIGger:IIC:SCLThreshold
� :TRIGger:IIC:SDASource
� :TRIGger:IIC:SDAThreshold
DESCRIPTION The command sets the address of the IIC bus trigger.
The query returns the current address of the IIC bus trigger.
EXAMPLE The following command sets the address of the IIC bus
trigger to 0x0a.
Command message:
:TRIGger:IIC:ADDRess 10
TRIG:IIC:ADDR 10
Query message:
TRIG:IIC:ADDR?
Response message:
10
DESCRIPTION The command sets the length of address of the IIC bus
trigger.
The query returns the current length of address of the IIC bus
trigger.
<length>:= {7BIT|10BIT}
<addr_length>:= {7BIT|10BIT}
EXAMPLE The following command sets the length of address of the IIC
bus trigger to 10 bit.
Command message:
:TRIGger:IIC:ALENgth 10BIT
TRIG:IIC:ALEN 10BIT
Query message:
TRIG:IIC:ALEN?
Response message:
10BIT
DESCRIPTION The command sets the trigger condition of the IIC bus.
The query returns the current trigger condition of the IIC bus.
<condition>:=
{STARt|STOP|RESTart|NACK|EEPRom|7ADDRess|10ADD
Ress|DLENgth}
<condition>:=
{STARt|STOP|RESTart|NACK|EEPRom|7ADDRess|10ADD
Ress|DLENgth}
EXAMPLE The following command sets the condition of the IIC bus
trigger to STOP.
Command message:
:TRIGger:IIC:CONDition STOP
TRIG:IIC:COND STOP
Query message:
TRIG:IIC:COND?
Response message:
STOP
DESCRIPTION The command sets the data2 of the IIC bus trigger.
The query returns the current data2 of the IIC bus trigger.
Note:
Use the don’t care data (256) to ignore the data2 value.
EXAMPLE The following command sets the data2 of the IIC bus trigger
to 0x0b.
Command message:
:TRIGger:IIC:DAT2 11
TRIG:IIC:DAT2 11
Query message:
TRIG:IIC:DAT2?
Response message:
11
DESCRIPTION The command sets the data of the IIC bus trigger.
The query returns the current data of the IIC bus trigger.
Note:
Use the don’t care data (256) to ignore the data value.
EXAMPLE The following command sets the data of the IIC bus trigger to
0x2A.
Command message:
:TRIGger:IIC:DATA 42
TRIG:IIC:DATA 42
Query message:
TRIG:IIC:DATA?
Response message:
42
DESCRIPTION The command sets the data length of the IIC bus trigger.
The query returns the current data length of the IIC bus
trigger.
EXAMPLE The following command sets the data length of the IIC bus
trigger to 10 bytes.
Command message:
:TRIGger:IIC:DLENgth 10
TRIG:IIC:DLEN 10
Query message:
TRIG:IIC:DLEN?
Response message:
10
DESCRIPTION The command sets the data comparison type when the
trigger condition is EEPROM on the IIC bus trigger.
The query returns the current the limit range type when the
trigger condition is EEPROM.
<limit_type>:= {EQUal|GREaterthan|LESSthan}
<limit_type>:= {EQUal|GREaterthan|LESSthan}
EXAMPLE The following command sets the limit range type when the
trigger condition is EEPROM to LESSthan.
Command message:
:TRIGger:IIC:LIMit LESSthan
TRIG:IIC:LIM LESS
Query message:
TRIG:IIC:LIM?
Response message:
LESSthan
DESCRIPTION The command sets whether the trigger frame is read address
or write address when the IIC trigger condition is 7 or 10
ADDR&DATA.
The query returns the current read write bit of the IIC bus
trigger.
<type>:= {WRITe|READ|ANY}
<type>:= {WRITe|READ|ANY}
Command message:
:TRIGger:IIC:RWBit READ
TRIG:IIC:RWB READ
Query message:
TRIG:IIC:RWB?
Response message:
READ
DESCRIPTION The command selects the SCL source of the IIC bus trigger.
This query returns the current SCL source of the IIC bus
trigger.
<source>:= {C<x>|D<n>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<n>:= 0 to (# digital channels - 1) in NR1 format, including an
integer and no decimal point, like 1.
<source>:= {C<x>|D<n>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<n>:= 0 to (# digital channels - 1) in NR1 format, including an
integer and no decimal point, like 1.
EXAMPLE The following command selects the SCL source of the IIC
bus trigger as channel 2.
Command message:
:TRIGger:IIC:SCLSource C2
TRIG:IIC:SCLS C2
Query message:
TRIG:IIC:SCLS?
Response message:
C2
DESCRIPTION The command sets the threshold of the SCL on IIC bus
trigger.
The range of the value varies, see the table below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the threshold of the SCL on IIC
bus trigger to 1.5 V.
Command message:
:TRIGger:IIC:SCLThreshold 1.50E+00
TRIG:IIC:SCLT 1.50E+00
Query message:
TRIG:IIC:SCLT?
Response message:
1.50E+00
DESCRIPTION The command selects the SDA source of the IIC bus trigger.
This query returns the current SDA source of the IIC bus
trigger.
<source>:= {C<x>|D<n>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<n>:= 0 to (# digital channels - 1) in NR1 format, including an
integer and no decimal point, like 1.
<source>:= {C<x>|D<n>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<n>:= 0 to (# digital channels - 1) in NR1 format, including an
integer and no decimal point, like 1.
EXAMPLE The following command selects the SDA source of the IIC
bus trigger as channel 2.
Command message:
:TRIGger:IIC:SDASource C2
TRIG:IIC:SDAS C2
Query message:
TRIG:IIC:SDAS?
Response message:
C2
DESCRIPTION The command sets the threshold of the SDA on IIC bus
trigger.
The range of the value varies, see the table below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the threshold of the SDA on IIC
bus trigger to 1.5 V.
Command message:
:TRIGger:IIC:SDAThreshold 1.50E+00
TRIG:IIC:SDAT 1.50E+00
Query message:
TRIG:IIC:SDAT?
Response message:
1.50E+00
The :TRIGGER:SPI subsystem commands control the SPI bus trigger modes and
parameters.
� :TRIGger:SPI:BITorder
� :TRIGger:SPI:CLKSource
� :TRIGger:SPI:CLKThreshold
� :TRIGger:SPI:CSSource
� :TRIGger:SPI:CSThreshold
� :TRIGger:SPI:CSTYpe
� :TRIGger:SPI:DATA
� :TRIGger:SPI:DLENgth
� :TRIGger:SPI:LATChedge
� :TRIGger:SPI:MISOSource
� :TRIGger:SPI:MISOThreshold
� :TRIGger:SPI:MOSISource
� :TRIGger:SPI:MOSIThreshold
� :TRIGger:SPI:NCSSource
� :TRIGger:SPI:NCSThreshold
� :TRIGger:SPI:TTYPe
DESCRIPTION The command sets the bit order of the SPI bus trigger.
The query returns the current bit order of the SPI bus trigger.
<bit_order>:= {LSM|MSB}
<bit_order>:= {LSM|MSB}
EXAMPLE The following command sets the bit order of the SPI bus
trigger to LSB.
Command message:
:TRIGger:SPI:BITorder LSB
TRIG:SPI:BIT LSB
Query message:
TRIG:SPI:BIT?
Response message:
LSB
DESCRIPTION The command selects the CLK source of the SPI bus trigger.
This query returns the current CLK source of the SPI bus
trigger.
<source>:= {C<x>|D<n>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<n>:= 0 to (# digital channels - 1) in NR1 format, including an
integer and no decimal point, like 1.
<source>:= {C<x>|D<n>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<n>:= 0 to (# digital channels - 1) in NR1 format, including an
integer and no decimal point, like 1.
EXAMPLE The following command selects the CLK source of the SPI
bus trigger as channel 2.
Command message:
:TRIGger:SPI:CLKSource C2
TRIG:SPI:CLKS C2
Query message:
TRIG:SPI:CLKS?
Response message:
C2
DESCRIPTION The command sets the threshold of the CLK on SPI bus
trigger.
The range of the value varies, see the values below for
details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the threshold of the CLK on SPI
bus trigger to 1.5 V.
Command message:
:TRIGger:SPI:CLKThreshold 1.50E+00
TRIG:SPI:CLKT 1.50E+00
Query message:
TRIG:SPI:CLKT?
Response message:
1.50E+00
DESCRIPTION The command sets the CS source of the SPI bus trigger.
<source>:= {C<x>|D<n>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<n>:= 0 to (# digital channels - 1) in NR1 format, including an
integer and no decimal point, like 1.
<source>:= {C<x>|D<n>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<n>:= 0 to (# digital channels - 1) in NR1 format, including an
integer and no decimal point, like 1.
EXAMPLE The following command selects the CS source of the SPI bus
trigger as channel 2.
Command message:
:TRIGger:SPI:CSSource C2
TRIG:SPI:CSS C2
Query message:
TRIG:SPI:CSS?
Response message:
C2
The range of the value varies, see the range below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
RESPONSE FORMAT
<threshold>
Command message:
:TRIGger:SPI:CSThreshold 1.50E+00
TRIG:SPI:CST 1.50E+00
Query message:
TRIG:SPI:CST?
Response message:
1.50E+00
DESCRIPTION The command sets the chip selection type of the SPI bus
trigger.
This query returns the current chip selection type of the SPI
bus trigger.
<type>:= {NCS|CS|TIMeout[,<time>]}
� CS means set to chip select state
� NCS means set to non-chip select state
� TIMeout indicates set to clock timeout status
<type>:= {NCS|CS|TIMeout[,<time>]}
EXAMPLE The following command sets the chip selection type of the
SPI bus trigger to CS.
Command message:
:TRIGger:SPI:CSTYpe CS
TRIG:SPI:CSTY CS
Query message:
TRIG:SPI:CSTY?
Response message:
CS
DESCRIPTION The command sets the data of the SPI bus trigger.
<data>:= {0|1|X}
Note:
� The number of parameters should be consistent with the
data length using by the
command :TRIGger:SPI:DLENgth.
� Parameters are assigned to each bit in order from high
to low.
EXAMPLE The following command sets the data of the SPI bus trigger
to 0x82 when the data length is 8.
Command message:
:TRIGger:SPI:DATA 1,0,0,0,0,0,1,0
TRIG:SPI:DATA 1,0,0,0,0,0,1,0
DESCRIPTION The command sets the data length of the SPI bus trigger.
The query returns the current data length of the SPI bus
trigger.
EXAMPLE The following command sets the data length of the SPI bus
trigger to 10 bit.
Command message:
:TRIGger:SPI:DLENgth 10
TRIG:SPI:DLEN 10
Query message:
TRIG:SPI:DLEN?
Response message:
10
DESCRIPTION The command selects the sampling edge of CLK on SPI bus
trigger.
<slope>:= {RISing|FALLing}
<slope>:= {RISing|FALLing}
Command message:
:TRIGger:SPI:LATChedge RISing
:TRIG:SPI:LATC RIS
Query message:
:TRIG:SPI:LATC?
Response message:
RISing
DESCRIPTION The command selects the MISO source of the SPI bus
trigger.
This query returns the current MISO source of the SPI bus
trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
EXAMPLE The following command selects the MISO source of the SPI
bus trigger as channel 2.
Command message:
:TRIGger:SPI:MISOSource C2
TRIG:SPI:MISOS C2
Query message:
TRIG:SPI:MISOS?
Response message:
C2
DESCRIPTION The command sets the threshold of the MISO on SPI bus
trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:TRIGger:SPI:MISOThreshold 1.50E+00
TRIG:SPI:MISOT 1.50E+00
Query message:
TRIG:SPI:MISOT?
Response message:
1.50E+00
DESCRIPTION The command selects the MOSI source of the SPI bus
trigger.
This query returns the current MOSI source of the SPI bus
trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
EXAMPLE The following command selects the MOSI source of the SPI
bus trigger as channel 2.
Command message:
:TRIGger:SPI:MOSISource C2
TRIG:SPI:MOSIS C2
Query message:
TRIG:SPI:MOSIS?
Response message:
C2
DESCRIPTION The command sets the threshold of the MOSI on SPI bus
trigger.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:TRIGger:SPI:MOSIThreshold 1.50E+00
TRIG:SPI:MOSIT 1.50E+00
Query message:
TRIG:SPI:MOSIT?
Response message:
1.50E+00
DESCRIPTION The command sets the NCS source of the SPI bus trigger.
The query returns the current NCS source of the SPI bus
trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
EXAMPLE The following command selects the NCS source of the SPI
bus trigger as D0.
Command message:
:TRIGger:SPI:NCSSource D0
:TRIG:SPI:NCSS D0
Query message:
:TRIG:SPI:NCSS?
Response message:
D0
DESCRIPTION The command sets the threshold of the NCS on SPI bus
trigger.
The range of the value varies, see the range below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
EXAMPLE The following command sets the threshold of the NCS on IIC
bus trigger to 1.5 V.
Command message:
:TRIGger:SPI:NCSThreshold 1.50E+00
TRIG:SPI:NCST 1.50E+00
Query message:
TRIG:SPI:NCST?
Response message:
1.50E+00
DESCRIPTION The command sets the trigger type of the SPI bus trigger.
The query returns the current trigger type of the SPI bus
trigger.
<trigger_type>:= {MISO|MOSI}
<trigger_type>:= {MISO|MOSI}
EXAMPLE The following command sets the trigger type of the SPI bus
trigger to MOSI.
Command message:
:TRIGger:SPI:TTYPe MOSI
TRIG:SPI:TTYP MOSI
Query message:
TRIG:SPI:TTYP?
Response message:
MOSI
� :TRIGger:UART:BAUD
� :TRIGger:UART:BITorder
� :TRIGger:UART:CONDition
� :TRIGger:UART:DATA
� :TRIGger:UART:DLENgth
� :TRIGger:UART:IDLE
� :TRIGger:UART:LIMit
� :TRIGger:UART:PARity
� :TRIGger:UART:RXSource
� :TRIGger:UART:RXThreshold
� :TRIGger:UART:STOP
� :TRIGger:UART:TTYPe
� :TRIGger:UART:TXSource
� :TRIGger:UART:TXThreshold
DESCRIPTION The command sets the baud rate of the UART bus trigger.
The query returns the current baud rate of the UART bus
trigger.
<baud>:=
{600bps|1200bps|2400bps|4800bps|9600bps|19200bps|384
00bps|57600bps|115200bps|CUSTom[,<value>]}
<baud>:=
{600bps|1200bps|2400bps|4800bps|9600bps|19200bps|384
00bps|57600bps|115200bps|CUSTom[,<value>]}
EXAMPLE The following command sets the baud rate of the UART bus
trigger to 9600bps.
Command message:
:TRIGger:UART:BAUD 9600bps
TRIG:UART:BAUD 9600bps
Query message:
TRIG:UART:BAUD?
Response message:
9600bps
DESCRIPTION The command sets the bit order of the UART trigger.
The query returns the current bit order of the UART trigger.
<order>:= {LSM|MSB}
<order>:= {LSM|MSB}
Command message:
:TRIGger:UART:BITorder LSB
TRIG:UART:BIT LSB
Query message:
TRIG:UART:BIT?
Response message:
LSB
DESCRIPTION The command sets the condition of the UART bus trigger.
<condition>:= {STARt|STOP|DATA|ERRor}
<condition>:= {STARt|STOP|DATA|ERRor}
EXAMPLE The following command sets the condition of the UART bus
trigger to STOP.
Command message:
:TRIGger:UART:CONDition STOP
TRIG:UART:COND STOP
Query message:
TRIG:UART:COND?
Response message:
STOP
DESCRIPTION The command sets the data of the UART bus trigger.
The query returns the current data of the UART bus trigger.
Note:
� The range of the value is related to data length by using
the command :TRIGger:UART:DLENgth.
� Use the don’t care data (256, data length is 8) to ignore
the data value.
EXAMPLE The following command sets the data of the UART bus
trigger to 0x53.
Command message:
:TRIGger:UART:DATA 83
TRIG:UART:DATA 83
Query message:
TRIG:UART:DATA?
Response message:
83
DESCRIPTION The command sets the data length of the UART bus trigger.
The query returns the current data length of the UART bus
trigger.
EXAMPLE The following command sets the data length of the UART
bus trigger to 8.
Command message:
:TRIGger:UART:DLENgth 8
TRIG:UART:DLEN 8
Query message:
TRIG:UART:DLEN?
Response message:
8
DESCRIPTION The command sets the idle level of the UART bus trigger.
The query returns the current idle level of the UART bus
trigger.
<idle>:= {LOW|HIGH}
<idle>:= {LOW|HIGH}
EXAMPLE The following command sets the idle level of the UART bus
trigger as LOW.
Command message:
:TRIGger:UART:IDLE LOW
TRIG:UART:IDLE LOW
Query message:
TRIG:UART:IDLE?
Response message:
LOW
DESCRIPTION The command sets the data comparison type of the UART
bus trigger when the trigger condition is Data.
<limit_type>:= {EQUal|GREaterthan|LESSthan}
<limit_type>:= {EQUal|GREaterthan|LESSthan}
EXAMPLE The following command sets the limit of the UART bus
trigger to LESSthan.
Command message:
:TRIGger:UART:LIMit LESSthan
TRIG:UART:LIM LESS
Query message:
TRIG:UART:LIM?
Response message:
LESSthan
DESCRIPTION The command sets the parity check of the UART bus trigger.
The query returns the current parity check of the UART bus
trigger.
<parity>:= {NONE|ODD|EVEN|MARK|SPACe}
<parity_check>:= {NONE|ODD|EVEN|MARK|SPACe}
EXAMPLE The following command sets the parity check of the UART
bus trigger to odd.
Command message:
:TRIGger:UART:PARity ODD
TRIG:UART:PAR ODD
Query message:
TRIG:UART:PAR?
Response message:
ODD
DESCRIPTION The command sets the RX source of the UART bus trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
Command message:
:TRIGger:UART:RXSource C2
TRIG:UART:RXS C2
Query message:
TRIG:UART:RXS?
Response message:
C2
The range of the value varies, see the values below for
details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:TRIGger:UART:RXThreshold 1.50E+00
TRIG:UART:RXT 1.50E+00
Query message:
TRIG:UART:RXT?
Response message:
1.50E+00
DESCRIPTION The command sets the length of the stop bit on UART bus
trigger.
The query returns the current length of the stop bit on UART
bus trigger.
<bit>:= {1|1.5|2}
<bit>:= {1|1.5|2}
EXAMPLE The following command sets the length of the stop bit on
UART bus trigger to 1 bit.
Command message:
:TRIGger:UART:STOP 1
TRIG:UART:STOP 1
Query message:
TRIG:UART:STOP?
Response message:
1
DESCRIPTION The command sets the trigger type of the UART bus trigger.
The query returns the current trigger type of the UART bus
trigger.
<trigger_type>:= {RX|TX}
<trigger_type>:= {RX|TX}
EXAMPLE The following command sets the trigger type of the UART
bus trigger to RX.
Command message:
:TRIGger:UART:TTYPe RX
TRIG:UART:TTYP RX
Query message:
TRIG:UART:TTYP?
Response message:
RX
DESCRIPTION The command sets the TX source of the UART bus trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
EXAMPLE The following command sets the TX source of the UART bus
trigger as channel 2.
Command message:
:TRIGger:UART:TXSource C2
TRIG:UART:TXS C2
Query message:
TRIG:UART:TXS?
Response message:
C2
The range of the value varies, see the values below for
details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:TRIGger:UART:TXThreshold 1.50E+00
TRIG:UART:TXT 1.50E+00
Query message:
TRIG:UART:TXT?
Response message:
1.50E+00
The :TRIGGER:CAN subsystem commands control the CAN bus trigger parameters.
� :TRIGger:CAN:BAUD
� :TRIGger:CAN:CONDition
� :TRIGger:CAN:DAT2
� :TRIGger:CAN:DATA
� :TRIGger:CAN:ID
� :TRIGger:CAN:IDLength
� :TRIGger:CAN:SOURce
� :TRIGger:CAN:THReshold
DESCRIPTION The command sets the baud rate of the CAN bus trigger.
The command query returns the baud rate of the CAN bus
trigger.
<baud>:=
{5kbps|10kbps|20kbps|50kbps|100kbps|125kbps|250kbps|50
0kbps|800kbps|1Mbps|CUSTom[,<value>]}
<baud>:=
{5kbps|10kbps|20kbps|50kbps|100kbps|125kbps|250kbps|50
0kbps|800kbps|1Mbps|CUSTom[,<value>]}
EXAMPLE This command sets the baud rate of the CAN bus trigger to
20kbps.
Command message:
:TRIGger:CAN:BAUD 20kbps
TRIG:CAN:BAUD 20kbps
Query message:
TRIG:CAN:BAUD?
Response message:
20kbps
DESCRIPTION The command sets the trigger condition for the CAN bus
trigger.
The query returns the current trigger condition for the CAN
bus trigger.
<condition>:= {STARt|REMote|ID|ID_AND_DATA|ERRor}
<condition>:= {STARt|REMote|ID|ID_AND_DATA|ERRor}
EXAMPLE The following command sets the trigger condition for the
CAN bus trigger to start.
Command message:
:TRIGger:CAN:CONDition STARt
TRIG:CAN:COND STAR
Query message:
TRIG:CAN:COND?
Response message:
STARt
DESCRIPTION The command sets the data2 of the CAN bus trigger.
The query returns the current data2 of the CAN bus trigger.
Note:
Use the don’t care data (256) to ignore the data2 value.
EXAMPLE The following command sets the CAN bus triggered data 2 to
0x49.
Command message:
:TRIGger:CAN:DAT2 73
TRIG:CAN:DAT2 73
Query message:
TRIG:CAN:DAT2?
Response message:
73
DESCRIPTION The command sets the data of the CAN bus trigger.
The query returns the current data of the CAN bus trigger.
Note:
Use the don’t care data (256) to ignore the data value.
EXAMPLE The following command sets the data of the CAN bus
triggered to 0x43.
Command message:
:TRIGger:CAN:DATA 67
TRIG:CAN:DATA 67
Query message:
TRIG:CAN:DATA?
Response message:
67
Note:
Use the don’t care data (536870912, ID length is 29 bits) to
ignore the ID value.
EXAMPLE The following command sets the ID of the CAN bus trigger to
0x7819F51.
Command message:
:TRIGger:CAN:ID 125935441
TRIG:CAN:ID 125935441
Query message:
TRIG:CAN:ID?
Response message:
125935441
DESCRIPTION The command sets the ID length of the CAN bus trigger
when the trigger condition is Remote, ID or ID+Data.
<id_length>:= {11BITS|29BITS}
<id_length>:= {11BITS|29BITS}
EXAMPLE The following command sets the ID length of the CAN trigger
to 29BITS.
Command message:
:TRIGger:CAN:IDLength 29BITS
TRIG:CAN:IDL 29BITS
Query message:
TRIG:CAN:IDL?
Response message:
29BITS
DESCRIPTION The command selects the source of the CAN bus trigger.
The query returns the current source of the CAN bus trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
EXAMPLE This following command sets the source of the CAN bus
trigger to C2.
Command message:
:TRIGger:CAN:SOURce C2
TRIG:CAN:SOUR C2
Query message:
TRIG:CAN:SOUR?
Response message:
C2
DESCRIPTION The command sets the threshold of the source on CAN bus
trigger.
The range of the value varies, see the values below for
details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:TRIGger:CAN:THReshold 1.50E+00
TRIG:CAN:THR 1.50E+00
Query message:
TRIG:CAN:THR?
Response message:
1.50E+00
The :TRIGGER:LIN subsystem commands control the LIN bus trigger parameters.
� :TRIGger:LIN:BAUD
� :TRIGger:LIN:CONDition
� :TRIGger:LIN:DAT2
� :TRIGger:LIN:DATA
� :TRIGger:LIN:ERRor:CHECksum
� :TRIGger:LIN:ERRor:DLENgth
� :TRIGger:LIN:ERRor:ID
� :TRIGger:LIN:ERRor:PARity
� :TRIGger:LIN:ERRor:SYNC
� :TRIGger:LIN:ID
� :TRIGger:LIN:SOURce
� :TRIGger:LIN:STANdard
� :TRIGger:LIN:THReshold
DESCRIPTION The command sets the baud rate of the LIN bus trigger.
The query returns the current baud rate of the LIN bus
trigger.
<baud>:=
{600bps|1200bps|2400bps|4800bps|9600bps|19200bps|CUS
Tom[,<value>]}
<baud>:=
{600bps|1200bps|2400bps|4800bps|9600bps|19200bps|CUS
Tom[,<value>]}
EXAMPLE The following command sets the baud rate of the LIN bus
trigger to 9600bps.
Command message:
:TRIGger:LIN:BAUD 9600bps
:TRIG:LIN:BAUD 9600bps
Query message:
:TRIG:LIN:BAUD?
Response message:
9600bps
DESCRIPTION The command sets the trigger condition of the LIN bus.
The query returns the current trigger condition of the LIN bus.
<condition>:= {BReak|ID|ID_AND_DATA|DATA_ERROR}
<condition>:= {BReak|ID|ID_AND_DATA|DATA_ERROR}
EXAMPLE The following command sets the condition of the LIN bus
trigger to ID_AND_DATA.
Command message:
:TRIGger:LIN:CONDition ID_AND_DATA
TRIG:LIN:COND ID_AND_DATA
Query message:
TRIG:LIN:COND?
Response message:
ID_AND_DATA
DESCRIPTION The command sets the data2 of the LIN bus trigger when the
trigger condition is ID+Data.
The query returns the current data2 of the LIN bus trigger.
Note:
Use the don’t care data (256) to ignore the data2 value.
EXAMPLE The following command sets the data2 of the LIN bus trigger
to 0x4C.
Command message:
:TRIGger:LIN:DAT2 76
TRIG:LIN:DAT2 76
Query message:
TRIG:LIN:DAT2?
Response message:
76
DESCRIPTION The command sets the data of the LIN bus trigger when the
trigger condition is ID+Data.
The query returns the current data1 of the LIN bus trigger.
Note:
Use the don’t care data (256) to ignore the data value.
EXAMPLE The following command sets the data1 of the LIN bus trigger
to 0x45.
Command message:
:TRIGger:LIN:DATA 69
TRIG:LIN:DATA 69
Query message:
TRIG:LIN:DATA?
Response message:
69
DESCRIPTION The command sets the checksum error state of the LIN bus
trigger when the trigger condition is Error.
<state>:= {0|1}
� 0 means OFF
� 1 means ON
<state>:= {0|1}
Command message:
:TRIGger:LIN:ERRor:CHECksum 1
TRIG:LIN:ERR:CHEC 1
Query message:
TRIG:LIN:ERR:CHEC?
Response message:
1
DESCRIPTION The command sets the data length of the error frame when
the trigger condition is Error and the checksum error state is
on.
The query returns the current data length of the error frame
on LIN bus.
EXAMPLE The following command sets the data length of the error
frame on LIN bus to 4 bytes.
Command message:
:TRIGger:LIN:ERRor:DLENgth 4
TRIG:LIN:ERR:DLEN 4
Query message:
TRIG:LIN:ERR:DLEN?
Response message:
4
DESCRIPTION The command sets the error frame ID of the LIN bus when
the trigger condition is Error and the checksum error state is
on.
The query returns the current error frame ID of the LIN bus.
EXAMPLE The following command sets the error frame ID of the LIN
bus trigger to 0x2A.
Command message:
:TRIGger:LIN:ERRor:ID 42
TRIG:LIN:ERR:ID 42
Query message:
TRIG:LIN:ERR:ID?
Response message:
42
DESCRIPTION The command sets the header parity error state of the LIN
bus trigger when the trigger condition is Error.
The query returns the header parity error state of the LIN bus
trigger.
<state>:= {0|1}
� 0 means OFF
� 1 means ON
<state>:= {0|1}
Command message:
:TRIGger:LIN:ERRor:PARity 1
TRIG:LIN:ERR:PAR 1
Query message:
TRIG:LIN:ERR:PAR?
Response message:
1
DESCRIPTION The command sets the sync byte error state of the LIN bus
trigger.
The query returns the current sync byte error state of the LIN
bus trigger.
<state>:= {0|1}
<state>:= {0|1}
Command message:
:TRIGger:LIN:ERRor:SYNC 1
TRIG:LIN:ERR:SYNC 1
Query message:
TRIG:LIN:ERR:SYNC?
Response message:
1
DESCRIPTION The command sets the ID of the LIN bus when the trigger
condition is ID.
Note:
Use the don’t care data (64) to ignore the ID value.
EXAMPLE The following command sets the ID of the LIN bus trigger to
0x2B.
Command message:
:TRIGger:LIN:ID 43
TRIG:LIN:ID 43
Query message:
TRIG:LIN:ID?
Response message:
43
DESCRIPTION The command selects the trigger source of the LIN bus.
The query returns the current trigger source of the LIN bus.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
EXAMPLE The following command sets the trigger source of the LIN
bus as channel 2.
Command message:
:TRIGger:LIN:SOURce C2
TRIG:LIN:SOUR C2
Query message:
TRIG:LIN:SOUR?
Response message:
C2
DESCRIPTION The command sets the LIN protocol standard when the
trigger condition is Error and the checksum error state is on.
<version>:= {0|1}
� 0 means Rev1.3
� 1 means Rev2.x
<version>:= {0|1}
Command message:
:TRIGger:LIN:STANdard 0
TRIG:LIN:STAN 0
Query message:
TRIG:LIN:STAN?
Response message:
0
DESCRIPTION The command sets the threshold of the source on LIN bus
trigger.
The range of the value varies, see the values below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:TRIGger:LIN:THReshold 1.50E+00
TRIG:LIN:THR 1.50E+00
Query message:
TRIG:LIN:THR?
Response message:
1.50E+00
� :TRIGger:FLEXray:BAUD
� :TRIGger:FLEXray:CONDition
� :TRIGger:FLEXray:FRAMe:COMPare
� :TRIGger:FLEXray:FRAMe:CYCLe
� :TRIGger:FLEXray:FRAMe:ID
� :TRIGger:FLEXray:FRAMe:REPetition
� :TRIGger:FLEXray:SOURce
� :TRIGger:FLEXray:THReshold
DESCRIPTION The command sets the baud rate of the Flexray bus trigger.
The query returns the current baud rate of the Flexray bus
trigger.
<baud>:= {2500kbps|5Mbps|10Mbps|CUSTom[,<value>]}
<baud>:= {2500kbps|5Mbps|10Mbps|CUSTom[,<value>]}
EXAMPLE The following command sets the baud rate of the Flexray bus
trigger to 2500kbps.
Command message:
:TRIGger:FLEXray:BAUD 2500kbps
TRIG:FLEX:BAUD 2500kbps
Query message:
TRIG:FLEX:BAUD?
Response message:
2500kbps
<condition>:= {TSS|FRAMe|SYMBol|ERRor}
<condition>:= {TSS|FRAMe|SYMBol|ERRor}
Command message:
:TRIGger:FLEXray:CONDition SYMBol
TRIG:FLEX:COND SYMB
Query message:
TRIG:FLEX:COND?
Response message:
SYMBol
EXAMPLE The following command sets the frame cycle compare type
of FLEXray bus trigger to LESSthan.
Command message:
:TRIGger:FLEXray:FRAMe:COMPare LESSthan
TRIG:FLEX:FRAM:COMP LESS
Query message:
TRIG:FLEX:FRAM:COMP?
Response message:
LESSthan
DESCRIPTION The command sets the frame cycle of FLEXray bus trigger.
EXAMPLE The following command sets the frame cycle of FLEXray bus
trigger to 2.
Command message:
:TRIGger:FLEXray:FRAMe:CYCLe 2
TRIG:FLEX:FRAM:CYCL 2
Query message:
TRIG:FLEX:FRAM:CYCL?
Response message:
2
Note:
Use the don’t care data (2048) to ignore the ID value.
Command message:
:TRIGger:FLEXray:FRAMe:ID 1793
TRIG:FLEX:FRAM:ID 1793
Query message:
TRIG:FLEX:FRAM:ID?
Response message:
1793
<times>:= {1|2|4|8|16|32|64}
<times>:= {1|2|4|8|16|32|64}
Command message:
:TRIGger:FLEXray:FRAMe:REPetition 8
TRIG:FLEX:FRAM:REP 8
Query message:
TRIG:FLEX:FRAM:REP?
Response message:
8
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
Command message:
:TRIGger:FLEXray:SOURce C2
TRIG:FLEX:SOUR C2
Query message:
TRIG:FLEX:SOUR?
Response message:
C2
The range of the value varies, see the values below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:TRIGger:FLEXray:THReshold 1.50E+00
TRIG:FLEX:THR 1.50E+00
Query message:
TRIG:FLEX:THR?
Response message:
1.50E+00
� :TRIGger:CANFd:BAUDData
� :TRIGger:CANFd:BAUDNominal
� :TRIGger:CANFd:CONDition
� :TRIGger:CANFd:DAT2
� :TRIGger:CANFd:DATA
� :TRIGger:CANFd:FTYPe
� :TRIGger:CANFd:ID
� :TRIGger:CANFd:IDLength
� :TRIGger:CANFd:SOURce
� :TRIGger:CANFd:THReshold
DESCRIPTION The command sets the data baud rate of the CAN FD bus
trigger when the frame type is Both or CAN FD.
The query returns the current data baud rate of the CAN FD
bus trigger.
<baud>:=
{500kbps|1Mbps|2Mbps|5Mbps|8Mbps|10Mbps|CUSTom[,<v
alue>]}
<baud>:=
{500kbps|1Mbps|2Mbps|5Mbps|8Mbps|10Mbps|CUSTom[,<v
alue>]}
EXAMPLE The following command sets the data baud rate of the CAN
FD bus trigger to 500kbps.
Command message:
:TRIGger:CANFd:BAUDData 500kbps
TRIG:CANF:BAUDD 500kbps
Query message:
TRIG:CANF:BAUDD?
Response message:
500kbps
DESCRIPTION The command sets the nominal baud rate of the CAN FD
bus trigger.
The query returns the current nominal baud rate of the CAN
FD bus trigger.
<baud>:=
{10kbps|25kbps|50kbps|100kbps|250kbps|1Mbps|CUSTom
[,<value>]}
<baud>:=
{10kbps|25kbps|50kbps|100kbps|250kbps|1Mbps|CUSTom
[,<value>]}
EXAMPLE The following command sets the nominal baud of the CAN
FD bus trigger to 10kbps.
Command message:
:TRIGger:CANFd:BAUDNominal 10kbps
TRIG:CANF:BAUDN 10kbps
Query message:
TRIG:CANF:BAUDN?
Response message:
10kbps
DESCRIPTION The command sets the trigger condition for the CAN FD bus
trigger.
The query returns the current trigger condition for the CAN
FD bus trigger.
<condition>:= {STARt|REMote|ID|ID_AND_DATA|ERRor}
<condition>:= {STARt|REMote|ID|ID_AND_DATA|ERRor}
Command message:
:TRIGger:CANFd:CONDition ID_AND_DATA
TRIG:CANF:COND ID_AND_DATA
Query message:
TRIG:CANF:COND?
Response message:
ID_AND_DATA
DESCRIPTION The command sets the data2 of the CAN FD bus when the
trigger condition is ID+Data.
Note:
Use the don’t care data (256) to ignore the data2 value.
EXAMPLE The following command sets the data2 of the CAN FD bus
trigger to 0x3F.
Command message:
TRIGger:CANFd:DAT2 63
TRIG:CANF:DAT2 63
Query message:
TRIG:CANF:DAT2?
Response message:
63
Note:
Use the don’t care data (256) to ignore the data value.
EXAMPLE The following command sets the data1 of the CAN FD bus
trigger to 0x2E.
Command message:
:TRIGger:CANFd:DATA 46
TRIG:CANF:DATA 46
Query message:
TRIG:CANF:DATA?
Response message:
46
DESCRIPTION This command sets the frame type of the CAN FD bus
trigger.
The query returns the current frame type of the CAN FD bus
trigger.
<frame_type>:= {BOTH|CAN|CANFd}
<frame_type>:= {BOTH|CAN|CANFd}
EXAMPLE The following command sets the frame type of the CAN FD
bus trigger to CANFd.
Command message:
:TRIGger:CANFd:FTYPe CANFd
TRIG:CANF:FTYP CANF
Query message:
TRIG:CANF:FTYP?
Response message:
CANFd
DESCRIPTION The command sets the ID of the CAN FD bus trigger when
the trigger condition is Remote, ID or ID+Data.
Note:
Use the don’t care data (536870912, ID length is 29) to
ignore the data value.
Command message:
:TRIGger:CANFd:ID 90861836
TRIG:CANF:ID 90861836
Query message:
TRIG:CANF:ID?
Response message:
90861836
DESCRIPTION The command sets the ID length of the CAN FD bus trigger.
<length>:= {11BITS|29BITS}
<length>:= {11BITS|29BITS}
Command message:
:TRIGger:CANFd:IDLength 29BITS
TRIG:CANF:IDL 29BITS
Query message:
TRIG:CANF:IDL?
Response message:
29BITS
DESCRIPTION The command selects the source of the CAN FD bus trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<n>:= 0 to (# digital channels - 1) in NR1 format, including an
integer and no decimal point, like 1.
EXAMPLE The following command sets the source of the CAN FD bus
trigger as channel 2.
Command message:
:TRIGger:CANFd:SOURce C2
TRIG:CANF:SOUR C2
Query message:
TRIG:CANF:SOUR?
Response message:
C2
The range of the value varies, see the values below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:TRIGger:CANFd:THReshold 1.50E+00
TRIG:CANF:THR 1.50E+00
Query message:
TRIG:CANF:THR?
Response message:
1.50E+00
The :TRIGGER:IIS subsystem commands control the IIS bus trigger parameters.
� :TRIGger:IIS:AVARiant
� :TRIGger:IIS:BCLKSource
� :TRIGger:IIS:BCLKThreshold
� :TRIGger:IIS:BITorder
� :TRIGger:IIS:CHANnel
� :TRIGger:IIS:COMPare
� :TRIGger:IIS:CONDition
� :TRIGger:IIS:DLENgth
� :TRIGger:IIS:DSource
� :TRIGger:IIS:DTHReshold
� :TRIGger:IIS:LATChedge
� :TRIGger:IIS:LCH
� :TRIGger:IIS:VALue
� :TRIGger:IIS:WSSource
� :TRIGger:IIS:WSTHreshold
DESCRIPTION The command sets the audio variant of the IIS bus trigger.
The query returns the current audio variant of the IIS bus
trigger.
<type>:= {IIS|LJ|RJ}
<type>:= {IIS|LJ|RJ}
EXAMPLE The following command sets the audio variant of the IIS bus
trigger to IIS.
Command message:
:TRIGger:IIS:AVARiant IIS
TRIG:IIS:AVAR IIS
Query message:
TRIG:IIS:AVAR?
Response message:
IIS
DESCRIPTION The command selects the BCLK source of the IIS bus
trigger.
The query returns the current BCLK source of the IIS bus
trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
<x>:= 1 to (# analog channels) in NR1 format, including an
integer and no decimal point, like 1.
<n>:= 0 to (# digital channels - 1) in NR1 format, including an
integer and no decimal point, like 1.
EXAMPLE The following command sets the BCLK source of the IIS bus
trigger as channel 2.
Command message:
:TRIGger:IIS:BCLKSource C2
TRIG:IIS:BCLKS C2
Query message:
TRIG:IIS:BCLKS?
Response message:
C2
DESCRIPTION The command sets the threshold of the BCLK on LIN bus
trigger.
The range of the value varies, see the values below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:TRIGger:IIS:BCLKThreshold 1.50E+00
TRIG:IIS:BCLKT 1.50+00
Query message:
TRIG:IIS:BCLKT?
Response message:
1.50E+00
DESCRIPTION The command sets the bit order of the IIS bus trigger.
The query returns the current bit order of the IIS bus trigger.
<order>:= {LSM|MSB}
<order>:= {LSM|MSB}
EXAMPLE The following command sets the bit order of the IIS bus
trigger to MSB.
Command message:
:TRIGger:IIS:BITorder MSB
TRIG:IIS:BIT MSB
Query message:
TRIG:IIS:BIT?
Response message:
MSB
DESCRIPTION The command sets the channel of the IIS bus trigger.
The query returns the current channel of the IIS bus trigger
<channel>:= {LEFT|RIGHT}
<channel>:= {LEFT|RIGHT}
Command message:
:TRIGger:IIS:CHANnel RIGHT
TRIG:IIS:CHAN RIGHT
Query message:
TRIG:IIS:CHAN?
Response message:
RIGHT
DESCRIPTION The command sets the data compare type of the IIS bus
trigger.
The query returns the current data compare type of the IIS
bus trigger.
<type>:= {EQUal|GREaterthan|LESSthan}
<type>:= {EQUal|GREaterthan|LESSthan}
EXAMPLE The following command sets the data compare type of the
IIS bus trigger to LESSthan.
Command message:
:TRIGger:IIS:COMPare LESSthan
TRIG:IIS:COMP LESS
Query message:
TRIG:IIS:COMP?
Response message:
LESSthan
DESCRIPTION The command sets the trigger condition of the IIS bus.
The query returns the current trigger condition of the IIS bus.
<condition>:= {DATA|MUTE|CLIP|GLITch|RISing|FALLing}
<condition>:= {DATA|MUTE|CLIP|GLITch|RISing|FALLing}
EXAMPLE The following command sets the trigger condition of the IIS
bus to DATA.
Command message:
:TRIGger:IIS:CONDition DATA
TRIG:IIS:COND DATA
Query message:
TRIG:IIS:COND?
Response message:
DATA
DESCRIPTION The command sets the data bits of the IIS bus trigger.
The query returns the current data bits of the IIS bus trigger.
Note:
The range of the value is related to the channel bits and the
start bits. If the channel bits are 32 and the start bit is 2, the
range is [1,30]
EXAMPLE The following command sets the data bits of the IIS bus
trigger to 10.
Command message:
:TRIGger:IIS:DLENgth 10
TRIG:IIS:DLEN 10
Query message:
TRIG:IIS:DLEN?
Response message:
10
DESCRIPTION The command selects the data source of the IIS bus trigger.
The query returns the current data source of the IIS bus
trigger
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
EXAMPLE The following command sets the data source of the IIS bus
trigger as C2.
Command message:
:TRIGger:IIS:DSource C2
TRIG:IIS:DS C2
Query message:
TRIG:IIS:DS?
Response message:
C2
DESCRIPTION The command sets the threshold of the data source on IIS
bus trigger.
The range of the value varies, see the values below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
TRIGger:IIS:DTHReshold 1.50E+00
TRIG:IIS:DTHR 1.50E+00
Query message:
TRIG:IIS:DTHR?
Response message:
1.50E+00
DESCRIPTION The command selects the sampling edge of BCLK on IIS bus
trigger.
<slope>:= {RISing|FALLing}
<slope>:= {RISing|FALLing}
Command message:
:TRIGger:IIS:BCLK:EDGE RISing
TRIG:IIS:BCLK:EDGE RIS
Query message:
TRIG:IIS:BCLK:EDGE?
Response message:
RISing
DESCRIPTION The command selects the level of the left channel on IIS bus
trigger.
The query returns the current level of the left channel on IIS
bus trigger.
<level>:= {LOW|HIGH}
<level>:= {LOW|HIGH}
EXAMPLE The following command sets the level of the left channel on
IIS bus trigger to HIGH.
Command message:
:TRIGger:IIS:LCH HIGH
TRIG:IIS:LCH HIGH
Query message:
TRIG:IIS:LCH?
Response message:
HIGH
DESCRIPTION The command sets the value of the IIS bus trigger.
The query returns the current value of the IIS bus trigger.
Note:
� The range of the value is related to data length by using
the command :TRIGger:IIS:DLENgth.
� Use the don’t care data (256, data length is 8) to ignore
the data value.
EXAMPLE The following command sets the value of the IIS bus trigger
to 0x56 when the data length is 8.
Command message:
:TRIGger:IIS:VALue 86
TRIG:IIS:VAL 86
Query message:
TRIG:IIS:VAL?
Response message:
86
DESCRIPTION The command selects the WS source of the IIS bus trigger.
<source>:= {C<x>|D<n>}
<source>:= {C<x>|D<n>}
EXAMPLE The following command sets the WS source of the IIS bus
trigger as channel 2.
Command message:
:TRIGger:IIS:WSSource C2
TRIG:IIS:WSS C2
Query message:
TRIG:IIS:WSS?
Response message:
C2
The range of the value varies, see the values below for details.
[-4.1*vertical_scale-vertical_offset,
4.1*vertical_scale-vertical_offset]
Command message:
:TRIGger:IIS:WSThreshold 1.50E+00
TRIG:IIS:WST 1.50E+00
Query message:
TRIG:IIS:WST?
Response message:
1.50E+00
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.
� :WAVeform:DATA
� :WAVeform:INTerval
� :WAVeform:MAXPoint
� :WAVeform:POINt
� :WAVeform:PREamble
� :WAVeform:SOURce
� :WAVeform:STARt
� :WAVeform:WIDTh
<source>:= {C<x>|F<x>|D<m>}
<source>:= {C<x>|F<x>|D<m>}
Command message:
:WAVeform:SOURce C2
WAV:SOUR C2
Query message:
WAV:SOUR?
Response message:
C2
DESCRIPTION The command specifies the starting data point for waveform
transfer using the query :WAVeform:DATA?.
Note:
The value range is related to the current waveform point and
the value set by the command :WAVeform:POINt.
EXAMPLE The following command sets the start point to 1000 when the
current waveform point is 400 kpts.
Command message:
:WAVeform:STARt 1000
WAV:STAR 1000
Query message:
WAV:STAR?
Response message:
1000
DESCRIPTION The command sets the interval between data points for
waveform transfer using the query :WAVeform:DATA?
Note:
The value range is related to the values set by the
command :WAVeform:POINt and :WAVeform:STARt.
EXAMPLE The following command sets the interval between data points
for waveform transfer to 200.
Command message:
:WAVeform:INTerval 200
WAV:INT 200
Query message:
WAV:INT?
Response message:
200
Note:
The value range is related to the current waveform point.
Command message:
:WAVeform:POINt 20000
WAV:POIN 20000
Query message:
WAV:POIN?
Response message:
20000
DESCRIPTION The query returns the maximum points of one piece, when it
needs to read the waveform data in pieces.
Query message:
:WAV:MAXPoint?
Response message:
10000000
DESCRIPTION The command sets the current output format for the transfer
of waveform data.
The query returns the current output format for the transfer of
waveform data.
<type>:= {BYTE|WORD}
� WORD formatted data transfers 16-bit data as two
bytes, and the upper byte is transmitted first.
� BYTE formatted data is transferred as 8-bit bytes.
Note:
When the vertical resolution is set to 10 bit or the ADC bit is
more than 8bit, it must to use the command to set to BYTE
before transferring waveform data.
<type>:= {BYTE|WORD}
EXAMPLE The following command sets the current output format for the
transfer of waveform data to BYTE.
Command message:
:WAVeform:WIDTh BYTE
WAV:WIDT BYTE
Query message:
WAV:WIDT?
Response message:
BYTE
DESCRIPTION The query returns the parameters of the source using by the
command :WAVeform:SOURce.
DESCRIPTION The query returns the waveform data of the source using by
the command :WAVeform:SOURce to be transferred from
the oscilloscope.
<header>:=”DAT2,#9#<9-Digits>”
<waveform_data>:=binary block
For analog channel waveform and math waveform (except for FFT):
Use python to reconstruct the waveform: (See the code in Read Waveform Data Example)
Step 3: Covert to the high (1) and low (0) corresponding to the data point.
Use python to reconstruct the waveform: (See the code in Read Waveform Data of Digital
Example)
With the oscilloscope built in function generator module), you can 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.
The WGEN commands are the same as that of T3AFG series, so the format is
not consistent with other groups. Refer to T3AFG programming guide for details.
� ARbWaVe
� BaSic_WaVe
� OUTPutSToreList
� SYNC
� VOLTPRT
Note:
This table is just an example, the index depends on
the specific model. The “STL?” query can be used
to get the accurate mapping relationship between
the index and name.
<channel>:= {C1}
<state>:= {ON|OFF}
<state>:= {ON|OFF}
<load>:= {50|HZ}
<location>:= {BUILDIN|USER}
<state>:= {ON|OFF}
<channel>:= {C1}
<channel>:= {C1}
<state>:= {ON|OFF}
� 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 Example
� Screen Dump (PRINt) Example
VC++ Example
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:
3. Coding:
a) USBTMC:
Int Usbtmc_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 */
b) TCP/IP:
int TCP_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 */
charhead[256] ="TCPIP0::";
chartail[] ="::INSTR";
charresource [256];
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);
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:
Private Function Usbtmc_test() As Long
' 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 viWrite
' Try to Read a Response With viRead
' Close the VISA Session
Const MAX_CNT = 200
' 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)
' At this point we now have a session open to the USB TMC instrument.
' 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:
Private Function TCP_IP_Test(ip As String) As Long
Dim outputBuffer As String * VI_FIND_BUFLEN
Dim defaultRM As Long
Dim instrsesn As Long
Dim status As Long
Dim count As Long
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 )
% This code demonstrates sending synchronous read & write commands
% to an TCP/IP instrument using NI-VISA
end
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.
5. Select the device resource from the VISA Resource Name list box and run the
program.
6. Communicating with the device via TCP/IP is similar to USBTMC. But you need to
change VISA Write and VISA Read Function to Synchronous I/O. The LabVIEW
default is asynchronous I/O. Right-click the node and select Synchronous I/O
Mod>>Synchronous from the shortcut menu to write or read data synchronously.
3. Coding:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NationalInstruments.VisaNS;
namespace TestVisa
{
class Program
{
static void Main(string[] args)
{
// Find all the USBTMC resources
string[]
This method is a two-way communication between the instrument and the computer
through a fixed port number.
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.
#!/usr/bin/env python
#-*- coding:utf-8 –*-
#-----------------------------------------------------------------------------
# The short script is a example that open a socket, sends a query,
# print the return message and closes the socket.
#-----------------------------------------------------------------------------
import socket # for sockets
import sys # for exit
import time # for sleep
#-----------------------------------------------------------------------------
remote_ip = "10.12.255.209" # should match the instrument’s IP address
port = 5025 # the port number of the instrument service
count = 0
def SocketConnect():
try:
#create an AF_INET, STREAM socket (TCP)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
except socket.error:
def SocketClose(Sock):
#close the socket
Sock.close()
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()
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);
// Close socket
if(close(MySocket)==-1)
{
exit(1);
}
Note:
When using the visa library, you should pay attention to the following settings:
import visa
import pylab as pl
import struct
"""The following code realizes the process of waveform reconstruction without slice"""
HORI_NUM = 10
CODE_PER_DIV ={"T3DSO2000A":30}
BIT = {"T3DSO2000A":8}
def main_desc(recv):
WAVE_ARRAY_1 = recv[0x3c:0x3f+1]
wave_array_count = recv[0x74:0x77+1]
first_point = recv[0x84:0x87+1]
data_bytes = struct.unpack('i',WAVE_ARRAY_1)[0]
point_num = struct.unpack('i',wave_array_count)[0]
fp = struct.unpack('i',first_point)[0]
sp = struct.unpack('i',sp)[0]
interval = struct.unpack('f',interval)[0]
delay = struct.unpack('d',delay)[0]
tdiv_index = struct.unpack('h',tdiv)[0]
probe_index = struct.unpack('i',probe)[0]
if probe_index > 15:
probe = struct.unpack('f',probe)[0]
else:
probe = probe_enum[probe]
vdiv = struct.unpack('f',v_scale)[0]*probe
offset = struct.unpack('f',v_offset)[0]*probe
tdiv = tdiv_enum[tdiv_index]
return vdiv,offset,interval,delay,tdiv
def main_newscpi():
_rm = visa.ResourceManager()
dso = _rm.open_resource(DSO_RSC)
dso.timeout = 30000 #default value is 2000(2s)
dso.chunk_size = 20*1024*1024 #default value is 20*1024(20k bytes)
dso.write("WAV:SOUR C2")
dso.write("WAV:PREamble?")
recv = dso.read_raw()[16:]
vdiv,ofst,interval,trdl,tdiv = main_desc(recv)
if BIT[MODEL] > 8:
dso.write(":WAVeform:WIDTh WORD")
dso.write("WAV:DATA?")
if __name__=='__main__':
main_newscpi()
import visa
import pylab as pl
import struct
def get_char_bit(char,n):
return (char >> n) & 1
def main_desc(recv):
first_point = recv[0x84:0x87+1]
fp = struct.unpack('i',first_point)[0]
sp = struct.unpack('i',sp)[0]
interval = struct.unpack('f',interval)[0]
delay = struct.unpack('d',delay)[0]
tdiv_index = struct.unpack('h',tdiv)[0]
tdiv = tdiv_enum[tdiv_index]
return interval,delay,tdiv
def main_new_scpi():
_rm = visa.ResourceManager()
dso = _rm.open_resource("TCPIP0::10.12.255.209::inst0::INSTR")
dso.write("WAV:SOUR D0")
dso.write("WAV:PREamble?")
recv = dso.read_raw()[16:]
interval,trdl,tdiv = main_desc(recv)
dso.write("WAV:DATA?")
recv = list(dso.read_raw())[16:]
recv.pop()
recv.pop()
volt_value = []
data =bytearray(recv)
pl.figure(figsize=(7,5))
pl.ylim(-1,2)
pl.plot(time_value,volt_value,markersize=2,label=u"Y-T")
pl.legend()
if __name__=='__main__':
main_new_scpi()
import visa
def main():
_rm = visa.ResourceManager()
dso = _rm.open_resource("USB0::0xF4EC::0xEE38::0123456789::INSTR")
dso.chunk_size = 20*1024*1024 #default value is 20*1024(20k bytes)
file_name = "F:\\SCDP.bmp"
dso.write("PRIN BMP")
result_str = dso.read_raw()
f = open(file_name,'wb')
f.write(result_str)
f.flush()
f.close()
if __name__=='__main__':
main()
Teledyne LeCroy informa�on about EU RoHS, China RoHS and the EU WEEE direc�ve can
be found at the website below.
h�ps://teledynelecroy.com/support/rohs.aspx
teledynelecroy.com
© 2018 Teledyne Test Tools a brand and trademark of Teledyne LeCroy Inc. All rights reserved. Specifications, prices, availability and delivery subject to change without notice.
Product brand or brand names are trademarks or requested trademarks of their respective holders.
T3 stands for Teledyne Test Tools. 932883 Rev1