Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication
supersedes that in all previously published material. Specifications and price change privileges reserved.
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
FlexChannel, FastFrame, OpenChoice, iView, Pinpoint, RT-Eye, TekVPI, FastAcq, and e*Scope are registered
trademarks of Tektronx, Inc.
TekSecure is a trademark of Tektronix, Inc.
5 Series MSO Programmer documentation. 077-1305-02 Released January 16, 2018.
Contacting Tektronix
Tektronix, Inc.
14150 SW Karl Braun Drive
P.O. Box 500
Beaverton, OR 97077
USA
For product information, sales, service, and technical support:
In North America, call 1-800-833-9200.
Worldwide, visit www.tek.com to find contacts in your area.
ple 1: Analog Waveform (Channels 1–4) ................... ................................ ......D-1
ample 7: RF Frequency Domain Waveform.......... .................................. ............D-15
command group ........ ................................ ...............................2-64
d group ....................................................................................2-92
iiMSO54, MSO56, MSO58, MSO58LP Programmer
Preface
This programmer guide provides you with the information required to use
Programmable Interface commands to remotely control your instrument.
The programmer manual is divided into the following major topics:
Getting started. This topic introduces you to the programming information
and provides basic information about setting up your instrument for remote
control.
Command syntax. This topic provides an overview of the command syntax
that you use to communicate with the instrument and other general information
about com
enter commands, constructed mnemonics, and argument types.
mands, such as how commands and queries are constructed, how to
Command
groups. Each group consists of an overview of the commands in that group and
a table that lists all the commands and queries for that group. You can click a
command in the listing to display a detailed description of the command.
Commands listed in alphabetical o rder. This topic contains all commands
listed in alphabetical order. Command details, syntax, and examples are
provided.
Status and events. This topic discusses the status and event reporting system
for the programming interfaces. This system informs you of certain significant
events that occur within the instrument. Topics that are discussed include
isters, queues, event handling sequences, synchronization methods, and
reg
messages that the instrument might return, including error messages.
pendices. These topics contain miscellaneous information, such as a list
Ap
of reserved words, a table of the factory initialization (default) settings, and
interface specifications that can be helpful when using commands to remotely
control the instrument.
groups. This topic contains all the commands listed in functional
MSO54, MSO56, MSO58, MSO58LP Programmeriii
Preface
ivMSO54, MSO56, MSO58, MSO58LP Programmer
Getting Started
This manual explains the use of commands to remotely control your oscilloscope.
With this information, you can write computer programs to perform functions,
such as setti
statistical calculations, and exporting d ata for use in other programs.
ng the front-panel controls, taking measurements, performing
Familiarit
download the User Manual from the Tektronix website at www.tek.com.
NOTE. Most examples in this document assume that both HEADer and VERBose
are set to ON.
y with the User Manual for your oscilloscope is assumed. You can
SettingUpRemoteCommunicationsHardware
You can remotely control communications between your oscilloscope and a PC
via Ethernet or USB cables.
Ethernet
If you are using Ethernet, start by connecting an appropriate Ethernet cable to the
Ethernet port (RJ-45 connector) on the rear panel of your oscilloscope. This
connects the oscilloscope to a 10BASE-T/100BASE-TX/1000BASE-T local area
network.
MSO54, MSO56, MSO58, MSO58LP Programmer1-1
Getting Started
USB
To change the Et
1. Select the Utility drop-down menu.
2. Select the I/O menu.
3. Select the LAN panel.
4. In the menu, if you are on a DHCP Ethernet network that supplies the IP
address automati
5. In the menu, if you want to supply your own n etwork settings, tap Manual
to set a hard coded TCP/IP address.
If you are using USB, start by connecting the appropriate USB cable to the USB
3.0 super-speed (SS) Device port on the rear panel of your oscilloscope. This
port requires that the cable connected from the port to the host computer meets
the USB 3.0 specification for super speed connections. Typically, such cables
should be 3 feet or shorter in length, but this is determined by the quality of the
cable and, with higher quality cables, this length can be extended. (It is also
dependent upon the drive capability of the host USB port to which the instrument
is connected.) The use of high quality short cables is recommended to avoid USB
connection problems.
hernet settings on your oscilloscope, do the following:
cally by a DHCP, tap Auto.
With USB, the system automatically configures itself. To verify that the USB is
enabled:
1. Select the Utility drop-down menu.
2. Select the I/O menu.
3. Touch USB Device Port to open the USB Device Port configuration menu.
4. If USB is disabled, tap USB Device Port to enable the USB Device port.
1-2MSO54, MSO56, MSO58, MSO58LP Programmer
Getting Started
After connecti
on, the host, with appropriate software, can list the oscilloscope as a
USB device with the following parameters: (See Table 1-1.)
Table 1-1: USB Device Parameters
ParameterValue
Manufacturer ID0x0699 (decimal 1689)
Product ID0x0522
Serial num
Manufact
Interfac
ber
urer description
e description
Setting Up Remote Communications Software
Connect your oscilloscope directly to a computer to let the PC analyze your data,
collect screen images, or to control the oscilloscope using a program of your own
creation. Three ways to connect your oscilloscope to a computer are through the
VISA drivers, the e*Scope Web-enabled tools, or via a socket server.
(You can send the
USBTMC:PRODUCTID:HEXadecimal?
query to rea
Serial num
“Tektronix”
“USBTMC-
d the value)
ber
USB488”
Using
VISA
VISA lets you use your MS-Windows computer to acquire data from your
oscilloscope for use in an analysis package that runs on your PC, such as
Microsoft Excel, National Instruments LabVIEW, Tektronix OpenChoice Desktop
tware, or your own custom software. You can use a common communications
sof
connection, such as USB or Ethernet, to connect the computer to the oscilloscope.
et up VISA communications between your oscilloscope and a computer:
To s
MSO54, MSO56, MSO58, MSO58LP Programmer1-3
Getting Started
1. Load the VISA dr
as OpenChoice Desktop. You will find the drivers and OpenChoice Desktop
software on the appropriate CD that comes with your oscilloscope or at the
Tektronix software finder Web page (www.tektronix.com\downloads).
2. Connect the oscilloscope to your computer with the appropriate USB or
Ethernet cable. Cycle the power on the oscilloscope.
3. Select the Utility drop-down menu
4. Select I/O menu.
5. If you are u
USB is enabled. Check USB DEVICE PORT panel to be s ure that USB is
enabled. If it is not enabled, toggle the On/Off button to On.
6. To use Ethernet, select the LAN panel. Use the controls to adjust your
network settings, as needed. For more information, see the e*Scope setup
information below.
7. If you want to change socket server parameters, select the Socket Server
panel and enter new values through the resulting panel controls.
8. Run your application software o n your computer.
ivers on your computer. Also, load your application, such
sing USB, the system sets itself up automatically for you, if
Quick Tips
Using the LXI Web Page
and e*Scope
SB 3.0 super-speed (SS) device port is the correct USB port for
The U
computer connectivity. Use the rear- and front-panel USB 2.0 or 3.0 host
ports to connect your oscilloscope to U SB flash drives, hard drives, keyboards
or mice. Use the USB Device port to connect your oscilloscope to a PC.
There are both USB 2.0 and 3.0 host ports on the instrument. The d evice
port is USB 3.0. Printers are not supported on host ports. PictBridge printers
are not supported on the device port.
With e*Scope, you can access your Internet-connected instrument from a web
browser. To set up e*Scope communications between your oscilloscope and a
webbrowserrunningonaremotecomputer:
1-4MSO54, MSO56, MSO58, MSO58LP Programmer
Getting Started
1. Connect the osc
Ethernet cable.
2. Select the Uti
3. Select the I/O menu.
4. Select the LAN panel.
5. At the top left of the panel, there is an indicator light which turns red if the
device detects a fault.
6. Read the network parameters configured on your oscilloscope.
7. Tap LAN Reset to restore the LAN defaults to your oscilloscope.
8. Tap Test Connection to check if your oscilloscope can find an attached
network.
9. Double tap Host Name, Domain Name,orService Name to change the
name of the oscilloscope, the domain name, or the service name using the
pop-up keyboard.
10. Start your browser on your remote computer. In the browser address line,
enter the host name, a dot, and the domain name together. Alternatively, just
enter the IP address of the instrument. Either way, you should then see the
LXI Welcome page on your Web browser on your computer screen.
illoscope to your computer network with an appropriate
lity drop-down menu.
Using a Socket Server
11. Click “Network Configuration” to view and edit the network configuration
settings.
12. For e*Scope, click the Instrument Control (e*Scope) link on the left side of
the LXI Welcome page. You should then see a new tab (or window) open in
ur browser with e*Scope running.
yo
A socket server provides two-way communication over an Internet Protocol-based
computer network. You can use your oscilloscope’s socket server feature to let
our oscilloscope talk to a remote-terminal device or computer.
y
To set up and use a socket server between your oscilloscope and a remote terminal
or computer:
1. Connect the oscilloscope to your computer network with an appropriate
Ethernet cable.
2. Select the Utility drop-down menu.
3. Select the I/O menu.
4. Tap Socket Server.
5. On the resulting Socket Server panel, tap the top entry to toggle the Socket
Server On..
MSO54, MSO56, MSO58, MSO58LP Programmer1-5
Getting Started
6. Choose whether
the protocol should be None or Te r m inal. A communication
session run by a human at a keyboard typically uses a terminal protocol.
An automated session might handle its own communications without using
such a protocol.
7. If required, change the port number by rotating multipurpose knob a.
8. If required, press OK to set the new port number.
9. After setting up the socket server parameters, you can now have the computer
“talk” to the oscilloscope. If you are running an MS Windows PC, you could
run its default client with its command-like interface. One way to do this is
by typing “
Telnet ” in the Run window. The Telnet window will open on
the PC.
NOTE. On MS Windows 7, you must first enable Telnet in order for it to work.
10. Start a terminal session between your computer and your oscilloscope by
typing in an open command with the oscilloscope LAN address and port
#. You can obtain the LAN address by pushing the LAN panel to view the
resulting LAN setting panel. You can obtain the port # by tapping the SocketServer panel and viewing the Port item.
For example, if the oscilloscope IP address was
# was the default of
4000, you could open a session by writing into the MS
123.45.67.89 and the port
Windows Telnet screen:
open 123.45.67.89 4000
The oscilloscope will send a help screen to the computer when it is done
connecting.
11. You can now type in a standard query, as found in the programmer manual,
such as
*idn?
The Telnet session window will respond by displaying a character string
describing your instrument. You can type in more queries and view more
results on this Telnet session window. You can find the syntax for relevant
queries and related status codes in other sections of this manual.
NOTE. Do not use the computer’s backspace key during an MS Windows' Telnet
session with the oscilloscope.
Socket Server Terminal Protocol Mode Commands. Following are Tektronix
Instrument Control Terminal Session Control commands:
!t <timeout> : set the response timeout in milliseconds.
!d : send device clear to the instrument.
1-6MSO54, MSO56, MSO58, MSO58LP Programmer
Getting Started
!r : read respon
!h : print this usage info.
NOTE. Comman
read automatically.
Documentation
Documenta
tion for your instrument is available for download at www.tek.com.
Dynamic programmatic interface
This prog
recognize certain commands until the objects referenced by those commands
actually exist. For example, commands related to measurements are not
recognized until measurements are added. Therefore, the response to a *LRN?
query will not normally include the instrument's complete command set.
The following command groups are not available when the instrument is in its
default state:
rammatic interface is dynamic. This means the instrument will not
Measurement
se from instrument.
ds containing a ? are treated as queries, a nd the responses are
Implicit activation
Math
Bus
ch and Mark
Sear
Plot
Adding an instance of one of t hose components will cause all comma nds
related to that component to be recognized. For example, sending the
ASUrement:ADDNew command adds a measurement at which point the
ME
measurement commands will be recognized. Conversely, once all ins tances of a
component have been deleted, the commands related to that component will no
longer be recognized.
When you send a command or query related to a dynamic object (such as
Math1, Bus3, or Meas2) to the instrument and that instance does not yet exist,
the instrument:
creates a default instance with the name you specified
adds all relevant commands and queries to the set of recognized commands
responds to the command or query
MSO54, MSO56, MSO58, MSO58LP Programmer1-7
Getting Started
Example 1
Example 2
*RST followed b
the default state, the instrument does not have any math waveforms. However
querying :MATH:MATH1:DEFinition? will add MATH1 with the default math
expression Ch1 - Ch2. Then the query will return the expected result. Note that if
Ch1 or Ch2 is not active, they will be activated as part of this action. A *LRN
issued after this will return MATH commands in addition to other available
commands.
*RST followed by :MEASUrement:MEAS3:TYPE? createsameasurement
named MEAS3 and return it's type. Since the default type is Period, you
will get P
MEASUrement:MEAS3 commands in addition to other available commands.
Not all c
and LIST commands do not result in implicit activation.
eriod as the response. A *LRN issued after this will return all
ommands in these groups start implicit activation. ADDNew, DELete,
y a *LRN? will not return any MATH<x> commands because in
Creating, deleting, and listing dynamic instances
You can create a new default instance of a dynamic feature by using the ADDNew
command. For example, :MEASUrement:ADDNew "Meas1" will create a new
measurement named Meas1. Meas1 will be a Period measurement since the
default type for measurements is Period. Note that you can change Meas1 type
to any other supported type using :MEASUrement:MEAS1:TYPE command.
ELete comman d deletes the named dynamic instance. For example
The D
:BUS:DELete “B2” will delete a bus named B2 if it exists. You can delete only
one instance at a time. The LIST command returns a list of all dynamic instances
currently in existence. For example, if you have added three measurements named
Meas1, Meas2 and Meas3, :MEASUrement:LIST? returns MEAS1, MEAS2,
MEAS3.
1-8MSO54, MSO56, MSO58, MSO58LP Programmer
Command Syntax
You can control the operations and functions of the oscilloscope through the
Ethernet port or the USB 3.0 super speed (SS) device port using commands and
queries. The
and queries. The topics also describe the conventions that the oscilloscope uses
to process them. See the Command Groups topic in the table of contents for a
listing of the commands by command group, or use the index to locate a specific
command.
related topics listed below describe the syntax of these commands
Backus-Naur Form
Notation
This documentation describes the commands and queries using Backus-Naur
Form (BNF) notation. Refer to the following table for the symbols that are used.
Table 2-1: Symbols for Backus-Naur Form
SymbolMeaning
<>
=
|Exclusive OR
{ }Group; one element is required
[]
.. .
Command and Query Structure
Commands consist of set commands and query commands (usually called
commands and queries). Commands modify oscilloscope settings or tell the
oscilloscope to perform a specific action. Queries cause the oscilloscope to return
data and status information.
Most commands have both a set form and a query form. The query form of the
command differs from the set form by its question mark at the end. For example,
the set command ACQuire:MODe has a query form ACQuire:MODe?.Notall
commands have both a set and a query form. Some commands have set only and
some have query only.
Defined element
Is defined as
Optional; can be omitted
Previous element(s) may be repeated
Messages
MSO54, MSO56, MSO58, MSO58LP Programmer2-1
A command message is a command or query name followed by any information
the oscilloscope n eeds to execute the command or query. Command messages
may contain five element types, defined in the following table.
Command Syntax
Commands
Table 2-2: Comm
SymbolMeaning
<Header>
<Mnemonic>
<Argument
<Comma>A single c
<Space>
Comman
>
ds cause the oscilloscope to perform a specific function or change one of
and Message Elements
This is the basic command name. If the header ends with a question
mark, the command is a query. The header may begin with a colon
(:) c haracte
the beginning colon is required. Never use the beginning colon with
command headers beginning with a star (*).
This is a header subfunction. Some command headers have only one
mnemonic. I
character always separates them from each other.
This is a qu
Some commands have no arguments while others have multiple
arguments. A <space> separates arguments from the header. A
<comma> se
commands. Optionally, there may be white space characters before
and after the comma.
A white space character is used between a command header and the
related argument. Optionally, a white space may consist of multiple
white sp
r. If the command is concatenated with other commands,
f a command header has multiple mnemonics, a colon (:)
antity, quality, restriction, or limit associated with the header.
parates arguments from each other.
omma is used between arguments of multiple-argument
ace characters.
the settings. Commands have the structure:
eader>[<Space><Argument>[<Comma> <Argument>]. ..]
[:]<H
A command header consists of one or more mnemonics arranged in a hierarchical
ee structure. The first mnemonic is the base or root of the tree and each
or tr
subsequent mnemonic is a level or branch off the previous one. Commands at a
higher level in the tree may affect those at a lower level. The leading colon (:)
always returns you to the base of the command tree.
You can specify a query command at any level within the command tree unless
otherwise noted. These branch queries return information about all the mnemonics
below the specified branch or level.
Use the HEADer command to control whether the oscilloscope returns h eaders as
part of the query response. If header is on, the query response returns command
headers, then formats itself as a valid set command. When header is off, the
response includes only the values. This may make it easier to parse and extract the
information from the response. The table b elow shows the difference in responses.
Table 2-3: Comparison of Header Off and Header On Responses
QueryHeader OffHeader On
TIME?
ACQuire:NUMAVg?
he oscilloscope to return status or setting information. Queries
"14:30:00":TIME “14:30:00”
100
:ACQUIRE:NUMAVG 100
Clearing the oscilloscope
You can clear the Output Queue and reset the oscilloscope to accept a new
command or query by using the selected Device Clear (DCL) function.
Command Entry
The following rules apply when entering commands:
You can enter commands in upper or lower case.
You can precede any command with white space characters. White space
characters include any combination of the ASCII control characters 00 through
09 and 0B through 20 hexadecimal (0 through 9 and 11 through 32 decimal).
The oscilloscope ignores commands consisting of any combination of white
space characters and line feeds.
MSO54, MSO56, MSO58, MSO58LP Programmer2-3
Command Syntax
Abbreviating
Concatenating
You can abbrevi
ate many oscilloscope commands. Each command in this
documentation shows the minimum acceptable abbreviations in capitals. For
example, you can enter the command
ACQuire:NUMAvg simply as ACQ:NUMA
or acq:numa.
Abbreviation rules may change over time as new oscilloscope models are
introduced. Thus, for the most robust code, use the full spelling.
If you use the HEADer command to have command headers included as part
of query responses, you can further control whether the returned headers are
abbreviated or are full-length with the
VERBose command.
You can concatenate any combination of set commands and querie s using a
semicolon (;). The oscilloscope executes concatenated commands in the order
received.
When concatenating commands and queries, you must follow these rules:
1. Separate completely different headers by a semicolon and by the beginning
colon on all commands except the first one. For example, the commands
TRIGger:MODe NORMal and ACQuire:NUMAVg 8, can be concatenated
into the following single command:
TRIGger:MODe NORMal;:ACQuire:NUMAVg 8
2. If concatenated commands have headers that differ by only the last mnemonic,
you can abbreviate the second command and eliminate the beginning colon.
For example, you can concatenate the commands
ACQuire:MODe ENVelope
and ACQuire:NUMAVg 8 into a single command:
ACQuire:MODe ENVelope; NUMAVg 8
The longer version works equally well:
ACQuire:MODe ENVelope;:ACQuire:NUMAVg 8
3. Never precede a star (*) command with a colon:
ACQuire:STATE 1;*OPC
Any commands that follow will be processed as if the star command was
not there so the commands,
ACQuire:MODe ENVel
ope;*OPC;NUMAVg 8
will set the acquisition mode to envelope and set the number of acquisitions
for averaging to 8.
4. When you concatenate queries, the responses to all the queries are
concatenated into a single response message. For example, if the display
graticule is set to Full and the display style is set to dotsonly, the concatenated
query
DISplay:GRAticule?;STYle? will return the following.
If the header is on:
DISPLAY:GRATICULE FULL;:DISPLAY:STYLE DOTSONLY
2-4MSO54, MSO56, MSO58, MSO58LP Programmer
Command Syntax
If the header is
FULL;DOTSONLY
off:
1. Set commands and queries may be concatenated in the same message. For
example,
ACQuire:MODe SAMple;NUMAVg?;STATE?
is a valid message that sets the acquisition mode to sample. The message then
queries the number of acquisitions for averaging and the acquisition state.
Concatenated commands and queries are executed in the order received.
Here are some invalid concatenations:
DISPlay:STYle DOTsonly OFF;ACQuire:NUMAVg 8 (no colon before
ACQuire)
DISPlay:GRAticule FULL;:STYle DOTSONLY OFF (extra colon before
STYle.
DISPlay:GRAticule FULL;:*TRG (colon before a star (*) command)
ACQUIRE:FASTACQ:PALETTE TEMPerature;FASTAcq: STATE ON (levels
of the mnemonics are different; either remove the second use of
FASTACQ:
or place :ACQUIRE in front of FASTAcq:STATE)
Terminating
This documentation uses <EOM> (End of Message) to represent a message
terminator.
Table 2-4: End of Message Terminator
SymbolMeaning
<EOM>
The end-of-message terminator must be the END message (EOI asserted
concurrently with the last data byte). The last data byte may be an ASCII line
feed (LF) character.
This oscilloscope does not support ASCII LF only message termination. The
oscilloscope always terminates outgoing messages with LF and EOI.
Constructed Mnemonics
Some header mnemonics specify one of a range of mnemonics. For example,
a channel mnemonic can be CH1, CH2, CH3, CH4, CH5, CH6, CH7, or CH8
depending on the number of FlexChannels in your instrument. You use these
mnemonics in the command just as you do any other mnemon
there is a
command. In the command descriptions, this list of choices is abbreviated as
CH<x>.
Message terminator
ic. For example,
CH1:POSition command, and there is also a CH2:POSition
MSO54, MSO56, MSO58, MSO58LP Programmer2-5
Command Syntax
Bus Mnemonics
Channel Mne
Cursor Position
Mnemonics
monics
Commands speci
fy the bus to use as a mnemonic in the header.
Table 2-5: Bus Mnemonics
SymbolMeaning
B<x>
A bus specifier; <x> is ≥1.
Commands specify the channel to use as a mnemonic in the header.
Table 2-6: Channel Mnemonics
SymbolMeaning
CH<x>A channel
FlexChannels in your instrument.
CH<x>_D<x>A digital channel specifier; <x> in CH<x> is 1 through 8 and is limited
by the number of FlexChannels in your instrument. <x> in D<x> is 0
through
When cu
rsors are displayed, commands may specify which cursor of the pair to
specifier; <x> is 1 through 8 and is limited by the number of
7. Together they define a FlexChannel digital input.
use.
Math Specifier Mnemonics
Measurement Specifier
Mnemonics
Table 2-7: Cursor Mnemonics
SymbolMeaning
CURSOR<x>
A cursor selector; <x> is must be 1 or 2.
Commands can specify the mathematical waveform to use as a mnemonic in
the header.
ble 2-8: Math Specifier Mnemonics
Ta
SymbolMeaning
TH<x>
MA
A m ath waveform specifier; <x> is ≥1.
Commands can specify which measurement to set or query as a mnemonic in
the header.
Table 2-9: Measurement Specifier Mnemonics
SymbolMeaning
MEAS<x>A measurement specifier; <x> is ≥1.
2-6MSO54, MSO56, MSO58, MSO58LP Programmer
Command Syntax
Reference Waveform
Mnemonics
View Mnemonics
Search Mnemonics
Commands can sp
ecify the reference waveform to use as a mnemonic in the
header.
Table 2-10: Reference Waveform Mnemonics
SymbolMeaning
REF<x>
REF<x>_D<x>
A reference waveform specifier; <x> is ≥1.
A digital reference waveform specifier; <x> is ≥1.
Commands can specify the view to use as a mnemonic in the header.
Table 2-11: Waveview Mnemonics
SymbolMeaning
WAVEView<x>
PLOTView<x>A plotview specifier; <x> must be equal to 1.
MATHFFTView<x>
A waveview specifier; <x> must be equal to 1.
A mathfftview specifier; <x> must be equal to 1.
Commands can specify a search to use as a mnemonic in t he header.
Commands use arguments such as enumeration, numeric, quoted string and block.
Each of these arguments are listed in detail below.
Enter these arguments as unquoted text words. Like key words, enumeration
arguments follow the same convention where the portion indicated in uppercase is
required and that in lowercase is optional.
For example:
ACQuire:MODe SAMple
MSO54, MSO56, MSO58, MSO58LP Programmer2-7
Command Syntax
Numeric
Quoted String
Many oscillosc
ope 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.
Table 2-14: Numeric Arguments
SymbolMeaning
<NR1>
<NR2>Floating point value without an exponent
<NR3>Floating point value with an exponent
<bin>
Signed integer value
Signed or unsigned integer in binary format
Most numeric arguments will be automatically forced to a valid setting, by either
rounding or truncating, when an invalid number is input, unless otherwise noted
in the c
ommand description.
Some commands accept or return data in the form of a quoted string, which is
simply a group of ASCII characters enclosed by a single quote (') or double quote
he following is an example of a quoted string:
("). T
string"
. This documentation represents these arguments as follows:
"This is a quoted
Table 2-15: Quoted String Argument
SymbolMeaning
<QString>Quoted string of ASCII text
A quoted string can include any character defined in the 7-bit ASCII character
t. Follow these rules when you use quoted strings:
se
1. Use the same type of quote character to open and close the string. For
xample:
e
"this is a valid string".
2. You can mix quotation marks within a string as long as you follow the
previous rule. For example:
"this is an 'acceptable' string".
3. You can include a quote character within a string by repeating the quote. For
example:
"here is a "" mark".
4. Strings can have upper or lower case characters.
5. A carriage return or line feed embedded in a quoted string does not terminate
the string. The return is treated as another character in the string.
6. The maximum length of a quoted string returned from a query is 1000
characters.
2-8MSO54, MSO56, MSO58, MSO58LP Programmer
Command Syntax
Block
Here are some in
"Invalid string argument' (quotes are not of the same type)
"test<EOI>" (termination character is embedded in the string)
valid strings:
Several oscilloscope commands use a block argument form, as defined in the
table below.
Table 2-16: Block Argument
SymbolMeaning
<NZDig>
<Dig>
<DChar>A charac
<Block>
A nonzero
A digit ch
through 255 decimal)
A block of data bytes defined as: < Block> ::=
{#<NZDig><Dig>[<Dig>...][<DChar>...]|#0[<DChar>...]<terminator>}
digit character in the range of 1–9
aracter, in the range of 0–9
ter with the hexadecimal equivalent of 00 through FF (0
<NZDig> specifies the number of <Dig> elements that follow. Taken together,
the <N
ZDig> and <Dig> elements form a decimal integer that specifies how
many <DChar> elements follow.
MSO54, MSO56, MSO58, MSO58LP Programmer2-9
Command Syntax
2-10MSO54, MSO56, MSO58, MSO58LP Programmer
Command groups
The programmable interface conforms to Tektronix standard codes and formats
except where noted. The interface also conforms to IEEE Std 488.2-1987 except
where noted.
Acquisition command group
Acquisiti
on commands set up the modes and functions that control how the
instrument acquires signals and processes them into waveforms. Us i ng these
commands for acquiring waveforms, you can do the following:
Start and stop acquisitions.
Control w
hether each waveform is simply acquired, averaged, or enveloped
over successive acquisitions of that waveform.
Set the c
ontrols or conditions that start and stop acquisitions.
Control acquisition of acquired channel waveforms.
Set acquisition parameters.
Table 2-17: Acquisition commands
CommandDescription
ACQuire?Queries the current acquisition state.
ACQuire:FASTA cq:PALEtteSets or queries the waveform grading for fast acquisition mode.
ACQuire:FASTAcq:STATESets or queries the state of fast acquisition mode.
ACQuire:MAXSamplerate?
ACQuire:MODeSets o r queries the acquisition mode.
ACQuire:NUMACq?Returns the number of waveform acquisitions that have occurred since starting
ACQuire:NUMAVgSets or queries number of acquisitions for an averaged waveform.
ACQuire:SEQuence:CURrent?In single sequence acquisition mode, this query returns the number of acquisitions
ACQuire:SEQuence:MODeIn single sequence acquisition, the single sequence stop after count is based on
ACQuire:SEQuence:NUMSEQuenceIn single sequence acquisition mode, specify the number of acquisitions or
ACQuire:STATEStarts, stops, or returns acquisition state.
ACQuire:STOPAfterSets or queries whether the acquisition is continuous or single sequence.
Returns the maximum real-time sample rate.
acquisition with the
or measurements in the sequence completed so far.
number of acquisitions or measurements. Number of acquisitions is the only m ode
supported for this product.
measurements that comprise the sequence.
ACQuire:STATE RUN command.
MSO54, MSO56, MSO58, MSO58LP Programmer2-11
Command groups
AFG Command Gr
oup
Use the AFG commands for Arbitrary Func tion Generator functionality. Requires
option AFG.
Table 2-18:
CommandDescription
AFG:AMPLitudeSets (or queries) the AFG amplitude in volts, peak to peak.
AFG:ARBitrary:SOUrceSets or queries the source name for the Arbitrary Waveform.
AFG:FREQuencySets (or queries) the AFG frequency, in Hz.
AFG:FUNCtionSets (or queries) which AFG function to execute.
AFG:HIGHLevelSets (or queries) the high level value of the output waveform, in volts.
AFG:LOWLevelSets (or queries) the low level value of the output waveform, in volts.
AFG:NOISEAdd:PERCentSets (or queries) the AFG additive noise level as a percentage.
AFG:NOISEAdd:STATESets (or queries) the AFG additive noise state.
AFG:OFFSetSets (or queries) the AFG offset value, in volts.
AFG:OUTPut:LOAd:IMPEDanceSets (or queries) the AFG output load impedance.
AFG:OUTPut:STATESets (or queries) the AFG output state.
AFG:PERIodSets (or queries) the period of the AFG waveform, in seconds.
AFG:PULse:WIDthSets (or queries) the AFG pulse width, in seconds.
AFG:RAMP:SYMmetrySets (or queries) the AFG ramp symmetry as a percentage.
AFG:SQUare:DUtySets (or queries) the AFG duty cycle, as a percentage.
AFG commands
2-12MSO54, MSO56, MSO58, MSO58LP Programmer
Alias command group
Command groups
Alias commands allow you to define new commands as a sequence of standard
commands. You might find this useful when repeatedly using the same commands
to perform certain tasks like setting up m easurements.
Aliases are similar to macros but do not include the capability to substitute
parameters into alias bodies. The alias mechanism obeys the following rules:
The alias name must consist of a valid IEEE 488.2 message unit, which may
not appear in a message preceded by a colon, comma, or a command or query
program header.
The alias name may not appear in a message followed by p rogram date, a
colon, comma, or question mark.
An alias name must be distinct from any keyword or keyword short form.
An alias name cannot be redefined without first being deleted using one of
the alias deletion functions.
Alias names do not appear in response messages.
TheAliascommandsaredefined in Tektronix Standard Codes and Formats.
Deviations between that standard and what is specified here will be considered
errors unless specifically noted in the command description in this document.
Table 2-19: Alias commands
CommandDescription
ALIas
ALIas:CATalog?Returns a list of the currently defined alias labels.
ALIas:DEFine
ALIas:DELEte
ALIas:DELEte:ALLDeletes all existing aliases.
ALIas:DELEte:NAMe
ALIas:STATESets or queries the alias state.
Sets or queries the alias state.
Assigns a sequence of program messages to an alias label.
Removes a specified alias.
Removes a specified alias.
MSO54, MSO56, MSO58, MSO58LP Programmer2-13
Command groups
Bus command group
Use the commands in the Bus Command Group to configure a bus. These
commands let you:
Specify the bus type.
Specifythesignalstobeusedinthebus.
Specify its display style.
NOTE. Bus commands are present once a bus has been added.
Bus Mnemonics
Commands specify the bus to use as a mnemonic in the header.
Table 2-20: Bus mnemonics
SymbolMeaning
B<x>
A bus specifier; <x> is ≥1.
Table 2-21: Bus commands
CommandDescription
BUS:ADDNewAdds the specified bus.
BUS:B<x>:ARINC429A:SOUrceSets or queries the source for the specified ARINC429 bus.
BUS:B<x>:ARINC429A:THRESHoldSets or queries the ARINC429 upper threshold for the specified bus.
BUS:B<x>:ARINC429A:POLARITYSets or queries the source polarity for the specified ARINC429 bus.
BUS:B<x>:ARINC429A:DATAFORmatSets or queries the format of the DATA field for the specified ARINC429 bus.
BUS:B<x>:ARINC429A:BITRateSets of queries the ARINC429 bit rate for the specified bus.
BUS:B<x>:ARINC429A:BITRate:CUSTomSets or queries the ARINC429 custom bit rate for the specified bus.
BUS:B<x>:AUDio:BITDelaySets or queries the number of delay bits for the specified AUDIO bus.
BUS:B<x>:AUDio:BITOrderSpecifies the bit order for the specified AUDIO bus.
BUS:B<x>:AUDio:CLOCk:POLaritySets or queries the clock polarity for the specified AUDIO bus.
BUS:B<x>:AUDio:CLOCk:SOUrceSets or queries the clock source waveform for the specified AUDIO bus.
BUS:B<x>:AUDio:CLOCk:THResholdSets or queries the Audio Clock source threshold for the specified bus.
BUS:B<x>:AUDio:DATa:POLaritySpecifies the data polarity for the specified AUDIO bus.
BUS:B<x>:AUDio:DATa:SIZeSpecifies the number of bits per word for the specified AUDIO bus.
BUS:B<x>:AUDio:DATa:SOUrceSpecifies the audio data source waveform for the specified AUDIO bus.
BUS:B<x>:AUDio:DATa:THResholdSets or queries the Audio Data source threshold for the specified bus.
BUS:B<x>:AUDio:DATa:WORDSizeSets or queries the Audio bits per word for the specified bus.
BUS:B<x>:AUDio:FRAME:
CLOCKBITSPERCHANNEL
BUS:B<x>:AUDio:FRAME:SIZeSpecifies the number of channels in each frame for the specified AUDIO bus.
BUS:B<x>:AUDio:TYPeSpecifies the audio format (type) for the specified AUDIO bus.
Sets or queries the Audio bits of sync width for the specified bus.
2-14MSO54, MSO56, MSO58, MSO58LP Programmer
Command groups
Table 2-21: Bus commands (cont.)
CommandDescription
BUS:B<x>:AUDio:WORDSel:POLaritySets or queries the word select polarity for the specified AUDIO bus.
BUS:B<x>:AUDio:WORDSel:SOUrceSpecifies the word select source waveform for the AUDIO bus.
BUS:B<x>:AUDio:WORDSel:THResholdSets or queries the Audio Word Select source threshold for the specified bus.
BUS:B<x>:CAN:BITRateSets or queries the CAN bit rate.
BUS:B<x>:CAN:BITRate:VALueSets or queries CAN bit rate.
BUS:B<x>:CAN:FD:BITRateSets or queries the increased data phase bit rate used by CAN FD packets on
the specified CAN bus.
BUS:B<x>:CAN:FD:BITRate:CUSTomSets or queries the custom bit rate for the increased data phase of CAN FD
packets on the specified CAN bus.
BUS:B<x>:CAN:SAMPLEpointSets or queries the sample point for the specified CAN bus.
BUS:B<x>:CAN:SIGNalSets or queries the signal type for the specified CAN bus.
BUS:B<x>:CAN:SOUrceSets or queries the CAN source channel.
BUS:B<x>:CAN:STANDardSets or queries which CAN standard specification to analyze the specified
CAN bus with.
BUS:B<x>:CAN:THResholdSets or queries the source channel threshold for the specified CAN bus.
BUS:B<x>:DISplay:FORMatSets or queries how the data is represented in the busform for the specified bus.
BUS:B<x>:DISplay:LAYoutThis command sets or queries the format a bus layer should use.
BUS:B<x>:ETHERnet:DATAMINUSTHRESHoldSets or queries the Ethernet DATA Minus source threshold for the specified bus.
BUS:B<x>:ETHERnet:DATAPLUSTHRESHoldSets or queries the Ethernet DATA Plus source threshold for the specified bus.
BUS:B<x>:ETHERnet:IPVFOURSets or queries whether IPV4 packets are available for triggering on Ethernet.
BUS:B<x>:ETHERnet:LOWTHRESHoldSets or queries the Ethernet DATA source Low threshold for the specified bus.
BUS:B<x>:ETHERnet:QTAGGINGSets or queries whether Q-Tagging packets are available for triggering on
Ethernet.
BUS:B<x>:ETHERnet:SIGNALTYpeSets or queries the Ethernet signal type for the specified bus.
BUS:B<x>:ETHERnet:SOUrceSpecifies the Ethernet data source for differential input.
BUS:B<x>:ETHERNET:SOUrce:DMINusSets or queries the Ethernet DMINus source.
BUS:B<x>:ETHERNET:SOUrce:DPLUsSets or queries the Ethernet DPLUs source.
BUS:B<x>:ETHERnet:THRESHoldSets or queries the Ethernet DATA source High threshold for the specified bus.
BUS:B<x>:ETHERnet:TYPeSpecifies the Ethernet standard type: 10Base-T or 100Base-T.
BUS:B<x>:FLEXray:BITRateSets or queries the FlexRay bus bit rate.
BUS:B<x>:FLEXray:BITRate:CUSTomSets or queries the FlexRay custom bit rate for the specified bus.
BUS:B<x>:FLEXray:CHannelSets or queries the FlexRay bus channel.
BUS:B<x>:FLEXray:LOWTHRESHoldSets or queries the FlexRay data source low threshold for the specified bus.
BUS:B<x>:FLEXray:SIGnalSets or queries the FlexRay probe.
BUS:B<x>:FLEXray:SOUrceSets or queries the FlexRay bus source.
BUS:B<x>:FLEXray:SOUrce:TXRXSets or queries the FlexRay TxRx data source for the specified bus.
BUS:B<x>:FLEXray:THRESHoldSets or queries the FlexRay data source threshold for the specified bus.
BUS:B<x>:FLEXray:TXRXTHRESHoldSets or queries the FlexRay data source TxRx threshold for the specified bus.
MSO54, MSO56, MSO58, MSO58LP Programmer2-15
Command groups
Table 2-21: Bus commands (cont.)
CommandDescription
BUS:B<x>:I2C:CLOCk:SOUrceSets or queries the I2C clock (SCLK) source for the specified bus.
BUS:B<x>:I2C:CLOCk:THResholdSets or queries the I2C Clock (SCLK) source threshold for the specified bus.
BUS:B<x>:I2C:DATa:SOUrceSets or queries the I2C data (SDA) source for the specified bus.
BUS:B<x>:I2C:DATa:THResholdSets or queries the I2C Data (SDA) source threshold for the specified bus.
BUS:B<x>:I2C:RWINADDRDetermines whether decoded I2C slave addresses are pure seven-bit values,
or have the R/W* combined with them.
BUS:B<x>:LABel:COLorSets or queries the color of the speci fied bus label.
BUS:B<x>:LABel:FONT:BOLDSets or queries the bold state of the specified bus label.
BUS:B<x>:LABel:FONT:ITALicSets or queries the italic state of the specified bus label.
BUS:B<x>:LABel:FONT:SIZESets or queries the font size of the specified bus label.
BUS:B<x>:LABel:FONT:TYPESets or queries the font type of the s pecified bus label, such as Arial or Times
New Roman.
BUS:B<x>:LABel:FONT:UNDERlineSets or queries the underline state of the specified bus label.
BUS:B<x>:LABel:nameSets or queries the waveform label for the specified bus.
BUS:B<x>:LABel:XPOSSets or queries the x-position of the specified bus' label.
BUS:B<x>:LABel:YPOSSets or queries the y-position of the specified bus' l abel.
BUS:B<x>:LIN:BITRateSets or queries the LIN bus bit rate.
BUS:B<x>:LIN:IDFORmatSets or queries LIN bus id format.
BUS:B<x>:LIN:POLaritySets or queries the LIN bus polarity.
BUS:B<x>:LIN:SAMPLEpointSpecifies the point to sample during each bit period, as a percent, for the
specified LIN bus.
BUS:B<x>:LIN:SOUrceSets o r queries sets the LIN bus source.
BUS:B<x>:LIN:SOUrce:THResholdSets or queries the LIN source threshold for the specified bus.
BUS:B<x>:LIN:STANDardSets or queries the LIN bus standard.
BUS:B<x>:LIN:BITRate:CUSTomSets or queries LIN custom bit rate for the specified bus.
BUS:B<x>:MIL1553B:SOUrceSets or queries the source for the specified MIL-STD-1553 bus.
BUS:B<x>:MIL1553B:THRESHoldSets or queries the MIL-STD-1553 upper threshold for the specified bus.
BUS:B<x>:MIL1553B:LOWTHRESHoldSets or queries the MIL-STD-1553 lower threshold for the specified bus.
BUS:B<x>:MIL1553B:POLaritySets or queries the source polarity for the specified MIL-STD-1553 bus.
BUS:B<x>:MIL1553B:RESPonsetime:MINimumSets or queries the minimum response time to a valid command issued for the
specified MIL-STD-1553 bus.
BUS:B<x>:MIL1553B:RESPonsetime:MAXimumSets or queries the maximum response time to a valid command issued for the
specified MIL-STD-1553 bus.
BUS:B<x>:PARallel:ALLTHResholdsSets or queries the threshold for all sources for the parallel bus.
BUS:B<x>:PARallel:ALLTHResholds:APPlySets all of the data source thresholds to the value of the allMRefs parameter for
the parallel bus.
BUS:B<x>:PARallel:BIT<n>SOUrceSets or queries the specified bit source for specified parallel bus.
BUS:B<x>:PARallel:BIT<n>SOUrce:THResholdSets or queries the specified bit source threshold for the specified parallel bus.
2-16MSO54, MSO56, MSO58, MSO58LP Programmer
Command groups
Table 2-21: Bus commands (cont.)
CommandDescription
BUS:B<x>:PARallel:CLOCk:EDGEDetermines which edges of its clock signal cause a clocked parallel bus to
sample new states.
BUS:B<x>:PARallel:CLOCk:ISCLOCKEDDetermines whether the bus operates in a clocked or asynchronous fashion.
BUS:B<x>:PARallel:CLOCkSOUrceSets or queries the Parallel clock source for the specified bus.
BUS:B<x>:PARallel:CLOCKSOUrce:THResholdSets or queries the bit source threshold for the parallel bus.
BUS:B<x>:RS232C:BITRateSets or queries the RS-232 bit rate for the specified bus.
BUS:B<x>:RS232C:BITRate:CUSTomSets or queries the RS232 custom bit rate for the specified bus.
BUS:B<x>:RS232C:DATABitsSets or queries the number of RS-232 data bits for the specified bus.
BUS:B<x>:RS232C:DELIMiterSets or queries the RS-232 delimiting value for a packet on the specified bus.
BUS:B<x>:RS232C:DISplaymodeSets or queries the display mode for the specified bus.
BUS:B<x>:RS232C:PARitySets or queries the RS-232 parity for the specified bus.
BUS:B<x>:RS232C:POLaritySets or queries the RS-232 polarity for the specified bus.
BUS:B<x>:RS232C:SOUrceSets or queries the RS-232 polarity for the specified bus.
BUS:B<x>:RS232C:SOUrce:THResholdSets or queries the RS232 source threshold for the specified bus.
BUS:B<x>:SPI:BITOrderSets or queries the shift direction used to de-serialize data for the SPI mode of
the bus.
BUS:B<x>:SPI:CLOCk:POLaritySets or queries the SPI clock (SCLK) polarity for the specified bus.
BUS:B<x>:SPI:CLOCk:SOUrceSets or queries the SPI clock (SCLK) source for the specified bus.
BUS:B<x>:SPI:CLOCk:THResholdSets or queries the SPI Clock (SCLK) source threshold for the specified bus.
BUS:B<x>:SPI:DATa:POLaritySets or queries the SPI data (DATA) polarity for the specified bus.
BUS:B<x>:SPI:DATa:SIZeSets or queries the number of bits per word for the specified bus.
BUS:B<x>:SPI:DATa:SOUrceSets or queries the SPI data (DATA) source for the specified bus.
BUS:B<x>:SPI:DATa:THResholdSets or queries the SPI Data (SDA) source threshold for the specified bus.
BUS:B<x>:SPI:FRAMINGSets or queries the SPI bus framing.
BUS:B<x>:SPI:IDLETimeSets or queries the SPI bus idle time.
BUS:B<x>:SPI:SELect:POLaritySets or queries the SPI Slave Select (SS) polarity for the specified bus.
BUS:B<x>:SPI:SELect:SOUrceSets or queries the SPI Slave Select (SS) source for the specified bus.
BUS:B<x>:SPI:SELect:THResholdSets or queries the SPI Select (SS) source threshold for the specified bus.
BUS:B<x>:TYPeSets or queries the bus type specified.
BUS:B<x>:USB:BITRateSets or queries the USB bit rate for the specified bus.
BUS:B<x>:USB:SOUrceSets or queries the USB Data Source for the specified bus.
BUS:B<x>:USB:SOUrce:DMINusSets or queries the USB Data Source for D- input for the specified bus.
BUS:B<x>:USB:SOUrce:DPLUsSets or queries the USB Data Source for D+ input for the specified bus.
BUS:B<x>:USB:DATAMINUSTHRESHoldSets o r queries the USB DATA Minus source threshold for the specified bus.
BUS:B<x>:USB:DATAPLUSTHRESHoldSets or queries the USB DATA Plus source threshold for the specified bus.
BUS:B<x>:USB:LOWTHRESHoldSets or queries the USB DATA source Low threshold for the specified bus.
BUS:B<x>:USB:SIGNALTYpeSets or queries the USB signal type for the specified bus.
MSO54, MSO56, MSO58, MSO58LP Programmer2-17
Command groups
Table 2-21: Bus commands (cont.)
CommandDescription
BUS:B<x>:USB:THRESHoldSets or queries the USB DATA source High threshold for the specified bus.
BUS:DELeteDeletes the specified bus.
BUS:LIST?Lists all currently de fined bus.
BUSTABle:ADDNewAdds the s pecified bus table.
BUSTABle:DELeteDeletes the specified bus table.
BUSTABle:LIST?Lists all currently defined bus tables.
DISplay:WAVEView<x>:BUS:B<x>:STATESets or queries the state of the specified bus in the specified waveview.
DISplay:WAVEView<x>:BUS:B<x>:VERTical:
POSition
Sets or queries the vertical position of the specified bus in the specified
waveview.
2-18MSO54, MSO56, MSO58, MSO58LP Programmer
Command groups
Calibration c
ommand group
The Calibration commands provide information about the current state of
instrument calibration and allow you to initiate signal path calibration (SPC).
NOTE. When r
unning SPC through the remote interface, calibration status cannot
be obtained until after the SPC completes, which can take several minutes. Any
remote command that performs an action on the oscilloscope is also disabled
until the SPC is complete.
Table 2-22: Calibration commands
Command
*CAL?Instructs the instrument to perform signal path calibration and returns the calibration
CALibrate?
CALibrate:INTERNalStarts the signal path calibration. Takes several minutes to run.
CALibrate:INTERNal:STARtStarts the signal path calibration.
CALibrate:INTERNal:STATus?Returns the status of the signal path calibration.
CALibrate:PWRUpstatus?Returns the current status of the power-up calibration.
TOUCHSCReen:CALibrate
TOUCHSCReen:STATeSets or queries the enabled state of the touch screen.
Description
status when complete. Takes several minutes to run.
Returns the calibration status.
Launches the touchscreen calibration.
MSO54, MSO56, MSO58, MSO58LP Programmer2-19
Command groups
Cursor comman
d group
Use the commands in the Cursor Command Group to control the cursor display
and readout. You can use these commands to control the setups for each cursor,
such as wavef
orm source, and cursor position.
You can also use the commands to select one of the following cursor functions:
Off. Shuts off the display of all cursors.
Vertical bars. Displays vertical bar cursors, which provide traditional
horizontal unit readouts for Cursor 1 (bar1), Cursor 2 (bar2), the delta
between them, and 1/delta (results in frequency when the horizontal unit is
time). Ve
rtical bars are another name for vertical screen cursors.
Horizontal bars. Displays horizontal bar cursors, w hich provide traditional
vertica
l unit readouts for Cursor 1 (bar1), Cursor 2 (bar2), and the delta
between them. Horizontal bars are another name for horizontal screen cursors.
Wavefo
rm cursors. Consists of two cursors you can independently assign to a
waveform. Waveform cursors enable you to conveniently measure waveform
amplitude and time at specific points on the waveform. In XY or XYZ format,
waveform cursors indicate the amplitude position of an XY pair (Ch1 vs Ch2
voltage, where Ch1 is the X axis and Ch2 is the Y axis) relative to the trigger.
Screen cursors. Consist of two pairs of horizontal and vertical bar cursors.
You can use these cursors to indicate an arbitrary position within the
waveform display area. Screen cursors are basically just turning on horizontal
s and vertical bars at the same time. These cursors have no association
bar
with any waveform, except that they inherit the color of the waveform they
are assigned to.
NOTE. Cursor commands are available once a view has been added.
Table 2-23: Cursor commands
Command
DISplay:MATHFFTView<x>:CURSor:
ASOUrce?
DISplay:MATHFFTView<x>:CURSor:
BSOUrce?
DISplay:MATHFFTView<x>:CURSor:DDT?Queries the delta V over delta T cursor readout value of the specified cursor in
DISplay:MATHFFTView<x>:CURSor:
FUNCtion
DISplay:MATHFFTView<x>:CURSor:HBArs:
APOSition
Description
Queries the cursor source for plot cursor A.
Queries the cursor source for plot cursor B.
the specified view.
Sets or queries the cursor type of the specified cursor in the s pecified view.
Sets or returns the vertical cursor A position of the specified cursor in the specified
view.
2-20MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-23: Cursor commands (cont.)
Command groups
Command
DISplay:MATHFFTView<x>:CURSor:HBArs:
AUNIts?
DISplay:MATHFFTView<x>:CURSor:HBArs:
BPOSition
DISplay:MATHFFTView<x>:CURSor:HBArs:
BUNIts?
DISplay:MATHFFTView<x>:CURSor:HBArs:
DELTa?
DISplay:MATHFFTView<x>:CURSor:MODeSets or returns the cursor tracking mode of the specified cursor in the specified view.
Sets or queries the horizontal cursor B position of the specified cursor in the
specified waveview.
Sets or queries the delta T cursor readout value of the specified cursor in the
specified waveview.
Queries cursor A vertical units of the specified cursor in the specified waveview.
Sets or queries the horizontal cursor A position of the specified cursor in the
specified waveview.
Sets or queries the horizontal cursor B position of the specified cursor in the
specified waveview.
MSO54, MSO56, MSO58, MSO58LP Programmer2-25
Command groups
Digital command group
Use the commands in the Digital Command Group to acquire up to 64 digital
signals and analyze them. Digital channels are only available when a digital
probe is attached to the super channel.
Table 2-24: Digital commands
CommandDescription
CH<x>_DALL:LABel:COLorSets or queries the color of the specified digital group label.
CH<x>_DALL:LABel:FONT:BOLDSets or queries the bold state of the specified digital group.
CH<x>_DALL:LABel:FONT:ITALicSets or queries the italic state of the specified digital group.
CH<x>_DALL:LABel:FONT:SIZESets or queries the font size of the specified digital group.
CH<x>_DALL:LABel:FONT:TYPESets or queries the font type of the specified digital group, such as Arial or Times
New Roman.
CH<x>_DALL:LABel:FONT:UNDERlineSets or queries the underline state of the specified digital group.
CH<x>_DALL:LABel:NAMeSets or queries the label of the specified digital group.
CH<x>_D<x>:LABel:COLorSets or queries the color of the label of the specified digital bit.
CH<x>_D<x>:LABel:FONT:BOLDSets or queries the bold state of the label of the specified digital bit.
CH<x>_D<x>:LABel:FONT:ITALicSets or queries the italic state of the label of the specified digital bit.
CH<x>_D<x>:LABel:FONT:SIZESets or queries the font size of the label of the specified digital bit
CH<x>_D<x>:LABel:FONT:TYPESets or queries the font type of the label of the specified digital bit,
CH<x>_D<x>:LABel:FONT:UNDERlineDets or queries the underline state of the label of the specified digital bit.
CH<x>_D<x>:LABel:NAMeSets or queries the label of the specified digital bit.
REF<x>_DALL:LABel:COLorSets or queries the color of the specified digital group.
REF<x>_DALL:LABel:FONT:BOLDSets or queries the bold state of the specified digital group.
REF<x>_DALL:LABel:FONT:ITALicSets or queries the italic state of the specified digital group.
REF<x>_DALL:LABel:FONT:SIZESets or queries the font size of the specified digital group.
REF<x>_DALL:LABel:FONT:TYPESets or queries the font type of the specified digital group.
REF<x>_DALL:LABel:FONT:UNDERlineSets or queries the underline state of the specified digital group.
REF<x>_DALL:LABel:NAMe
REF<x>_DALL:LABel:XPOSSets or queries the x-position of the label of the specified digital group.
REF<x>_DALL:LABel:YPOSSets or queries the y-position of the label of the specified digital group.
REF<x>_D<x>:LABel:COLorSets or queries the color of the label of the specified digital channel.
REF<x>_D<x>:LABel:FONT:BOLDSets or queries the bold state of the label of the specified digital bit.
REF<x>_D<x>:LABel:FONT:ITALicSets or queries the italic state of the label of the specified digital bit.
REF<x>_D<x>:LABel:FONT:SIZESets or queries the font size of the label of the specified digital bit.
REF<x>_D<x>:LABel:FONT:TYPESets or queries the font type of the label of the specified digital bit.
REF<x>_D<x>:LABel:FONT:UNDERlineSets or queries the underline state of the label of the specified digital bit.
REF<x>_D<x>:LABel:NAMe
REF<x>_D<x>:LABel:XPOSSets or queries the x-position of the label of the specified digital bit.
Sets or queries the label of the specified digital group.
Sets or queries the label of the specified digital bit.
2-26MSO54, MSO56, MSO58, MSO58LP Programmer
Command groups
Table 2-24: Digital commands (cont.)
CommandDescription
REF<x>_D<x>:LABel:YPOSSets or queries the y-position of the label of the specified digital channel.
DIGGRP<x>:D<x>:THResholdSets or queries the threshold level in volts for specified digital channel.
DIGGRP<x>:THResholdSets the digital threshold of all bits on specified digital channel group.
MSO54, MSO56, MSO58, MSO58LP Programmer2-27
Command groups
Display control command group
Display commands can be found in this section as well as the sections of related
components. These commands control general oscilloscope settings, such as the
intensity of the graticule, stacked or overlay display mode, and the fastacq color
palette. Display commands also control how and where waveforms are shown,
their posit
display commands can turn on or off the display of channels or set the selected
source.
Some actions can create a new view which can have its own settings. For example,
adding a histogram will create a new view where the Histogram plot is displayed.
Each view acts as a separate window within the oscilloscope application and can
be rearranged or annotated as desired.
A WaveView is the primary view used for viewing inputs and time-domain
signals. Buses, non-FFT maths, refs, analog and digital channels, and time-trends
are displayed in the WaveView.
A PlotView is used for viewing measurement results and other plotted data.
Histograms, eye diagrams, XY/XYZ plots, FFTs, and other plots are shown in
individual PlotViews.
ion on screen, and zoom settings applied to the view. For example,
Each of these views can have separate settings, zoom, cursors, and annotations.
Display commands which are view specifichaveaviewparameterin
the programmable interface, such as DISPLAY:WAVEView<x>: ... or
DISPLAY:PLOTView<x>: ... Selected source can also be specified on a per-view
basis. The overall selected source is determined by the selected view and the
selected source within that view.
PlotViews and WaveViews have some differences in command syntax due to
differences in view functionality. For example, WaveViews and PlotViews have
a different zoom model. The commands for specifying the zoom reflects these
differences, and different command syntax is available depending on the view.
Table 2-25: Display control commands
Command
DISplay?
DISplay:COLorsSets or queries the color mode for the graticule and waveform display.
DISplay:GLObal:B<x>:STATESets or queries the display mode (on or off) of the specified bus.
DISplay:GLObal:CH<x>:STATESets or queries the display mode (on or off) of the speci fied channel (both analog
DISplay:GLObal:MATH<x>:STATESets or queries the display mode (on or off) of the specified math.
DISplay:GLObal:PLOT<x>:STATESets or queries the display mode (on or off) of the specified time trend plot.
DISplay:GLObal:REF<x>:STATESets or queries the display mode (on or off) of the specified reference.
DISplay:INTENSITy?Returns the waveform and graticule saturation levels.
DISplay:INTENSITy:BACKLightSets or queries the waveform backlight intensity settings.
Description
Returns current display settings.
and digital).
2-28MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-25: Display control commands (cont.)
Command groups
Command
DISplay:INTENSITy:BACKLight:AUTODim:
ENAble
DISplay:INTENSITy:BACKLight:AUTODim:
TIMe
DISplay:MATHFFTView<x>:AUTOScaleSets or returns the enabled state of autoscale for plots.
DISplay:MATHFFTView<x>:GRIDlinesSets or queries the grid lines setting of the plot.
DISplay:MATHFFTView<x>:MATH:MATH<x>:
STATE
DISplay:MATHFFTView<x>:XAXIS:SCALESets or queries the x-axis scale setting for FFT Math waveforms.
DISplay:MATHFFTView<x>:YAXIS:SCALESets or queries the vertical scale setting for FFT Maths.
DISplay:PERSistenceSets or queries display persistence setting.
DISplay:PERSistence:RESETClears the persistence data.
DISplay:PLOTView<x>:AUTOScaleSets or queries the enabled state of autoscale for plots.
DISplay:PLOTView<x>:GRIDlinesSets or queries the Grid lines setting of the specified plot.
DISPLAY:PLOTV IEW<x>:XAXIS:S CALESets or queries the horizontal scale setting for applicable plot.
DISPLAY:PLOTV IEW<x>:YAXIS:SCALESets or queries the vertical scale setting for applicable plots.
DISplay:REFFFTView<x>:AUTOScaleSets or queries the enabled state of auto-scale for plots.
DISplay:REFFFTView<x>:GRIDlinesSets o r returns the grid lines setting of the plot.
DISplay:REFFFTView<x>:REF:REF<x>:
STATE
DISplay:REFFFTView<x>:XAXIS:SCALESets or queries the x-axis scale setting for REFFFT.
DISplay:SELect:BUSSets o r queries the overall selected bus.
DISplay:SELect:MATHSets o r queries the overall selected m ath.
DISplay:SELect:REFerenceSets or queries the overall selected reference waveform.
DISplay:SELect:SOUrceSets or queries the overall selected source.
DISplay:SELect:VIEWSets o r queries the selected view.
DISplay:SELect:WAVEView<x>:SOUrceSets or queries the selected source in the given waveview.
DISplay:VARpersistSets or queries the persistence decay time.
DISplay:WAVEView<x>:BUS:B<x>:STATESets or queries the state of the specified bus in the specified waveview.
DISplay:WAVEView<x>:BUS:B<x>:VERTical:
POSition
DISplay:WAVEView<x>:CH<x>:STATESets or queries the state of the specified channel in the specified waveview.
DISplay:WAVEView<x>:CH<x>:VERTical:
POSition
DISplay:WAVEView<x>:CH<x>:VERTical:
SCAle
DISplay:WAVEView<x>:CH<x>_DALL:STATESets or queries the display state of the specified digital channels in the specified
Description
Sets or queries the state of the display auto-dim feature.
Sets or queries the amount of time, in minutes, to wait for no user interface activity
before automatically dimming the display.
Sets or queries the state of the specified math waveform in the specified waveview.
Sets or queries the state of the specified reference waveform in the specified
waveview.
Sets or queries the vertical position of the specified bus in the specified waveview.
Sets or queries the vertical position f the specified channel in the specified waveview
in divisions.
Sets or queries the vertical scale of the specified channel in volts per division within
the specified waveview.
waveview.
MSO54, MSO56, MSO58, MSO58LP Programmer2-29
Command groups
Table 2-25: Display control commands (cont.)
Command
DISplay:WAVEView<x>:CH<x>_DALL:
VERTical:POSition
DISplay:WAVEView<x>:CH<x>_D<x>:STATESets or queries the display state of the specified digital channel in the specified
DISplay:WAVEView<x>:FILTerSets or queries the type of interpolation filter for the display.
DISplay:WAVEView<x>:GRAticuleSelects or queries the type of graticule that is displayed.
DISplay:WAVEView<x>:REF:REF<x>:STATESets or queries the state of the specified reference waveform in the specified
DISplay:WAVEView<x>:REF:REF<x>:
VERTical:POSition
DISplay:WAVEView<x>:REF:REF<x>:
VERTical:SCAle
DISplay:WAVEView<x>:STYleSets or queries the waveforms are displayed for analysis mode.
DISplay:WAVEView<x>:VIEWStyleSets or queries the waveform layout style used by the display.
DISPLAY:PLOTVIEW<x>:XAXIS :SCALESets or queries the horizontal scale setting for applicable plots, either Linear or Log.
DISPLAY:PLOTVIEW<x>:YAXIS:SCALESets or queries the vertical scale setting for applicable plots, either Linear or Log.
Description
Sets or queries the vertical position of the specified digital channel in the specified
waveview in divisions.
waveview.
Sets o r queries the graticule saturation level.
Sets or queries the waveform saturation level.
Sets or queries whether the specified math gets auto-scaled when the math
equation changes within the specified waveview.
Sets or queries the state of the specified math waveform in the specified waveview.
Sets or queries the vertical position in divisions of the specified math waveform.
Sets or queries the vertical scale of the specified math waveform.
Sets or queries whether the specified math gets auto-scaled when the math
equation changes within the specified waveview.
Sets or queries the state of the specified trend waveform in the specified waveview.
Sets o r queries the vertical position of the specified time trend in the specified
waveview in divisions.
Sets or queries the vertical scale of the specified time trend in volts per division in
the specified waveview.
Sets or returns the selected frame of the specified digital ref.
sets or returns the selected frame of the specified analog ref.
waveview.
Sets or queries the vertical position in divisions of the specified reference waveform.
Sets or queries the vertical scale of the specified reference waveform.
2-30MSO54, MSO56, MSO58, MSO58LP Programmer
Command groups
DVM Command Gr
oup
Use the commands in the DVM command group for Digital Voltmeter
functionality. Requires DVM option (free with product registration).
Table 2-26: DVM Command Group
CommandDescription
DVMResets the Digital Voltmeter measurements and history.
DVM:AUTORangeSets or queries the autorange state for the Digital Voltmeter.
DVM:MEASUrement:FREQuency?Returns the current frequency value for the Digital Voltmeter.
DVM:MEASUrement:HIStory:AVErage?Returns the average readout value for the Digital Voltmeter function over the history
period.
DVM:MEASUrement:HIStory:MAXimum?Returns the maximum readout value for the DVM function over the history period.
DVM:MEASUrement:HIStory:MINImum?Returns the minimum readout value for the DVM function over the history period.
DVM:MEASUrement:INFMAXimum?
DVM:MEASUrement:INFMINimum?Returns the minimum readout value of the DVM function over the entire time that
DVM:MEASUrement:VALue?
DVM:MODeSpecifies or queries the mode to use for the Digital Voltmeter.
DVM:SOUrceSets or queries the source for the Digital Voltmeter.
DVM:TRIGger:FREQuency:COUNTerSets or queries the state of the trigger frequency counter.
Returns the maximum DVM readout value over the entire time that the DVM has
been on since the last change using the DVM:MODe or DVM:SOUrce commands
or
DVM RESET.
the DVM has been on since the last change using the DVM:MODe or DVM:SOUrce
commands or
Returns the DVM readout value.
DVM RESET.
Ethernet Command Group
Use the commands in the Ethernet Command Group to set up the 10BASE-T,
100BASE-TX, 1000BASE-TX or 100BASE-T Ethernet remote interface.
Table 2-27: Ethernet Commands
CommandDescription
ETHERnet:DHCPbootpSpecifies the network initialization search for a DHCP/BOOTP server.
ETHERnet:DNS:IPADDressSpecifies the network Domain Name Server (DNS) IP address.
ETHERnet:DOMAINnameSpecifies the network domain name.
ETHERnet:ENET:ADDress?Returns the Ethernet address (MAC address) value assigned to the oscilloscope.
ETHERnet:GATEWay:IPADDressSpecifies the network gateway IP address.
ETHERnet:IPADDress
ETHERnet:LXI:LAN:RESET
ETHERnet:LXI:LAN:SERVICENAMeSpecifies the mDNS service name used for the LXI interface.
ETHERnet:LXI:LAN:STATus?
Specifies the IP address assigned to the oscilloscope.
Resets the LXI local area network.
Returns the LXI network status.
MSO54, MSO56, MSO58, MSO58LP Programmer2-31
Command groups
Table 2-27: Ethernet Commands (cont.)
CommandDescription
ETHERnet:NAME
ETHERnet:NETWORKCONFigSpecifies the Ethernet network configuration setting.
ETHERnet:PINGCauses the oscilloscope to ping the gateway IP address.
ETHERnet:PING:STATus?Returns the results from sending the ETHERnet:PING command to ping the
ETHERnet:SUBNETMaskSpecifies the network subnet mask value.
Sets or queries the instrument Ethernet hostname assigned to the oscilloscope.
gateway IP address.
2-32MSO54, MSO56, MSO58, MSO58LP Programmer
File system command group
Use the commands in the File System Command Group to help you use the
built-in hard disk drive. You can use the commands to do the following:
List the contents of the current directory
Create and delete directories
Create, copy, read, rename, or delete a file
When using these commands, keep the following points in mind:
File arguments are always enclosed within double quotes:
“C:\MYDIR\TEK00001.SET”
File names follow the MS-DOS format: [DRIVE:][\PATH\]filename
Path separators can be either forward slashes (/) or back slashes (\)
NOTE. Using a back slash as a path separator can produce some unexpected
results, depending on how your controller application treats escaped characters.
Many applications recognize the sequence of a back slash followed by an
alphabetic character as an escaped character, and, as such, interpret that
alphabetic character as a control character. For example, the sequence “\n”
might be interpreted as a newline character; “\t” might be interpreted as a tab
character. To ensure that this interpretation does not occur, you can use double
back slashes. For example, “C:\\testfile.txt”.
Command groups
Some FILESystem commands can fail because a file has read-only attributes.
You will not be able to delete or replace such files until this attribute is
removed. Refer to the operating system help on file properties for further
information.
Table 2-
Command
FILESystem?Returns the file sys tem state.
FILESystem:COPyCopies one or more files to a new file.
FILESystem:CWDSets or queries the current working directory for FILESystem commands.
FILESystem:DELEteDeletes a named file or directory.
FILESystem:DIR?Returns a list of directory contents.
FILESystem:HOMEDir?
FILESystem:LDIR?Returns a list of directory contents.
FILESystem:MKDir
FILESystem:READFileCopies the named file to the interface.
FILESystem:RENameAssigns a new name to an existing file.
28: File system commands
Descrip
Retu
Mak
tion
rns the current user's home directory.
es a new directory.
MSO54, MSO56, MSO58, MSO58LP Programmer2-33
Command groups
Table 2-28: File system commands (cont.)
Command
FILESystem:RMDir
FILESystem:UNMOUNT:DRIveUnmount the USB drive.
FILESystem:WRITEFileCopies the block data to a named file.
Description
Deletes the named directory.
2-34MSO54, MSO56, MSO58, MSO58LP Programmer
Horizontal command group
Horizontal commands control the time base of the instrument. You can set the
time per division (or time per point) of the main time base. You can use the
Horizontal commands to do the following:
Set the scale, horizontal position and reference, and units of the time base
Get the screen resolution, time of first point and time of last point, or get all
the horizontal settings
Enable or disable the display of the time base
Table 2-29: Horizontal commands
Command groups
Command
ACQuire:NUMFRAMESACQuired?Returns the number of FastFrame frames which have been acquired.
CH<x>:SCALERATioSets or returns the scale ration for the specified analog channel.
HORizontal?Queries the current horizontal settings.
HORizontal:ACQDURATION?
HORizontal:DELay:MODeSets or queries the horizontal delay mode.
HORizontal:DELay:TIMeSets or queries the horizontal delay time (position) that is used when delay is on.
HORizontal:DIVisions?Returns the number of graticule divisions over which the waveform is displayed.
HORizontal:FASTframe?Returns all information under horizontal:fastframe.
HORizontal:FASTframe:COUNtSets or returns the number of frames.
HORizontal:FASTframe:MAXFRames?Returns the maximum number of frames.
HORizontal:FASTframe:MULtipleframes:
MODe
HORizontal:FASTframe:REF:FRAmeSets or returns the reference frame number.
HORizontal:FASTframe:REF:INCLUdeSets or returns whether the reference frame delta information is shown in the display.
HORizontal:FASTframe:SELECTEDSets or returns the selected frame number for acquired frames.
HORizontal:FASTframe:STATESets or returns the state of FastFrame.
HORizontal:FASTframe:SUMFrame?Sets or returns the summary frame type.
HORizontal:FASTframe:SUMFrame:STATESets or returns the state of FastFrame summary frame.
HORizontal:FASTframe:TIMEStamp:
REFerence?
HORizontal:FASTframe:TIMEStamp:
SELECTED?
HORizontal:FASTframe:TIMEStamp:DELTa?Returns the time difference between the Selected and Reference time-stamps.
HORizontal:FASTframe:TIMEStamp:ALL?Returns the time stamp of all frames.
HORizontal:FASTframe:XZEro:ALL?Returns the sub-sample time between the trigger sample (designated by PT_OFF)
Description
Returns the time base duration.
Sets o r returns the overlay display type.
Returns the time-stamp of the FastFrame Reference frame.
Returns the time-stamp of the FastFrame Selected acquired frame.
and the occurrence of the actual trigger for the waveform specified by the
DATa:SOUrce command for all frames.
MSO54, MSO56, MSO58, MSO58LP Programmer2-35
Command groups
Table 2-29: Horizontal commands (cont.)
Command
HORizontal:FASTframe:XZEro:REF?Returns the sub-sample time between the trigger sample (designated by PT_OFF)
HORizontal:FASTframe:XZEro:SELECTED?Returns the sub-sample time between the trigger sample (designated by PT_OFF)
HORizontal:MAIn:INTERPRatio?
HORizontal:MODESets or queries the horizontal mode.
HORizontal:SCAleSets or queries the horizontal scale.
Description
and the occurrence of the actual trigger for the waveform specified by the
DATa:SOUrce command for the reference frame.
and the occurrence of the actual trigger for the waveform specified by the
DATa:SOUrce command for the selected frame.
Returns the main horizontal time base interpolation ratio.
Sets or queries the horizontal FastAcq m aximum record length.
Sets or queries the flag which allows override of the horizontal FastAcq maximum
record length.
when the sample rate is adjusted.
delay is off.
Returns the display system preview state.
Sets or queries the flag which allows o verride of the horizontal analyze minimum
sample rate.
Sets or queries the minimum sample rate used by Analysis Automatic horizontal
mode.
2-36MSO54, MSO56, MSO58, MSO58LP Programmer
Math command group
Command groups
Use the commands in the Math Command Group to create and define math
waveforms. Use the available math functions to define your math waveform.
The math waveform you create depends on sources listed in the math expression.
If you change these sources, the math waveforms you previously defined will b e
affected.
Math expressions can be simple, containing no mathematical computation, such
as CH1, which specifies that a waveform shows the signal source of channel 1.
Math expressions can also be complex, consisting of 100 plus characters and
comprisi
ng many sources, functions, and operands.
The acquisition of a live waveform can stop for several reasons: You can turn off
the chan
nel, stop the waveform (via Run/Stop from the Horiz/Acq menu), or stop
the trigger (via Run/Stop from the Trig menu). When you turn off the channel,
math continues and data is acquired but is not displayed. When you stop either the
waveform or the trigger, the math calculation s tops, and the last math calculation
performed is displayed.
When a live waveform updates or a reference waveform is altered, math
waveforms containing those waveforms as sources are also updated to refl ect the
changes. Also, sources must exist but do not need to be displayed to be used in
o update math waveforms.
and t
NOTE. Math commands are present once a math has been added.
Table 2-30: Math commands
Command
DISplay:GLObal:MATH<x>:STATESets or queries the global state of the specified math.
DISplay:SELect:MATHSets o r queries the overall selected m ath.
MATHArbflt<x>:FILepathSets the file path for a file of filter coefficients and reads the file.
MATH:DELete
MATH:LIST?Lists all currently defined math waveforms.
MATH:MATH< x>:AVG:MODESets or queries the math average mode flag.
MATH:MATH< x>:AVG:WEIGhtSets or queries the number of acquisitions at which the averaging algorithm will
Description
Sets or queries the state of the specified math waveform in the specified waveview.
Sets or queries the vertical position in divisions of the specified m ath waveform.
Sets or queries the vertical scale of the specified math waveform.
Adds the specified math.
Deletes the specified math.
begin exponential averaging.
MSO54, MSO56, MSO58, MSO58LP Programmer2-37
Command groups
Table 2-30: Math commands (cont.)
Command
MATH:MATH<x>:FUNCtionSets or queries the basic math arithmetic function.
MATH:MATH<x>:LABel:COLorSets or queries color of the specified math's label.
MATH:MATH<x>:LABel:FONT:BOLDSets or queries bold state of the specified math label.
MATH:MATH<x>:LABel:FONT:ITALicSets or queries italic state of the specified math label.
MATH:MATH<x>:LABel:FONT:SIZESets or queries font size of the specified math label.
MATH:MATH<x>:LABel:FONT:TYPESets or queries font type of the specified math label.
MATH:MATH<x>:LABel:FONT:UNDERlineSets or queries the underline state of the specified math label.
MATH:MATH<x>:LABel:XPOSSets or queries the X s creen offset where the math waveform label is displayed.
MATH:MATH<x>:LABel:YPOSSets or queries the Y s creen offset where the math waveform label is displayed.
MATH:MATH< x>:D EFine
MATH:MATH< x>:GATingSpecifies or returns the gating setting.
MATH:MATH<x>:LABel:NAMe
MATH:MATH< x>:SO Urce<x>Sets or queries the specified math source.
MATH:MATH < x>:SPECTral:HORZSets or queries the horizontal display scale of the spectral math waveform.
MATH:MATH< x>:SPECTral:MAGSets or queries the units of the SpectralMag function in the specified math definition
MATH:MATH<x>:SPECTral:PHASESets or queries the units of a SpectralPhase function in the specified math definition
MATH:MATH<x>:SPECTral:SOUrceSets or queries the specified spectral math source.
MATH:MATH<x>:SPECTral:SUPPressSets or queries whether suppression threshold for the specified m a th waveform is
MATH:MATH<x>:SPECTral:SUPPress:VALueSets or queries in volts the value of suppression threshold of the specified math
MATH:MATH< x>:SPECTral:TYPESets or queries the FFT type selected for spectral analysis.
MATH:MATH< x>:SPECTral:UNWRapSets or queries whether phase unwrap of the spectral analyzer output data is
MATH:MATH< x>:SPECTral:UNWRap:
DEGrees
MATH:MATH<x>:SPECTral:WINdowSets or queries the window function used to multiply the spectral analyzer input
MATH:MATH< x>:T YPe
MATH:MATH<x>:VUNIT
Description
Defines new waveforms using mathematical expressions.
Sets or queries the label string.
string.
string.
enabled.
waveform.
enabled.
Sets or queries in degrees the value of unwrap phase.
data for the specified math waveform.
Sets or queries the math type.
Sets or queries the math custom vertical units.
2-38MSO54, MSO56, MSO58, MSO58LP Programmer
Measurement command group
Use the commands in the Measurement Command Group to control the automated
measurement system.
Measurement commands can set and query measurement para meters. You can
assign parameters, such as waveform sources and reference levels , differently
for each measurement.
Clock recovery, edge, filter, gating, population and range measurement commands
can be either global or per-measurement.
Global clock recovery commands are of the form
:MEASUrement:CLOCKRecovery:XXXX
Global edge commands are of the form :MEASUrement:XXXX
Global filter commands are of the form :MEASUrement:FILTers:XXXX
Global gating commands are of the form :MEASUrement :GATing:XXXX
Global population commands are of the form
:MEASUrement:POPUlation:XXXX
Global range commands are of the form :M EASUrement:MEASRange:XXXX
Reference levels for measurements can be global, per-measurement
or per-source. The default is global. Per-measurement settings are
used when local reference levels are enabled for the measurement with
the command
settings are used when per-source settings are enabled with the
command
per-source settings are selected for the measurement with the command
:MEASUrement:MEAS?:GLOBalref 0.
:MEASUrement:MEAS?:GLOBalref 0.Per-source
:MEASUrement:REFLevels
:TYPE PerSource
Command groups
and
Global reference level commands are of the form
:MEASUrement:REFLevels:XXXX
Per-source reference level commands are of the form
MEASUrement:ANNOTateThis command sets or queries the annotation state for measurements.
MEASUrement:AUTOsetPerforms an analysis jitter autoset.
MEASUrement:CH<x>:REFLevels:ABSolute:
FALLHigh
MEASUrement:CH<x>:REFLevels:ABSolute:
FALLLow
Description
This command return s all measurement parameters.
This command adds a measurement.
This command sets or queries the value used as the high reference level of the falling
edge when the source ref level method is set to absolute.
This command sets or queries the value used as the low reference level of the falling
edge when the source ref level method is set to absolute.
MSO54, MSO56, MSO58, MSO58LP Programmer2-39
Command groups
Table 2-31: Measurement commands (cont.)
Command
MEASUrement:CH<x>:REFLevels:ABSolute:
FALLMid
MEASUrement:CH<x>:REFLevels:ABSolute:
HYSTeresis
MEASUrement:CH<x>:REFLevels:ABSolute:
RISEHigh
MEASUrement:CH<x>:REFLevels:ABSolute:
RISELow
MEASUrement:CH<x>:REFLevels:ABSolute:
RISEMid
MEASUrement:CH<x>:REFLevels:ABSolute:
TYPE
MEASUrement:CH<x>:REFLevels:BASETopThis command sets or queries the method used to calculate the TOP and BASE, used
MEASUrement:CH<x>:REFLevels:METHodThis command sets or queries the method used to calculate reference levels for
MEASUrement:CH<x>:REFLevels:PERCent:
FALLHigh
MEASUrement:CH<x>:REFLevels:PERCent:
FALLLow
Description
This command sets or queries the value used as the mid reference level of the falling
edge when the source ref level method is set to absolute.
This command sets or queries the value of the hysteresis of the reference level when
the source ref level method is set to absolute.
This command sets or queries the value used as the high reference level of the rising
edge when the source ref level method is set to absolute.
This command sets or queries the value used as the low reference level of the rising
edge when the source ref level method is set to absolute.
This command sets or queries the value used as the mid reference level of the rising
edge when the source ref level method is set to absolute.
This command sets or queries the reference level type for the source.
to calculate reference levels for the measurement.
the source.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the high reference level of the falling edge when
the source ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the mid reference level of the falling edge when
the source ref level method is set to percent.
MEASUrement:CH<x>:REFLevels:PERCent:
FALLMid
MEASUrement:CH<x>:REFLevels:PERCent:
HYSTeresis
MEASUrement:CH<x>:REFLevels:PERCent:
RISEHigh
MEASUrement:CH<x>:REFLevels:PERCent:
RISELow
MEASUrement:CH<x>:REFLevels:PERCent:
RISEMid
MEASUrement:CH<x>:REFLevels:PERCent:
TYPE
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the mid reference level of the falling edge when
the source ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to MAX and 0%
is equal to MIN) used to calculate the hysteresis of the reference level when the
source ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the high reference level of the rising edge when
the source ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the low reference level of the rising edge when the
source ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the mid reference level of the rising edge when
the source ref level method is set to percent.
This command specifies or queries the reference level percent type for the source.
2-40MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-31: Measurement commands (cont.)
Command groups
Command
MEASUrement:CLOCKRecovery:ADVanced:
METHod
MEASUrement:CLOCKRecovery:
CLOCKFrequency
MEASUrement:CLOCKRecovery:
CLOCKMultiplier
MEASUrement:CLOCKRecovery:
CONSTCLOCKMODe
MEASUrement:CLOCKRecovery:DAMPingThis command sets or queries the global damping value used for PLL clock recovery.
MEASUrement:CLOCKRecovery:DATAPathThis command sets or queries the global file containing the data p attern used for
MEASUrement:CLOCKRecovery:DATARateThis command sets or queries the global nominal data bit rate used for nominal data
MEASUrement:CLOCKRecovery:
EXPLICITCLOCKMODe
MEASUrement:CLOCKRecovery:JTFBandwidth This command sets or queries the global JTF bandwidth used for PLL clock recovery.
MEASUrement:CLOCKRecovery:
LOOPBandwidth
MEASUrement:CLOCKRecovery:
MEANAUTOCalculate
Description
This command sets or queries the global advanced clock recovery method.
This command sets or queries the global clock frequency used for fixed constant
clock recovery.
This command sets or queries the global clock multiplier used for explicit clock
recovery.
This command sets or queries the global constant clock mode used for constant
clock recovery.
known data pattern clock recovery.
rate clock recovery.
This command sets or queries the global explicit clock mode used for explicit clock
recovery.
This command sets or queries the global loop bandwidth used for PLL clock recovery.
This command sets or queries how often the clock is calculated for constant clock
recovery.
MEASUrement:CLOCKRecovery:METHod
MEASUrement:CLOCKRecovery:MODelThis command sets or queries the global PLL clock recovery model used for PLL
MEASUrement:MATH<x>:REFLevels:BASETopThis command sets or queries the method used to calculate the TOP and BASE used
This command sets or queries the value used as the high reference level of the falling
edge when the source ref level method is set to absolute.
This command sets or queries the value used as the low reference level of the falling
edge when the source ref level method is set to absolute.
This command sets or queries the value used as the mid reference level of the falling
edge when the source ref level method is set to absolute.
This command sets or queries the value of the hysteresis of the reference level when
the source ref level method is set to absolute.
This command sets or queries the value used as the high reference level of the rising
edge when the source ref level method is set to absolute.
This command sets or queries the value used as the low reference level of the rising
edge when the source ref level method is set to absolute.
This command sets or queries the value used as the mid reference level of the rising
edge when the source ref level method is set to absolute.
This command sets or queries the reference level type for the source.
to calculate reference levels for the source.
2-42MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-31: Measurement commands (cont.)
Command groups
Command
MEASUrement:MATH<x>:REFLevels:METHodThis command sets or queries the method used to calculate reference levels for
MEASUrement:MATH<x>:REFLevels:PERCent:
FALLHigh
MEASUrement:MATH<x>:REFLevels:PERCent:
FALLLow
MEASUrement:MATH<x>:REFLevels:PERCent:
FALLMid
MEASUrement:MATH<x>:REFLevels:PERCent:
HYSTeresis
MEASUrement:MATH<x>:REFLevels:PERCent:
RISEHigh
MEASUrement:MATH<x>:REFLevels:PERCent:
RISELow
MEASUrement:MATH<x>:REFLevels:PERCent:
RISEMid
Description
the source.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the high reference level of the falling edge when
the source ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the mid reference level of the falling edge when
the source ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the mid reference level of the falling edge when
the source ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to MAX and 0%
is equal to MIN) used to calculate the hysteresis of the reference level when the
source ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to B ASE) used to calculate the high reference level of the rising edge when
the source ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the low reference level of the rising edge when the
source ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the mid reference level of the rising edge when
the source ref level method is set to percent.
MEASUrement:MATH<x>:REFLevels:PERCent:
TYPE
MEASUrement:MEAS<x>:BERThis command sets or queries the BER value for the measurement.
MEASUrement:MEAS<x>:BER:TARGETBERThis command sets or queries the target BER value for the measurement.
MEASUrement:MEAS<x>:BINThis command sets or queries the bin count for the measurement.
MEASUrement:MEAS<x>:BITCfgmode
MEASUrement:MEAS<x>:BITEndThis command sets or queries the bit end as a percentage of the unit interval.
MEASUrement:MEAS<x>:BITPcntThis command sets or queries the bit center as a percentage of the unit interval.
MEASUrement:MEAS<x>:BITSTartThis command sets or queries the bit start as a percentage of the unit interval.
MEASUrement:MEAS<x>:BITTypeThis command sets or queries the bit type for the measurement.
MEASUrement:MEAS<x>:BURSTEDGTYPeThis command sets or queries the burst edge type for the measurement.
MEASUrement:MEAS<x>:CCRESUlts:
ALLAcqs:MAXimum?
MEASUrement:MEAS<x>:CCRESUlts:
ALLAcqs:MEAN?
This command specifies or queries the reference level percent type for the source.
This command sets or queries whether the measurement returns the mean or mode
statistic result when the measurement type is bit amplitude/high/low.
This query-only command returns the maximum cycle-cycle value for the specified
measurement for all acquisitions.
This query-only command returns the mean cycle-cycle value for the specified
measurement for all acquisitions.
This query-only command returns the minimum cycle-cycle value for the specified
measurement for all acquisitions.
This query-only command returns the peak to peak cycle-cycle statistic for the
specified measurement for all acquisitions.
This query-only command returns the population of all cycle-cycle statistics for the
specified measurement for all acquisitions accumulated since statistics were last reset.
This query-only command returns the standard deviation cycle-cycle for the specified
measurement for all acquisitions.
This query-only command returns the maximum cycle-cycle value for the specified
measurement for the current acquisition.
This query-only command returns the mean cycle-cycle value for the specified
measurement for the current acquisition.
This query-only command returns the minimum cycle-cycle value for the specified
measurement for the current acquisition.
This query-only command returns the peak to peak cycle-cycle statistic for the
specified measurement for the current acquisition.
This query-only command returns the population of the cycle-cycle statistics for the
specified measurement for the current acquisition.
This query-only command returns the standard deviation cycle-cycle for the specified
measurement for the current acquisition.
This command sets or queries the JTF bandwidth used when PLL clock recovery
is used for the measurement.
This command sets or queries the loop bandwidth used when PLL clock recovery
is used for the measurement.
This command sets or queries how often the clock is c alculated when constant clock
recovery is used for the measurement.
This command sets or queries the clock recovery method for the measurement.
This command sets or queries the PLL cloc k recovery model used when PLL clock
recovery is used for the measurement.
This command sets or queries the offset value used when explicit clock recovery
is used for the measurement.
This command sets or queries the offset type used when explicit clock recovery is
used for the measurement.
This command sets or queries the communications standard when PLL clock recovery
is used for the measurement.
This command sets or queries whether a filter is used for the measurement when the
measurement type is AC common mode.
This command sets or queries the number of sources for the measurement when the
measurement type is AC common mode.
MEASUrement:MEAS<x>:CYCLemodeThis command sets or queries the cycle mode for the measurement.
MEASUrement:MEAS<x>:DELay:EDGE<x>This command sets or queries the 'to edge' type when EDGE? is EDGE1 and the
'from edge' type when EDGE? is EDG2, for the measurement when the measurement
type is DELAY.
MEASUrement:MEAS<x>:DISPlaystat:ENABleTurns on and off the display of statistics in measurement badges.
MEASUrement:MEAS<x>:EDGE<x>This command sets or queries the type of the specified edge, rise or fall, for the
measurement.
MEASUrement:MEAS<x>:EDGEIncreThis command sets or queries the edge increment value for the measurement.
MEASUrement:MEAS<x>:EDGES:FROMLevelThis command sets or queries the 'from level' edge for the measurement.
MEASUrement:MEAS<x>:EDGES:LEVelThis sets or queries the level type for the 'time outside level' measurement.
MEASUrement:MEAS<x>:EDGES:
LOWERFREQuency
MEASUrement:MEAS<x>:EDGES:NThe command sets or queries the number of accumulation cycles for the measurement
MEASUrement:MEAS<x>:EDGES:
SLEWRATEMethod
MEASUrement:MEAS<x>:EDGES:TOLevelThis command sets or queries the 'to level' edge for the measurement.
This command sets or queries the lower frequency for the measurement when the
measurement type is phase noise. Lower frequencies are ignored.
when the measurement type is nperiod.
This command sets or queries the slew rate method for the measurement.
MSO54, MSO56, MSO58, MSO58LP Programmer2-45
Command groups
Table 2-31: Measurement commands (cont.)
Command
MEASUrement:MEAS<x>:EDGES:
UPPERFREQuency
MEASUrement:MEAS<x>:FILTers:
BLANKingtime
MEASUrement:MEAS<x>:FILTers:GLOBalThis command sets or queries the global flag for filter settings for the measurement.
MEASUrement:MEAS<x>:FILTers:HIGHPass:
FREQ
MEASUrement:MEAS<x>:FILTers:HIGHPass:
SPEC
MEASUrement:MEAS<x>:FILTers:LOWPass:
FREQ
MEASUrement:MEAS<x>:FILTers:LOWPass:
SPEC
MEASUrement:MEAS<x>:FILTers:RAMPtimeThis command sets or queries the filter ramp time for the measurement.
MEASUrement:MEAS<x>:FROMedgeThis command sets or queries the 'from edge' type for the measurement.
MEASUrement:MEAS<x>:
FROMEDGESEARCHDIRect
MEASUrement:MEAS<x>:GATingThis command sets or queries the gating type for the measurement.
MEASUrement:MEAS<x>:GATing:ACTive
Description
This command sets or queries the upper frequency for the measurement when the
measurement type is phase noise. Higher frequencies are ignored.
This command sets or queries the filter blanking time for the measurement.
This command sets or queries the high pass filter frequency for the measurement.
This command sets or queries the high pass filter order for the measurement.
This command sets or queries the low pass filter cutoff frequency for the measurement.
This command sets or queries the low pass filter order for the measurement.
This command sets or queries the 'from edge' search direction for the measurement.
This command sets or queries the gating activ e level when the gating type is logic.
MEASUrement:MEAS<x>:GATing:GLOBalThis command sets or queries the gating settings global flag.
MEASUrement:MEAS<x>:GATing:HYSTeresis
MEASUrement:MEAS<x>:GATing:
LOGICSource
MEASUrement:MEAS<x>:GATing:MIDRefThis command sets or queries the gating mid ref value when the gating type is logic.
MEASUrement:MEAS<x>:GATing:
SEARCHSource
MEASUrement:MEAS<x>:GLOBalrefThis command sets or queries the reference levels global flag for the measurement.
MEASUrement:MEAS<x>:HIGHREFVoltageThis command sets or queries the high reference voltage value for the 'time outside
MEASUrement:MEAS<x>:IDLETimeThis command sets or queries the idle time for the measurement when the
MEASUrement:MEAS<x>:JITTERSummary:
DCD
MEASUrement:MEAS<x>:JITTERSummary:
DDJ
This command sets or queries the gating hysteresis value when the gating type is
logic.
This command sets or queries the gating data source when the gating type is logic.
This command sets or queries the gating search source when the gating type is
search.
level' measurement.
measurement type is burst width.
This command sets or queries whether DCD is included in the jitter summary for
the measurement.
This command sets or queries whether DDJ is included in the jitter summary for
the measurement.
2-46MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-31: Measurement commands (cont.)
Command groups
Command
MEASUrement:MEAS<x>:JITTERSummary:
DJDD
MEASUrement:MEAS<x>:JITTERSummary:
EYEWIDTHBER
MEASUrement:MEAS<x>:JITTERSummary:
NPJ
MEASUrement:MEAS<x>:JITTERSummary:PJThis command sets or queries whether PJ is included in the jitter summary for the
MEASUrement:MEAS<x>:JITTERSummary:
RJDD
MEASUrement:MEAS<x>:JITTERSummary:TIEThis command sets or queries whether TIE is included in the jitter summary for the
MEASUrement:MEAS<x>:JITTERSummary:
TJBER
MEASUrement:MEAS<x>:LABelThis command sets or queries the label for the measurement.
MEASUrement:MEAS<x>:LOWREFVoltageThis command sets or queries the low reference voltage value for the 'time outside
MEASUrement:MEAS<x>:MEASRange:
GLOBal
Description
This command sets or queries whether DJ-dd is included in the jitter summary for
the measurement.
This command sets or queries whether EyeWidth@BER is included in the jitter
summary for the measurement.
This command sets or queries whether NPJ is included in the jitter summary for the
measurement.
measurement.
This command sets or queries whether RJ-dd is included in the jitter summary for
the measurement.
measurement.
This command sets or queries whether TJ@BER is included in the jitter summary for
the measurement.
level' measurement.
This command sets or queries the range settings global flag for the measurement.
MEASUrement:MEAS<x>:MEASRange:MAXThis command sets or queries the range maximum value for the measurement.
MEASUrement:MEAS<x>:MEASRange:MINThis command sets or queries the range minimum value for the measurement.
MEASUrement:MEAS<x>:MEASRange:STATEThis command sets or queries the range state for the measurement.
MEASUrement:MEAS<x>:
PATTERNDETECTION
MEASUrement:MEAS<x>:PATTERNLENgthThis command sets or queries the pattern length for the measurement.
MEASUrement:MEAS<x>:PATTERNTYPeThis command sets or queries the pattern type for the measurement.
MEASUrement:MEAS<x>:PERFREQ:EDGEThis command sets or queries the edge type of a Period/Frequency measurement.
MEASUrement:MEAS<x>:POLarityThis command sets or queries the polarity for the measurement when the
MEASUrement:MEAS<x>:POPUlation:GLOBalThis command sets or queries the population settings global flag.
MEASUrement:MEAS<x>:POPUlation:LIMIT:
STATE
MEASUrement:MEAS<x>:POPUlation:LIMIT:
VALue
MEASUrement:MEAS<x>:REFLevels:
ABSolute:FALLHigh
This command sets or queries the pattern detection type for the measurement.
measurement type is burst width.
This command sets or queries the population limit state for the measurement.
This command sets or queries the population limit value for the measurement.
This command sets or queries the value used as the high reference level of the falling
edge when the measurement's ref level method is set to absolute.
This command sets or queries the value used as the low reference level of the falling
edge when the measurement's ref level method is set to absolute.
This command sets or queries the value used as the mid reference level of the falling
edge when the measurement's ref level method is set to absolute.
This command sets or queries the value of the hysteresis of the reference level when
the measurement's ref level method is set to absolute.
This command sets or queries the value used as the high reference level of the rising
edge when the measurement's ref level method is set to absolute.
This command sets or queries the value used as the low reference level of the rising
edge when the measurement's ref level method is set to absolute.
This command sets or queries the value used as the mid reference level of the rising
edge when the measurement's ref level method is set to absolute.
This command sets or queries the reference level type for the measurement.
This command sets or queries the method used to calculate the TOP and BASE used
to calculate reference levels for the measurement.
This command sets or queries the method used to calculate reference levels for
the measurement.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the high reference level of the falling edge when
the m easurement's ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the low reference level of the falling edge when
the m easurement's ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the mid reference level of the falling edge when
the m easurement's ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to MAX and 0%
is equal to MIN) used to calculate the hysteresis of the reference level when the
measurement's ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the high reference level of the rising edge when
the m easurement's ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the low reference level of the rising edge when
the m easurement's ref level method is set to percent.
This command sets or queries the percentage (where 100% is equal to TOP and 0%
is equal to BASE) used to calculate the mid reference level of the rising edge when
the m easurement's ref level method is set to percent.
2-48MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-31: Measurement commands (cont.)
Command groups
Command
MEASUrement:MEAS<x>:REFLevels<x>:
PERCent:TYPE
MEASUrement:MEAS<x>:REFModeThis command sets or queries the reference level mode for the measurement.
MEASUrement:MEAS<x>:REFVoltageThis command sets or queries the reference voltage value for the m easurement.
MEASUrement:MEAS<x>:RESUlts:ALLAcqs:
MAXimum?
MEASUrement:MEAS<x>:RESUlts:ALLAcqs:
MEAN?
MEASUrement:MEAS<x>:RESUlts:ALLAcqs:
MINimum?
MEASUrement:MEAS<x>:RESUlts:ALLAcqs:
PK2PK?
MEASUrement:MEAS<x>:RESUlts:ALLAcqs:
POPUlation?
MEASUrement:MEAS<x>:RESUlts:ALLAcqs:
STDDev?
MEASUrement:MEAS<x>:RESUlts:
CURRentacq:MAXimum?
MEASUrement:MEAS<x>:RESUlts:
CURRentacq:MEAN?
Description
This command specifies or queries the reference level percent type for the
measurement.
This command is identical to that described in the DPOJet programmer manual.
This command is identical to that described in the DPOJet programmer manual.
This command is identical to that described in the DPOJet programmer manual.
This command is identical to that described in the DPOJet programmer manual.
This command is identical to that described in the DPOJet programmer manual.
This command is identical to that described in the DPOJet programmer manual.
This query-only command returns the maximum value found for the specified
measurement since the last statistical reset.
This query-only command returns the mean value for the measurement for the current
acquisition.
MEASUrement:MEAS<x>:TOEdgeThis command sets or queries the 'to edge' type for the measurement.
MEASUrement:MEAS<x>:
TOEDGESEARCHDIRect
MEASUrement:MEAS<x>:TRANSitionThis command sets or queries the transition edges flag for the measurement.
This query-only command returns the minimum value found for the specified
measurement since the last statistical reset.
This query-only command returns the peak-to-peak value for the specified
measurement for the current acquisition.
This query-only command returns the population for the specified measurement for
the current acquisition.
This query-only command returns the standard deviation for the specified
measurement for all acquisitions accumulated since statistics were last reset.
the measurement type is SSC.
This command sets or queries the frequency detection type for the measurement
when the measurement type is SSC.
This command sets or queries the 'to edge' search direction for the measurement.
MSO54, MSO56, MSO58, MSO58LP Programmer2-49
Command groups
Table 2-31: Measurement commands (cont.)
Command
MEASUrement:MEAS<x>:TYPe
MEASUrement:MEAS<x>:WINDOWLENgthThis command sets or queries the window length for the measurement.
MEASUrement:MEASRange:MAX
MEASUrement:MEASRange:MIN
MEASUrement:MEASRange:STATESets or queries the global range state.
MEASUrement:MINUIThis command sets or queries the minimum number of unit intervals required for
MEASUrement:POPUlation:LIMIT:STATE
MEASUrement:POPUlation:LIMIT:VALue
MEASUrement:REFLevels:ABSolute:FALLHighSets or queries the value used as the high reference level of the falling edge.
MEASUrement:REFLevels:ABSolute:FALLLowSets or queries the value used as the low reference level of the falling edge.
MEASUrement:REFLevels:ABSolute:FALLMidSets or queries the value used as the mid reference level of the falling edge.
MEASUrement:REFLevels:ABSolute:
HYSTeresis
MEASUrement:REFLevels:ABSolute:RISEHighSets or queries the value used as the high reference level of the rising edge.
MEASUrement:REFLevels:ABSolute:RISELowSets or queries the value used as the low reference level of the rising edge.
MEASUrement:REFLevels:ABSolute:RISEMidSets or queries the value used as the mid reference level of the rising edge.
Description
This command sets or queries the measurement type.
This command sets or queries the global range maximum value.
This command sets or queries the global range minimum value.
BUJ analysis.
This command sets or queries the global population limit state.
This command sets or queries the global population limit value.
Sets or queries the value of the hysteresis of the reference level.
MEASUrement:REFLevels:ABSolute:TYPESets or queries the reference level type.
MEASUrement:REFLevels:BASETopSets or queries the method used to calculate the TOP and BASE, used to calculate
reference levels.
MEASUrement:REFLevels:JITTERMODESets or queries how often reference levels are calculated on Jitter measurements.
MEASUrement:REFLevels:METHodSets or queries the method used to calculate reference levels.
MEASUrement:REFLevels:MODEThis command sets or queries how often reference levels are calculated.
MEASUrement:REFLevels:PERCent:FALLHighSets or queries the percentage used to calculate the high reference level of the falling
edge.
MEASUrement:REFLevels:PERCent:FALLLowSets or queries the percentage used to calculate the mid reference level of the falling
edge.
MEASUrement:REFLevels:PERCent:FALLMidSets or queries the percentage used to calculate the mid reference level of the falling
edge.
MEASUrement:REFLevels:PERCent:
HYSTeresis
MEASUrement:REFLevels:PERCent:RISEHighSets or queries the percentage used to calculate the high reference level of the r ising
MEASUrement:REFLevels:PERCent:RISELowSets or queries the percentage used to calculate the low reference level of the rising
Sets or queries the percentage used to calculate the hysteresis of the reference level.
edge.
edge.
2-50MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-31: Measurement commands (cont.)
Command groups
Command
MEASUrement:REFLevels:PERCent:RISEMidSets or queries the percentage used to calculate the mid reference level of the rising
MEASUrement:REFLevels:PERCent:TYPESets or queries the reference level percent type.
MEASUrement:REFLevels:TYPEThis command sets or queries the shared reference level method used for sources
MEASUrement:REF<x>:REFLevels:ABSolute:
FALLHigh
MEASUrement:REF<x>:REFLevels:ABSolute:
FALLLow
MEASUrement:REF<x>:REFLevels:ABSolute:
FALLMid
MEASUrement:REF<x>:REFLevels:ABSolute:
HYSTeresis
MEASUrement:REF<x>:REFLevels:ABSolute:
RISEHigh
MEASUrement:REF<x>:REFLevels:ABSolute:
RISELow
MEASUrement:REF<x>:REFLevels:ABSolute:
RISEMid
Description
edge.
of measurement calculations.
Sets or queries the value used as the high reference level of the falling edge.
Sets or queries the value used as the low reference level of the falling edge.
Sets or queries the value used as the mid reference level of the falling edge.
Sets or queries the value of the hysteresis of the reference level.
Sets or queries the value used as the high reference level of the rising edge.
Sets or queries the value used as the low reference level of the rising edge.
Sets or queries the value used as the mid reference level of the rising edge.
MEASUrement:REF<x>:REFLevels:ABSolute:
TYPE
MEASUrement:REF<x>:REFLevels:BASETopSets or queries the method used to calculate the TOP and BASE, used to calculate
MEASUrement:REF<x>:REFLevels:METHodSets or queries the method used to calculate reference levels.
MEASUrement:REF<x>:REFLevels:PERCent:
FALLHigh
MEASUrement:REF<x>:REFLevels:PERCent:
FALLLow
MEASUrement:REF<x>:REFLevels:PERCent:
FALLMid
MEASUrement:REF<x>:REFLevels:PERCent:
HYSTeresis
MEASUrement:REF<x>:REFLevels:PERCent:
RISEHigh
MEASUrement:REF<x>:REFLevels:PERCent:
RISELow
MEASUrement:REF<x>:REFLevels:PERCent:
RISEMid
Sets or queries the reference level type.
reference levels.
Sets or queries the percentage used to calculate the high reference level of the falling
edge.
Sets or queries the percentage used to calculate the low reference level of the falling
edge.
Sets or queries the percentage used to calculate the mid reference level of the falling
edge.
Sets or queries the percentage used to calculate the hysteresis of the reference level.
Sets or queries the percentage used to calculate the high reference level of the rising
edge.
Sets or queries the percentage used to calculate the low reference level of the rising
edge.
Sets or queries the percentage used to calculate the mid reference level of the rising
edge.
MSO54, MSO56, MSO58, MSO58LP Programmer2-51
Command groups
Table 2-31: Measurement commands (cont.)
Command
MEASUrement:REF<x>:REFLevels:PERCent:
TYPE
MEASUrement:STATIstics:CYCLEModeThis command sets or queries whether cycle-cycle statistics are calculated for all
Description
Sets or queries the reference l evel percent type.
measurements.
2-52MSO54, MSO56, MSO58, MSO58LP Programmer
Miscellaneous command group
Miscellaneous commands do not fit into other categories.
Several commands and queries are common to all devices. The
488.2-1987 standard defines these commands. The common commands begin
with an asterisk (*) character.
Table 2-32: Miscellaneous commands
Command groups
Command
AUTOSAVEP
AUTOSAVEUITIMEOUTSets or queries the idle time from the user interface before auto-save occurs.
AUTOsetSets the vertical, horizontal, and trigger controls of the instrument to automatically
AUXout:EDGESets or queries the direction in which the trigger output signal will transition when a
AUXout
CLEARClear
DATE?Queri
*DDTSets
FPAn
FPAnel:TURNEmulates a knob turn.
HEADer
ID?Returns identifying information about the instrument and its firmware.
*IDN?Returns the instrument identification code.
LICense?Queries all license parameters.
LICENSE:APPID?Returns a comma-separated list of the active application IDs.
LICense:COUNt?Returns a count of the number of active licenses installed.
LICense:GMT?Returns the GMT time in ISO 8601 format, the local date, 24 hour time and
LICense:HID?Returns the instrument HostID unique identifier.
LICense:INSTall
LICense:ITEM?Returns the details pertaining to a specific license.
LICense:LIST?Returns the active license nomenclatures as a comma-separated list of strings.
LICense:VALidate?Accepts a license nomenclature as an argument and returns the status of the
LIC:UNINSTALL?Returns the exit license information for the user to return to their TekAMS account.
LOCkSets o r queries the front panel lock state.
*LRN?Returns a listing of instrument settings.
NEWpass
PASSWordProvides access for changing user protected data.
ITIMEOUT
:SOUrce
el:PRESS
Description
Sets or que
occurs.
acquire and display the selected waveform.
trigge
Sets or
Turn
Sets or queries the Response Header Enable State.
time-zone offset.
Accepts a <block data> license and installs it on the instrument.
license.
Changes the password for user protected data.
ries the idle time from the programmable interface before auto-save
r occurs.
queries the trigger source at the BNC connection.
s acquisitions, measurements, and waveforms.
es the date that the instrument displays.
or queries the commands that will be executed by the group execute trigger.
s off the displayed menu.
MSO54, MSO56, MSO58, MSO58LP Programmer2-53
Command groups
Table 2-32: Miscellaneous commands (cont.)
Command
PAUSeCauses the interface to pause the specified number of seconds before processing
REM
ROSc:SOUrceSelects or queries the selected source for the time base reference oscillator.
ROSc:STATE?Returns whether the time base reference oscillator is locked.
SET?Returns a listing of instrument settings.
SOCKETServer:ENAbleEnables or disables the socket server which supports a telnet or other TCPIP socket
SOCKETServer:PORTSets the TCPIP port for the socket server connection.
SOCKETServer:PROTOColSets or queries the protocol for the socket server.
TEKSecureInitializes both waveform and setup memories.
TIMe?Queries the time displayed by the instrument.
TIMe:ZONeSets the time zone to the one specified.
TIMe:ZONe:UTCDELTaSets or queries the time zone using the difference between the desired time zone
TOTaluptime?Returns the total number of hours the oscilloscope has been turned on since the NV
TOUCHSCReen:STATeSets or queries the enabled state of the touch screen.
*TRGPerforms the group execute trigger (GET).
*TST?Tests the interface and returns status.
UNDOReverts the scope settings to a state before the previous command or user interface
UNLock
USBDevice:CONFigureUsed to configure the rear USB port to be off or enabled as a USBTMC device.
VERBose
Description
any other commands.
Specifies a comment which is ignored by the instrument.
connection to send commands and queries to the instrument.
and UTC.
memory was last programmed.
action.
Unlocks front panel.
Sets or queries the verbose state.
2-54MSO54, MSO56, MSO58, MSO58LP Programmer
Plot command group
Table 2-33: Plot commands
Command groups
Plot commands let you select the type and control the appearance of your plots.
Command
PLOT:ADDNewAdds the specified plot.
PLOT:DELeteDeletes the specified plot.
PLOT:LIST?Lists all currently defined plots.
PLOT:PLOT<x>:BATHtub:BERSets or queries the bathtub BER value.
PLOT:PLOT<x>:BATHtub:XAXISUnitsSets or queries the X-Axis unit, either unit intervals or seconds.
PLOT:PLOT<x>:LABel:COLorSets or queries the color of the specified trend label.
PLOT:PLOT<x>:LABel:FONT:BOLDSets or queries the bold state of the specified trend label.
PLOT:PLOT<x>:LABel:FONT:ITALicSets or queries the italic state of the specified trend label.
PLOT:PLOT<x>:LABel:FONT:SIZESets or queries the font size of the specified trend label.
PLOT:PLOT<x>:LABel:FONT:TYPESets or queries the font type of the specified trend label.
PLOT:PLOT<x>:LABel:FONT:UNDERlineSets or queries the underline state of the specified trend label.
PLOT:PLOT<x>:LABel:NAMeSets or queries the specified trend's label.
PLOT:PLOT<x>:LABel:XPOSSets or queries the x-position of the specified trend label.
PLOT:PLOT<x>:LABel:YPOSSets or queries the y-position of the specified trend label.
PLOT:PLOT<x>:NUMBinsSets o r queries the current histogram resolution.
PLOT:PLOT<x>:SOUrce<x>Sets or queries the measurement source.
PLOT:PLOT<x>:SPECtrum:BASESets or queries the spectrum base. Undefined for non-spectrum plots.
PLOT:PLOT<x>:SPECtrum:DYNRangeSets or queries the dynamic range value.
PLOT:PLOT<x>:TYPeSets or queries the current plot type for the selected plot.
Description
Power command group
Table 2-34: Power commands
CommandDescription
POWer:ADDNewAdds the specified power measurement badge.
POWer:DELeteDeletes the specified power measurement badge.
POWer:POWer<x>:AUTOSetExecutes power autoset for the specified power measurement badge.
POWer:POWer<x>:CYCLEAmp:
INPUTSOurce
POWer:POWer<x>:CYCLEBase:
INPUTSOurce
POWer:POWer<x>:CYCLEMAX:
INPUTSOurce
MSO54, MSO56, MSO58, MSO58LP Programmer2-55
Sets o r queries the input source for cycle amplitude measurement in the specified power
measurement badge.
Sets or queries the input source for cycle base measurement in the specified power
measurement badge.
Sets o r queries the input source for cycle maximum measurement in the specified power
measurement badge.
Command groups
Table 2-34: Power commands (cont.)
CommandDescription
POWer:POWer<x>:CYCLEMin:
INPUTSOurce
POWer:POWer<x>:CYCLEPKPK:
INPUTSOurce
POWer:POWer<x>:CYCLETop:
INPUTSOurce
POWer:POWer<x>:DIDT:
INPUTSOurce
POWer:POWer<x>:DIDT:
SOURCEEDGEType
POWer:POWer<x>:DVDT:
INPUTSOurce
POWer:POWer<x>:DVDT:
SOURCEEDGEType
POWer:POWer<x>:FREQUENCY:
EDGe
POWer:POWer<x>:FREQUENCY:
INPUTSOurce
POWer:POWer<x>:GATingSets or queries the gating type for the specified power measurement badge.
POWer:POWer<x>:GATing:
GLOBal
POWer:POWer<x>:HARMONICS:
CLASs
POWer:POWer<x>:HARMONICS:
CMEThod
POWer:POWer<x>:HARMONICS:
FUNDCURRent
POWer:POWer<x>:HARMONICS:
HORDer
POWer:POWer<x>:HARMONICS:
HSOURce
POWer:POWer<x>:HARMONICS:
IPOWer
POWer:POWer<x>:HARMONICS:
ISOURce
POWer:POWer<x>:HARMONICS:
ODDEVen
POWer:POWer<x>:HARMONICS:
PFACtor
POWer:POWer<x>:HARMONICS:
POWERRating
Sets or queries the input source for cycle minimum measurement in the specified power
measurement badge.
Sets or queries the input source for cycle peak-to-peak measurement in the specified power
measurement badge.
Sets or queries the input source for cycle top measurement in the specified power
measurement badge.
Sets or queries the input source for di/dt measurement in the specified power measurement
badge.
Sets or queries the edge type for di/dt measurement in the specified power measurement
badge.
Sets or queries the input source for dv/dt measurement in the specified power measurement
badge.
Sets or queries the edge type for dv/dt measurement in the specified power measurement
badge.
Sets or queries the edge type for frequency measurement in the specified power measurement
badge.
Sets or queries the input source for frequency measurement in the specified power
measurement badge.
Sets or queries the gating settings for the specified power measurement badge.
Sets or queries the class type for the harmonics measurement in the specified power
measurement badge.
Sets or queries the fundamental current method for the harmonics measurement in the
specified power measurement badge.
Sets or queries the fundamental current value for the harmonics measurement in the specified
power measurement badge.
Sets or queries the order value for the harmonics measurement in the specified power
measurement badge.
Sets or queries the source type for the harmonics measurement in the specified power
measurement badge.
Sets or queries the input power value for the harmonics measurement in the specified power
measurement badge.
Sets or queries the current source for SOA measurement in the speci fied power measurement
badge.
Sets or queries the harmonics value analysis format in the specified power measurement
badge.
Sets or queries the value of power factor for the harmonics measurement in the specified
power measurement badge.
Sets or queries the power level for the harmonics measurement in the specified power
measurement badge.
2-56MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-34: Power commands (cont.)
CommandDescription
POWer:POWer<x>:HARMONICS:
RCURRent
POWer:POWer<x>:HARMONICS:
STANDard
POWer:POWer<x>:HARMONICS:
UNITs
POWer:POWer<x>:HARMONICS:
VSOURce
POWer:POWer<x>:LABelSets or queries the custom name for the specified power measurement badge.
POWer:POWer<x>:LINERIPPLE:
INPUTSOurce
POWer:POWer<x>:LINERIPPLE:
LFREQuency
POWer:POWer<x>:
NDUTYCYCLE:EDGEType
POWer:POWer<x>:
NDUTYCYCLE:INPUTSOurce
POWer:POWer<x>:
NPULSEWIDTH:INPUTSOurce
POWer:POWer<x>:
PDUTYCYCLE:EDGEType
POWer:POWer<x>:
PDUTYCYCLE:INPUTSOurce
POWer:POWer<x>:PERIOD:
EDGe
POWer:POWer<x>:PERIOD:
INPUTSOurce
POWer:POWer<x>:
POWERQUALITY:CCYCles
POWer:POWer<x>:
POWERQUALITY:FREFerence
POWer:POWer<x>:
POWERQUALITY:ISOURce
POWer:POWer<x>:
POWERQUALITY:VSOURce
POWer:POWer<x>:
PPULSEWIDTH:INPUTSOurce
POWer:POWer<x>:REFLevels:
ABSolute:FALLHigh
POWer:POWer<x>:REFLevels:
ABSolute:FALLLow
Sets or queries the rated current for the harmonics measurement in the specified power
measurement badge.
Sets or queries the test mode for harmonics measurement in the specified power measurement
badge.
Sets or queries the harmonics results units in the specified power measurement badge.
Sets or queries the voltage source for SOA measurement in the s pecified power measurement
badge.
Sets or queries the input source for line ripple measurement in the specified power
measurement badge.
sSets or queries the frequency p resent for line ripple measurement in the specified power
measurement badge.
Sets o r queries the clock edge type for negative duty cycle measurement in the specified
power measurement badge.
Sets or queries the input source for negative duty cycle measurement in the specified power
measurement badge.
Sets or queries the input source for negative pulse width measurement in the specified power
measurement badge.
Sets or queries the clock edge type for positive duty cycle measurement in the specified
power measurement badge.
Sets or queries the input source for posit ive duty cycle measurement in the specified power
measurement badge.
Sets or queries the edge type for period measurement in the specified power measurement
badge.
Sets or queries the input source for period measurement in the specified power measurement
badge.
Sets or queries the calculate cycles over full cycles settings for the specified power quality
measurement badge.
Sets or queries the frequency reference type for power quality measurement in the specified
power measurement badge.
Sets o r queries the current source for power quality measurement in the specified power
measurement badge.
Sets o r queries the voltage source for power quality measurement in the specified power
measurement badge.
Sets or queries the input source for positive pulse width measurement in the specified power
measurement badge.
Sets o r queries the falling edge for high reference level in absolute units for the specified
power measurement badge.
Sets or queries the falling edge for low reference level in absolute units for the specified power
measurement badge.
Command groups
MSO54, MSO56, MSO58, MSO58LP Programmer2-57
Command groups
Table 2-34: Power commands (cont.)
CommandDescription
POWer:POWer<x>:REFLevels:
ABSolute:FALLMid
POWer:POWer<x>:REFLevels:
ABSolute:HYSTeresis
POWer:POWer<x>:REFLevels:
ABSolute:RISEHigh
POWer:POWer<x>:REFLevels:
ABSolute:RISELow
POWer:POWer<x>:REFLevels:
ABSolute:RISEMid
POWer:POWer<x>:REFLevels:
ABSolute:TYPE
POWer:POWer<x>:REFLevels:
BASETop
POWer:POWer<x>:REFLevels:
METHod
POWer:POWer<x>:REFLevels:
PERCent:FALLHigh
POWer:POWer<x>:REFLevels:
PERCent:FALLLow
POWer:POWer<x>:REFLevels:
PERCent:FALLMid
POWer:POWer<x>:REFLevels:
PERCent:HYSTeresis
POWer:POWer<x>:REFLevels:
PERCent:RISEHigh
POWer:POWer<x>:REFLevels:
PERCent:RISELow
POWer:POWer<x>:REFLevels:
PERCent:RISEMid
POWer:POWer<x>:REFLevels:
PERCent:TYPE
POWer:POWer<x>:RESUlts:
ALLAcqs:MAXimum?
POWer:POWer<x>:RESUlts:
ALLAcqs:MEAN?
POWer:POWer<x>:RESUlts:
ALLAcqs:MINimum?
POWer:POWer<x>:RESUlts:
ALLAcqs:PK2PK?
POWer:POWer<x>:RESUlts:
ALLAcqs:POPUlation?
Sets or queries the falling edge for mid reference level in absolute units for the speci fied
power measurement badge.
Sets or queries the absolute hysteresis value for the specified power measurement badge.
Sets or queries the rising edge for high reference level in absolute units for the specified
power measurement badge.
Sets or queries the rising edge for low reference level in absolute units for the specified power
measurement badge.
Sets or queries the rising edge for mid reference level in absolute units for the specified power
measurement badge.
Sets or queries the type of measurement levels when reference level is set to absolute for
the specified power measurement badge.
Sets or queries the reference level base top method for the specified power measurement
badge.
Sets or queries the method to configure reference level values for the specified power
measurement badge.
Sets or queries the falling edge for high reference level in percentage for the specified power
measurement badge.
Sets or queries the falling edge for low reference level in percentage for the specified power
measurement badge.
Sets or queries the falling edge for mid reference level in percentage for the specified power
measurement badge.
Sets or queries the hysteresis in percentage for the specified power measurement badge.
Sets or queries the rising edge for high reference level in percentage for the specified power
measurement badge.
Sets or queries the rising edge for low reference level in percentage for the specified power
measurement badge.
Sets or queries the rising edge for mid reference level in percentage for the specified power
measurement badge.
Sets or queries the reference levels for the specified power measurement badge.
Queries the maximum value of all acquisitions for the measurement parameter in the s pecified
power measurement badge.
Queries the mean value of all acquisitions for the measurement parameter in the specified
power measurement badge.
Queries the minimum value of all acquisitions for the measurement parameter in the specified
power measurement badge.
Queries the peak-to-peak value of all acquisitions for the measurement parameter in the
specified power measurement badge.
Queries the population (number of complete cycles) of all acquisitions for the measurement
parameter in the specified power measurement badge.
2-58MSO54, MSO56, MSO58, MSO58LP Programmer
Command groups
Table 2-34: Power commands (cont.)
CommandDescription
POWer:POWer<x>:RESUlts:
ALLAcqs:STDDev?
POWer:POWer<x>:RESUlts:
CURRentacq:F1MAG?
POWer:POWer<x>:RESUlts:
CURRentacq:F3MAG?
POWer:POWer<x>:RESUlts:
CURRentacq:FREQUENCY?
POWer:POWer<x>:RESUlts:
CURRentacq:IRMS?
POWer:POWer<x>:RESUlts:
CURRentacq:MAXimum?
POWer:POWer<x>:RESUlts:
CURRentacq:MEAN?
POWer:POWer<x>:RESUlts:
CURRentacq:MINimum?
POWer:POWer<x>:RESUlts:
CURRentacq:PK2PK?
POWer:POWer<x>:RESUlts:
CURRentacq:POHCL?
POWer:POWer<x>:RESUlts:
CURRentacq:POHCM?
POWer:POWer<x>:RESUlts:
CURRentacq:POHCS?
POWer:POWer<x>:RESUlts:
CURRentacq:POPUlation?
POWer:POWer<x>:RESUlts:
CURRentacq:RMS?
POWer:POWer<x>:RESUlts:
CURRentacq:STATUS?
POWer:POWer<x>:RESUlts:
CURRentacq:STDDev?
POWer:POWer<x>:RESUlts:
CURRentacq:THDF?
POWer:POWer<x>:RESUlts:
CURRentacq:THDR?
POWer:POWer<x>:RESUlts:
CURRentacq:TRPWR?
POWer:POWer<x>:RESUlts:
CURRentacq:VRMS?
POWer:POWer<x>:SOA:ISOURceSets or queries the current source for SOA measurement in the specified power measurement
Queries the standard deviation value of all acquisitions for the measurement parameter in
the specified power measurement badge.
Queries the first harmonics magnitude value for the specified power measurement badge.
Queries the third harmonics magnitude value for the specified power measurement badge.
Queries the fundamental frequency for the specified power measurement badge.
Queries the RMS current value for the specified power measurement badge.
Queries the maximum value of the current acquisition for the measurement parameter in
the specified power measurement badge.
Queries the mean value of the current acquisition for the measurement parameter in the
specified power m easurement badge.
Queries the minimum value of the current acquisition for the measurement parameter in the
specified power m easurement badge.
Queries the peak-to-peak value of the current acquisition for the measurement parameter in
the specified power measurement badge.
Queries the limit of partial odd harmonic current for the specified power measurement badge.
Queries the measured value of partial odd harmonic current for the specified power
measurement badge.
Queries the status of partial odd harmonic current for the specified power measurement badge.
Queries the population (number of complete cycles) of the current acquisition for the
measurement parameter in the specified power measurement badge.
Queries the RMS value of the source selected for the specified power measurement badge.
Queries the status of the measurement for the specified power measurement badge.
Queries the standard deviation value of the current acquisition for the measurement parameter
in the specified power measurement badge.
Queries the total harmonic distortion (fundamental) value for the specified power measurement
badge.
Queries the total harmonic distortion (RMS) value for the specified power measurement badge.
Queries the true power value for the specified power measurement badge.
Queries the RMS voltage value for the specified power measurement badge.
badge.
MSO54, MSO56, MSO58, MSO58LP Programmer2-59
Command groups
Table 2-34: Power commands (cont.)
CommandDescription
POWer:POWer<x>:SOA:POINTSets or queries the Y co-ordinate value for SOA mask.
POWer:POWer<x>:SOA:POINTSets or queries the X co-ordinate value for SOA mask.
POWer:POWer<x>:SOA:
RECAllmask
POWer:POWer<x>:SOA:
RECAllmask:FILEName
POWer:POWer<x>:SOA:
SAVemask
POWer:POWer<x>:SOA:
SAVemask:AUTOINCrement
POWer:POWer<x>:SOA:
SAVemask:FILEName
POWer:POWer<x>:SOA:
SAVemask:FOLDer
POWer:POWer<x>:SOA:
VSOURce
POWer:POWer<x>:
SWITCHINGLOSS:DEVICEType
POWer:POWer<x>:
SWITCHINGLOSS:GATESOurce
POWer:POWer<x>:
SWITCHINGLOSS:ILEVELAbs
POWer:POWer<x>:
SWITCHINGLOSS:ILEVELPct
POWer:POWer<x>:
SWITCHINGLOSS:ISOURce
POWer:POWer<x>:
SWITCHINGLOSS:LEVELUNIts
POWer:POWer<x>:
SWITCHINGLOSS:RDSOn
POWer:POWer<x>:
SWITCHINGLOSS:
SWLCONFIGType
POWer:POWer<x>:
SWITCHINGLOSS:VCESat
POWer:POWer<x>:
SWITCHINGLOSS:VGLevel
POWer:POWer<x>:
SWITCHINGLOSS:VLEVELAbs
POWer:POWer<x>:
SWITCHINGLOSS:VLEVELPct
Recalls or queries the recall mask file name in the specified power measurement badge.
Sets or queries the file name for saving SOA mask file name in the specified power
measurement badge.
Saves the m a sk file as per the name configured and at the configured path or queries the mask
file name, path, and file type for the SOA measurement in the s pecified power measurement
badge.
Sets or queries the state of auto-increment for saved SOA mask file names in the specified
power measurement badge.
Sets or queries the mask file name for SOA measurement in the specified power measurement
badge.
Sets or queries the mask file folder path for SOA measurement in the specified power
measurement badge.
Sets or queries the voltage source for SOA measurement in the specified power measurement
badge.
Sets or queries the conduction calculation method for switching loss measurement in the
specified power measurement badge.
Sets or queries the gate voltage (Vg) for the switching loss measurement in the specified
power measurement badge.
Sets or queries the current level (Ton-Start & Stop) in absolute units for switching loss
measurement in the specified power measurement badge.
Sets or queries the current level (Ton-Start & Stop) in percentage for switching loss
measurement in the specified power measurement badge.
Sets or queries the current source for the switching loss measurement in the specified power
measurement badge.
Sets or queries the level units for switching loss measurement in the specified power
measurement badge.
Sets or queries the RDS(on) value for switching loss measurement in the specified power
measurement badge.
Sets or queries the configuration type for the switching loss measurement in the specified
power measurement badge.
Sets or queries the value for the VCE(sat) value for switching loss measurement in the
specified power measurement badge.
Sets or queries the gate voltage value (VgLevel Ton-Start) for the switching loss measurement
in the specified power measurement badge.
Sets or queries the voltage level (Ton-Start & Stop) in absolute units for switching loss
measurement in the specified power measurement badge.
Sets or queries the voltage level (Ton-Start & Stop) in percentage for switching loss
measurement in the specified power measurement badge.
2-60MSO54, MSO56, MSO58, MSO58LP Programmer
Command groups
Table 2-34: Power commands (cont.)
CommandDescription
POWer:POWer<x>:
SWITCHINGLOSS:VSOURce
POWer:POWer<x>:
SWITCHINGRIPPLE:
INPUTSOurce
POWer:POWer<x>:
SWITCHINGRIPPLE:
LFREQuency
POWer:POWer<x>:TYPeSets or queries the measurement type for the specified power measurement badge.
POWERTABle:ADDNew
POWERTABle:DELete
POWERTABle:LIST?Lsts all defined power harmonics table.
Sets or queries the voltage source for the switching loss measurement in the s pecified power
measurement badge.
Sets o r queries the input source for s witching ripple measurement in the specified power
measurement badge.
Sets o r queries the switching frequency for switching ripple measurement in the specified
power measurement badge.
Adds the power harmonics table.
Deletes the power harmonics table.
MSO54, MSO56, MSO58, MSO58LP Programmer2-61
Command groups
Save and Recal
l command group
UsethecommandsintheSaveandRecallCommand Group to store and retrieve
internal waveforms and settings. When you save a setup, you save all the settings
of the instru
ment. When you recall a setup, the instrument restores itself to the
state that it was in when you originally saved that setting.
Table 2-35: Save and Recall commands
Command
FACtoryResets the instrument to factory default settings.
RECAll:SESsionRestores the state of the instrument from a saved session file.
RECAll:SETUp
RECAll:WAVEformRecalls a stored waveform to a reference memory location.
SAVe:EVENTtable:BUSSaves bus results table to the specified file.
SAVe:EVENTtable:MEASUrementSaves data (measurement) results to the specified file.
SAVe:IMAGeSaves a capture of the screen contents to the specified image file.
SAVe:REPOrtSaves a report to the specified file or, if no argument is specified, uses the folder
:REPOrt:COMMents
SAVe
e:SESsion
SAV
SAVe:SETUpSaves the current instrument state to the specified file.
SAVe:SETUp:INCLUDEREFsSets or queries whether displayed reference waveforms are to be included in saved
SAVe:WAVEformSaves the specified waveform(s) to the specified destination file(s).
SAVe:WAVEform:SOURCELIst?Returns a list of the available waveforms that can be specified as the source for
Description
Recalls s aved instrument settings.
le name specified by the related commands.
and fi
or queries the comments to be included in saved report files.
Sets
es the state of the instrument, including reference waveforms, to a saved
Sav
session file.
setups.
the SAVe:WAVEform command.
2-62MSO54, MSO56, MSO58, MSO58LP Programmer
Command groups
Save On comman
dGroup
Use this group of commands to program the oscilloscope to save images,
measurements, waveforms, or the instrument setup, on triggers that you select.
Table 2-36:
Command
SAVEON:FILE:DESTSets or queries the location where files are saved.
SAVEON:FILE:NAMESets or queries the file name to use when SAVEON:TRIGer is ON.
SAVEON:IMAGe:FILEFormatSets or queries the file format to be used for saved image files.
SAVEON:IMAGeSets or queries whether to save a screen capture when a trigger occurs.
SAVEON:TRIGgerSets or queries whether to save a file when a trigger occurs.
SAVEON:WAVEformSets or queries whether to save a waveform when a limit test failure, mask failure,
SAVEON:WAVEform:FILEFormatSets or queries the file format for saving waveform.
SAVEON:WAVEform:SOURceSets or queries the sources for saving waveforms.
Save On commands
Descriptio
or trigger occurs.
n
MSO54, MSO56, MSO58, MSO58LP Programmer2-63
Command groups
Search and Mar
k command group
Use search and mark commands to seek out and identify information in waveform
records that warrant further investigation.
Table 2-37:
Command
SEARCH:ADDNewAdds the specified search.
SEARCH:DELeteDeletes the specified search.
SEARCH:LIST?Lists all currently defined searches.
SEARCH:SEARCH<x>:COPyCopies the search criteria to or from the trigger.
SEARCH:SEARCH<x>:NAVigateSets the navigation action for search marks.
SEARCH:SEARCH<x>:TOTAL?Queries the total number of found search marks for this search.
Sets or queries the value of the status word service r equest bit (SRQ bit, bit 11) in
a status word for a M IL-S TD-1553 bus to search on.
Sets or queries the value of the broadcast command received bit (BCR bit, bit 15) in
a status word for a M IL-S TD-1553 bus to search on.
Sets or queries the value of the busy bit (BUSY bit, bit 16) in a status word for a
MIL-STD-1553 bus to search on.
Ssets or queries the value of the subsystem flag bit (SUBSF bit, bit 17) in a status
word for a MIL-STD-1553 bus to search on.
Sets or queries the value of the dynamic bus control acceptance bit (DBCA b it, bit
18) in a status word for a MIL-STD-1553 bus to search on.
Sets or queries the value of the terminal flag bit (TF bit, bit 19) in a status word
for a MIL-STD-1553 bus to search on.
Sets or queries the data value for a parallel bus trigger search to determine where
to place a mark.
Sets or queries the data string value for the specified RS232c bus trigger search to
determine where to place a mark.
Sets or queries the condition for an RS232C bus search to determine where to
place a mark.
Sets or queries the length of the data string in bytes to be used for an RS232 bus
search to determine where to place a mark when the search condition is Data.
Sets or queries the bus source for the specified bus trigger search to determine
wheretoplaceamark.
Sets o r queries the trigger condition for the specified SPI bus trigger search to
determine where to place a mark.
Sets or queries the length o f the data string in bytes used for the specified SPI bus
trigger search to determine where to place a mark.
Sets or queries the data value of the data token for the specified SPI bus trigger
search to determine where to place a mark.
Sets or queries the address value for normal token to be used with In Range and
Out of Range qualifiers for the specified USB bus trigger search to determine
wheretoplaceamark.
Sets or queries the address value for normal token for the specified USB bus trigger
search to determine where to place a mark.
Sets or queries the search condition for the specified USB bus trigger search to
determine where to place a mark.
Sets or queries the data value for data token used with In Range and Out of Range
qualifiers for the specified USB bus trigger search to determine where to place
amark.
Sets or queries data offset for the specified USB bus trigger search to determine
wheretoplaceamark.
Sets o r queries the length of the data string in bytes for the specified USB bus
trigger search to determine where to place a mark.
SEARCH:SELectedSets or queries the selected search.
Description
Sets whether or not to use l ogic qualification for a timeout search.
Sets or queries the polarity to be used for a Timeout search.
Sets and queries the source for timeout search input.
Sets or queries the source threshold level for a timeout trigger search to determine
wheretoplaceamark.
Specifies whether or not to use logic qualification for a transition search.
Specifies the polarity for the transition search.
Sets and queries the source for the transition search input.
Sets or queries the source threshold HIGH level for a transition trigger search to
determine where to place a mark.
Sets or queries the source threshold LOW level for a transition trigger search to
determine where to place a mark.
Sets or queries the window trigger threshold crossing of the selected trigger Source.
Specifies or queries whether or not to use logic qualification for a window search.
Sets or queries the window trigger threshold crossing of the selected trigger Source.
Sets and queries the source for the window search input.
Sets or queries the source threshold HIGH level for a transition trigger search to
determine where to place a mark.
Sets or queries the source threshold LOW level for a transition trigger search to
determine where to place a mark.
Sets or queries the window search event.
MSO54, MSO56, MSO58, MSO58LP Programmer2-73
Command groups
Self Test comm
and group
The Self Test commands control the selection and execution of diagnostic tests.
Table 2-38: Self Test commands
Command
DIAg:LOOP:OPTionSets or queries the type of looping desired.
DIAg:LOOP:OPTion:NTIMesSets or queries how many loops to run.
DIAg:LOOP:STOPStops diagnostics looping.
DIAg:MODeSets or queries the diagnostics mode.
DIAg:RESUlt?
DIAg:RESUlt:FLAg?Returns the status of the diagnostics (single area).
DIAg:RESUlt:LOG?Returns the status of the diagnostic area.
DIAg:SELectSelects or queries an available diagnostic area.
DIAg:STATESets the instrument operating state.
TOUCHSCReen:CALibrateStarts the touchscreen calibration procedure.
Description
Returns the diagnostics results.
2-74MSO54, MSO56, MSO58, MSO58LP Programmer
Command groups
Status and Err
or command group
Use the commands in the Status and Error command Group to determine the
status of the instrument and control events.
Several commands and queries used with the instrument are common to all
devices. The IEEE Std 488.2-1987 defines these commands and queries. The
common comm
ands begin with an asterisk (*) character.
Table 2-39: Status and Error commands
Command
ALLEv?
BUSY?
*CLSClears status.
DESESets or queries the bits in the Device Event Status Enable Register.
*ESESets or queries the bits in the Event Status Enable Register.
*ESR?Returns the contents of the Standard Event Status Register.
EVENT?Returns event code from the event queue.
EVMsg?Returns event code, message from the event queue.
EVQty?Returns number of events that are enabled in the queue.
*OPCGenerates the operation complete message in the standard event status register
*OPT?Returns a comma separated list of installed options as an arbitrary ASCII string
*PSCSets or queries the power on status flag.
*PUDSets or queries a string of protected user data.
*RSTResets the instrument to factory default settings.
*SRESets or queries the bits in the Service Request Enable Register.
*STB?Returns the contents of the S tatus Byte Register.
*WAIPrevents the instrument from executing further commands until all pending
Description
Returns a ll events and their messages.
Returns instrument status.
when all pending operations are finished
Or returns “1” when all current operations are finished.
(no quotes).
operations finish.
MSO54, MSO56, MSO58, MSO58LP Programmer2-75
Command groups
Trigger command group
Table 2-40: Trigger commands
Use the commands in the Trigger Command Group to control all aspects of
triggering for the instrument.
There are two triggers: A and B. Where appropriate, the command set has parallel
constructions for each trigger.
You can set the A or B triggers to edge mode. Edge triggering lets you display
a waveform at or near the p oint where the signal passes through a voltage level
of your choosing.
You can also set A or B triggers to pulse or logic modes. With pulse triggering,
the instrument triggers whenever it detects a pulse of a certain width or height.
Logic triggering lets you logically combine the signals on one or more channels.
The instrument then triggers when it detects a certain combination of signal levels.
The trigger types of Pulse Width, Timeout, Runt, Window, and Rise/Fall Time can
be further qualified by a logic pattern. This is referred to a s logic qualification.
Command
TRIGgerForces a trigger event to occur or returns current trigger parameters for the
TRIGger:{A|B}:BUS:B<x>:ARINC429A:
CONDition
TRIGger:{A|B}:BUS:B<x>:ARINC429A:
ERRTYPe
TRIGger:{A|B}:BUS:B<x>:ARINC429A:
LABel:QUALifier
TRIGger:{A|B}:BUS:B<x>:ARINC429A:
LABel:VALue
TRIGger:{A|B}:BUS:B<x>:ARINC429A:
LABel:HIVALue
TRIGger:{A|B}:BUS:B<x>:ARINC429A:SDI:
VALue
TRIGger:{A|B}:BUS:B<x>:ARINC429A:SSM:
VALue
TRIGger:{A|B}:BUS:B<x>:ARINC429A:DATa:
QUALifier
TRIGger:{A|B}:BUS:B<x>:ARINC429A:DATa:
VALue
TRIGger:{A|B}:BUS:B<x>:ARINC429A:DATa:
HIVALue
TRIGger:{A|B}:BUS:B<x>:AUDio:CONDitionSets the condition (word select, start o f frame, or matching data) to be used when
TRIGger:{A|B}:BUS:B<x>:AUDio:DATa:
HIVALue
Description
instrument.
Specifies a field or condition for an ARINC429 bus to trigger on.
Sets or queries the error type when triggering on an ARINC429 bus signal.
Sets or queries the qualifier to be used when triggering on label data for an
ARINC429 bus signal.
Sets or queries the low value when triggering on an ARINC429 label field.
Sets or queries the high value when triggering on an ARINC429 label field.
sSets or queries the when triggering on an ARINC429 SDI field.
Sets or queries the when triggering on an ARINC429 SSM field.
Sets or queries the qualifier to be used when triggering on data in the DATA field
for an ARINC429 bus signal.
Sets or queries the low value when triggering on an ARINC429 data field.
Sets or queries the high value when trigger on an ARINC429 data field.
triggering on an audio bus signal.
Sets the upper word value to be used when triggering on an audio bus signal.
2-76MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-40: Trigger commands (cont.)
Command groups
Command
TRIGger:{A|B}:BUS:B<x>:AUDio:DATa:
HITDMVALue
TRIGger:{A|B}:BUS:B<x>:AUDio:DATa:
OFFSet
TRIGger:{A|B}:BUS:B<x>:AUDio:DATa:
QUALifier
TRIGger:{A|B}:BUS:B<x>:AUDio:DATa:
TDMVALue
TRIGger:{A|B}:BUS:B<x>:AUDio:DATa:
VALue
TRIGger:{A|B}:BUS:B<x>:AUDio:DATa:
WORD
TRIGger:{A|B}:BUS:B<x>:CAN:CONDitionSets the condition (start of frame, frame type, identifier, matching data, EOF, missing
TRIGger:{A|B}:BUS:B<x>:CAN:DATa:
DIRection
TRIGger:{A|B}:BUS:B<x>:CAN:DATa:
OFFSet
TRIGger:{A|B}:BUS:B<x>:CAN:DATa:
QUALifier
TRIGger:{A|B}:BUS:B<x>:CAN:DATa:SIZeSets the length of the data string, in bytes, to be used when triggering on a CAN
TRIGger:{A|B}:BUS:B<x>:CAN:DATa:VALueSets the binary data v alue to be used when triggering on a CAN bus signal.
TRIGger:{A|B}:BUS:B<x>:CAN:ERRTypeSets or queries the type of error condition for a CAN bus to triggering on.
TRIGger:{A|B}:BUS:B<x>:CAN:FD:BRSBitSets or queries the value of the bit rate switch bit (BRS bit) for a CAN bus to
TRIGger:{A|B}:BUS:B<x>:CAN:FD:ESIBitSets or queries the value of the error state indicator bit (ESI bit) for a CAN bus to
TRIGger:{A|B}:BUS:B<x>:CAN:FRAMEtypeSets the frame type (data, remote, error or overload) to be used when triggering on
TRIGger:{A|B}:BUS:B<x>:CAN:IDentifier:
MODe
TRIGger:{A|B}:BUS:B<x>:CAN:IDentifier:
VALue
TRIGger:{A|B}:BUS:B<x>:ETHERnet:
CONDition
TRIGger:{A|B}:BUS:B<x>:ETHERnet:DATa:
HIVALue
TRIGger:{A|B}:BUS:B<x>:ETHERnet:DATa:
OFFSet
TRIGger:{A|B}:BUS:B<x>:ETHERnet:DATa:
QUALifier
Description
Sets or queries the binary data string for the high data word to be used when
triggering on an TDM audio bus signal.
Sets the data offset value to be used when triggering on an audio bus signal.
Sets the qualifier (<, >, =, <=, >=, not =, in range, out of range) to be used when
triggering on an audio bus signal.
Sets or queries the binary data s tring for the single or low data word to be used w hen
triggering on an TDM audio bus signal.
Sets the lower word value to be used when triggering on an audio bus signal.
Sets the alignment of the data (left, right or either) to be used to trigger on an
audio bus signal.
ACK field, bit-stuffing error) to be used when triggering on a CAN bus signal.
Sets the data direction (read, write or “nocare”) to be used to search on a CAN
bus signal.
Sets or queries the data offset value, in bytes, to use when triggering on the CAN
data field.
Sets the qualifier (<, >, =, not =, <=, >=) to be used when triggering on a CAN bus
signal.
bus signal.
triggering on.
triggering on.
a CAN bus signal.
Sets the addressing mode (standard or extended format) to be used when triggering
on a CAN bus signal.
Sets the binary address value to be used when triggering on a CAN bus signal.
Specifies a field or condition within an Ethernet frame to trigger on.
When the Ethernet trigger condition is set to DATa, and the qualifier is set to either
INrange orOUTrange, this command specifies the upper data value of the range.
When the Ethernet trigger condition is set to DA Ta, this command specifies where in
the data field to look for the data trigger value.
Sets or queries the qualifier to be used when triggering on an Ethernet bus signal.
When the Ethernet trigger condition is set to DATa, this command specifies the
number of contiguous TCP/IPv4/MAC client data bytes to trigger on.
When the Ethernet trigger condition is set to DATa, and the quali fier is set
to
LESSthan, MOREthan, EQual, UNE Qual, LESSEQual or
MOREEQual, this c ommand specifies the value to trigger on.
When the Ethernet trigger condition is set to IPHeader, this command specifies
the value of the 32–bit destination address that is to be used in the trigger.
When the Ethernet trigger condition is set to IPHeader, this command specifies
the value of the 8–bit protocol field that is to be used in the trigger.
When the Ethernet trigger condition is set to IPHeader, this command specifies
the value of the 32-bit source address that is to be used in the trigger.
When the Ethernet trigger condition is set to MACADDress, this command specifies
the 48–bit MAC destination address that is to be used in the trigger.
When the Ethernet trigger condition is set to MACADDress, this command specifies
the 48–bit MAC source address value that is to be used in the trigger.
When the Ethernet trigger condition is set to MACLENgth, and the qualifier is set to
INrange or OUTrange, this command specifies the upper data value of the range.
When the Ethernet trigger condition is set to MACLENgth, and the qualifier
is set to
MOREEQual, this command specifies the 16–bit value to trigger on.
LESSthan, MOREthan, EQual, UNEQual, LESSEQual or
When the Ethernet trigger condition is set to QTAG, this command specifies the
32-bit Q-Tag value to trigger on.
When the Ethernet trigger condition is set to TCPHeader, this command specifies
the 32–bit acknowledgement number that is to be used in the trigger.
When the Ethernet trigger condition is set TCPHeader, this command specifies the
16–bit destination port address value that is to be used in the trigger.
When the Ethernet trigger condition is set to TCPHeader, this command specifies
the 32–bit sequence number that is to be used in the trigger.
When the Ethernet trigger condition is set to TCPHeader, this command specifies
the 16–bit source port address that is to be used in the trigger.
Specifies the condition to use when triggering on a FlexRay bus signal (start of
frame, frame type, ID, cycle count, header, data, ID and data, EOF, error).
Specifies the high value when triggering on a FlexRay bus cycle count field.
Specifies the qualifier (<, >, =, <=, >=, ≠, in range, out of range) to use when
triggering on the FlexRay bus cycle count field.
Specifies the low value when triggering on the FlexRay bus cycle count field.
Specifies the high value when triggering on the FlexRay bus data field.
Specifies the offset of the data string, in bytes, when triggering on the FlexRay
bus data field.
2-78MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-40: Trigger commands (cont.)
Command groups
Command
TRIGger:{A|B}:BUS:B<x>:FLEXray:DATa:
QUALifier
TRIGger:{A|B}:BUS:B<x>:FLEXray:DATa:
SIZe
TRIGger:{A|B}:BUS:B<x>:FLEXray:DATa:
VALue
TRIGger:{A|B}:BUS:B<x>:FLEXray:
EOFTYPE
TRIGger:{A|B}:BUS:B<x>:FLEXray:
ERRTYPE
TRIGger:{A|B}:BUS:B<x>:FLEXray:
FRAMEID:HIVALue
TRIGger:{A|B}:BUS:B<x>:FLEXray:
FRAMEID:QUALifier
TRIGger:{A|B}:BUS:B<x>:FLEXray:
FRAMEID:VALue
TRIGger:{A|B}:BUS:B<x>:FLEXray:
FRAMEType
TRIGger:{A|B}:BUS:B<x>:FLEXray:
HEADER:CRC
TRIGger:{A|B}:BUS:B<x>:FLEXray:
HEADER:CYCLEcount
TRIGger:{A|B}:BUS:B<x>:FLEXray:
HEADER:FRAMEID
TRIGger:{A|B}:BUS:B<x>:FLEXray:
HEADER:INDBits
TRIGger:{A|B}:BUS:B<x>:FLEXray:
HEADER:PAYLength
TRIGger:{A|B}:BUS:B<x>:I2C:ADDRess:
MODe
TRIGger:{A|B}:BUS:B<x>:I2C:ADDRess:
VALue
TRIGger:{A|B}:BUS:B<x>:I2C:CONDitionSpecifies the trigger condition for an I2C trigger.
TRIGger:{A|B}:BUS:B<x>:I2C:DATa:
DIRection
TRIGger:{A|B}:BUS:B<x>:I2C:DATa:SIZeSpecifies the length of the data string in bytes to be used for an I2C trigger if the
TRIGger:{A|B}:BUS:B<x>:I2C:DATa:VALueSpecifies the binary data string used for I2C triggering if the trigger condition is
TRIGger:{A|B}:BUS:B<x>:LIN:CONDitionSpecifies the trigger condition for LIN.
TRIGger:{A|B}:BUS:B<x>:LIN:DATa:HIVALueSpecifies the high data value string used for a LIN bus trigger when the trigger
Description
Specifies the qualifier (<, >, =, <=, >=, ≠, in range, out of range) to use when
triggering on the FlexRay bus data field.
Specifies the length of the data string, in bytes, when triggering on the FlexRay
bus data field.
Specifies the low value when triggering on the FlexRay bus data field.
Specifies the end of file type (static, dynamic or any) when triggering on the FlexRay
bus EOF field.
Specifies the error type when triggering on the FlexRay bus signal.
Specifies the high value when triggering on the FlexRay bus frame ID field.
Specifies the qualifier to use when triggering on the FlexRay bus frame ID field.
Specifies the low value when triggering on the FlexRay bus frame ID field.
Specifies the frame type (normal, payload, null, sync or startup) when triggering on
the FlexRay bus signal.
Specifies the CRC portion of the binary header string when triggering on the FlexRay
bus signal.
Specifies the cycle count portion of the binary header string when triggering on
the FlexRay bus header.
Specifies the frame ID portion of the binary header string when triggering on the
FlexRay bus header.
Specifies the indicator bits portion of the binary header string when triggering on
the FlexRay bus header.
Specifies the payload length portion of the binary header string when triggering on
the FlexRay bus header.
Specifies the I2C address mode to 7 or 10-bit.
Specifies the binary address string used for the I2C trigger if the trigger condition is
ADDRESS or ADDRANDDATA.
Specifies the I2C trigger type to be valid on a Read, Write, or No Care condition.
trigger condition is DATA or ADDRANDDATA.
DATA or ADDRANDDATA.
condition is DATA or IDANDDATA and the data qualifier is INRA NGE or OUTRANGE.
MSO54, MSO56, MSO58, MSO58LP Programmer2-79
Command groups
Table 2-40: Trigger commands (cont.)
Command
TRIGger:{A|B}:BUS:B<x>:LIN:DATa:
QUALifier
TRIGger:{A|B}:BUS:B<x>:LIN:DATa:SIZeSpecifies the length of the data string in bytes to be used for LIN trigger.
TRIGger:{A|B}:BUS:B<x>:LIN:DATa:VALueSpecifies the binary data string to be used for LIN trigger condition if trigger condition
TRIGger:{A|B}:BUS:B<x>:LIN:ERRTYPESpecifies the error type be used for LIN trigger.
Specifies the LIN data qualifier. This only applies if the trigger condition is
IDANDDATA or DATA.
is ID or IDANDDATA.
Specifies the binary address string used for LIN trigger if the trigger condition is
ID or IDANDDATA.
Sets or queries the field or condition for a MIL-STD-1553 bus to trigger on.
Sets or queries the type of error condition for a MIL-STD-1553 bus to trigger on.
Sets or queries the value of the command word Transmit / Receive bit for a
MIL-STD-1553 bus to trigger on.
Sets or queries the value of the command word parity bit for a MIL-STD-1553 bus to
triggering on.
Sets or queries the value of the command word "word count" field for a
MIL-STD-1553 bus to triggering on.
Sets or queries the value of the command word "subaddress" field for a
MIL-STD-1553 bus to triggering on.
Sets or queries the qualifier to be used when triggering on command word addresses
for a MIL-STD-1553 bus.
Sets or queries the low value when triggering o n command word addresses for
a MIL-STD-1553 bus.
Sets or queries the high value w hen triggering on command word addresses for
a MIL-STD-1553 bus.
Sets or queries the value of the command word parity bit for a MIL-STD-1553 bus to
triggering on.
Sets or queries the value when triggering on data words for a MIL-STD-1553 bus.
Sets or queries the value of the status word parity bit for a MIL-STD-1553 bus to
triggering on.
Sets or queries the qualifier to be used when triggering on status word addresses for
a MIL-STD-1553 bus.
Sets or queries the qualifier to be used when triggering on status word addresses for
a MIL-STD-1553 bus.
Sets or queries the low value when triggering on status word addresses for a
MIL-STD-1553 bus.
Sets or queries the high value when triggering on status word addresses for a
MIL-STD-1553 bus.
Sets or queries the value of the message error bit (ME bit, bit 9) in a status word for
a MIL-STD-1553 bus to triggering on.
2-80MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-40: Trigger commands (cont.)
Command groups
Command
TRIGger:{A|B}:BUS:B<x>:MIL1553B:
STATus:BIT:INSTR
TRIGger:{A|B}:BUS:B<x>:MIL1553B:
STATus:BIT:SRQ
TRIGger:{A|B}:BUS:B<x>:MIL1553B:
STATus:BIT:BCR
TRIGger:{A|B}:BUS:B<x>:MIL1553B:
STATus:BIT:BUSY
TRIGger:{A|B}:BUS:B<x>:MIL1553B:
STATus:BIT:SUBSF
TRIGger:{A|B}:BUS:B<x>:MIL1553B:
STATus:BIT:DBCA
TRIGger:{A|B}:BUS:B<x>:MIL1553B:
STATus:BIT:TF
TRIGger:{A|B}:BUS:B<x>:MIL1553B:TIMe:
QUALifier
TRIGger:{A|B}:BUS:B<x>:MIL1553B:TIMe:
LESSLimit
TRIGger:{A|B}:BUS:B<x>:MIL1553B:TIMe:
MORELimit
TRIGger:{A|B}:BUS:B<x>:PARallel:DATa:
VALue
TRIGger:{A|B}:BUS:B<x>:RS232C:
CONDition
TRIGger:{A|B}:BUS:B<x>:RS232C:DATa:
SIZe
TRIGger:{A|B}:BUS:B<x>:RS232C:DATa:
VALue
TRIGger:{A|B}:BUS:B<x>:SPI:CONDitionSpecifies the trigger condition for a SPI trigger.
TRIGger:{A|B}:BUS:B<x>:SPI:DATa:SIZeSpecifies the length of the data string to be used for a SPI trigger if the trigger
TRIGger:{A|B}:BUS:B<x>:SPI:DATa:VALueSpecifies the binary data string used for SPI triggering if the trigger condition is DATA.
TRIGger:{A|B}:BUS:B<x>:USB:ADDRess:
HIVALue
TRIGger:{A|B}:BUS:B<x>:USB:ADDRess:
VALue
TRIGger:{A|B}:BUS:B<x>:USB:CONDitionSpecifies the trigger condition for the USB trigger.
TRIGger:{A|B}:BUS:B<x>:USB:DATa:
HIVALue
TRIGger:{A|B}:BUS:B<x>:USB:DATa:
OFFSet
Description
Sets or queries the value of the instrumentation bit (INSTR bit, bit 10) in a status
word for a MIL-STD-1553 bus to triggering on.
Sets or queries the value of the status word service request bit (SRQ bit, bit 11) in a
status word for a MIL-STD-1553 bus to triggering on.
Sets or queries the value of the broadcast command received bit (BCR bit, bit 15) in
a status word for a MIL-STD-1553 bus to triggering on.
Sets or queries the value o f the busy bit (BUSY bit, bit 16) in a status word for a
MIL-STD-1553 bus to triggering on.
Sets or queries the value of the subsystem flag bit (SUBSF bit, bit 17) in a status
word for a MIL-STD-1553 bus to triggering on.
Sets or queries the value of the dynamic bus control acceptance bit (DBCA bit, bit
18) in a status word for a M IL-STD-1553 bus to triggering on.
Sets or queries the value of the terminal flag bit (TF bit, bit 19) in a status w ord for
a MIL-STD-1553 bus to triggering on.
Sets o r queries the qualifier to be used when triggering on response time / inter
message gap time for a MIL-STD-1553 bus.
Sets or queries the lower limit to be used when triggering on response time / inter
message gap time for a MIL-STD-1553 bus.
Sets or queries the upper limit to be used when triggering on response time / inter
message gap time for a MIL-STD-1553 bus.
Specifies the binary data string used for a Parallel Bus trigger.
Specifies the condition for an RS-232C trigger.
Sets or queries the length of the data string in bytes to be used for an RS232 trigger.
Sets or queries the data value of the data token for an RS232 trigger.
condition is DATa.
Specifies the binary address string for the upper limit for inside-of-range and
outside-of-range qualifiers for the USB trigger.
Specifies the binary address string to be used for USB trigger.
Specifies the binary data string for the upper limit for inside-of-range and
outside-of-range qualifiers for the USB trigger when the trigger condition is
DATAPacket.
Specifies the data offset in bytes to trigger on.
MSO54, MSO56, MSO58, MSO58LP Programmer2-81
Command groups
Table 2-40: Trigger commands (cont.)
Command
TRIGger:{A|B}:BUS:B<x>:USB:DATa:
QUALifier
TRIGger:{A|B}:BUS:B<x>:USB:DATa:SIZeSpecifies the number of contiguous data bytes to trigger on.
TRIGger:{A|B}:BUS:B<x>:USB:DATa:TYPeSpecifies the data type for when the trigger condition is set to DATAPacket.
TRIGger:{A|B}:BUS:B<x>:USB:DATa:VALueSpecifies the binary data string to be used for the USB trigger when the trigger
TRIGger:{A|B}:BUS:B<x>:USB:ENDPoint:
VALue
TRIGger:{A|B}:BUS:B<x>:USB:ERRTypeSpecifies the error type to be used when the trigger condition is set to ERRor.
TRIGger:{A|B}:BUS:B<x>:USB:
HANDSHAKEType
TRIGger:{A|B}:BUS:B<x>:USB:
SOFFRAMENUMber
TRIGger:{A|B}:BUS:B<x>:USB:
SPECIALType
TRIGger:{A|B}:BUS:B<x>:USB:SPLit:ET:
VALue
TRIGger:{A|B}:BUS:B<x>:USB:SPLit:HUB:
VALue
TRIGger:{A|B}:BUS:B<x>:USB:SPLit:PORT:
VALue
TRIGger:{A|B}:BUS:B<x>:USB:SPLit:SC:
VALue
TRIGger:{A|B}:BUS:B<x>:USB:SPLit:SE:
VALue
TRIGger:{A|B}:BUS:B<x>:USB:TOKENTypeSpecifies the token type for the USB trigger.
TRIGger:{A|B}:BUS:SOUrceSets or queries the source for a bus trigger.
TRIGger:{A|B}:EDGE:COUPlingSets or queries the type of coupling for the edge trigger.
TRIGger:{A|B}:EDGE:SLOpeSets or queries the slope for the edge trigger.
TRIGger:{A|B}:EDGE:SOUrceS ets or queries the source for the edge trigger.
TRIGger:{A|B}:LEVel:CH<x>Sets or queries the level for the trigger for the channel.
TRIGger:{A|B}:LOGIc:DELTatimeSpecifies or queries the Logic trigger delta time value.
TRIGger:{A|B}:LOGIc:FUNCtionSets or queries the logical combination of the input channels for the logic trigger.
TRIGger:{A|B}:LOGIc:INPut:CLOCk:SOUrceS pecifies the channel to use as the clock source.
TRIGger:{A|B}:LOGIc:POLaritySets or queries the polarity for the clock channel when Use Clock Edge is set to
TRIGger:{A|B}:LOGIc:USECLockedgeSets whether or not Logic trigger type uses clock source.
TRIGger:{A|B}:LOGIc:WHEnSets or queries the condition for generating a logic trigger with respect to the defined
Description
Sets the qualifier to be used when triggering on a USB bus signal.
condition is DATAPacket.
Specifies the binary endpoint string to be used for the USB trigger.
Specifies the handshake type for the USB trigger.
Specifies the binary data string to be used for start of frame number, when the trigger
condition is Token Packet and the token type is Start of Frame.
Specifies the packet ID (PID) for the special packet.
When triggering on a high-speed USB split transaction, this command specifies the
split transaction endpoint type value to trigger on.
When triggering on a high-speed USB split transaction, this command specifies the
split transaction hub address value to trigger on.
When triggering on a high-speed USB split transaction, this command specifies the
split transaction port address value to trigger on.
When triggering on a high-speed USB split transaction, this command specifies
whether to trigger on the start or complete phase of the split transaction, based on
the Start/Complete bit field value.
When triggering on a high-speed USB split transaction, this command specifies the
split transaction start/end bit value to trigger on.
Yes for Logic trigger type.
input pattern.
2-82MSO54, MSO56, MSO58, MSO58LP Programmer
Table 2-40: Trigger commands (cont.)
Command groups
Command
TRIGger:{A|B}:LOGICPattern:
{CH<x>|CH<x>_D<x>}
TRIGger:{A|B}:LOWerthreshold:CH<x>Sets or queries CH<x> lower trigger level.
TRIGger:{A|B}:PULSEWidth:
LOGICQUALification
TRIGger:{A|B}:PULSEWidth:HIGHLimitSpecifies the upper limit to use, in seconds, when triggering on detection of a pulse
TRIGger:{A|B}:PULSEWidth:LOWLimitSpecifies the lower limit to use, in seconds, when triggering on detection of a pulse
TRIGger:{A|B}:PULSEWidth:POLaritySpecifies the polarity for a pulse width trigger.
TRIGger:{A|B}:PULSEWidth:SOUrceSpecifies the source waveform for a pulse width trigger.
TRIGger:{A|B}:PULSEWidth:WHEnSpecifies to trigger when a pulse is detected with a width (duration) that is less than,
TRIGger:{A|B}:RUNT:LOGICQUALificationSpecifies whether or not to use logic qualification for a runt trigger.
TRIGger:{A|B}:RUNT:POLaritySpecifies the polarity for the runt trigger.
TRIGger:{A|B}:RUNT:SOUrceSpecifies the source waveform for the runt trigger.
TRIGger:{A|B}:RUNT:WHEnSpecifies the type of pulse width the trigger checks for when it detects a runt.
TRIGger:{A|B}:RUNT:WIDthSpecifies the width, in seconds, for a runt trigger.
TRIGger:{A|B}:SETHold:CLOCk:EDGESpecifies the clock edge polarity for setup and hold triggering.
TRIGger:{A|B}:SETHold:CLOCk:SOUrceSpecifies the clock source for the setup and hold triggering.
TRIGger:{A|B}:SETHold:HOLDTimeSpecifies the hold time for setup and hold violation triggering.
TRIGger:{A|B}:SETHold:SETTimeSpecifies the setup time for setup and hold violation triggering.
TRIGger:{A|B}:SETHOLDLogicval:
{CH<x>|CH<x>_D<x>}
TRIGger:{A|B}:TIMEOut:
LOGICQUALification
TRIGger:{A|B}:TIMEOut:POLarityWhen triggering using the TIMEOut trigger type, this commands specifies the
TRIGger:{A|B}:TIMEOut:SOUrceWhen triggering using the TIMEOut trigger type, this command specifies the source.
TRIGger:{A|B}:TIMEOut:TIMeWhen triggering using the TIMEOut trigger type, this command specifies the
TRIGger:{A|B}:TRANsition:DELTatimeSpecifies the delta time used in calculating the transition value for the transition
TRIGger:{A|B}:TRANsition:POLaritySpecifies the polarity for the transition trigger.
TRIGger:{A|B}:TRANsition:SOUrceSpecifies the source for a transition trigger.
TRIGger:{A|B}:TRANsition:WHEnSpecifies whether to check for a transitioning signal that is faster or slower than
TRIGger:{A|B}:TRANsition:
LOGICQUALification
TRIGger:{A|B}:TYPeSets or queries the type of A or B trigger.
Description
Sets or queries the Logic Pattern that is used along with the Define Logic choice to
determine when the logic trigger occurs.
Sets whether or not to use logic qualification for a pulse width trigger.
whose duration is inside or outside a range of two values.
whose duration is inside or outside a range of two values.
greater than, equal to, or unequal to a specified value.
Sets or queries whether the specified channel is included (INCLude) or not included
(DONTInclude) in the Setup & Hold trigger input configuration.
Specifies whether or not to use logic qualification for a timeout trigger.
polarity to be used.
timeout time, in seconds.
trigger.
the specified delta time.
Specifies whether or not to use logic qualification for a transition trigger.
MSO54, MSO56, MSO58, MSO58LP Programmer2-83
Command groups
Table 2-40: Trigger commands (cont.)
Command
TRIGger:{A|B}:UPPerthreshold:CH<x>Sets or queries the CH<x> upper trigger level.
TRIGger:{A|B}:WINdow:CROSSIngSets or queries the window trigger threshold crossing of the selected trigger Source.
TRIGger:{A|B}:WINdow:LOGICQUALificationSpecifies whether or not to use logic qualification for a window trigger.
TRIGger:{A|B}:WINdow:SOUrceSets or queries the source for a window trigger.
TRIGger:{A|B}:WINdow:WHEnSets or queries the window trigger event.
TRIGger:{A|B}:WINdow:WIDthSets or queries the minimum width for a window violation.
TRIGger:{A|B|B:RESET}Sets the A, B, or B Reset trigger level automatically to 50% of the range of the
TRIGger:A:HOLDoff:BYSets or queries the type of holdoff for the A trigger.
TRIGger:A:HOLDoff:TIMeSets or queries the A trigger holdoff time.
TRIGger:A:LOGICQUALificationSets or queries the type of logic qualification to perform.
TRIGger:A:MODeSets or queries the A trigger mode.
TRIGger:AUXLevelSets or queries the Auxiliary Input voltage level to use for an edge trigger.
TRIGger:B:BYSets or queries B trigger time or event qualifiers.
TRIGger:B:EVENTS:COUNtSets or queries the number of events that must occur before the B trigger occurs.
TRIGger:B:RESETSets the B reset trigger level to 50%.
TRIGger:B:RESET:EDGE:COUPlingSets or queries the trigger coupling for a sequential edge trigger reset when the
TRIGger:B:RESET:EDGE:LEVelSets the voltage level to use for an Edge Reset trigger when triggering on an analog
TRIGger:B:RESET:EDGE:SLOpeSets or queries the trigger slope for a sequential edge trigger reset.
TRIGger:B:RESET:EDGE:SOUrceSets or queries the trigger source for the A→B sequential edge trigger reset feature.
TRIGger:B:RESET:TIMEOut:TIMeSets or queries the reset timer for a sequential timeout trigger reset.
TRIGger:B:RESET:TYPeSets or queries the type of A→B sequential trigger reset.
TRIGger:B:STATEReturns the current state of the triggering system.
TRIGger:B:TIMeSets or queries the B trigger delay time.
TRIGger:STATE?Returns the current state of the triggering system.
Description
minimum and maximum values of the trigger input signal.
Source is set to an analog channel.
channel waveform.
2-84MSO54, MSO56, MSO58, MSO58LP Programmer
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.