
TDS Family Digitizing Oscilloscopes (TDS 420A, 430A, 460A, 510A, 520C, 540C, 620B, 644B, 680B, 684B, 724C, 754C, & 784C)

Copyright Tektronix, Inc. All rights reserved. Licensed software products are owned by Tektronix or its suppliers and are protected by United States copyright laws and international treaty provisions.
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013, or subparagraphs (c)(1) and (2) of the Commercial Computer Software – Restricted Rights clause at FAR 52.227-19, as applicable.
Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes that in all previously published material. Specifications and price change privileges reserved.
Printed in the U.S.A.
Tektronix, Inc., P.O. Box 1000, Wilsonville, OR 97070–1000
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.

Tektronix warrants that this product will be free from defects in materials and workmanship for a period of three (3) years from the date of shipment. If any such product proves defective during this warranty period, Tektronix, at its option, either will repair the defective product without charge for parts and labor, or will provide a replacement in exchange for the defective product.
In order to obtain service under this warranty, Customer must notify Tektronix of the defect before the expiration of the warranty period and make suitable arrangements for the performance of service. Customer shall be responsible for packaging and shipping the defective product to the service center designated by Tektronix, with shipping charges prepaid. Tektronix shall pay for the return of the product to Customer if the shipment is to a location within the country in which the Tektronix service center is located. Customer shall be responsible for paying all shipping charges, duties, taxes, and any other charges for products returned to any other locations.
This warranty shall not apply to any defect, failure or damage caused by improper use or improper or inadequate maintenance and care. Tektronix shall not be obligated to furnish service under this warranty a) to repair damage resulting from attempts by personnel other than Tektronix representatives to install, repair or service the product; b) to repair damage resulting from improper use or connection to incompatible equipment; or c) to service a product that has been modified or integrated with other products when the effect of such modification or integration increases the time or difficulty of servicing the product.
THIS WARRANTY IS GIVEN BY TEKTRONIX WITH RESPECT TO THIS PRODUCT IN LIEU OF ANY OTHER WARRANTIES, EXPRESSED OR IMPLIED. TEKTRONIX AND ITS VENDORS DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. TEKTRONIX’ RESPONSIBILITY TO REPAIR OR REPLACE DEFECTIVE PRODUCTS IS THE SOLE AND EXCLUSIVE REMEDY PROVIDED TO THE CUSTOMER FOR BREACH OF THIS WARRANTY. TEKTRONIX AND ITS VENDORS WILL NOT BE LIABLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES IRRESPECTIVE OF WHETHER TEKTRONIX OR THE VENDOR HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.


Compiling the Example Programs 4–2 Appendices
Appendix A: Character Charts A–1 Appendix B: Reserved Words B–1 Appendix C: Interface Specifications C–1 GPIB Function Subsets C–1 Interface Messages C–2 Appendix D: Factory Initialization Settings D–1 Glossary and Index
ii TDS Family Oscilloscope Programmer Manual
Table of Contents

Figure 1–1: Common Message Elements 1–1 Figure 1–2: Functional Groupings and an Alphabetical List of
Commands 1–2 Figure 1–3: Service Requests (SRQs) Provide for Event (Interrupt)
Driven Programs 1–2 Figure 1–4: The Disk That Accompanies This Manual 1–3 Figure 1–5: GPIB Connector Location 1–3 Figure 1–6: How to Stack GPIB Connectors 1–4 Figure 1–7: Typical GPIB Network Configurations 1–5 Figure 1–8: Selecting the I/O System in the Main Menu 1–5 Figure 1–9: Selecting the GPIB Address in the GPIB Configuration
Side Menu 1–6
Figure 2–1: Command Message Elements 2–2 Figure 2–2: Block Argument Example 2–10 Figure 2–3: Typical Syntax Diagrams 2–11 Figure 2–4: Displaying an Extended Acquisition Length Data 2–41 Figure 2–5: Message Window Coordinates 2–241 Figure 2–6: LESSThan and MOREThan Arguments 2–294
Figure 3–1: The Standard Event Status Register (SESR) 3–2 Figure 3–2: The Status Byte Register (SBR) 3–2 Figure 3–3: The Device Event Status Enable Register (DESER) 3–3 Figure 3–4: The Event Status Enable Register (ESER) 3–4 Figure 3–5: The Service Request Enable Register (SRER) 3–4 Figure 3–6: Status and Event Handling Process 3–6 Figure 3–7: Command Processing Without Using Synchronization 3–8 . Figure 3–8: Processing Sequence With Synchronization 3–8
Figure 4–1: Equipment Needed to Run the Example Programs 4–1
TDS Family Oscilloscope Programmer Manual iii
Table of Contents

Table 2–1: BNF Symbols and Meanings 2–1 Table 2–2: Command Message Elements 2–2 Table 2–3: Comparison of Header Off and On Responses 2–3 Table 2–4: Acquisition Commands 2–13 Table 2–5: Alias Commands 2–14 Table 2–6: Application Menu Commands 2–14 Table 2–7: Calibration and Diagnostic Commands 2–15 Table 2–8: Cursor Commands 2–15 Table 2–9: Display Commands 2–16 Table 2–10: File System Commands 2–18 Table 2–11: Hardcopy Commands 2–19 Table 2–12: Histogram Commands 2–19 Table 2–13: Horizontal Commands 2–20 Table 2–14: Limit Test Commands 2–22 Table 2–15: Mask Commands 2–23 Table 2–16: Measurement Commands 2–24 Table 2–17: Miscellaneous Commands 2–26 Table 2–18: RS-232 Commands 2–27 Table 2–19: Save and Recall Commands 2–28 Table 2–20: Status and Error Commands 2–29 Table 2–21: Trigger Commands 2–30 Table 2–22: Vertical Commands 2–37 Table 2–23: Extended-Acquisition-Length Mode Channels and Record
Lengths 2–42 Table 2–24: Waveform Commands 2–43 Table 2–25: Zoom Commands 2–45 Table 2–26: Waveform Data Points Supported for Reference
Locations 2–63 Table 2–27: Commands that Affect BUSY? Response 2–69 Table 2–28: Offset Ranges for the TDS 400A, 510A, 540C, 600B, 754C, &
784C (All Channels) and the TDS 520C & 724C (Channel 1 & Channel 2) using a 1x Probe 2–74 Table 2–29: Offset Ranges for the TDS 520C & 724C (Aux 1 & Aux 2)
using a 1x Probe 2–74 Table 2–30: DATa and WFMPre Parameter Settings 2–101
iv TDS Family Oscilloscope Programmer Manual
Table of Contents

Table 2–31: XY Format Pairs 2–123 Table 2–32: Record Length Values (<NR1>) 2–176 Table 2–33: Commands that Generate an Operation Complete
Message 2–244 Table 2–34: Additional WFMPre Commands 2–352
Table 3–1: SESR Bit Functions 3–2 Table 3–2: SBR Bit Functions 3–3 Table 3–3: No Event Messages 3–12 Table 3–4: Command Error Messages – CME Bit 5 3–12 Table 3–5: Execution Error Messages – EXE Bit 4 3–14 Table 3–6: Device Error Messages – DDE Bit 3 3–17 Table 3–7: System Event Messages 3–17 Table 3–8: Execution Warning Messages – EXE Bit 4 3–18 Table 3–9: Internal Warning Messages 3–19
Table A–1: The TDS Character Set A–1 Table A–2: ASCII & GPIB Code Chart A–2 Table C–1: TDS Family Oscilloscope Standard Interface Message C–2 . . Table D–1: Factory Initialization Settings D–1
TDS Family Oscilloscope Programmer Manual v
Table of Contents

This programmer manual covers the TDS 420A, 430A, 460A, 510A, 520C, 540C, 620B, 644B, 680B, 684B, 724C, 754C, & 784C. It also covers Advanced DSP Math (optional on the TDS420A, 430A, 460A, 510A, 520C, 540C, 620B, & 680B), the RS-232/Centronics Interface (optional on the TDS 420A, 430A, 460A, 510A, 520C, 540C, 620B, & 640B), and the Option 05 Video Trigger. This manual provides information on operating your oscilloscope using the General Purpose Interface Bus (GPIB) interface.
Table i lists other documentation for the TDS 420A, 430A, 460A, 510A, 520C, 540C, 620B, 644B, 680B, 684B, 724C, 754C, & 784C digitizing oscilloscopes.
Manual Tek Part Number
TDS 500B, 600B, & 700A 070–9382–XX
TDS Family Oscilloscope Programmer Manual vii
TDS Reference · TDS Performance Verification · TDS Service Manual

This manual documents the TDS 400A, TDS 510A, TDS 500C, TDS 600B, & TDS 700C Digitizing Oscilloscopes. Take special note of the following conventions:
Some TDS models have two auxiliary channels called AUX 1 and AUX 2, instead of CH 3 and CH 4. Some references to these channels default to CH 3 and CH 4.
The TDS 684B display screen appears as the default screen wherever a display screen is illustrated in this manual.
This manual documents the TDS 400A, TDS 510A, TDS 500C, TDS 600B, & TDS 700C Digitizing Oscilloscopes. Take note of the following conventions used when referencing these oscilloscopes:
The name “TDS 400A” is used when providing information common to the TDS 420A, 430A, and TDS 460A model oscilloscopes.
The name “TDS 500C” is used when providing information common to the TDS 520C and TDS 540C model oscilloscopes.
The name “TDS 600B” is used when providing information common to the TDS 620B, TDS 644B, TDS 680B, and TDS 684B model oscilloscopes.
The name “TDS 700C” is used when providing information common to the TDS 724C, TDS 754C, and TDS 784C model oscilloscopes.
viii TDS Family Oscilloscope Programmer Manual
Preface

You can write computer programs that remotely set the oscilloscope front panel controls or that take measurements and read those measurements for further analysis or storage.
To help you get started with programmng the oscilloscope, this section includes the following sections:
Overview of the Manual – summarizes the type of programming information contained in each major section of this manual.
Setting Up Remote Communications – describes how to physically connect the oscilloscope to a controller and set the appropriate front panel controls.
The information contained in each major section of this manual is described below.
The Syntax and Commands chapter describes the structure and content of the messages your program sends to the digitizing oscilloscope. Figure 1–1 shows a syntax diagram and command parts as described in the Command Syntax subsection.
Chapter 2 also describes the effect of each command and provides examples of how you might use it. The Command Groups section provides a list by function- al area. The Command Descriptions section arranges commands alphabetically (Figure 1–2).

ACQuire:NUMACq? (Query Only)
S
ACQuire:MODe
G
S
ACQuire:MODe ACQuire:NUMACq? ACQuire:NUMAVg ACQuire:NUMEnv ACQuire:REPEt ACQuire:STATE ACQuire:STOPAfter
G
E
Commands Grouped in Functional Areas Commands Listed Alphabetically
The program may request information from the oscilloscope. The oscilloscope provides information in the form of status and error messages. Figure 1–3 illustrates the basic operation of this system.
The Status and Events chapter starting on page 3–1 describes how to use service requests (SRQs) and various event messages in your programs.
Your program requests status and event reports.
TDS sends status and event reports.
Digitizing Oscilloscope (Rear Panel)
The Programming Examples chapter starting on page 4–1 describes some example digitizing oscilloscope programs and how to compile them. The disk that comes with this manual (Figure 1–4) has an executable and a Microsoft QuickBASIC 4.5 and a Microsoft QuickC 2.5 source-code version of each program.

Even the best instrument control program will not do much if the instrument is not connected to the controller.
The digitizing oscilloscope has a 24-pin GPIB connector on its rear panel, as shown in Figure 1–5. This connector has a D-type shell and conforms to IEEE Std 488.1–1987.
Attach an IEEE Std 488.1–1987 GPIB cable (available from Tektronix as part number 012–0991–00) to this connector.


If needed, you can stack GPIB connectors as shown in Figure 1–6.

Observe these rules when you use your digitizing oscilloscope with a GPIB network:
Assign a unique device address to each device on the bus. No two devices can share the same device address.
Do not connect more than 15 devices to any one bus.
Connect one device for every 2 meters (6 feet) of cable used.
Do not use more than 20 meters (65 feet) of cable to connect devices to a bus.
Turn on at least two-thirds of the devices on the network while using the network.
Connect the devices on the network in a star or linear configuration as shown in Figure 1–7. Do not use loop or parallel configurations.
Getting Started

Appendix C: Interface Specifications gives more information on the GPIB configuration of the digitizing oscilloscope.
You need to set the GPIB parameters of the digitizing oscilloscope to match the configuration of the bus. Once you have set these parameters, you can control the digitizing oscilloscope through the GPIB interface.



The digitizing oscilloscope is set up for bidirectional communication with your controller. If you wish to isolate the digitizing oscilloscope from the bus:
Press the Off Bus side menu button. This disables all communication with the controller.
If you wish to enter a special mode of operation to communicate directly with non-488.2 hard copy devices:
Press the Hardcopy side menu button to have the digitizing oscilloscope send hard copy information only when you press the HARDCOPY button (and accept a HARDCOPY ABORT command).
Getting Started

You can control the digitizing oscilloscope through the GPIB interface using commands and queries. This section describes the syntax these commands and queries use. It also describes the conventions the digitizing oscilloscope uses to process them. The next section, entitled Command Groups, lists the commands and queries themselves.
You transmit commands to the digitizing oscilloscope using the enhanced American Standard Code for Information Interchange (ASCII) character encoding. Appendix A: Character Charts on page A–2 contains a chart of the ASCII character set.
This manual describes commands and queries using Backus-Naur Form (BNF) notation and syntax diagrams.
This manual uses the BNF symbols shown in Table 2–1 below:
Is defined as
Group; one element is required
Optional; can be omitted
Previous element(s) may be repeated
Commands consist of set commands and query commands (usually simply called commands and queries). Commands modify instrument settings or tell the digitizing oscilloscope to perform a specific action. Queries cause the digitizing oscilloscope to return data and information about its status.
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 on the end. For example, the set command has a query form . Not all commands have both a set and a query form. Some commands have set only and some have query only.

A command message is a command or query name followed by any information the digitizing oscilloscope needs to execute the command or query. Command messages may contain five element types, defined in Table 2–2 and shown in the example in Figure 2–1.
The basic command name. If the header ends with a question mark, the command is a query. The header may begin with a colon (:) character. If the command is concatenated with other commands, the beginning colon is required. Never use the beginning colon with command headers beginning with a star (*).
A header subfunction. Some command headers have only one mnemonic. If a command header has multiple mnemonics, a colon (:) character always separates them from each other.
" ! A quantity, quality, restriction, or limit associated with the header. Some commands have no argument while others have multiple arguments. A separates arguments from the header. A separates arguments from each other.
A single comma between arguments of multiple-argument commands. It may optionally have white space characters before and after the comma.
A white space character between command header and argument. It may optionally consist of multiple white space characters.
# $
Commands have the structure:
" ! " !

A command header consists of one or more mnemonics arranged in a hierarchi- cal or tree structure. The first mnemonic is the base or root of the tree and each 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.
Queries have the structure:
'
' & '!*# $) %## '!*# $)
You can specify a query command at any level within the command tree unless otherwise noted. These branch queries return information about all the mnemon- ics below the specified branch or level. For example, ' - # $) + , )"%$ returns the starting point and direction of the edge of a delayed measurement, while ' # $) + , returns the current settings of all delayed measurement parameters, and ' # $) + returns all the measurement parameters for the specified measurement.
You can control whether the digitizing oscilloscope returns headers as part of the query response. Use the ' command to control this feature. If header is on, the query response returns command headers and 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. Table 2–3 shows the difference in responses.
Query Header Off Response Header On Response
$* () )*& () )*&
*"' !
Command Syntax

You can clear the Output Queue and reset the digitizing oscilloscope to accept a new command or query by using the Device Clear (DCL) GPIB command.
The following rules apply:
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 digitizing oscilloscope ignores commands consisting of any combina- tion of white space characters and line feeds.
You can abbreviate many digitizing oscilloscope commands. Each command listing in the Commands section shows the minimum acceptable abbreviations in capitals. For example, you can enter the command " # simply as or " .
If you use the 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. The ! command lets you control this.
You can concatenate any combination of set commands and queries using a semicolon (;). The digitizing oscilloscope executes concatenated commands in the order received.
When concatenating commands and queries, you must follow these rules:
"
Command Syntax

+#( $&' "
The longer version works equally well:
+#( $&' +#( "
+#( $&'
Any commands that follow will be processed as if the star command was not there so
+#( $&' "
will set the acquisition mode to envelope and set the number of acquisitions for averaging to 10.
'$ , )#*, * !&(%
will return either - if header is on or if header is off.
+#( $ "
is a valid message that sets the acquisition mode to normal. 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:
$ , )#*, * +#( " (no colon before +#( )
$ , )#*, * !&(% (extra colon before !&(% — could use $ , )#*, !&(% instead)
Command Syntax

'#. *&+. "+ (colon before a star () command)
$(, $' %))$' %$$ (levels of the mnemonics are different — either remove the second use of $' or place $(, in front of $' )
This manual uses (End of message) to represent a message terminator.
Message terminator
The end-of-message terminator may be the END message (EOI asserted concurrently with the last data byte), the ASCII code for line feed (LF) sent as the last data byte, or both. The digitizing oscilloscope always terminates messages with LF and EOI. It allows white space before the terminator. For example, it allows CR LF.
Some header mnemonics specify one of a range of mnemonics. For example, a channel mnemonic can be either , , , or . You use these mnemon- ics in the command just as you do any other mnemonic. For example, there is a ! +* command, and there is also a ! +* command. In the command descriptions, this list of choices is abbreviated as -.
When the application menu is displayed, commands may specify which menu button to use.
Mnemonics
- A main menu button selector; - is , or . Main menu buttons are located along the bottom of the display and are numbered left to right, starting with 1.
- A side menu button selector; - is , or . Side menu buttons are located along the right side of the display and are numbered top to bottom, starting with 1.
When cursors are displayed, commands may specify which cursor of the pair to use.
Command Syntax · Symbol Meaning · Symbol Meaning

A cursor selector; is either or .
Commands can specify which measurement to set or query as a mnemonic in the header. Up to four automated measurements may be displayed with each displayed waveform. The displayed measurements are specified in this way:
A measurement specifier; is either [top], , , or [bottom].
Commands specify the channel to use as a mnemonic in the header.
A channel specifier; is either , , , or .
For the TDS 520C, 620B, 680B, and 724C, and represent the front-panel inputs labeled AUX 1 and AUX 2 respectively.
Commands can specify the mathematical waveform to use as a mnemonic in the header.
Mnemonics
A math waveform specifier; is , , or .
Commands can specify the reference waveform to use as a mnemonic in the header.
A reference waveform specifier; is either , , , or .
In some commands, you can specify a waveform regardless of whether it is a channel waveform, a math waveform, or a reference waveform. Specify such a waveform as follows:

# Can be $, $ or $
The argument of a command may be in one of several forms. The individual descriptions of each command tell which argument types to use with that command.
Many digitizing oscilloscope commands require numeric arguments. The syntax shows the format that the digitizing oscilloscope returns in response to a query. This is also the preferred format when sending the command to the digitizing oscilloscope though any of the formats will be accepted. This manual represents these arguments as follows:
Signed integer value
Floating point value without an exponent
Floating point value with an exponent
Most numeric arguments will be automatically forced to a valid setting, either by rounding or truncating, when an invalid number is input unless otherwise noted in the command 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 (). For example:
! " ! !
! Quoted string of ASCII text
Follow these rules when you use quoted strings:

% $ $ ' $%#
% $ $ "% $%#
# $ #
Here are some invalid strings:
' $%# #& % (quotes are not of the same type)
%$% (termination character is embedded in the string)
Several digitizing oscilloscope commands use a block argument form:
A nonzero digit character, in the range 1–9
A digit character, in the range 0–9
# A character with the hex equivalent of 00 through FF hexadecimal (0 through 255 decimal)
! A block of data bytes, defined as:
! ( #
) # %# %!# *
specifies the number of elements that follow. Taken together, the elements form a decimal integer that specifies how many # elements follow.
Command Syntax · Symbol Meaning

Figure 2–2 provides a diagram of block argument use.
# &! $ %$ $
Specifies Number of Length Digits that Follow
The syntax diagrams in this manual use the following symbols and notation:
Circles and ovals contain literal elements. You must send most elements exactly as shown. The command mnemonics are shown in both upper and lower case to distinguish between complete and abbreviated spellings. These elements are not case sensitive. You can omit the lower case portion of the mnemonic.
Boxes contain the defined elements described earlier in this section, such as or $" .
Elements are connected by arrows that show the allowed paths through the diagram and, thus, the orders in which you can send the elements. Parallel paths show that you must take one and only one of the paths. A path around a group of elements shows that those elements are optional. Loops show elements that you can repeat.
Figure 2–3 shows the structure of a few typical syntax diagrams.

Command Syntax

This section lists TDS Family Oscilloscope commands in two ways. It first presents them by functional groups. It then lists them alphabetically. The functional group list starts below. The alphabetical list provides more detail on each command and starts on page 2–47.
The TDS Family Oscilloscope GPIB interface conforms to Tektronix standard codes and formats and IEEE Std 488.2–1987 except where noted.
Acquisition commands affect waveform acquisition. These commands control mode, averaging, enveloping, and single-waveform acquisition. (Persistence controls are in the Display Commands section on page 2–16.) Table 2–4 lists these commands.
Return acquisition parameters
Save waveforms to reference memory
Acquisition mode
Return # of acquisitions obtained
Number of acquisitions for average
Number of acquisitions for envelope
(TDS 400A, 510A, 500C, & 700C)
Start or stop acquisition system
Acquisition control
Header Description · Repetitive acquisition mode

Alias commands let you define your own commands as a sequence of standard commands. This is useful when you use the same commands each time you perform a certain task, such as setting up measurements. Table 2–5 lists these commands.
Turn the alias state on and off
Return a list of aliases
Create a new alias
Remove an alias
Remove all aliases
Remove a named alias
Turn the alias state on and off
Application menu commands let you define special-purpose menus. You can define labels for the main and side menus as well as a side menu title. You can display an Application menu by either pressing the front-panel APPLICATION button or sending the APPMenu ACTivate command. Table 2–6 lists these commands.
When the digitizing oscilloscope displays an Application menu and a user presses a front-panel button, the oscilloscope generates an event that tells the controller which button the user pressed. You can also set up the event reporting system so that it generates a Service Request when a user presses a menu button.
Display the application menu
Return or remove all application menu button labels
Label for a bottom menu button
Label for a side menu button
Create a title for the application menu
Command Groups · Header Description · Header Description

Calibration and Diagnostic commands let you start the self-calibration and diagnostic routines that are built into the oscilloscope. The diagnostic test operation includes selecting the test sequence, executing the sequence, and viewing the results. Table 2–7 lists these commands.
Perform an internal self-calibration
Return diagnostic tests status
Return diagnostic test sequence results
$ $ Acquisition system diagnostic test sequence
$ Diagnostic test sequence for Acquisition, Processor, Display, and Front panel
$ Processor diagnostic test sequence
$ ! & Display system diagnostic test sequence
$ Front panel diagnostic test sequence
Control of diagnostic tests
Cursor commands provide control over cursor (caliper) display and readout. Table 2–8 lists these commands.
" Return cursor settings
" $ Cursors on or off; select cursor type
" "# Return H bar settings
" "# Return distance between H bars
" "#% Position a horizontal cursor
Position a horizontal cursor in units of % of vertical range
" "# $ Set which cursor the knob controls
" "#$# Set H bar units
" Set cursor tracking mode
Command Groups · Header Description · Header Description

!# # Positions paired cursors. Also, returns settings
!# # Return horizontal distance between 1st and 2nd paired cursors
!# # Return horizontal position of 1st paired cursor
!# # Return horizontal position of 2nd paired cursor
!# # ' Set or return vbar position of the1st or 2nd paired cursor
Position the horizontal paired cursor in units of % of record length
!# # % Select active paired cursor
!# # Set paired cursor units
!# # Return vertical distance between 1st and 2nd paired cursors
!##$ Position vertical bar cursors
!##$ Return horizontal distance between cursors
!##$ ' Position a vertical cursor
Position a vertical cursor in units of % of record length
!##$ % Set which cursor the knob controls
!##$ Set vertical cursors to seconds, frequency, or to lines (with option 05 video on the TDS 510A, 500C, 600B, & 700C)
!##$ # (TDS 400A) Return unit string for the vertical bar cursor
Display commands let you change the graticule style, change the displayed intensities, display messages, and clear the menu. Table 2–9 lists these com- mands.
& Clear menus from display
" ( Return display settings
" ( Control the display of the date/time stamp
Command Groups · Header Description · Header Description

$ * % ' !"! "'& (TDS 6X4B & 700C)
Set color for math or ref waveform to the color of the waveform content
$ * % ' !"! (TDS 6X4B & 700C)
Set color for math or ref waveform to specific color index
$ * % '' &' " (TDS 6X4B & 700C)
Set current persistence palette to a preset persistence palette
$ * % '' ( % (TDS 6X4B & 700C)
Set current palette to a preset palette
$ * % '' (TDS 6X4A & 700C)
Reset all palettes to their factory default settings
$ * % '' $ '' "! (TDS 6X4B & 700C)
Reset a selected palette to its factory default settings
$ * % '' $ '' "! ' ! "! (TDS 6X4B & 700C)
Set the color of a selected item on a selected palette
$ * % Displayed data interpolation
$ * ' YT or XY display
$ * ' ( Graticule style
$ *')( &' " (TDS 500C & 700C)
Set InstaVu persistence type – variable or infinite
Set InstaVu waveform dots or vector style
Set InstaVu variable persistence decay time
$ * * Return intensity settings
$ * * &' (TDS 400A, 510A, 500C, & 6X0B)
Waveform intensified zone brightness
$ * * (TDS 400A, 510A, 500C, & 6X0B)
$ * * ' Set text brightness
$ * * #%! Set waveform brightness
$ * (TDS 500C &700C) Set normal or InstaVu display mode
$ * &' " Set variable persistence decay time

% Set waveform dots, vector, infinite persistence, or variable persistence
% ! Control the display of the trigger bar/s on screen
% Control the display of the trigger indicator on screen
Remove text from the message window
Set size and location of message window
$ Remove and display text in the message window
Control display of message window
File system commands help you use a built-in disk drive (available with the File System). Table 2–10 lists these commands.
%"# % Copy file to new file
%"# Set directory path
%"# # Delete named file
%"# ! Set front-panel delete warning
%"# Make directory
%"# # Format named drive
%"# Return free space on current drive
%"# ! Make new directory
%"# ! # Set file-overwrite protection
%"# # Print file to port
Copy from file to GPIB port
%"# Assign new name to file
Command Groups · Header Description · Header Description

Delete named directory
Copy from GPIB port to file
Hardcopy commands let you control the format of hardcopy output and the initiation and termination of hardcopies. Table 2–11 lists these commands.
Start or terminate hardcopy
(File System only)
Select file to send hardcopy data to
Hardcopy output format
Hardcopy orientation
Select palette to use when making hardcopy
Hardcopy port for output
Histogram commands let you select the type of histogram, what part of the waveform should go into the histogram, and histogram statistics. Table 2–12 lists these commands.
Queries the state of all settable parameters related to histograms
:BOX (TDS 500C & 700C)
Defines the left, top, right, and bottom positions of the histogram box, in source waveform coordinates

Define the left, top, right, and bottom positions of the histogram box, in percentage coordi- nates.
Zeros the counts for histograms and starts recounting
# " ! $ (TDS 500C & 700C)
Select the way the histogram is displayed, if at all
Selects the type of histogram to be made – or turn the histogram off
Controls the width (or height) of the histogram on the screen
Selects which trace to use when histograms are turned on
Horizontal commands control the time bases of the digitizing oscilloscope. You can set the time per division (or time per point) of both the main and delay time bases. You can also set the record lengths. Table 2–13 lists these commands.
You may substitute SECdiv for SCAle in the horizontal commands. This provides program compatibility with earlier models of Tektronix digitizing oscilloscopes.
% # Return horizontal settings
% # (TDS 500C & 700C)
Returns the overall time interval covered by the live channels
% # (TDS 500C & 700C)
Returns the acquisition length – either the extended one when extended acquisition length mode is on or the record length when this mode is off
Enable internal or external clocks
Set maximum external clock rate
% # $ Return delay time base settings
Command Groups · Header Description · Header Description

'! $ & Delay time base mode
'! $ & Delay time base time per division
'! $ & % Same as HORizontal:DELay:SCAle
'! $ & Delay time
'! $ & Return delay time parameters
'! $ & $" Time to wait in delay-runs-after-main mode
'! $ & $" Time to wait in delay-runs-after-trigger mode
Enable or disable extended acquisition length mode when InstaVu mode is not on
'! $ " $ (TDS 500C & 700C)
'! $ " $ (TDS 500C & 700C)
Select length of each FastFrame frame
'! $ " $ ! (TDS 500C & 700C)
Select FastFrame frame to display
'! $ " (TDS 500C & 700C)
'! $ $!#" Setup waveform compress
'! $ Return main time per division
'! $ Main time base time per division
'! $ % Same as HORizontal:MAIn:SCAle
'! $ Turn delay time base on or off
'! $ $ ! Portion of waveform to display
'! $ " $ Number of points in waveform record
Set the selected live channel’s record start that is to be used in extended acquisition length mode
Set roll mode to auto or off
'! $ Same as HORizontal:MAIn:SCAle
'! $ % Same as HORizontal:MAIn:SCAle
'! $ " Return trigger position
'! $ " $ ! Main time base trigger position

The Limit Test commands let you automatically compare each incoming waveform against a template waveform. You set an envelope of limits around a waveform and let the digitizing oscilloscope find the waveforms that fall outside those limits. When it finds such a waveform, it can generate a hardcopy, ring a bell, stop and wait for your input, or any combination of these actions. Table 2–14 lists these commands.
Ring bell when limit exceeded
Template to compare waveform to
(TDS 510A, 500C, 600B, & 700C)
Template to compare math waveform to
Make hardcopy when limit exceeded
Turn limit testing on or off
Template to compare waveform to
Reference storage for template waveform
Template waveform source
Tested waveform horizontal tolerance
Tested waveform vertical tolerance
Command Groups · Header Description

Mask commands control standard masks, user-defined masks, and testing against masks. A mask is a polygonal region on the screen. Every vertical line on the screen intersects the polygon in zero, one, or two places, but never in more than two. The user has to break up more complicated polygons into separate masks. Unlike Limit Testing, the inside of a mask is the region where waveform data would not normally fall. A telecom standard requires two, three, or four of these masks. Pulse standards always have two masks. Standards with eye patterns usually have three masks, but some have four. Table 2–18 lists these commands.
" (TDS 500C & 700C)
Controls whether or not an autoset will automatically be done after a standard mask is selected
Controls whether or not a standard–mask–au- toset has the freedom to adjust vertical offset so the waveform matches the mask.
Clear mask counts and restart counting
Controls whether or not mask counting is being done
Returns the sum of all the hits in all the defined masks
Returns the number of waveforms that have contributed to mask counting
Controls whether or not defined masks are displayed on the screen
Controls whether or not a digital filter will be run on the waveform data
With delete argument, deletes all points in the specified mask. With query form, queries the state of settable parameters of the specified mask
Returns the number of hits in the specified mask
Returns the number of points in the specified mask
Define points in the specified mask, in user coordinates
Command Groups · Header Description · Return mask parameters

Define points in a mask, in percentage coordinates
Select which trace will be compared against the mask(s), when counting is turned on
Delete any currently existing mask/s and replace with standard mask/s
#& ' #" (TDS 500C & 700C)
Set the time base position to the value of the argument
Measurement commands control the automated measurement system. Table 2–16 lists these commands.
Up to four automated measurements can be displayed on the screen. In the commands, these four measurement readouts are named ), where ) can be , , , or .
In addition to the four displayed measurements, the measurement commands let you specify a fifth measurement, . The immediate measurement has no front-panel equivalent. Immediate measurements are never displayed. Because they are computed only when needed, immediate measurements slow the waveform update rate less than displayed measurements.
Whether you use displayed or immediate measurements, you use the ( query to obtain measurement results.
Measurement commands can set and query measurement parameters. You can assign some parameters, such as waveform sources, differently for each measurement readout. Other parameters, such as reference levels, have only one value, which applies to all measurements.
% ! "' Return all measurement parameters
% ! "' $& #' Take down measurement snapshot
% ! "' Set or query measurement gating
% ! "' Return immediate measurement parameters
% ! "' * Return info on immediate delay measurement
Command Groups · Header Description · Header Description

# !$ ( $ "!
Search direction to use for delay measure- ments
# !$ ( Which waveform edge to use for delay measurements
# !$ ( Which waveform edge to use for delay measurements
# !$ Channel to take measurement from
# !$ Second channel to take measurement from (delay or “to” channel)
# !$ The measurement to be taken
# !$ Return measurement units
# !$ % Return measurement result
# !$ ' Return parameters on measurement
Returns the number of values accumulated for this measurement since the last statistical reset
# !$ ' ( Return delay measurement parameters
# !$ ' ( $ "!
Search direction to use for delay measure- ments
# !$ ' ( Which waveform edge to use for delay measurements
# !$ ' ( Which waveform edge to use for delay measurements
# !$ ' % (TDS 500C & 700C)
Returns the maximum value found for this measurement since the last statistical reset
# !$ ' (TDS 500C & 700C)
Returns the mean value accumulated for this measurement since the last statistical reset.
# !$ ' % (TDS 500C & 700C)
Returns the minimum value found for this measurement since the last statistical test
# !$ ' Channel (or histogram with TDS 500C & 700C) to take measurement from
# !$ ' Second channel (or histogram with TDS 500C & 700C) to take measurement from (delay or “to” channel)
# !$ ' Turn measurement display on or off
# !$ ' & (TDS 500C & 700C)
Returns the standard deviation of values accumulated for this measurement since the last statistical reset
Command Groups · Header Description

& # $( + The measurement to be taken
& # $( + Return units to use for measurement
& # $( +) Return measurement result
& # $( % Method for calculating reference levels
& # $( * " Return reference levels
& # $( * "%")( The top level for risetime (90% level)
& # $( * "%")( The low level for risetime (10% level)
& # $( * "%")( Mid level for measurements
& # $( * "%")( Mid level for delay measurements
& # $( * " % Method to assign and levels: either % or absolute volts
& # $( * " $( The top level for risetime (90% level)
& # $( * " $( The low level for risetime (10% level)
& # $( * " $( Mid level for measurements
& # $( * " $( Mid level for delay measurements
& # $( %( Display measurement snapshot
& # $('(! ' (TDS 500C & 700C)
Controls operation and display of measure- ment statistics
& # $('(! ' (!$ (TDS 500C & 700C)
Controls the responsiveness of mean and standard deviation to waveform changes
Miscellaneous commands do not fit into other categories. Table 2–17 lists these commands.
Several commands and queries are common to all 488.2–1987 devices on the GPIB bus. The 488.2–1987 standard defines them. They begin with a star () character.
( Automatic instrument setup
" Audio alert

Define group execute trigger (GET)
($&* Reset to factory default
Same as HEADer
& Return command header with query
Learn device setting
! Lock front panel (local lockout)
%'' Change password for User Protected Data
$& Access to change User Protected Data
No action; remark only
Same as *LRN?
)& Initialize waveforms and setups
Perform Group Execute Trigger (GET)
$ ! Unlock front panel (local lockout)
$' Return full command name or minimum spellings with query
RS-232 commands allow you to utilize the serial communications port (available with the RS-232/Centronics Hardcopy Interface). Table 2–18 lists these commands.
Return RS-232 parameters
Set baud rate
" # Set hard flagging
(* Set parity
" # Set soft flagging
(' Set # of stop bits

Save and Recall commands allow you to store and retrieve internal waveforms and settings. When you “save a setup,” you save all the settings of the digitizing oscilloscope. When you then “recall a setup,” the digitizing oscilloscope restores itself to the state it was in when you originally saved that setting. Table 2–19 lists these commands.
Return number of allocated and unallocated data points
Return number of allocated data points
Return number of unallocated data points
Specify the number of allocated data points
Delete stored setup
Delete stored waveform
(TDS 500C & 700C) Replace the indicated channel’s live acquisi- tion data with data from indicated file
Recall saved instrument settings
(File System only)
(TDS 500C & 700C) Write out acquisition data to the indicated file
Save instrument settings
Save waveform
(Not on TDS 510A)
Specifies the file format for saved waveforms
Table 2–20 lists the status and error commands the digitizing oscilloscope supports. These commands let you determine the status of the digitizing oscilloscope and control events.
Several commands and queries used with the digitizing oscilloscope are common to all devices on the GPIB bus. IEEE Std 488.2–1987 defines these commands and queries. They begin with an asterisk ().

Return all events
Return scope status
Clear status
Device event status enable
Event status enable
Return standard event status register
Return event code
Return event code and message
Return number of events in queue
Operation complete
(Not in TDS 400A) Return installed options
Power-on status clear
Query or set User Protected Data
Service request enable
Read status byte
Wait to continue
Trigger commands control all aspects of digitizing oscilloscope triggering. Table 2–21 lists these commands.
There are two triggers, main and delayed. Where appropriate, the command set has parallel constructions for each trigger.
You can set the main or delayed triggers to edge mode. Edge triggering lets you display a waveform at or near the point where the signal passes through a voltage level of your choosing.
You can also set TDS 510A, 500C, 600B, and 700C main triggers to pulse and logic modes. Pulse triggering lets the oscilloscope trigger 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 digitizing oscilloscope then triggers when it detects a certain combination of signal levels.

& Force trigger event; Return parameters
& * Delay trigger level to 50%
& * Delay by time or events
& * Return delay trigger parameters
& * ! # Delay trigger coupling
& * % Delay trigger slope
& * & Delay trigger source
& * Return delay trigger event parameters
& *( Delay by events count
& * ! Delay trigger level
& * Time for delay by time
& * Delay trigger, edge
& # Main trigger level to 50%
& # )# ( $# $&" (TDS 500C & 700C)
AMI pulse form setting (an Eye Diagram, an Isolated +1, or an Isolated –1)
& # )# ( $# ' $! (TDS 500C & 700C)
AMI threshold high level
& # )# ( $# ' $! (TDS 500C & 700C)
AMI threshold low level
& # )# ( $# ( (TDS 500C & 700C)
Communication trigger bit rate
& # )# ( $# $&" (TDS 500C & 700C)
& # )# ( $# (TDS 500C & 700C)
Select which line code the comm trigger should expect on the incoming signal
& # )# ( $# $&" (TDS 500C & 700C)
& # )# ( $#& (TDS 500C & 700C)
Communication trigger source channel
& # )# ( $# & (TDS 500C & 700C)
Communication trigger standard which identifies the code and bit rate
& # Return main edge trigger parameters
& # ! # Main trigger coupling
& # % Main trigger slope
& # & Main trigger source
& # Return main trigger holdoff value

'% # (TDS 500C, 600B & 700C)
Return main trigger holdoff value in seconds
'% (TDS 500C, 600B & 700C)
Main trigger holdoff default
'% (TDS 500C, 600B & 700C)
Main trigger holdoff time
'% * (TDS 400A & 510A)
Main trigger holdoff value
'% # Main trigger level
'% (TDS 510A, 500C, 600B, & 700C)
Returns main logic trigger parameters
'% (( (TDS 510A, 500C, 600B, & 700C)
Logic trigger input usage
'% )!&% (TDS 510A, 500C, 600B, & 700C)
Logic trigger input combining
'% *) (TDS 510A, 500C, 600B, & 700C)
Return main logic trigger input settings
'% *) + (TDS 510A, 500C, 600B, & 700C)
Logic trigger expected channel state
'% ) '% *) (TDS 510A, 500C, 600B, & 700C)
Logic trigger expected for channel 4 pattern class
'% ) '% % (TDS 510A, 500C, 600B, & 700C)
Main logic pattern trigger condition
'% ) '% %: !$!) (TDS 510A, 500C, 600B, & 700C)
Maximum time the selected pattern may be true and still generate main logic pattern trigger
'% ) '% %: !$!) (TDS 510A, 500C, 600B, & 700C)
Minimum time the selected pattern may be true and still generate main logic pattern trigger
'% " (TDS 500C, 600B & 700C)
Clock edge polarity for setup and hold violation triggering
'% " # (TDS 500C, 600B & 700C)
Setup/Hold clock voltage trigger level
'% "' (TDS 500C, 600B & 700C)
Setup/Hold clock input source
Command Groups · Header Description

$ " # (TDS 500C, 600B & 700C)
$ " # $ (TDS 500C, 600B & 700C)
Setup/Hold data input data channel
$ " # ! (TDS 500C, 600B & 700C)
Setup/Hold trigger hold time
$ " # ! (TDS 500C, 600B & 700C)
Setup/Hold trigger set time
$ " '& (TDS 510A, 500C, 600B, & 700C)
Logic trigger expected for channel 4 state class
$ " " (TDS 510A, 500C, 600B, & 700C)
When the logic trigger occurs (on true or false)
$ " % # (TDS 510A, 500C, 600B, & 700C)
Return main logic thresholds
$ " % # ( (TDS 510A, 500C, 600B, & 700C)
$ " " (TDS 510A, 500C, 600B, & 700C)
Logic trigger on combination true or false
$ " Main trigger mode
$ "% (TDS 510A, 500C, 600B, & 700C)
Returns pulse trigger parameters
$ "% %% (TDS 510A, 500C, 600B, & 700C)
$ "% & (TDS 510A, 500C, 600B, & 700C)
Returns glitch trigger parameters
$ "% & $ (TDS 510A, 500C, 600B, & 700C)
Glitch filter on and off
$ "% & $ &) (TDS 510A, 500C, 600B, & 700C)
Glitch filter positive, negative, or both
$ "% & & (TDS 510A, 500C, 600B, & 700C)
Glitch trigger with differentiation between glitch and valid pulse
$ "% (TDS 510A, 500C, 600B, & 700C)
Return runt trigger parameters

!# (TDS 510A, 500C, 600B, & 700C)
Runt trigger positive, negative, or both
(TDS 510A, 500C, 600B, & 700C)
Return runt trigger thresholds
(TDS 500C, 600B & 700C)
Trigger level switching thresholds
(TDS 510A, 500C, 600B, & 700C)
Upper limit for runt pulse
(TDS 510A, 500C, 600B, & 700C)
Lower limit for runt pulse
(TDS 500C, 600B & 700C)
Runt pulse width type to check for
! (TDS 500C, 600B & 700C)
Minimum width for valid main pulse runt trigger
! (TDS 500C, 600B & 700C)
Slew rate trigger delta time
! !# (TDS 500C, 600B & 700C)
Slew rate trigger polarity
! ! (TDS 500C, 600B & 700C)
Return slew rate value
! (TDS 500C, 600B & 700C)
Upper and lower slew rate trigger thresholds
! (TDS 500C, 600B & 700C)
Upper limit for slew rate pulse
! (TDS 500C, 600B & 700C)
Lower limit for slew rate pulse
! (TDS 500C, 600B & 700C)
Slewing signal type to check for
(TDS 510A, 500C, 600B, & 700C)
"! $ !# (TDS 500C, 600B, & 700C)
Pulse timeout trigger polarity
Command Groups · Header Description · Pulse trigger channel

% " & (' (TDS 500C, 600B, & 700C)
Pulse timeout trigger time
% " & ' (TDS 510A, 500C, 600B, & 700C)
Return trigger pulse width parameters
% " & ' ! ' (TDS 510A, 500C, 600B, & 700C)
Pulse trigger maximum pulse width
% " & ' ! ' (TDS 510A, 500C, 600B, & 700C)
Pulse trigger minimum pulse width
% " & ' % '* (TDS 510A, 500C, 600B, & 700C)
Pulse trigger positive, negative, or both
% " & ' " (TDS 510A, 500C, 600B, & 700C)
Pulse trigger when pulse detected or when not detected
% " Set main trigger to edge, logic, pulse, or, with option 05, video type
% " # (Option 05)
Return video trigger parameters
% " # (TDS 400A Option 05)
Set video trigger delay mode
% " # (Option 05)
Set video trigger field
% " # *$ (TDS 510A, 500C, 600B, & 700C Option 05)
Set video trigger field type
% " # #%!' (TDS 510A, 500C. 600B, & 700C Option 05)
% " # #%!' (TDS 510A, 500C, 600B, & 700C Option 05)
Set FlexFormat frames per second
% " # #%!' (TDS 510A, 500C, 600B, & 700C Option 05)
Set FlexFormat video fields
% " # #%!' (TDS 510A, 500C, 600B, & 700C Option 05)
Set FlexFormat lines in a frame
% " # #%!' *" ) ' (TDS 510A, 500C, 600B, & 700C Option 05)
Set FlexFormat negative sync width
% " # #%!' %'' ! (TDS 510A, 500C, 600B, & 700C Option 05)
Set time from positive (+) edge of tri-sync pulse for the last line in the selected field to the leading edge (–) of the first negative vertical sync pulse
Command Groups · Header Description · Return FlexFormat parameters

$ ! " "$ % #% (TDS 510A, 500C, 600B, & 700C Option 05)
Set time from positive edge of tri-sync pulse for the last line in the selected field (t0) to trailing edge (positive) of the first negative vertical sync pulse
$ ! " "$ %$%% (TDS 510A, 500C, 600B, & 700C Option 05)
Set time from t0 to the leading edge (positive) of the second vertical sync pulse
$ ! " "$ %#% (TDS 510A, 500C, 600B, & 700C Option 05)
Set time from t0 to trailing edge (positive) of the second negative vertical sync pulse
$ ! " ' (TDS 510A, 500C, 600B, & 700C Option 05)
Select high definition TV format
$ ! " " (TDS 400A Option 05)
Return video trigger holdoff
$ ! " " & (TDS 400A Option 05)
Set video trigger holdoff value
$ ! " (TDS 400A Option 05)
Select video trigger interlace format
$ ! " (Option 05)
Set video trigger delay in terms of a number of lines
$ ! " (TDS 400A Option 05)
Set video trigger delay in terms of a number of lines
$ ! " (TDS 510A, 500C, 600B, & 700C Option 05)
Select color or mono NTSC
$ ! " (TDS 510A, 500C, 600B, & 700C Option 05)
Select color or mono PAL
$ ! " (TDS 400A Option 05)
Set video trigger scan rate
$ ! " $ " (TDS 400A Option 05)
Set video trigger scan period
$ ! "$ Option 05
Select video trigger source
$ ! "$ (TDS 510A, 500C, 600B, & 700C Option 05)
Select video trigger standard
$ ! " (Option 05)
Select video trigger sync polarity
$ ! "% (TDS 400A Option 05)
Select video trigger class
Command Groups · Header Description

(TDS 400A Option 05)
Set video trigger delay time
Return trigger system status
Command Groups · Header Description

Vertical commands control the display of channels and of main and reference waveforms. Table 2–22 lists these commands.
The &( " command also selects the waveform many commands in other command groups use.
You may replace VOLts for SCAle in the vertical commands. This provides program compatibility with earlier models of Tektronix digitizing oscilloscopes.
) Return vertical parameters
)( & Channel bandwidth
)! # Channel coupling
) ( (TDS 500C, 600B, & 700C) Channel deskew time
) # Channel impedance
) & Channel offset
) & $# Channel position
) Return channel probe attenuation
Return channel probe cal status
) '# && # (TDS 500C & 700C)
Sets the state of the external attenuation for the specified channel to the specified value
) '# && # (TDS 500C & 700C)
Sets the state of the attenuation for the specified channel to the specified value, in dB
)! Channel volts per div
)&% Same as CH:SCAle
) Return math waveform definition
) # Define math waveform
) (TDS 510A, 500C, 600B, & 700C, some models require Option 2F)
Acquisition number at which to begin exponential averaging
) %% # (TDS 510A, 500C, 600B, & 700C, some models require Option 2F)
Math waveform averaging on or off
& Return selected waveform
&! Front-panel channel selector
&( " Set selected waveform
Command Groups · Header Description

Waveform commands let you transfer waveform data points to and from the digitizing oscilloscope. Waveform data points are a collection of values that define a waveform. One data value usually represents one data point in the waveform record. When working with enveloped waveforms, each data value is either the min or max of a min/max pair. Before you transfer waveform data, you must specify the data format, record length, and waveform locations.
Table 2–24 lists these commands.
Acquired waveform data uses either one or two 8-bit data bytes to represent each data point. The number of bytes used depends on the acquisition mode specified when you acquired the data. Data acquired in SAMple, ENVelope, or PEAKde- tect mode uses one 8-bit byte per waveform data point. Data acquired in HIRes or AVErage mode uses two 8-bit bytes per point. For more information on the acquisition modes see the ACQuire: MODe command on page 2–48.
The DATa:WIDth command lets you specify the number of bytes per data point when transferring data to and from the digitizing oscilloscope. If you specify two bytes for data that uses only one, the least significant byte will be filled with zeros. If you specify one byte for data that uses two, the least significant byte will be ignored.
The digitizing oscilloscope can transfer waveform data in either ASCII or binary format. You specify the format with the DATa:ENCdg command.
ASCII data — is represented by signed integer values. The range of the values depends on the byte width specified. One byte wide data ranges from –128 to 127. Two byte wide data ranges from –32768 to 32767.
Each data value requires two to seven characters. This includes one to five characters to represent the value, another character, if the value is negative, to represent a minus sign, and a comma to separate the data points.
An example ASCII waveform data string may look like this:
Use ASCII to obtain more human readable and easier to format output than binary. However, it may require more bytes to send the same values with ASCII than it does with binary. This may reduce transmission speeds.
Binary data — can be represented by signed integer or positive integer values. The range of the values depends on the byte width specified. When the byte width is one, signed integer data ranges from –128 to 127, and positive integer
Command Groups

values range from 0 to 255. When the byte width is two, the values range from –32768 to 32767.
The defined binary formats also specify the order in which the bytes are transferred. The four binary formats are RIBinary, RPBinary, SRIbinary, and SRPbinary.
RIBinary is signed integer where the most significant byte is transferred first, and RPBinary is positive integer where the most significant byte is transferred first. SRIbinary and SRPbinary correspond to RIBinary and RPBinary respec- tively but use a swapped byte order where the least significant byte is transferred first. The byte order is ignored when DATa:WIDth is set to 1.
You can transfer multiple points for each waveform record. You can transfer a portion of the waveform or you can transfer the entire record. The DATa:STARt and DATa:STOP commands let you specify the first and last data points of the waveform record.
When transferring data into the digitizing oscilloscope, you must specify the location of the first data point within the waveform record. For example, when you set DATa:STARt to 1, data points will be stored starting with the first point in the record, and when you set DATa:STARt to 500, data will be stored starting at the 500th point in the record. The digitizing oscilloscope will ignore DATa:STOP when reading in data as it will stop reading data when it has no more data to read or when it has reached the specified record length.
When transferring data from the digitizing oscilloscope, you must specify the first and last data points in the waveform record. Setting DATa:STARt to 1 and DATa:STOP to the record length will always return the entire waveform. You can also use the vertical bar cursors to delimit the portion of the waveform that you want to transfer. DATa:STARt and DATa:STOP can then be set to the current cursor positions by sending the command DATa SNAp.
The DATa:SOUrce command specifies the data location when transferring waveforms from the digitizing oscilloscope. You can transfer out multiple waveforms at one time by specifying more than one source.
You can transfer in to the digitizing oscilloscope only one waveform at a time. Waveforms sent to the oscilloscope are always stored in one of the four reference memory locations. You can specify the reference memory location with the DATa:DESTination command. You must define the memory size for the specified location before you store the data. The ALLOcate: WAVEFORM:REF command lets you specify the memory size for each reference location.
Command Groups

Each waveform that you transfer has an associated waveform preamble that contains information such as the horizontal scale, the vertical scale, and other settings in place when the waveform was created. Refer to the WFMPre commands starting on page 2–345 for more information about the waveform preamble.
Scaling Waveform Data
Once you transfer the waveform data to the controller, you can convert the data points into voltage values for analysis using information from the waveform preamble. The program on the diskettes that come with this manual shows how you can scale data.
You can transfer waveforms from the digitizing oscilloscope to an external controller using the following sequence:
You can transfer waveform data to one of the four reference memory locations in the digitizing oscilloscope using the following sequence:
Oscilloscope
Command Groups

Waveform commands also work with extended-acquisition-length mode. This mode lets the oscilloscope acquire extended acquisition lengths of 2M, 4M, and 8M while maintaining waveform record lengths limited to 500K.
Length Mode (TDS 500C & 700C,
Option 2M)
In other words, the acquisition data for a channel may be bigger than a waveform you view. Then, after the data is acquired, you can move to and display any portion of the data.
Figure 2–4 below shows conceptually how this mode lets you select a subsection of the larger acquisition data. You can select the starting and ending positions in the acquisition data and the waveform record.
Move to any portion of the acquisition data

Table 2–23 below shows the correlation between the number of channels in use and the waveform record length.
# of Channels in Use Extended Acquisition Length Waveform Record Length
1 of 4 (not on the TDS 520C and 724C)
8 M samples 500 K samples
2 of 4 (or on the TDS 520C and 724C: 1 of 2)
4 M samples 250 K samples
3 or 4 of 4 (or on the TDS 520C and 724C: 2 of 2)
2 M samples 100 K samples
From a software development viewpoint, to define how much of the extended acquisition length data to include, you can use the ' and commands.
To define the waveform record within the extended acquisition data, you can use the )$#' ! or the )$#' ! ' $# command.
The query will return the extended acquisition data as you defined it with ' and . With extended-acquisition-mode set to on, this can be much larger than the waveform record. With extended-acquisition- mode set to off, this is equal to the waveform record.
Also, % will force ' and to become the boundaries of the waveform record.
Commands related to extended-acquisition-length mode operations include: % & ' )$#' ! )$#' ! )$#' ! * )$#' ! ' $# )$#' ! !! * and & ( ".
Command Groups

Transfer waveform data
The format and location of the waveform data that is transferred with the CURVe command
#& $# Destination for waveforms sent to digitizing oscilloscope
Waveform data encoding method
% Source of data
& Starting point in waveform transfer
Ending point in waveform transfer
& Same as DATa:DESTination
& Byte width of waveform points
%" Return waveform preamble and data
% Return waveform format data
% % Preamble bit width of waveform points.
% "& Preamble binary encoding type
% % Preamble byte width of waveform points
% % Preamble byte order of waveform points
% Preamble checksum of waveform points
% Preamble encoding method
% & Number of points in the curve
% "& Format of curve points
% Trigger position
% Curve identifier
% % Horizontal sampling interval
% !& Horizontal scale factor
% Horizontal offset
% & Horizontal units
%%$ Horizontal origin offset
% !& Vertical scale factor
% Vertical offset
% & Vertical units
%%$ Offset voltage
Command Groups · Header Description

Z-axis scale factor
Z-axis offset
Z-axis units
Z-axis origin offset
Number of points in the curve
Format of curve points
Trigger position
Curve identifier
Horizontal sampling interval
Horizontal units
Vertical scale factor
Vertical offset
Vertical units
Offset voltage
Command Groups · Header Description · Horizontal units

Zoom commands let you expand and position the waveform display horizontally and vertically without changing the time base or vertical settings. Table 2–25 lists these commands.
Reset zoom parameters to defaults
(Not on TDS 510A) Turn dual zoom mode on and off
(Not on TDS 510A)
Adjust the requested horizontal offset between the centers of the main and second zoom boxes
(Not on TDS 510A)
Select between the upper and lower graticule for use by the zoom preview state
Horizontal zoom lock
Horizontal zoom position
Horizontal zoom scale
Turn zoom mode on or off (you can also turn on the preview mode – not on the TDS 510A)
Vertical zoom position
Vertical zoom scale
Command Groups · Header Description

You can use commands to either set instrument features or query instrument values. You can use some commands to do both, some to only set, and some to only query. This manual marks set only commands with the words “No Query Form” included with the command name. It marks query only commands with a question mark appended to the header, and includes the words “Query Only” in the command name.
This manual spells out headers, mnemonics, and arguments with the minimal spelling shown in upper case. For example, to use the abbreviated form of the ACQuire:MODe command just type ACQ:MOD.
Returns all the current acquisition parameters.
might return the string for the current acquisition parameters.
Saves waveforms in reference memory when acquisition completes. This is equivalent to setting Autosave Single Seq in the Acquire menu and the corresponding side menu Off or On items.
When you start a Single Sequence with Autosave set to ON, the oscilloscope nulls out all existing reference waveforms. At the end of Single Sequence, the oscilloscope saves all displayed live channels to reference waveform memory. It saves references in the order Ch1 –> Ref1, Ch2 –> Ref2, Ch3 –> Ref3, Ch4 –> Ref4. The exact number of references saved may depend on the record length used.
Acquisition

When extended-acquisition-length mode is on, this command can still set and return values. However, this acquire:autosave feature will not actually work while extended-acquisition-length mode is on.
or = 0 turns autosave off.
or 0 turns autosave on.
turns autosave mode on.
turns autosave mode off.
might return , indicating that autosave mode is on.
Sets or queries the acquisition mode of the digitizing oscilloscope. This affects all live waveforms. This command is equivalent to setting Mode in the Acquire menu.
Waveforms are the displayed data point values taken from acquisition intervals. Each acquisition interval represents a time duration set by the horizontal scale (time per division). The digitizing oscilloscope sampling system always samples at the maximum rate, and so an acquisition interval may include more than one sample.
The acquisition mode, which you set using this ACQuire:MODe command, determines how the final value of the acquisition interval is generated from the many data samples.

When extended-acquisition-length mode is on, this command can still set and return values. However, the oscilloscope will treat all modes, except Peak Detect, as the Sample mode.
ACQuire:NUMAVg, ACQuire:NUMENv, CURVe?, DATa:WIDth
For the TDS 400A, 510A, 500C & 700C:
! " # $
For the TDS 600B:
! " # # # $
For all TDS:
For the TDS 400A, 510A, 500C, & 700C:
!
For the TDS 600B:
!
specifies that the displayed data point value is simply the first sampled value that was taken during the acquisition interval. In sample mode, all waveform data has 8 bits of precision. You can request 16 bit data with a

CURVe? query, but the lower-order 8 bits of data will be zero. is the default mode.
specifies the display of the high-low range of the samples taken from a single waveform acquisition. The high-low range is displayed as a vertical column that extends from the highest to the lowest value sampled during the acquisition interval. mode can reveal the presence of aliasing or narrow spikes.
(for the TDS 400A, 510A, 500C, & 700C) specifies Hi Res mode, where the displayed data point value is the average of all the samples taken during the acquisition interval. This is a form of averaging, where the average comes from a single waveform acquisition. The number of samples taken during the acquisi- tion interval determines the number of data values that compose the average.
specifies averaging mode, where the resulting waveform shows an average of data points from several separate waveform acquisitions. The number of waveform acquisitions that go into making up the average waveform is set or queried using the ACQuire:NUMAVg command.
specifies envelope mode, where the resulting waveform shows the range of data points from several separate waveform acquisitions. The number of waveform acquisitions that go into making up the envelope waveform is set or queried using the ACQuire:NUMENv command.
sets the acquisition mode to display a waveform that is an envelope of many individual waveform acquisitions.
might return .
Indicates the number of acquisitions that have taken place since starting acquisition. This value is reset to zero when any Acquisition, Horizontal, or Vertical arguments that affect the waveform are modified. The maximum number of acquisitions that can be counted is 230–1. Counting stops when this number is reached. This is the same value that is displayed in the upper center of the screen when the acquisition system is stopped.
ACQuire:STATE
Acquisition

might return , indicating that 350 acquisitions took place since an AC- QUIRE:STATE RUN command was executed.
Sets the number of waveform acquisitions that make up an averaged waveform. This is equivalent to setting the Average count in the Acquisition Mode side menu.
ACQuire:MODe
is the number of waveform acquisitions, from 2 to 10,000.
specifies that an averaged waveform will show the result of combining 10 separately acquired waveforms.
might return , indicating that there are 75 acquisitions specified for averaging.

Sets the number of waveform acquisitions that make up an envelope waveform. This is equivalent to setting the Envelope count in the Acquisition Mode side menu.
ACQuire:MODe
0 is the number of waveform acquisitions, from 1 to 2000. The envelope will restart after the specified number of envelopes have been acquired or when the ACQuire:STATE RUN command is sent.
or = 0 specifies continuous enveloping.
specifies that an enveloped waveform will show the result of combining 10 separately acquired waveforms.
might return , indicating that acquisitions are acquired infinitely for enveloped waveforms.

Controls repetitive signal acquisition. This is equivalent to setting Repetitive Signal in the Acquire menu. When the digitizing oscilloscope is in real-time operation, this setting has no effect.
The ACQuire:REPEt command specifies the behavior of the acquisition system during equivalent-time (ET) operation. When repetitive mode is on, the acquisition system will continue to acquire waveform data until the waveform record is filled with acquired data. When repetitive mode is off and you specify single acquisition operation, only some of the waveform data points will be set with acquired data, and the displayed waveform shows interpolated values for the unsampled data points.
When extended-acquisition-length mode is on, this command can still set and return values. However, this acquire:repet feature will not actually work while extended-acquisition-length mode is on.
ACQuire:STATE, ACQuire:STOPAfter
or = 0 turns repetitive mode off.
or 0 turns repetitive mode on.
turns repetitive mode on.
turns repetitive mode off.

might return , indicating that repetitive signal acquisition mode is on.
Starts or stops acquisitions. This is the equivalent of pressing the front-panel RUN/STOP button. If ACQuire:STOPAfter is set to SEQuence, other signal events may also stop acquisition.
ACQuire:NUMACq?, ACQuire:REPEt, ACQuire:STOPAfter
or or = 0 stops acquisitions.
or or 0 starts acquisition and display of waveforms. If the command was issued in the middle of an acquisition sequence (for instance averaging or enveloping), restarts the sequence, discarding any data accumulated prior to the . It also resets the number of acquisitions.
starts acquisition of waveform data and resets the number of acquisitions count (NUMACQ) to zero.
returns either or , depending on whether the acquisition system is running.

Tells the digitizing oscilloscope when to stop taking acquisitions. This is equivalent to setting Stop After in the Acquire menu.
When extended-acquisition-length mode is on, this command can still set and return values. However, this acquire:stopafter feature will not actually work while extended-acquisition-length mode is on.
ACQuire:MODe, ACQuire:STATE, ACQuire:REPEt
!
specifies that the run and stop state should be determined by the user pressing the front-panel RUN/STOP button.
specifies “single sequence” operation, where the digitizing oscillo- scope stops after it has acquired enough waveforms to satisfy the conditions of the acquisition mode. For example, if the acquisition mode is set to sample, and the horizontal scale is set to a speed that allows real-time operation, then the digitizing oscilloscope will stop after digitizing a waveform from a single trigger event. However, if the acquisition mode is set to average 100 waveforms, then the digitizing oscilloscope will stop only after all 100 waveforms have been acquired. The ACQuire: STATE command and the front-panel RUN/STOP button will also stop acquisition when the digitizing oscilloscope is in single sequence mode.
specifies the digitizing oscilloscope stops after the limit test condition is met.

sets the oscilloscope to stop acquisition when the user presses the front-panel RUN/STOP button.
might return .
Turns command aliases on or off. This command is identical to the ALIas:STATE command.
or = 0 turns alias expansion off. If a defined alias label is sent when ALIas is OFF, an execution error (110, “Command header error”) will be generated.
or 0 turns alias expansion on. When a defined alias is received, the specified command sequence is substituted for the alias and executed.
turns the alias feature on.
returns when aliases are on.

Returns a list of the currently defined alias labels, separated by commas. If no aliases are defined, the query returns the string .
) #&
) #&
might return the string , showing there are 3 aliases named SETUP1, TESTMENU1, and DEFAULT.
Assigns a sequence of program messages to an alias label. These messages are then substituted for the alias whenever it is received as a command or query provided ALIas:STATE has been turned ON. The ALIas:DEFIne? query returns the definition of a selected alias.
Up to 10 aliases can be defined at one time. Aliases can be recursive. That is, aliases can include other aliases with up to 10 levels of recursion.
) % *(!% &$$ + *(!% , #& " -
) % *(!%
&$$ *(!% '
) %
*(!% '

The first -+%($ is the alias label. This label cannot be a command name. Labels must start with a letter, and can contain only letters, numbers, and underscores; other characters are not allowed. The label must be ≤12 characters.
The second -+%($ or ')"& is a complete sequence of program messages. The messages can contain only valid commands that must be separated by semicolons and must follow all rules for concatenating commands (see page 2–4). The sequence must be ≤80 characters.
defines an alias named “ST1” that sets up the digitizing oscilloscope.
might return
Removes a specified alias. This command is identical to ALIas:DELEte:NAMe.
!, -# -+%($
-+%($ *!"# !, -#
-+%($ is the name of the alias you want to remove. Using ALIas:DELEte without specifying an alias causes an execution error. -+%($ must be a previously defined alias.
deletes the alias named SETUP1.
Alias

Deletes all existing aliases.
deletes all aliases.
Removes a specified alias. This command is identical to ALIas:DELEte.
is the name of the alias to remove. Using ALIas:DELEte:NAMe without specifying an alias causes an execution error. must be a previously defined alias.
deletes the alias named STARTUP.
Turns aliases on or off. This command is identical to the ALIas command.
! ! "
Alias · Alias · Alias

or = 0 turns alias expansion off. If a defined alias is sent when ALIas:STATE is OFF, a command error (102) will be generated.
or 0 turns alias expansion on. When a defined alias is received, the specified command sequence is substituted for the alias and executed.
turns the command alias feature off.
returns when alias mode is off.
Causes the digitizing oscilloscope to return all events and their messages, and removes the returned events from the Event Queue. The messages are separated by commas. Use the *ESR? query to enable the events to be returned. For a complete discussion of the use of these registers, see page 3–1. This command is similar to repeatedly sending *EVMsg? queries to the instrument.
*CLS, DESE, *ESE, *ESR?, EVENT?, EVMsg?, EVQTY, *SRE, *STB?
The event code and message in the following format:
' !& " " &$ ! " ' !& " " &$ !
&$ ! %% " !

'%% &! is the command that caused the error and may be returned when a command error is detected by the digitizing oscilloscope. As much of the command will be returned as possible without exceeding the 60 character limit of the ")) $" and '%% &! strings combined. The command string is right-justified.
might return the string " )+("%"&* "(('( ' - ,"#'(% *' %" )+(" +"(. .
Returns the number of data points allocated for all four reference memory locations.
might return , indicating that all 50000 data points are allocated to reference memory loca- tion 1.
Returns the number of data points allocated for all four reference memory locations.
*" #'(%
#'(% *"
might return ,

indicating that 500 data points are allocated to each of the first three reference memory locations.
Returns the approximate number of data points that have not been allocated.
is the approximate number of data points available.
might return indicating that there are approximately 500 data points available for allocation. The extra 20 are used for administration purposes.
Sets or queries the number of waveform data points for the specified reference location. If an attempt is made to allocate memory when it is not available, an execution error is generated and the memory is not allocated.
= 0 is returned when the reference location is empty.
Save and Recall · Save and Recall

0 specifies the number of data points. Table 2–26 shows the number of data points supported for reference locations by TDS model. In the TDS 500C and 600B all invalid values less than the maximum will be forced to the next highest valid value, and those higher than the maximum will be forced to the maximum. For example, 15002 points on a TDS 520C with option 1M will allocate 50000 points of data for the reference. No complete references are stored for 500000 data points in the TDS 500C and TDS 700C.
TDS 510A, TDS 520C, TDS 724C, TDS 600B
TDS 540C, TDS 754C, TDS 784C
Standard 500, 1000, 2500, 5000, 15000, 30000 (4 refs)
500, 1000, 2500, 5000, 15000 50000
500, 1000, 2500, 5000, 15000
500, 1000, 2500, 5000, 15000, 50000 (4 refs)
Option 1M (not on the TDS 510A) or 2M (TDS 500C & 700C only)
60000 (2 refs), 120000 (1 ref) TDS 520C & 724C only: 75000 (3 refs), 100000 (2 refs), 130000 (2 refs), 250000 (1 ref)
75000 (3 refs), 100000 (2 refs), 130000 (2 refs), 250000 (1 ref) 500000 (no complete refs)
reserves 1,000 data points for REF2.
might return
Displays the user-definable Application menu, and the query returns the current Application menu labels and title. This is equivalent to pressing the front-panel APPLICATION button.

displays the Application menu. Use the CLEARMenu command to deactivate the Application menu.
Once the Application menu is activated, whenever a front-panel menu button is pressed an event is generated that tells which button was pressed. See page 3–17 for event codes.
Menu button presses will also generate Service Requests when the URQ bit is enabled in DESER and ESER and the ESB bit is enabled in SRER. See page 3–1 for a complete discussion of the use of these registers.
displays the application menu.
Removes all user-defined Application menu button labels from the display. The APPMenu:LABel? query returns all the current label settings.
removes the main and side menu button labels from the display. Front-pa- nel bezel button presses will continue to generate events.
clears the user-defined menu labels from the display.

Defines a label for the main menu button that is specified by . Main menu buttons are located along the bottom of the display, and are numbered from 1 to 7 starting with the left-most button.
is the menu button label and can include any of the characters shown in the TDS Character Chart in Appendix A. The maximum length of the label is 1000 characters. The TDS displays the label in the area above the specified main menu button.
The TDS displays the label on a single line and centers it, both vertically and horizontally, within the label area. You can embed a line feed character in the string to position the label on multiple lines. You can also use white space tab characters to position the label within a line.
You can send a tab by transmitting a tab character (decimal 9) followed by two characters representing the most significant eight bits followed by the least significant eight bits of a 16-bit number. The number specifies the pixel column relative to the left margin of the label area. For example, to tab to pixel 13, send TAB (decimal 9), NUL (decimal 0), and CR (decimal 13).
The ESC @ character turns reverse video on and off, and can be embedded in the label string. The first ESC @ character displays all text following the ESC @ in reverse video until another ESC @ character is found in the string.
The label area is 45 pixels high and 90 pixels wide. The length of the label that fits in the label area depends on the contents of the label, because the width of characters varies. The label area is about 10 characters wide and 3 lines high. For a complete list of character widths in pixels, see Table A–1 on page A–1.
If the label exceeds the limits of the label area, either horizontally or vertically, the portion of the label that exceeds the limits will not be displayed. The label
Application Menu · ·

itself is not altered. The entire label can be returned as a query response regardless of what is displayed.
assigns the label “SETUP1” to the third main menu button.
Defines a label for the side menu button that is specified by . Side menu buttons are located on the right side of the display, and are numbered from 1 to 5 starting with the top-most button.
# $ "!
# $
"!
#
"! is the menu button label and can include any of the characters shown in the TDS Character Chart in Appendix A. The maximum length of the label is 1000 characters. The label is displayed in the area to the left of the specified side menu button. Refer to the APPMenu:LABel:BOTTOM command on page 2–65 for more information on defining menu labels.
The label area is 72 pixels high and 112 pixels wide. The length of the label that fits in the label area depends on the contents of the label, because the width of characters varies. The label area is about 12 characters wide and 4 lines high. For a complete list of character widths in pixels, see Table A–1 on page A–1.
% displays the label “TEST ON” next to the top side menu button.
Sets or queries the user-defined application menu title. The title is displayed above the side menu.
Application Menu · · $

APPMenu, APPMenu:LABel
!
!
!
is the side menu title and can include any of the characters shown in the TDS Character Chart in Appendix A. The maximum length of the title is 1000 characters. The APPMenu:LABel:BOTTOM command on page 2–65 provides information on defining menu labels.
The label area is 40 pixels high and 112 pixels wide. The length of the label that fits in the label area depends on the contents of the label, because the width of characters varies. The label area is about 12 characters wide and 4 lines high. For a complete list of character widths in pixels, see Table A–1 on page A–1.
! ! displays the title “Custom Menu” on the screen.
might return ! for the current application menu title.
Causes the digitizing oscilloscope to adjust its vertical, horizontal, and trigger controls to provide a stable display of the selected waveform. This is equivalent to pressing the front-panel AUTOSET button. For a detailed description of the autoset function, see Autoset in the Reference section of the User Manual for your instrument.
This command will turn the extended-acquisition-length mode to off.
!
Application Menu · · Miscellaneous

autosets the displayed waveform.
Beeps the audio indicator of the digitizing oscilloscope.
rings the bell.
Returns the status of the digitizing oscilloscope. This command allows you to synchronize the operation of the digitizing oscilloscope with your application program. Synchronization methods are described on page 3–7.
*OPC, *WAI
Returns
= 0 means that the digitizing oscilloscope is not busy processing a command whose execution time is extensive. These commands are listed in Table 2–27.
= 1 means that the digitizing oscilloscope is busy processing one of the commands listed in Table 2–27.

Single sequence acquisition ACQuire:STATE ON or ACQuire:STATE RUN (when ACQuire:STOPAfter is set to SEQuence)
Hardcopy output HARDCopy STARt
might return , indicating that the instrument is busy.
Instructs the digitizing oscilloscope to perform an internal self-calibration and return its calibration status.
= 0 indicates that the calibration completed without any errors detected.
0 indicates that the calibration did not complete successfully.
performs an internal self-calibration and might return to indicate that the calibration was successful.
Returns the vertical parameters. Because CH:SCAle and CH:VOLts are identical, only CH:SCAle is returned.

might return the string for chan- nel 1.
Sets or queries the bandwidth setting of the specified channel. This is equivalent to setting Bandwidth in the Vertical menu.
/ $.($-' 1 *-0 2 $,%$ (TDS 400A, 510A) 2 &(&-0 (TDS 500C, 600B & 700C) 2 ) 3
/ $.($-'
$.($-'
*-0 sets the channel bandwidth to 20 MHz.
$,%$ sets the channel bandwidth to 100 MHz (TDS 400A, 510A).
&(&-0 sets the channel bandwidth to 250 MHz (TDS 500C, 600B, & 700C).
) sets the channel bandwidth to the full bandwidth of the digitizing oscillo- scope.
! sets the bandwidth of channel 2 to 20 MHz.

might return , which indicates that there is no bandwidth limiting on channel 1.
Sets or queries the input attenuator coupling setting of the specified channel. This is equivalent to setting Coupling in the Vertical menu.
CH:IMPedance
! " " #
sets the specified channel to AC coupling.
sets the specified channel to DC coupling.
sets the specified channel to ground. Only a flat ground-level waveform will be displayed.
establishes AC coupling on channel 1.
might return , indicating that channel 3 is set to DC coupling.

Sets or queries the deskew time for this channel. This is equivalent to setting Deskew in the Vertical menu and entering a value with the keypad or general purpose knob.
Deskew allows you to compensate for time delay differences caused by signals coming in from cables of different length.
When extended-acquisition-length mode is on, this command can still set and return values. However, this deskew feature will not actually work while extended-acquisition-length mode is on.
is the deskew time for this channel. The range is –25.0 ns to +25.0 ns with a resolution of 1 ps. Out of range values are clipped.
Sets or queries the impedance setting at the specified input channel. This is equivalent to setting Impedance in the Ch Coupling Impedance side menu.
TDS 500C, 600B and 700C: When you attach an active 50 probe to an input channel of the TDS 500C, 600B or 700C, the oscilloscope reduces the maximum vertical scale from 10 V to 1 V per division. For example, an active 10X probe would provide 10 V per division and a passive 10X probe would provide 100 V per division.
CH:COUPling

! "
sets the specified channel to 50 impedance.
sets the specified channel to 1 M impedance.
establishes 50 impedance on channel 1.
might return , indicating that channel 3 is set to 1 M impedance.
Sets or queries the offset, in volts, that is subtracted from the specified input channel before it is acquired. The greater the offset, the lower on the display the waveform appears. This is equivalent to setting Offset in the Vertical menu.
CH:POSition
is the desired offset in volts. The range is dependent on the scale and the probe attenuation factor. The offset ranges are shown below.

Table 2–28: Offset Ranges for the TDS 400A, 510A, 540C, 600B, 754C, & 784C (All Channels) and the TDS 520C & 724C (Channel 1 & Channel 2) using a 1x Probe
CH<x>:SCAle OFFSet Range
1 mV/div – 99.5 mV/div ±1 V
100 mV/div – 995 mV/div ±10 V
1 V/div – 10 V/div ±100 V
Table 2–29: Offset Ranges for the TDS 520C & 724C (Aux 1 & Aux 2) using a 1x Probe
CH<x>:SCAle OFFSet Range
50 mV/div & 100 mV/div ±.5 V
500 mV/div & 1 V/div ±5.0 V
5 V/div & 10 V/div ±50 V
lowers the channel 1 displayed waveform by 0.5 volts.
might return , indicating that the current channel 1 offset is 0.5 volts.
Sets or queries the vertical position of the specified channel. The position value is applied to the signal before digitization. This is equivalent to setting Position in the Vertical menu or adjusting the front-panel Vertical Position knob.
CH:OFFSet
Vertical ·

! "
is the desired position, in divisions from the center graticule. The range is ±5 divisions.
positions the channel 2 input signal 1.3 divisions above the center of the display.
might return , indicating that the current position of channel 1 is at –1.3 divisions.
Returns the attenuation factor of the probe that is attached to the specified channel.
might return for a 10x probe.
Queries the probe cal status for the selected channel.

signifies that probe cal has failed for the selected channel.
signifies the probe cal has not yet been run for the selected channel
signifies that probe cal has passed for the selected channel.
might return indicating that probe cal has passed for channel 2.
Sets and queries the external attenuation for the specified channel to the specified value. This command deals with the attenuation factor rather than the gain factor. This is unlike the CH:PROBE? command.
% $! ## !
$! % ## !
is the attenuation value specified as a multiplier in the range 1.00E–6 to 1.00E+6. The default is 1.00.
sets the external attenuation to 15X.
Sets and queries the external attenuation for the specified channel to the specified value in dB. Note that 1X = 0 dB, 10X = 20 dB, 100X = 40 dB, etc.

' %%!#
' %%!#
is the attenuation value specified in the range –120.00 dB to 120.00 dB. The default is 0.00 dB.
sets the external attenuation to 2.5 dB.
Sets or queries the vertical gain of the specified channel. This is equivalent to setting Fine Scale in the Vertical menu or adjusting the front-panel Vertical SCALE knob.
CH1:VOLts
' "!
is the gain, in volts per division. The range is 100 mV per division to 1 mV per division when using a 1x probe.
sets the channel 4 gain to 100 mV per division.
might return , indicating that the current V per division setting of channel 2 is 1 V per division.

Sets or queries the vertical gain of the specified channel. This command is identical to the CH:SCAle command and is included for compatibility purposes. Only CH:SCAle is returned in response to a CH? query.
CH1:SCAle
# !
sets the channel 4 gain to 100 mV per division.
might return , indicating that the current V per division setting of channel 2 is 1 V per division.
Clears the current menu from the display. This command is equivalent to pressing the CLEAR MENU button on the front panel.
clears the menu from the display.

Clears the digitizing oscilloscope status data structures.
DESE, *ESE, *ESR?, EVENT?, EVMsg?, *SRE, *STB?
The *CLS command clears the following:
the Event Queue
the Standard Event Status Register (SESR)
the Status Byte Register (except the MAV bit; see below)
If the *CLS command immediately follows an , the Output Queue and MAV bit (Status Byte Register bit 4) are also cleared. MAV indicates informa- tion is in the output queue. The device clear (DCL) GPIB control message will clear the output queue and thus MAV. *CLS does not clear the output queue or MAV. (A complete discussion of these registers and bits, and of event handling in general, begins on page 3–1.)
*CLS can suppress a Service Request that is to be generated by an *OPC. This will happen if a hardcopy output or single sequence acquisition operation is still being processed when the *CLS command is executed.
Returns all current cursor settings.

might return ! as the current cursor settings.
Selects and displays the cursor type. Cursors are attached to the selected waveform. This command is equivalent to setting Function in the Cursor menu.
SELect:CONTROl
(* ,&(' - *+ . . !*+ . *%$ /
(* ,&('
,&(' (*
*+ specifies horizontal bar cursors that measure volts.
removes the cursors from the display.
!*+ specifies vertical bar cursors that measure time.
*%$ specifies paired cursors that measure both time and volts.
,&(' ! selects vertical bar type cursors.
Returns the current settings for the horizontal bar cursors.

!# #$
might return .
Returns the voltage difference between the two horizontal bar cursors.
!# #$
!# #$
might return for the voltage difference between the two cursors.
Positions a horizontal bar cursor.
!# #$ %
!# #$ %
!# #$ %

specifies the cursor position relative to ground, in volts.
positions one of the horizontal cursors at 25.0 mV.
might return , indicating that one of the horizontal bar cursors is at –64.0 mV.
Sets or queries the position of the horizontal bar cursors (x is either 1 or 2) in units of % of vertical range.
!# #$ & %
!# #$ & %
!# #$ &
" %
has a range of 0 to 100 (%). It specifies the cursor position relative to the vertical range of the selected waveform.
might return , indicating cursor 1 is positioned at 45% of the vertical range of the selected waveform.
Cursor ·

Selects which horizontal bar cursor is active for front-panel control. The active cursor will be displayed as a solid horizontal line and can be moved using the front-panel general purpose knob when the cursor menu is active. The unselected cursor will be displayed as a dashed horizontal line. This command is equivalent to pressing the SELECT button on the front panel when the Cursor menu is displayed.
selects the first horizontal bar cursor.
selects the second horizontal bar cursor.
selects the first horizontal bar cursor as the active cursor.
returns when the first cursor is the active cursor.
Sets or queries the units for the horizontal bar cursors. This command is equivalent to setting Amplitude in the Cursor menu.

specifies base as the unit of measure.
specifies IRE as the unit of measure. These units are typically used with video signals.
sets the units for the horizontal bar cursors to base.
returns when the horizontal bar cursor units are IRE.
Selects whether the two cursors move together in unison or separately.
CURSor:FUNCtion
{ }
ties the two cursors together as you move the general purpose knob.
frees the two cursors to move separately.
specifies that the cursors positions move in unison.

might return showing the two cursors move in unison.
Positions the paired cursors. Also, returns the current paired cursor settings.
In extended-acquisition-length mode, the cursors are limited to the waveform record section of the acquisition data (see Figure 2–4 on page 2–41).
DATa:STARt, DATa:STOP
!# # "
!# #
" positions the paired cursors at $ and .
specifies the positions of the cursors are at the current DATA:START and DATA:STOP values.
might return .
Queries the hbar (voltage) distance between the first and second paired cursor. This is the absolute value of the vertical position of the first cursor minus the vertical position of the second cursor.
CURSor:FUNCtion

might return for the voltage difference between the two cursors.
Queries the horizontal bar (voltage) position of the first paired cursor.
CURSor:FUNCtion
might return , indicating that the first cursor is at –64.0 mV.
Queries the horizontal bar (voltage) position of the second paired cursor.
CURSor:FUNCtion
might return , indicating the second cursor is at –64.0 mV.
Cursor · Cursor

Sets or queries the vertical bar (time) position of the first or second paired cursor. x is either 1 or 2 and refers to the first or second cursor.
The CURSor:VBArs:UNITS command specifies the units for these cursors.
In extended-acquisition-length mode, the paired cursor position must be within the waveform record (as opposed to the entire extended acquisition length) for any change to happen.
CURSor:FUNCtion, CURSor:VBArs:UNITS
specifies the cursor position in the units specified by the CURSor:VBArs:UNITS command.
The position can appear in units of seconds, 1/seconds (hertz), or video line numbers (with option 05). On the TDS 400A, position can also appear in units of clocks or 1/clocks.
specifies the first paired cursor is at 9 s.
might return , indicating that the second paired cursor is at 1 s.
Sets or queries the horizontal position of the paired cursors (x is either 1 or 2) in units of % of record length.

" " $ #
" " $ #
" " $
! #
has a range of 0 to 100 (%). It specifies the cursor position relative to the record length of the selected waveform.
might return , indicating cursor 1 is positioned at 45% of the record length of the selected waveform.
Selects the active paired cursor. The active cursor appears as a solid vertical line. The unselected cursor appears as a dashed vertical line. This command is equivalent to pressing the SELECT button on the front panel when the Cursor menu is displayed.
" " # % & '
" " #
" " #
specifies the first paired cursor.
specifies the second paired cursor.

selects the second paired cursor as the active cursor.
returns when the first paired cursor is the active cursor.
Sets or queries the units for the paired cursors. This is equivalent to setting Amplitude in the Cursor menu.
specifies base as the unit of measure.
specifies IRE as the unit of measure. These units are typically used with video signals.
sets the units for the paired cursors to base.
returns when the paired cursor units are IRE.
Queries the vbar (time) distance between paired cursors. It returns the absolute value of the first cursor less the second cursor horizontal positions.
The position can appear in units of seconds, 1/seconds (hertz), or video line numbers (with option 05). On the TDS 400A, position can also appear in units of clocks or 1/clocks.

CURSor:FUNCtion
! !
! !
might return , indicating that the time between the paired cursors is 1.064 seconds.
Positions the vertical bar cursors and the CURSor:VBArs? query returns the current vertical bar cursor settings for horizontal position, delta, cursor selection, and units.
The position can appear in units of seconds, 1/seconds (hertz), or video line numbers (with option 05). On the TDS 400A, position can also appear in units of clocks or 1/clocks.
In extended-acquisition-length mode, the cursors are limited to the waveform record section of the acquisition data (see Figure 2–4 on page 2–41).
DATa:STARt, DATa:STOP, MEASUrement:GATing
! !"
! !"
positions the vertical bar cursors at DATa:STARt and DATa:STOP.

specifies that the cursors positions are the same as the current DATA:START and DATA:STOP values.
might return $ .
Returns the time or frequency between the two vertical bar cursors. The units, seconds or Hertz, are specified by the CURSor:VBArs:UNIts command.
The position can appear in units of seconds, 1/seconds (hertz), or video line numbers (with option 05). On the TDS 400A, position can also appear in units of clocks or 1/clocks.
CURSor:VBArs:UNIts
!" "#
!" "#
might return , indicating that the time between the vertical bar cursors is 1.064 seconds.
Positions a vertical bar cursor for both vertical bar and paired cursors. The CURSor:VBArs:UNIts command specifies units.
The position can appear in units of seconds, 1/seconds (hertz), or video line numbers (with option 05). On the TDS 400A, position can also appear in units of clocks or 1/clocks.
Cursor ·

In extended-acquisition-length mode, the cursors are limited to the waveform record section of the acquisition data (see Figure 2–4 on page 2–41).
CURSor:VBArs:UNIts
! !" $
! !" $
! !" $
specifies the cursor position in the units specified by the CUR- Sor:VBArs:UNIts command. The position is relative to the trigger position.
positions one of the vertical bar cursors at 9 s.
might return , indicating a vertical bar cursors is at 1 s.
Sets or queries the position of the vertical bar cursors (x is either 1 or 2) in units of % of record length.
! !" $ #
! !" $ #
Cursor · · Cursor

" "# %
! $
has a range of 0 to 100 (%). It specifies the cursor position relative to the record length of the selected waveform.
might return , indicating cursor 1 is positioned at 45% of the record length of the selected waveform.
Selects which vertical bar cursor is active. The active cursor will be displayed as a solid vertical line and can be moved using the front-panel general purpose knob when the cursor menu is active. The unselected cursor will be displayed as a dashed vertical line. This command is equivalent to pressing the SELECT button on the front panel when the Cursor menu is displayed.
" "# $ & ' (
" "# $
" "# $
specifies the first vertical bar cursor.
specifies the second vertical bar cursor.
selects the second vertical bar cursor as the active cursor.
returns when the first vertical bar cursor is the active cursor.

Sets or queries the units for the vertical bar cursors. This command is equivalent to setting Time Units (Horiz Units in the TDS 400A) in the Cursor menu.
CURSor:VBArs:DELTa?, CURSor:VBArs:POSITION
! !" & " ' #% ' (with option 05) | BASe $ ' !# $(
For the TDS 510A, 500C, 600B, & 700C:
#%
! !"
For the TDS 400A:
#%
! !"
" specifies seconds as the unit of measure. For the TDS 400A, this argument is available only for backward compatibility. If a TDS 400A receives this argument, it will convert it to BASE or INVERT depending on the selected waveform. The TDS 400A will not output this argument in response to a query.
#% specifies hertz as the unit of measure. For the TDS 400A, this argument is available only for backward compatibility. If a TDS 400A receives this argu-

ment, it will convert it to BASE or INVERT depending on the selected wave- form. The TDS 400A will not output this argument in response to a query.
specifies a video line as the unit of measure. This is most useful if you have option 05 video trigger installed. On some models, if you do not have option 05, use of this argument will generate an error message. On the TDS 400A, if you do not have option 05, the TDS 400A will use the NTSC standard for converting from time to lines. In order for the measurement to be accurate in the TDS 400A when TRIGGER:MAIN:VIDEO:SYSTEM is set to custom, you must set TRIGGER:MAIN:VIDEO:SCANPERIOD.
(TDS 400A only) specifies the base (or natural) units of the waveform as the unit of measurement. If internal clock is enabled, the base units are seconds. If external clock is enabled, the base units are clocks.
(TDS 400A only) specifies 1/ base (or natural) units of the waveform as the unit of measurement. If internal clock is enabled, the base units are 1/seconds (hertz). If external clock is enabled, the base units are 1/clocks.
sets the units for the vertical bar cursors to seconds.
returns when the vertical bar cursor units are hertz.
Queries the unit string as shown on screen for the vertical bar cursor readout.
might return , indicating the units are milliseconds.
Cursor

Transfers waveform data to and from the digitizing oscilloscope in binary or ASCII format. Each waveform that is transferred has an associated waveform preamble which contains information such as data format and scale. Refer to the WFMPre command starting on page 2–345 for information about the waveform preamble. The data format is specified by the DATa:ENCdg and DATa:WIDTH commands.
In extended-acquisition-length mode, the query form of this command can transfer acquisition record (as opposed to waveform) data from the oscilloscope in binary or ASCII format. Of course, to do this, you must specify a valid channel with the DATa:SOUrce command.
The CURVe? query transfers data from the instrument. The data source is specified by the DATa:SOUrce command. If more than one source is specified, a comma separated list of data blocks is returned. The first and last data points that are transferred are specified by the DATa:STARt and DATa:STOP commands.
The CURVe command transfers waveform data to the instrument. The data is stored in the reference memory location specified by DATa:DESTination starting with the data point specified by DATa:STARt. Only one waveform can be transferred at a time. The waveform will only be displayed if the reference is displayed.
A description of the waveform transfer process starts on page 2–38.
% & ! '
!
is the waveform data in binary format. The waveform is formatted as: #$$$ " where # is the number of y bytes. For example, if $$$ = 500, then # = 3. $$$ is the number of bytes to transfer. If width is 1 then all bytes on the bus are single data points. If width is 2 then all bytes on the bus are 2-byte pairs. Use the command to set the width.

is the curve data. is a single byte newline character at the end of the data. See the or examples in the accompanying disk for more specifics.
"'# #(&)$ is the waveform data in ASCII format. The format for ASCII data is ! where each represents a data point.
might return, for ASCII data:
Sets or queries the format and location of the waveform data that is transferred with the CURVe command. Since DATa:DESTination and DATa:TARget are equivalent, only DATa:DESTination is returned by the DATa? query.
" * + % + % ,
initializes the waveform data parameters to their factory defaults.
% sets DATa:STARt and DATa:STOP to match the current vertical bar cursor positions.
% sets DATa:STARt and DATa:STOP for the first and last points of the selected channel’s waveform/extended acquisition. When extended acquisi- tion length (2M, 4M, and 8M) mode is on and the selected channel is a live

channel, this is how to set up to get a waveform’s data over GPIB. It also works when extended acquisition length mode is off.
assigns the current position of the vertical bar cursors to DATA:START and DATA:STOP.
might return the string

Sets or queries the reference memory location for storing waveform data that is transferred into the digitizing oscilloscope by the CURVe command. This command is identical to the DATa:TARget command.
" #
#
"
# (, , or ) is the reference memory location where the waveform will be stored.
This means that you cannot have a channel as a destination. This is true even for extended-acquisition-length mode.
stores incoming waveform data in reference memory 3.
might return as the reference memory location that is currently selected.
Sets or queries the format of the waveform data. This command is equivalent to setting WFMPre:ENCdg, WFMPre:BN_Fmt, and WFMPre:BYT_Or as shown in Table 2–30. Setting the DATa:ENCdg value causes the corresponding WFMPre values to be updated and vice versa.
WFMPre:ENCdg, WFMPre:BN.FMT, WFMPre:BYT_Or
% & !$ & !$ & !$ & !$'

specifies the ASCII representation of signed integer ( ) data. If this is the value at power-on, the WFMPre values for BN_Fmt, BYT_Or, and ENCdg are set as RP, MSB, and ASC respectively.
specifies signed integer data-point representation with the most significant byte transferred first. This format results in the fastest data transfer rate when DATa:WIDth is set to 2.
The range is –128 to 127 when DATa:WIDth is 1. Zero is center screen. The range is –32768 to 32767 when DATa:WIDth is 2. The upper limit is one division above the top of the screen and the lower limit is one division below the bottom of the screen.
specifies positive integer data-point representation with the most significant byte transferred first.
The range is 0 to 255 when DATa:WIDth is 1. Center screen is 127. The range is 0 to 65,535 when DATa:WIDth is 2. The upper limit is one division above the top of the screen and the lower limit is one division below the bottom of the screen.
is the same as except that the byte order is swapped, meaning that the least significant byte is transferred first. This format is useful when transferring data to IBM compatible PCs.
is the same as except that the byte order is swapped, meaning that the least significant byte is transferred first. This format is useful when transferring data to IBM compatible PCs.

DATa:ENCdg Setting :ENCdg :BN_Fmt :BYT_Or
!#%
!#%
!#%
!#%
sets the data encoding format to be positive integer where the most significant byte is transferred first.
might return for the format of the waveform data.
Sets or queries the location of the waveform data that is transferred from the instrument by the CURVe? query. The source data is always transferred in a predefined order regardless of the order they are specified using this command. The predefined order is CH1 through CH4, MATH1 through MATH3, and then REF1 through REF4.
In extended-acquisition-length mode, the MATH1 through MATH3 sources can not be used. Also, in this mode, CH1 through CH4 refer to extended-acquisition- length data. In contrast, when not in extended-acquisition-length mode, CH1 through CH4 refer only to the waveform record. For more details, see page 2–41.
# $ " $
WFMPre Settings · Waveform · #

is the location of the waveform data that will be transferred from the digitizing oscilloscope to the controller.
specifies that four waveforms will be transferred in the next CURVE? query. The order that the data will be transferred is CH1, CH2, MATH1, and then REF2.
might return , indicating the source for the waveform data that is transferred using a CURVE? query.
Sets or queries the starting data point for waveform transfer. This command allows for the transfer of partial waveforms to and from the oscilloscope.
CURVe?, DATa SNAp, DATa:STOP
ranges from 1 to the record length, and is the first data point that will be transferred. Data will be transferred from to DATa:STOP or the record length, whichever is less. If is greater than the record length then no data will be transferred.
When DATa:STOP is less than DATa:STARt, the stop value will equal DATa:STARt + (DATA:STARt – DATa:STOP). For example, if DATa:STARt = 30 and DATaSTOP = 20, then the range of data points for the waveform transfer will equal 30 through 40.

In extended-acquisition-length mode, ranges up to the extended acquisition length as opposed to the waveform record length.
specifies that the waveform transfer will begin with data point 10.
might return as the first waveform data point that will be transferred.
Sets or queries the last data point that will be transferred when using the CURVe? query. This allows the transfer of partial waveforms to the controller.
When using the CURVe command, the digitizing oscilloscope will stop reading data when there is no more data to read or when the specified record length has been reached so this command will be ignored.
ranges from 1 to the record length, and is the last data point that will be transferred. If is greater than the record length then data will be transferred up to the record length. If both DATa:STARt and DATa:STOP are greater than the record length, an execution error will be executed.
If you always want to transfer complete waveforms, just set DATa:STARt to 1 and DATa:STOP to the maximum record length.
When DATa:STOP is less than DATa:STARt, the stop value will equal DATa:STARt + (DATA:STARt – DATa:STOP). For example, if DATa:STARt = 30 and DATaSTOP = 20, then the range of data points for the waveform transfer will equal 30 through 40.

In extended-acquisition-length mode, ranges up to the extended acquisition length as opposed to the waveform record length.
specifies that the waveform transfer will stop at data point 15000.
might return as the last data point that will be transferred.
Sets or queries the location for storing waveform data transferred to the instrument using the CURVe command. This command is equivalent to the DATa:DESTINATION command and is included for compatibility with older Tektronix instruments.
Sets the number of bytes per data point in the waveform transferred using the CURVe command.
CURVe, WFMPre:BIT_Nr, WFMPre:BYT_Nr

= 1 specifies that there is 1 byte (8 bits) per point. This format is useful when the acquisition mode is set to SAMple, ENVelope, or PEAKdetect (one byte per point). If used for AVErage or HIRes (two bytes per point), the low order byte is not transmitted.
= 2 specifies that there are 2 bytes (16 bits) per point. This format is useful for AVErage and HIRes (two bytes per point) waveforms. If used for ENVelope, PEAKdetect, or SAMple (one byte per point), the least significant byte is always zero.
# sets the data width to 1 byte per data point for CURVe data.
Sets or queries the date that the digitizing oscilloscope can display.
#" is a date in the form %$$$$ . refers to a two-digit month number from 01 to 12. refers to a two-digit day number in the month. $$$$ refers to a four-digit year number. There must a dash (–) after the $$$$ and after the .
specifies that the date is set to January 24th, 1993.

Allows the user to specify a command or a list of commands that are executed when the instrument receives a *TRG command or the GET GPIB interface message. *DDT is just a special alias that *TRG uses.
ALIAS:DEFINE, *TRG
$ % #" &
or #" is a complete sequence of program messages. The messages can contain only valid commands that must be separated by semico- lons and must follow all rules for concatenating commands (see page 2–4). The sequence must be ≤80 characters. format is always returned as a query response.
specifies that the acquisition system will be started and the bell rings each time a *TRG command is sent.
Removes stored setups from memory and initializes the location with the factory default setup.

*RCL, RECAll:SETUp, *RST, *SAV, SAVe:SETUp, TEKSecure
! "
is a value in the range 1 to 10, and specifies a setup storage location. Using an out-of-range value causes an execution error.
specifies all the stored setups.
removes all stored setups. All ten storage locations are initialized to the factory default setup.
Deletes one or all of the stored reference waveforms from memory. The memory allocated for the reference location is then available for reallocation. Memory must be reallocated for the deleted references before any waveform data can be stored in the reference location.
RECAll:WAVEform, SAVe:WAVEform, TEKSecure
! "
( , , or ) specifies one of the reference memory locations.
specifies all the stored waveforms.
· Save and Recall ·

removes all the waveforms stored in reference memory.
removes the waveform stored at REF2.
Sets and queries the bits in the Device Event Status Enable Register (DESER). The DESER is the mask that determines whether events are reported to the Standard Event Status Register (SESR), and entered into the Event Queue. For a more detailed discussion of the use of these registers, see page 3–1.
*CLS, *ESE, *ESR?, EVENT?, EVMsg?, *SRE, *STB?
is a value in the range from 0 to 255. The binary bits of the DESER are set according to this value. For example, sets the DESER to the binary value 11010001 (that is, the most significant bit in the register is set to 1, the next most significant bit to 1, the next bit to 0, etc.).
The power-on default for DESER is all bits set if is 1. If is 0, the DESER maintains its value through a power cycle.
sets the DESER to binary 11010001, which enables the PON, URQ, EXE, and OPC bits.

might return the string , showing that the DESER contains the binary value 10111010.
Returns the pass/fail status from the last diagnostic test sequence execution. The DIAg:RESUlt:LOG? query can be used to determine which test(s) has failed.
DIAg:RESUlt:LOG?
indicating that all of the selected diagnostic tests have passed.
indicating that at least one of the selected diagnostic tests has failed.
returns either or .
Returns the internal results log from the last diagnostic test sequence execution. The list contains all modules and module interfaces that were tested along with the pass/fail status of each.
DIAg:RESUlt:FLAg?
Calibration and Diagnostic · Calibration and Diagnostic

" $+
+)#&" in the following format:
+ +,* ' ,$ & % + +,* ' ,$ & %
might return ( **)' **')( ** #*($ - ( **)' &+ )! )'&+ & $
Selects the acquisition system test sequence that will be run when the DIAg:STATE EXECUte command is sent. This command is equivalent to setting Area in the Utility menu when System is set to Diag/Err.
" + #+#'&
+ " #+#'& (
selects functional, memory, and register tests.
Specifies that all system test sequences will be run when the DIAg:STATE EXECUte command is sent. This command is equivalent to setting Area in the Utility menu when System is set to Diag/Err.
" +
+ " (
selects functional, memory, and register tests for the acquisition, processor and display systems, and self diagnostics for the front panel.
Calibration and Diagnostic · Calibration and Diagnostic

Selects the processor system test sequence that will be run when the DIAg:STATE EXECUte command is sent. This command is equivalent to setting Area in the Utility menu when System is set to Diag/Err.
selects functional, memory, and register tests.
Selects the display system test sequence that will be run when the DIAg:STATE EXECUte command is sent. This command is equivalent to setting Area in the Utility menu when System is set to Diag/Err.
selects functional, memory, and register tests.
Selects the front-panel test sequence that will be run when the DIAg:STATE EXECUte command is sent. This command is equivalent to setting Area in the Utility menu when System is set to Diag/Err.
Calibration and Diagnostic · Calibration and Diagnostic · Calibration and Diagnostic

selects self diagnostic tests.
Executes the diagnostic tests that have been specified with the DIAg:SELect commands.
When the test sequence has completed, any of the modules or module interfaces that failed diagnostics are displayed on the screen and stored in an internal log file. The pass/fail status will be returned by the DIAg:RESUlt:FLAg? query, and the internal log will be returned by the DIAg:RESUlt:LOG? query. This command is equivalent to running Extended Diagnostics by selecting Execute in the Utility menu when System is set to Diag/Err.
runs the diagnostic test sequences specified by the DIAg:SELect commands. When complete, the digitizing oscilloscope will return to the state it was in just prior to the test. If the PON event was enabled before running the tests, a Service Request will be generated. When the Service Request has been received, the pass/fail status of the tests can be returned by executing the DIAg:RESUlt:FLAg? query.
The DIAg:STATE EXECute command clears the following locations:
the Event Queue
the Input Queue
the Status Registers (SESR and SBR)
To enable a power-on event to generate a Service Request, send the following commands before running diagnostics:
Calibration and Diagnostic

*ESE 128
*SRE 32
*PSC 0
% " executes all the diagnostic tests that have been selected.
Returns the current display settings.
# might return # # # " - # ! "
Controls the display of the date and time. This is equivalent to setting Display Date/Time in the Readout Options side menu. The query form returns an ON (1) or an OFF (0).
('$) & * + + ,

or = 0 removes the clock from the display.
or 0 displays the clock on the display.
sets the display to show time and date.
might return indicating that the display shows time and date.
Turns on or off the collision contrast option. The TDS will display overlapping lines in a special collision color when this item is turned on. This is equivalent to selecting Options from the main Color menu and toggling Collision Contrast in the resulting side menu to ON or OFF.
!
?
or = 0 turns off collision contrast.
or 0 turns on collision contrast.
turns on the contrast option.

Determines if the color for a math or reference waveform is set to the color assigned to the waveform contents (the constituent waveform) or to a specific color index. This is equivalent to pressing Map Math Colors or Map Reference Colors on the Color main menu and Color Matches Contents (to select the on state) or Color (to select the off state) on the resulting side menu.
$ ! % & ' #" % & & '
$ ! % & ' #"
$ !
#"
or = 0 means set the color by index (NOT by contents).
or 0 means set the color by contents (NOT by index).
sets the display of math waveform # 1 to the color of the waveform used to define math waveform # 1. If two waveforms were used to defined math waveform # 1, then the color of the first mentioned waveform is used.
might return .

Defines the color index to use if setting the color for a math or reference waveform to the color assigned to a specific index. This is similar, but not identical, to pressing Map Math Colors or Map Reference Colors on the Color main menu, pressing Color on the resulting side menu, and entering an index with the general purpose knob or the keypad. The difference is that, when you press Color on the front panel, you not only select a color index but also state that you wish to select by index rather than by contents. In contrast, when you use this command you only select the index to use. To state you want to select by index, use the ! % " $# command with the argument.
! % " & ' ( & ' (
! % "
! % "
sets the color of math waveform # 1 to that assigned to channel 3. Note: this assumes that Color Matches Contents is set to OFF.
might return .

Sets the current persistence palette to one of the preset persistence palettes. This is equivalent to selecting Palette from the main Color menu, Persistence Palettes from the resulting side menu, and Temperature, Spectral, or Gray Scale from the next side menu.
%! ## "# & !#$! ') ! ' " (
%! ## "# ?
! % ! ##
"#
"
sets temperature palette as the current persistence palette.
Sets the current palette to one of the preset palettes. This is equivalent to selecting Palette from the main Color menu and Normal, Bold, Hardcopy, or Monochrome from the resulting side menu.
%! ## $ ! & ' ' % ' (
%! ## $ !?

" !
"
sets the current palette to the hardcopy palette.
Restores all palettes to their factory default settings. This is equivalent to selecting Restore Colors from the main Color menu and Reset All Palettes to Factory from the resulting side menu.
"
"
resets the palette to the factory default setting.
Restores the given palette to its factory defaults. This is useful if you have edited the colors in a palette. This is equivalent to selecting Restore Colors from the main Color menu and Reset Current Palette to Factory from the resulting side menu.
" # $ $ " $ %

-*$2 . 00'
,-2
" " resets the hardcopy palette to its initial, factory-default settings.
Sets the color of a selected item in a selected palette.
-*$2 . 00' 3 $* 4 , 4 & 4 ,-2 5 3 .,1+& 4 !0 4 ! 4 # ' 4 (/(,+ 4 0(%1*' 4 4 5 3 5
-*$2 . 00' 3 $* 4 , 4 & 4 ,-2 5 3 .,1+& 4 !0 4 ! 4 # ' 4 (/(,+ 4 0(%1*' 4 4 $/) 5

'$ , (
(&+% specifies the display background color.
specifies the channel 1 waveform and associated text color.
specifies the channel 2 waveform and associated text color.
specifies the channel 3 waveform and associated text color.
specifies the channel 4 waveform and associated text color.
specifies the default math waveforms and associated text color.
specifies the default reference waveforms and associated text color.
* specifies the text color in all menus and all readouts not associated with a waveform.
specifies text in the scroll bar. For example, this covers the scroll bars used in the file system.
! specifies the color of the intensified zone on the waveform when the time base is intensified and the color of the real samples when the display style is Intensified Samples.
")"&% specifies the color of the areas where waveforms overlap each other. You can turn collision marking on or off with the Items, Waveforms, Options, Collision Contrast menu item.
*" +$! specifies the color of the graticule. Use the Settings, Display, Graticule option to select the graticule type.

specifies the color of the scrollbar. For example, you will find a scrollbar in various file system menus.
# (TDS 700C) specifies the color of the histogram’s box, the histogram itself, and masks, in the different palettes.
specifies the desired colors in terms of hue, lightness and saturation values.
Hue is the wavelength of light reflected from the surface. It varies continuously along the color spectrum as produced by a rainbow. Values range from 0 to 359. Sample values are: 0 = blue, 60 = magenta, 120 = red, 180 = yellow, 240 = green, 360 = cyan.
Lightness refers to the amount of light reflected from the surface. It varies from black, to the nominal color, to white. Values range from 0 to100. A value of 0 results in black. A value of 50 provides the nominal color. A value of 100 results in white.
Saturation is the intensity of color. Completely desaturated color is gray. Completely saturated color of any hue is that color at its most intense. Values range from 0 to 100. A value of 100 provides a pure color. A value of 0 provides gray.
" $$ sets the CH1 color of the hardcopy palette to 120 hue, 50 lightness, and 100 saturation. This provides a pure red.
Sets or queries the type of interpolation to use for the display. This command is equivalent to setting Filter in the Display menu.
DISplay:STYle
! % " & " ' (
Display · ! % "

specifies linear interpolation where acquired points are connected with straight lines.
specifies sin(x)/x interpolation where acquired points are fit to a curve.
sets the interpolation filter type to linear.
returns either or , indicating the type of interpolation filter.
Sets or queries the display format. This command is equivalent to setting Format in the Display menu.
displays one waveform against another. The source pairs that make up an trace are predefined and are listed in Table 2–31. Displaying one source causes its corresponding source to be displayed.

X-Axis Source Y-Axis Source
Ch 1 Ch 2
Ch 3 (or AUX 1) (All models except TDS 430A)
Ch 4 (or AUX 2) (All models except TDS 430A)
Ref 1 Ref 2
Ref 3 Ref 4
sets the display to a voltage versus time format and is the normal mode.
selects a voltage versus time format for the display.
might return for the display format.
Selects the type of graticule that will be displayed. This command is equivalent to setting Graticule in the Display menu.
# ! " $ % &
# ! "
! " #
specifies a frame and cross hairs.
specifies just a frame.

specifies a frame, a grid, and cross hairs.
specifies a frame and a grid.
specifies a special NTSC frame.
specifies a special PAL frame.
sets the graticule type to display a frame and a grid.
returns when all graticule elements (grid, frame, and cross hairs) are selected.
Selects the persistence mode to use with InstaVu.
# "! $ % &
# "!
accumulates data points on the display indefinitely.
leaves acquired data points on the display for a period of time specified by DISplay:INStavu:VARpersist.
might return indicating the infinite persistence mode is on.

Selects how the data is displayed with InstaVu.
" ! # $ %
" !
! "
displays individual data points.
connects adjacent data points. Old points are immediately replaced by new ones.
might return indicating that the display shows individual waveform data points.
Sets the length of time that data points are displayed when DISplay:INSta- vu:PERSistence is set to VARpersist. This affects the display only.
DISplay:INStavu:PERSistence
" !
" !

&!"# )!+* &%!,
specifies the time, in seconds, that the waveform points are displayed on the screen. The range is 250 ms to 10 s.
specifies that the waveform points are displayed on the screen for 3 seconds before they disappear.
Returns the current intensity settings for different parts of the display.
might return or
Sets the relative intensity of the intensified zone on a waveform. This command is equivalent to setting Contrast in the Display Intensity side menu.
The command has no effect on limit test templates or intensified samples. They are displayed at a fixed contrast ratio.
HORizontal:MODe
&%!, , !()

ranges from 100 to 250 percent.
sets the intensity of the intensified portion of a waveform.
Sets the intensity of the entire display. This command is equivalent to setting Overall in the Display Intensity side menu.
ranges from 20 to 100 percent.
sets the intensity of the display to the middle of the range.
might return as the overall display intensity.
Display ·

Sets the intensity of the text and the graticule. This command is equivalent to setting Text/Grat in the Display Intensity side menu.
! $ $ #
! $ $ #
! $ # ! $
ranges from 20 to 100 percent.
sets the intensity of the text to the brightest level.
Sets the intensity of the waveforms. This command is equivalent to setting Waveform in the Display Intensity side menu.
! $ $ "
! $ $ "
! $ ! $
"
ranges from 20 to 100 percent.
might return as the intensity of the waveform.

Selects whether or not to turn on InstaVu.
turns on InstaVu. This mode can help you view infrequent deviations in a signal. It only uses a 500 point record length, no averaging, and no enveloping.
When you turn on InstaVu, the TDS turns off any active zoom, autosave, limit test, waveform math, FastFrame, and XY display. The TDS reactivates these features when you turn off InstaVu.
turns on the normal (non–InstaVu) mode.
turns on InstaVu.
might return indicating that the InstaVu mode is on.
Sets the length of time that data points are displayed when DISplay:STYle is set to VARpersist while in normal mode (not InstaVu). This affects the display only and is equivalent to setting Variable Persistence in the Display Style side menu.
DISplay:STYle

" !
" !
" !
specifies the length, in seconds, that the waveform points are displayed on the screen. The range is 250 ms to 10 s.
specifies that the waveform points are displayed fading for 3 seconds before they completely disappear.
Selects how the data is displayed for normal (not InstaVu) mode. This command is equivalent to setting Style in the Display menu.
DISplay:PERSistence
" # $ ! $ $ ! $ ! %
!
!
"
displays individual data points. New points immediately replace old ones.
! accumulates data points on the display indefinitely. The display is reset when the style or acquisition is reset.

! !" leaves acquired data points on the display for a period of time specified by DISplay:PERSistence.
" ! connects adjacent data points. New points immediately replace old ones.
causes the display to show acquired (non-interpolated) samples with brighter or different colored dots than the rest of the waveform.
sets the display to indefinitely accumulate data points on the screen.
might return indicating that the display shows individual waveform data points with no history.
Controls the display of the trigger level indicator bar/s. The indicator bar shows where the trigger will occur, in voltage.
The digitizing oscilloscope will only display the bar if the trigger source is also displayed. If both a main and a delayed trigger are displayed, then two bars will appear. One will accompany each source. If a logic trigger is selected, then multiple bars may appear. If a runt pulse trigger is selected, then two bars may appear. One will show the upper threshold and one the lower threshold.
# $ % " % &
#
removes the trigger indicator bar from the display.
" displays, as the indicator, a short arrow at the right side of the graticule for each displayed trigger signal.

displays, as the indicator, a horizontal line in the center of the graticule for each displayed trigger signal.
sets the display to show a long trigger indicator bar (or bars).
Controls the display of the trigger point indicator. This is equivalent to setting the Display ‘T’ @ Trigger Point in the Readout Options side menu. The query form returns an ON (1) or an OFF (0).
or = 0 removes the trigger indicator from the display.
or 0 displays a trigger indicator on each of the displayed waveforms. The trigger indicator is in reverse video for the selected waveform.
sets the display to show trigger indicators.
might return indicating that the display shows trigger indicators.
Sets and queries the bits in the Event Status Enable Register (ESER). The ESER prevents events from being reported to the Status Byte Register (STB). For a more detailed discussion of the use of these registers, see page 3–1.

*CLS, DESE, *ESR?, EVENT?, EVMsg? *SRE, *STB?
is a value in the range from 0 through 255. The binary bits of the ESER are set according to this value.
The power-on default for ESER is 0 if is 1. If is 0, the ESER maintains its value through a power cycle.
sets the ESER to binary 11010001, which enables the PON, URQ, EXE, and OPC bits.
might return the string , showing that the ESER contains the binary value 10111010.
Returns the contents of the Standard Event Status Register (SESR). *ESR? also clears the SESR (since reading the SESR clears it). For a more detailed discussion of the use of these registers, see page 3–1.
ALLEv?, *CLS, DESE, *ESE, EVENT?, EVMsg?, *SRE, *STB?

might return the value , showing that the SESR contains binary 11010101.
Returns from the Event Queue an event code that provides information about the results of the last *ESR? read. EVENT? also removes the returned value from the Event Queue. A discussion of event handling begins on page 3–1.
ALLEv?, *CLS, DESE, *ESE, *ESR?, EVMsg?, *SRE, *STB?
might return the response , showing that there was an error in a command header.
Removes from the Event Queue a single event code associated with the results of the last *ESR? read, and returns the event code along with an explanatory message. A more detailed discussion of event handling begins on page 3–1.
ALLEv?, *CLS, DESE, *ESE, *ESR?, EVENT?, *SRE, *STB?

The event code and message in the following format:
' "& # #!! &$ " ' "& # #!! &$ "
&$ " %% #!!"
where #!!" is the command that caused the error and may be returned when a command error is detected by the digitizing oscilloscope. As much of the command will be returned as possible without exceeding the 60 character limit of the %% and #!!" strings combined. The command string is right-justified.
might return the message #!!" $ $$#$.
Returns the number of event codes that are in the Event Queue. This is useful when using the ALLEv? query since it lets you know exactly how many events will be returned.
Returns
might return as the number of event codes in the Event Queue.

Resets the digitizing oscilloscope to its factory default settings. This command is equivalent to selecting Recall Factory Setup in the Waveform Save/Recall menu.
*PSC, *RCL, RECAll:SETUp, *RST, *SAV, SAVe:SETUp
Setting the digitizing oscilloscope to factory default includes:
Clears the Event Status Enable Register.
Clears the Service Request Enable Register.
Sets the Device Event Status Enable Register to 255.
Sets the Power On Status Clear Flag to TRUE
Purges all defined aliases.
Enables all Command Headers (HEADer ON).
Sets the macro defined by *DDT to a “zero-length field.”
Clears the pending operation flag and associated operations.
The FACtory command does not alter the following:
The state of the GPIB (IEEE Std 488.1-1987) interface.
The selected GPIB address.
Calibration data that affects device specifications.
Protected user data.
Stored settings.
The current password (if implemented).
Miscellaneous · ·

Copies a named file or files to a new file. The new file may be in a totally separate directory than the old file. Also, you can use wild card characters (*.*) to copy multiple files with one command.
)%& ) * %"'$ #& %& !& "! #& + %"'$ $&"$) #& %& !& "! #& + %"'$ $&"$) #& %& !& "! $&"$) #& ,
#& %"'$
#& %"'$ $&"$) #&
) )%& #
%& !& "! $&"$) #& %"'$ $&"$) #&
#& is a quoted string that defines the file name and path. Input the file path using the form $ ( $ ! . $ ( and one or more $ s are optional. If you do not specify them, the TDS will copy the file in the current directory. ! stands for a filename of up to 8 characters and can be followed by a period (“.”) and a 3-character extension. You can also use the inclusive filename in the source file path to copy all files.
$&"$) #& is a quoted string that defines the directory. Input the directory using the form $ ( $ $&"$) ! . $ ( and one or more $ s are optional. If you do not specify them, the TDS will copy the directory in the current directory. $&"$) ! stands for a directory name of up to 8 characters and can be followed by a period (“.”) and a 3-character extension.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.
- - copies the file named on the current drive to a file named on the drive in the root directory.

* * copies the file named on the drive and the directory to the directory on the same drive.
* * copies the files in the directory in the current directory to the directory on the drive.
* *! copies the files in the directory in the current directory to the directory on the ! drive.
Sets or returns the current working directory (CWD) path.
)'( # "& ($&) % (!
% )'( #
"& ($&) % (!
"& ($&) % (! is a quoted string that defines the directory name and path.
* will define as the current directory.
might return if that is the current directory.
Deletes a named file.
File system · )'( # · File system

*'( # ( !" %(
( *'( # !" %( %
!" %( is a quoted string that defines the file name and path. Input the file path using the form &!) !& !" $# . &!) and one or more !& s are optional. If you do not specify them, the TDS will delete the file in the current directory. !" $# stands for a filename of up to 8 characters and can be followed by a period (“.”) and a 3-character extension. You can also use the inclusive filename to delete all files.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.
. deletes the file named on the default drive and directory.
. deletes all the files in the default directory on the default drive.
Turns on or off the front-panel file-delete warning. No warning is returned via the GPIB.
*'( # &$ + , , -
or turns on the front-panel delete warning.
or turns off the front-panel delete warning.

disables the front-panel delete warning.
might return indicating the front-panel warning is disabled.
Returns a list of quoted strings. Each string contains the name of a file or directory in the current directory.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.
"
returns a list of files and directories in the current directory.
Formats a named drive.
" !
" !
! is a quoted string that defines the disk drive to format. refers to the floppy-disk drive built into the digitizing oscilloscope.
File system · " · File system

& formats the media on drive fd0:.
Returns the amount of freespace (in bytes) on the current drive.
%"#
%"#
might return as the amount of freespace available if the drive was full.
Make a new directory.
%"# ! !# !% #
! %"# !# !% #
!# !% # is a quoted string that defines the directory. Input the directory using the form ! $ ! !# !% . ! $ and one or more !s are optional. If you do not specify them, the TDS will create the directory in the current directory. !# !% stands for a directory name of up to 8 characters and can be followed by a period (“.”) and a 3-char extension.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.
File system · File system

3 creates the directory named on the current drive.
Turns on or off the file-overwrite protection. Turning on file-overwrite protection prevents writing over existing files.
/-.#( ,&.# 0 1 1 2
/-.#( ,&.#?
/-.#( ,&.#
or turns on the file-overwrite protection.
or turns off the file-overwrite protection.
lets you overwrite existing files.
might return indicating you cannot overwrite existing files.
Prints a named file to the named port.
/-.#(). $&'#+ .% 0 ! 1 1 .,*)&"- 2

(- /,-"' #%&" * -$
#%&" * -$ is a quoted string that defines the file name and path. Input the file path using the form !+%." !%+ #%&"( '" . !+%." and one or more !%+ s are optional. If you do not specify them, the TDS will print the file in the current directory. #%&"( '" stands for a filename of up to 8 characters and can be followed by a period (“.”) and a 3-character extension.
The current directory refers to the name of a directory as returned by the FILESystem:CWD command.
specifies that the hardcopy is sent out the GPIB port.
-+)(% , specifies that the hardcopy is sent out the Centronics port (Option 13 RS232/Centronics Hardcopy Interface only).
specifies that the hardcopy is sent out the RS232 port (Option 13 RS232/Centronics Hardcopy Interface only).
0 sends the file named out the Centronics port.
Copies a named file to the GPIB port.
/,-"' %&" #%&" * -$
/,-"' #%&" * -$ * " %&"
#%&" * -$ is a quoted string that defines the file to read. Input the file path using the form !+%." !%+ #%&"( '" . !+%." and one or more !%+ s are optional. If you do not specify them, the TDS will look for the filename in the current directory.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.

+ sends a hard–disk-based file named out the GPIB port.
Assigns a new name to a file.
*&' ! ! # $' " ) $'
! *&' ! " ) $' # $' $
# $' is a quoted string that defines the file to rename. Input the file path using the form % ( % "! . % ( and one or more % s are optional. If you do not specify them, the TDS will look for the filename in the current directory.
" ) $' is a quoted string that defines the new name of the file. Input the file path using the form % ( % "! . % ( and one or more % s are optional. If you do not specify them, the TDS will place the newly named file in the current directory.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.
+ + gives the file named the new name of . The file remains on the current directory.
Deletes a named directory.
*&' ! % % '#%* $'
File system · File system

' +() # ' )%'+ &) &
' )%'+ &) is a quoted string that defines the directory. Input the directory using the form ' * ' ' )%'+ $# . ' * and one or more 's are optional. If you do not specify them, the TDS will delete the directory in the current directory. ' )%'+ $# stands for a directory name of up to 8 characters and can be followed by a period (“.”) and a 3-character extension.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.
, deletes the directory named in the current directory.
Copies the GPIB port block data to a named file.
+() # " " &) "%!
+() # " &) & " "%!
" &) is a quoted string that defines the file to read. Input the file path using the form ' * ' " $# . ' * and one or more 's are optional. If you do not specify them, the TDS will look for the filename in the current directory.
"%! is a block of data bytes that uses the form shown below:
A nonzero digit character, in the range 1–9
A digit character, in the range 0–9
File system · Symbol Meaning

)$1 A character with the hex equivalent of 00 through FF hexadecimal (0 through 255 decimal)
,/%+ A block of data bytes, defined as:
,/%+ 6 !*( *( " *( #" )$1 # 7 " )$1 # 2'1-*.$2/1 8
!*( specifies the number of *( elements that follow. Taken together, the *( elements form a decimal integer that specifies how many )$1 elements follow.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.
9)& )',,/242 )',,/ 3/1,& writes the text string “hello world” to a file named HELLO1.TXT on the oscilloscope’s hard disk. It uses a format that defines the number of characters to transfer.
9)& )',,/ 3/1,& writes the text string “hello world” to a file named HELLO2.TXT on the oscilloscope’s hard disk. It uses a format that does not define the number of characters to transfer.
Sends a copy of the screen display followed by an EOI to the port specified by HARDCopy:PORT. The format and layout of the output is specified with the HARDCopy:FORMat and HARDCopy:LAYout commands. This command is equivalent to pressing the front-panel HARDCOPY button.
The HARDCopy? query returns format, layout, and port information.
/05 6 12 7 0//, 7 2 8
Symbol Meaning · Hardcopy · /05

! terminates the hardcopy output in process.
clears the printer output spooler.
! initiates a screen copy that is sent to the controller where it can be stored in a file or redirected to a printing device.
stops any hardcopy output that is in process.
Selects the file to send the hardcopy data to on the next hardcopy command ( ). This is equivalent to setting the target file name in the Hardcopy menu.
" !
"

#.& 015
'*-& 1#3) specifies that the hardcopy is sent to the named file. '*-& 1#3) is a quoted string that defines the file name and path. Input the file path using the form %2*4& %*2 '*-&/#.& . %2*4& and one or more %*2 s are optional. If you do not specify them, the TDS will write the file to the current directory. '*-&/#.& stands for a filename of up to 8 characters followed by a period (“.”) and any 3-character extension.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.
You can automatically create different names for files. You do this by using the question mark (?) as a special wildcard character. These stand for numbers the TDS will insert sequentially in the filename. For example, if you placed two question marks at the end of the filename then the oscilloscope would append 00 to the first file created, 01 to the next, and 02 to the next. This helps you automatically create different names for files. It is particularly useful in automated testing situations.
" 9 selects as the selected file name.
" might return as the selected file name.
" 9 selects as the selected file name with a numeric, two-digit suffix. The TDS might return as the first file, as the second.
Selects the output data format for hardcopies. This is equivalent to setting Format in the Hardcopy menu.
015 #3 6 7 (not on TDS 400A & 510A) 7 7 (not on TDS 400A & 510A) 7 7 7 .( (not on TDS 400A & 510A) 7 0-02 7 .#(& 7 0/0 7 / 7 - 7 ' 7 &3 7 ! 7 ! (not on TDS 400A & 510A) 7 (not on TDS 400A & 510A) 7 /,+&3 7 ' 8
1#$& · '*-& 1#3) · Hardcopy

-.1 #0
.#$%
#0 -.1
-.1 #0 2 3 3 3 ,-0 -, 3 ! 3 ! 3 +' ,-0 -, 3 -*-/ 3 +#'% 3 -,- 3 , 3 * 3 %#& 3 %0 3 " 3 " ,-0 -, 3 ,-0 -, 3 ,)(%0 3 & 4
-.1 #0

, )*-
On monochrome instruments, the following formats are mapped to a mono- chrome near equivalent:
(The argument is not on the TDS 400A and 510A)
For example: if and are sent to the oscilloscope, is returned.
sets the hardcopy output format to HPGL.
might return as the final hardcopy output format.

Selects the printing orientation. This is equivalent to setting Layout in the Hardcopy menu.
! " #
specifies that the bottom of the hardcopy is along the long side of the page.
specifies that the bottom of the hardcopy is along the short side of the page. This is the standard format.
might return as the hardcopy page-layout format.
Selects whether to create the hardcopy using the current color palette (as set in the Display menu and seen on the screen) or the hardcopy palette. For color hardcopies, the default hardcopy palette may be most appropriate, since it has a white background and requires less ink for printing onto white paper. For monochrome hardcopies, the TDS ignores the palette and prints black (or the default color) objects on a blank background.
! " #

#$( ''
''
would print each copy made using the hardcopy palette.
Selects where to send the hardcopy data on the next hardcopy command (i.e. HARDCOPY START command). This is equivalent to setting Port in the Hardcopy menu.
HARDCopy, LIMit:HARDCopy
#$( ) '%#" & * (&' ! #" ( * * +
#$(
'%#" & specifies that the hardcopy is sent out the Centronics port (available with the RS232/Centronics Hardcopy Interface).
specifies that the hardcopy is stored in the file named in the HARDCO- PY:FILENAME command.
specifies that the hardcopy is sent out the GPIB port.
specifies that the hardcopy is sent out the RS232 port (Option 13 RS232/Centronics Hardcopy Interface only).

might return as the selected hardcopy output port.
This command is identical to the HEADer query and is included for compatibili- ty with older Tektronix instruments.
Sets and queries the Response Header Enable State that causes the digitizing oscilloscope to either include or omit headers on query responses. This command does not affect IEEE Std 488.2-1987 Common Commands (those starting with an asterisk); they never return headers.

or 0 sets the Response Header Enable State to true. This causes the digitizing oscilloscope to include headers on applicable query responses. You can then use the query response as a command.
or = 0 sets the Response Header Enable State to false. This causes the digitizing oscilloscope to omit headers on query responses, so that only the argument is returned.
causes the digitizing oscilloscope to omit headers from query responses.
might return the value , showing that the Response Header Enable State is true.
Returns histogram parameters. In other words, it queries the state of all settable histogram parameters.
.+)-&*
.+)-&*
might return ! " $ # %

Defines the left, top, right, and bottom positions of the histogram box, in source waveform coordinates.
*& ($
*& ($ '
") *! # * '&)"*"&% & *! !")*& ($ &. "% )&+( -, &($ &&( "%* )
") *! *&' '&)"*"&% & *! !")*& ($ &. "% )&+( -, &($ &&( "%* )
") *! (" !* '&)"*"&% & *! !")*& ($ &. "% )&+( -, &($ &&( "%* )
") *! &**&$ '&)"*"&% & *! !")*& ($ &. "% )&+( -, &($ &&( "%* )
would define the coordinates of the histogram box in source waveform coordi- nates.

Defines the left, top, right, and bottom positions of the histogram box, in percentage coordinates. The upper left has the value 0,0 and the lower right has the value 100, 100 when the horizontal trigger position is 50%.
.*$, ( ).
&2*). ' ).
.*$, ( + "
%" '"#. +*-&.&*) *# .%" %&-.*$, ( *1 &) +", "). $" **,!&) ."- &- .%" !"# /'. 0 '/"
%" .*+ +*-&.&*) *# .%" %&-.*$, ( *1 &) +", "). $" **,!&) ."- &- .%" !"# /'. 0 '/"
%" ,&$%. +*-&.&*) *# .%" %&-.*$, ( *1 &) +", "). $" **,!&) ."- &- .%" !"# /'. 0 '/"
%" *..*( +*-&.&*) *# .%" %&-.*$, ( *1 &) +", "). $" **,!&) ."- &- .%" !"# /'. 0 '/"
would define the coordinates of the histogram box in percentage coordinates.

Zeros the counts for histograms. If histograms are on then the counts start counting up again.
! !
! !
indicates the need to zero the count.
would zero the count.
Selects the way the histogram is displayed, if at all.
! " $ % % &
# ! "
" !
to display the count in each bin. This is the default value.
to display the log of the count in each bin. Log scaling provides better visual detail for bins with low count.

to turn off histogram displays. Histogram counting and measurements can continue. The histogram box is not turned off.
would display the count in each bin.
Selects the type of histogram to create or turns the histogram off.
" ! $ % # " % &
" !
means turn off. This is the default value.
# " means select a horizontally positioned histogram that shows time distribution.
Sending this command with this argument will turn off the extended acquisition length and InstaVu modes.
means select a vertically positioned histogram that shows voltage (or amps, etc.) distribution.
Sending this command with this argument will turn off the extended acquisition length and InstaVu modes.
would turn off the histogram mode.

Controls the width or height of the histogram on the screen.
HIStogram:MODe
varies from 0.1 to 10.0 in div units. It varies from 0.1 to 8.0 in HORI- ZONTAL mode and from 0.1 to 10.0 in VERTICAL mode. Resolution is to the nearest pixel.
would set the size of the histogram to 2.8 divs.
Selects which trace will be compared against the histogram box, when histo- grams are turned on. CH1–4 need not be ON for histograms to run. The user might want the CH OFF so he or she can see a full–screen histogram and not have waveform data confuse the display.
HIStogram:MODe
!
Histogram · · Histogram

-$% .+&-#)
/ indicates CH #. It may be 1, 2, 3, or 4.
would enable CH1 to be compared against the histogram box.
Returns all settings for the horizontal commands. The commands HORizon- tal:MAIn:SCAle, HORizontal:MAIn:SECdiv, HORizontal:SCAle, and HORi- zontal:SECdiv are equivalent so HORizontal:MAIn:SCAle is the only value that is returned.
'0+*.#(
'0+*.#(
" might return the string " " " !
Returns the overall time interval covered by the live channels. This works for both extended acquisition length mode on (acquisition length = # points) and off (record length = acquisition length = # points).
'0+*.#(

In seconds, # points * (time/point). The default is 5 ms.
HORizontal:ACQLENGTH? (Query Only) TDS 500C & 700C Only
Returns the acquisition length, either the extended one when the extended acquisition length mode is on or the record length when this mode is off.
HORizontal:RECOrdlength
The acquisition length. 500 is the default value.
might return:
Enables either the internal or external clocks. The query returns whether the clock is set to internal or external.
! "
Horizontal · Horizontal

! enables the internal clock mode.
! enables the external clock mode.
enables the internal clocks.
Sets the maximum external clock rate. It does not enable the external clock. The maximum external clock rate affects the decimation rate in Hi-Res mode.
If set to less than or equal to 1000, this command enables roll mode when external clock is on and roll mode is set to auto.
# " "
# " "
" # "
is rounded up to the nearest allowable external clock rate.
sets the maximum external clock rate to 50 clocks per second.

Returns all horizontal delayed time base parameters. The commands HORizon- tal:DELay:SECdiv and HORizontal:DELay:SCAle are identical so only HORizontal:DELay:SCAle will be returned.
HORizontal?, HORizontal:DELay:MODe?, HORizontal:DELay:SCAle?, HORizontal:DELay:SECdiv?, HORizontal:DELay:TIMe?
* #+&%) $
might return the delay parameters /
Selects the mode for the delayed time base. This is equivalent to setting Time Base in the Horizontal menu.
HORizontal:DELay:TIMe
#+&%) $ *! , ")!( - ")!( .
* #+&%) $
")!( specifies that the delayed time base runs a user-specified amount of delay time after the main trigger event.

")!( specifies that the delayed time base is triggerable after the main time base triggers.
returns either or , indicating the delayed time base mode.
Sets the time per division for the delayed time base. This is equivalent to setting Delayed Scale in the Horizontal Scale side menu.
On the TDS 400A, changes made while the external clock is enabled do not take effect until the internal clock is enabled. Also, when the external clock is enabled, the query form of this command returns an value representing ‘50’.
HORizontal:DELay:SECdiv
#+&%) $ * $!
#+&%) $ * $!
$! * #+&%) $
is the time per division. For the TDS 784C, the range is 10 s to 200 ps. For the other TDS 500C and 700C, the range is 10s to 500 ps. For the TDS 600B, the range is 10 s to 200 ps. For the TDS 400A, the range is 20 s to 1 ns. These are values that are in a 1–2–5 sequence. Values that are not in a 1–2–5 sequence (1–2.5–5 on the TDS 620B, 640B, & 644B) will be set to the closest valid value. If the delayed time base scale is set slower than the main time base scale, both the main and delayed time base scales will be set to the delay scale value.
sets the delay scale to 2 s per division.
sets the delay scale to 10 s per division. Since 9 s is not a valid value within
Horizontal · ' !

the 1–2–5 sequence (1–2.5–5 on the TDS 620B, 640B, & 644B), it is automati- cally set to the closest valid value.
might return , indicating that the delay time is 1 ms per division.
This command is identical to the HORizontal:DELay:SCAle command. It is provided to maintain program compatibility with some older models of Tektronix digitizing oscilloscopes.
&! # % $
&! # % $
$ % &! #
Sets or queries the delay time to wait after the main trigger before the delayed time base begins. This is equivalent to setting Delayed Runs After Main in the Time Base side menu of the Horizontal menu.
HORizontal:DELay:MODe
&! # %
% &! # "
is the time, in seconds, between the main trigger and the delayed trigger. The range on the TDS 510A, 500B, 600B, & 700A is from 16 ns to 250 seconds with a resolution of 4 ns. The range on the TDS 400A is from 10 ns to 20 seconds with a resolution of 10 ns.
Horizontal · " · Horizontal

sets the delay time between the main and delayed time base to 2 ms.
Returns the delay time parameters.
HORizontal:DELay:TIMe:RUNSAfter?, HORizontal:DELay:TIMe:TRIGAfter?
'#"% ! &
& '#"% !
might return for the delay time.
Sets or queries the delay time to wait after the main trigger before the delayed time base begins. This is equivalent to setting Delayed Runs After Main in the Time Base side menu of the Horizontal menu.
HORizontal:DELay:MODe
'#"% ! & % $
'#"% ! & % $
Horizontal · Horizontal

* #+&%) $ !
is the time, in seconds, between the main trigger and the delayed trigger. The range is from 16 ns (10 ns on the TDS 400A) to 250 seconds (20 s on the TDS 400A) with a resolution of 4 ns.
sets the delay time between the main and delayed time base to 2 ms.
Sets the delay time to wait in the trigger after delay mode. This is the time that must pass before a delayed trigger is accepted. This command is equivalent to setting Delay by Time time in the Delayed Trigger menu.
HORizontal:DELay:MODe
#+&%) $ * ! ")!(
#+&%) $ * ! ")!(
! * #+&%) $
is the delay time, in seconds. The range is from 16 ns (60 ns on the TDS 400A) to 250 seconds (20 s on the TDS 400A) with a resolution of 4 ns (10 ns down to 110 ns on the TDS 400A).
sets the delay time to 4 s.
might return , indicating that the delay time is 1 ms.

Enable or disable extended-acquisition-length mode. The InstaVu display mode must be off in order to turn the extended-acquisition-length mode on.
$ # % & & '
$ #
$ #
indicates OFF if it’s a 0 or ON if it’s a 1 (or any other nonzero value).
means turn on.
means turn off.
The query form only returns 0 or 1. The default is 0.
would enable extended-acquisition-length mode (if InstaVu was not on).
Sets or queries FastFrame frame count. This is equivalent to setting FastFrame Setup in the Horizontal menu and the Frame Count menu item in the side menu. FastFrame, also known as memory segmentation, captures a series of triggered acquisitions with minimal, intervening, time.
$ # " #

($#'! &" '
&" ($#'! '
indicates the number of frames to acquire.
Sets up FastFrame mode to acquire two frames (segments) of data.
Setup length of each FastFrame frame. This is equivalent to setting FastFrame Setup in the Horizontal menu and the Frame Length menu item in the side menu. FastFrame, also known as memory segmentation, lets users capture a series of triggered acquisitions with minimal, intervening, time between them.
($#'! &" '
($#'! &" '
&" ($#'! '
indicates the frame (segment) length.
Sets up the FastFrame mode to acquire frames of 250 samples each.
Display the selected FastFrame frame. This is equivalent to selecting Horiz Pos in the Horizontal menu, selecting the Frame menu item in the side menu, and entering a value with the keypad or the general purpose knob. FastFrame, also
% · Horizontal · %

known as memory segmentation, lets users capture a series of triggered acquisitions with minimal, intervening, time between them.
& $ " $
& $ " $
" & $ $
indicates the selected frame to display.
Selects the 25th FastFrame frame to display.
Setup FastFrame acquisition. This is equivalent to setting FastFrame Setup in the Horizontal menu and the FastFrame menu item in the side menu. Fast- Frame, also known as memory segmentation, lets users capture a series of triggered acquisitions with minimal time between them.
The digitizing oscilloscope in FastFrame mode is ready to accept a continuous burst of triggers 400 ms after the controller sends the !%"#$$ "% command.
When extended-acquisition-length mode or InstaVu mode is on, this command can still set and return values. However, this feature will not actually function.
& $ " ' ( ( )
& $ "

!
indicates OFF if it’s a 0 or ON if it’s a 1 (or any other nonzero value).
means turn on FastFrame.
means turn off FastFrame.
The query form only returns 0 or 1.
turns on FastFrame.
Setup horizontal waveform compress operation. This command is equivalent to setting Record Length in the Horizontal menu and the Fit to screen menu item in the side menu. Waveform compress lets you fit a captured waveform to the visible screen. It provides the same functionality as if you were in zoom mode and changed the time per division until the waveform fit the screen.
In extended-acquisition-length mode, entering the zoom preview state causes fit-to-screen to be on. If the oscilloscope exits the extended-acquisition-length mode or the zoom preview state, the fit-to-screen mode returns back to its prior setting.
! " # # $
!
!
indicates OFF if it’s a 0. It indicates ON if it’s a non-zero value.

means turn on waveform compress.
means turn off waveform compress.
turns on waveform compress.
Returns the time per division of the main time base. The commands HORizon- tal:MAIn:SECdiv and HORizontal:MAIn:SCAle are identical so only HORizon- tal:MAIn:SCAle will be returned.
HORizontal:SCAle, HORizontal:SECdiv, HORizontal:MAIn:SECdiv
might return .
Sets the time per division for the main time base. This command is equivalent to setting Main Scale in the Horizontal Scale side menu.
On the TDS 400A, changes made while the external clock is enabled do not take effect until the internal clock is enabled. Also, when the external clock is enabled, the query form of this command returns an value representing ‘50’.
HORizontal:DELay:SCAle, HORizontal:DELay:SECdiv, HORizon- tal:MAIn:SECdiv
Horizontal · Horizontal

"
"
"
is the time per division. For the TDS 400A series, the range is 20 s to 1 ns. For the TDS 510A, 500B, 600B, and 700A, the range is 10 s to 500 ps (or 200 ps on the TDS 784A), in a 1–2–5 sequence.
In extended-acquisition-length mode, no matter what value you set, the oscilloscope will only use the closest real-time, non-interpolated value.
sets the main scale to 2 s per division.
Sets the time per division for the main time base. This command is identical to the HORizontal:MAIn:SCAle command. It is provided to maintain program compatibility with some older models of Tektronix digitizing oscilloscopes.
HORizontal:DELay:SCAle, HORizontal:DELay:SECdiv, HORizon- tal:MAIn:SCAle
" !
" !
" !
Selects whether the horizontal display uses the main or delayed time base or both. This command is equivalent to setting Time Base in the Horizontal menu.
· Horizontal ·

DISplay:INTENSITy:CONTRast
! " # # $
means that the selected waveform is horizontally scaled relative to the delayed time base.
uses both the main and delay scales to display the waveform. The portion of the waveform that would be displayed in DELAYEd mode is intensified. The level of intensity is set by the DISplay:INTENSITy:CONTRast command.
means that the waveform is horizontally scaled relative to the main time base.
uses the delayed horizontal scale to display the waveform.
might return , indicating that the waveform is displayed using both the main and delayed time base scale.
Positions the waveform horizontally on the display. This is used for both main and delayed time bases. This command is equivalent to adjusting the front-panel Horizontal Position knob or setting the position in the Horizontal Position side menu.
!

" ! !
! " !
is from 0 to 100, and is the percent of the waveform that is displayed left of the center graticule.
In extended-acquisition-length mode, it is the percent of the acquisition that is displayed left of the center graticule.
sets the horizontal position of the waveform such that 10% of the waveform is to the left of screen center.
Sets the number of data points that are acquired for each record. This is equivalent to setting Record Length in the Horizontal menu.
When extended-acquisition-length mode is on, this command can still set and return values. However, this feature will not actually work while extended-ac- quisition-length mode is on.
" ! !
" ! !
" !
!
Table 2–32 shows supported values for .

TDS 510A, TDS 520C, TDS 724C TDS 600B
TDS 540C, TDS 754C, TDS 784C
Standard 500, 1000, 2500, 5000, 15000, 30000
500, 1000, 2500, 5000, 15000 50000
500, 1000, 2500, 5000, 15000
500, 1000, 2500, 5000, 15000, 50000
Option 1M (not on the TDS 510A) or 2M (TDS 500C & 700C only)
60000, 120000 TDS 520C & 724C: 75000, 100000, 130000, 250000
75000, 100000, 130000, 250000, 500000
specifies that 2500 data points will be acquired for each record.
might return as the number of data points per record.
Set the selected live channel’s record start that is to be used in the extended-ac- quisition–length mode. In other words, it indicates where the waveform starts within the extended acquisition record (see Figure 2–4 on page 2–41).
HORizontal:POSition
Configuration · Horizontal

is the units of percent. It ranges from 0% to 93.75% (for 4M and 8M) or 95% (for 2M).
If fit-to-screen is on or extreme zoom factors are on, then the recordstart is automatically set to 0.
The query form returns a value from 0 to 93.75 (%) for 4M and 8M or 95 (%) for 2M. This is the figure for a specific sample.
would set the record to start at 23%.
Sets roll mode to auto or off.
! " " #
or = 0 turns off roll mode.
or 0 turns on roll mode – if the time/division is set appropriately.

Sets the time per division for the main time base and is identical to the HORi- zontal:MAIn:SCAle command. It is included here for compatibility purposes.
Sets the time per division for the main time base and is identical to the HORi- zontal:MAIn:SCAle command. It is included here for compatibility purposes.
Returns the horizontal trigger parameter.

might return .
Sets or queries the position of the trigger. This is equivalent to setting Trigger Position in the Horizontal menu.
!
!
!
is from 0 to 100 % and is the amount of pretrigger information in the waveform (or extended acquisition length, if used).
might return .
Horizontal · ·

Returns identifying information about the instrument and its firmware.
Related Commands
The instrument id in the following format:
')"#& (,'!#* $%*'. *# -#*+%)( (,'!#*
might return - #
Returns the digitizing oscilloscope identification code.
Related Commands
Returns
The instrument id in the following format:
')"#& (,'!#* $%*'. *# -#*+%)( (,'!#*
might return the response

Rings the bell when the waveform data exceeds the limits set in the limit test, if the limit state is on.
LIMit:COMPARE:CH, LIMit:STATE
or = 0 turns off ringing the bell when any waveform data exceeds the limits set by the limit test.
or 0 turns on ringing the bell.
specifies that the bell is to ring when any waveform data exceeds the limits specified in the limit test.
returns either or , indicating whether the bell is to ring when any waveform data exceeds the limits specified in the limit test.
Sets or queries the template against which to compare the waveform acquired through the specified channel. The template can be a waveform saved in any of the reference locations REF1 through REF4, or none.

CURve, LIMit:COMPARE:MATH, LIMit:TEMPLate, LIMit:TEM- PLate:DESTination, LIMit:TEMPLate:SOUrce, WFMPre
is a reference waveform.
specifies that no template testing is to be done for the specified channel.
specifies REF1 as the template waveform against which to compare waveforms acquired using CH1.
might return , indicating that waveforms acquired using CH2 will be compared to the template waveform stored in REF4.
Sets or queries the template against which to compare a math waveform. The template can be a waveform saved in any of the reference locations REF1 through REF4, or none.
CURve,LIMit:TEMPLate, LIMit:TEMPLate:DESTination, LIMit:TEM- PLate:SOUrce, WFMPre

is a reference waveform.
specifies that no template testing is to be done for the specified channel.
is a math waveform.
specifies REF1 as the template waveform against which to compare waveforms acquired using MATH1.
might return , indicating that waveforms acquired using MATH2 will be compared to the template waveform stored in REF4.
Executes a hardcopy operation on the waveform when any waveform data exceeds the limits set in the limit test, if the limit state is on. The hardcopy operation uses the port, and prints in the format and layout, specified using the HARDCopy commands.
LIMit:COMPARE:CH, LIMit:STATE, HARDCopy
! " " #

or 0 turns on the hardcopy operation for the waveform when any waveform data exceeds the limits set by the limit test.
or = 0 turns off the hardcopy operation.
specifies that the hardcopy operation occurs for the waveform when any waveform data exceeds the limits specified in the limit test.
returns either or , indicating whether the hardcopy operation occurs for the waveform when any waveform data exceeds the limits specified in the limit test.
Turns limit testing on or off, or queries whether limit testing is in effect.
When extended–acquisition–length mode or InstaVu mode is on, this command can still set and return values. However, this feature will not actually function.
You cannot turn limit:state to on when extended–acquisition-length mode is already on.
CURve, LIMit:BELl, LIMit:COMPARE:CH, LIMit:HARDCopy, LIM- it:TEMPLate, WFMPre
or = 0 turns off limit testing.
or 0 turns on limit testing.

specifies that limit testing of waveforms is in effect.
returns either or , indicating whether limit testing of waveforms is in effect.
Creates a template which you can use for limit testing. You can compare the waveform acquired through the specified channel against this template. The template can be a waveform saved in any of the reference locations REF1 through REF4, or none.
LIMit:TEMPLate:DESTination, LIMit:TEMPLate:SOUrce
creates a template with the specified source waveform and tolerances, and stores it in the destination reference waveform to be used in limit testing comparisons.
creates a template with the specified source waveform and tolerances, and stores it in the destination reference waveform to be used in limit testing comparisons.
Sets or queries the destination reference waveform that the LIMit:TEMPLate STORe command will use.
LIMit:COMPARE:CH, LIMit:TEMPLate, LIMit:TEMPLate:SOUrce
Limit Test · Limit Test

specifies the reference waveform destination in which the template waveform is to be stored.
specifies that the template waveform referred to with the LIMit:TEMPLate STORe command is stored as the REF2 waveform.
Sets or queries the channel, math waveform, or reference waveform that the LIMit:TEMPLate STORe will use.
LIMit:COMPARE:CH, LIMit:TEMPLate, LIMit:TEMPLate:DESTination
! ! "
specifies that the template waveform is the waveform currently being acquired using the specified channel.
specifies that the template waveform is the waveform currently stored as the specified math waveform.
specifies that the template waveform is the waveform currently stored as the specified reference waveform.

"! specifies that the template waveform for limit tests is the waveform currently acquired using channel 2.
"! might return , specifying that the template waveform for limit tests is the waveform currently stored as the MATH3 waveform.
Sets or queries the amount, in units of horizontal divisions, by which the source waveform is varied horizontally when creating the destination waveform.
LIMit:COMPARE:CH
" "! # "
" "! # "
" " ! # "
is the amount, in horizontal divisions, by which the current waveform is allowed to deviate from the template waveform without exceeding the limits set in the limit test. The range is 0 to 5 divisions.
"! # " specifies that the current waveform is deemed to be close enough to the template waveform if it is within ±1.0 horizontal division.
"! # " might return , specifying that the current waveform is close enough to the template waveform if it is within ±1.0 horizontal division.
Limit Test · ·

Sets or queries the amount, in units of vertical divisions, by which the source waveform is varied vertically when creating the destination waveform.
LIMit:COMPARE:CH
is the amount, in vertical divisions, by which the current waveform is allowed to deviate from the template waveform without exceeding the limits set in the limit test. The range is 0 to 5 divisions.
specifies that the current waveform is close enough to the template waveform if it is within ±1.0 vertical division from the template waveform.
might return , specifying that the current waveform is close enough to the template waveform if it is within ±1.0 vertical division.
Enables and disables all front panel buttons and knobs. There is no front-panel equivalent.
UNLock, Remote Enable Group, Local Lockout Group

disables all front panel controls.
enables all front panel controls. This is equivalent to the UNLock ALL command.
locks the front panel controls.
returns when the front panel controls are enabled by this command.
Returns a string listing the digitizing oscilloscope settings, except for configura- tion information for the calibration values. You can use this string to return the digitizing oscilloscope to the state it was in when you made the *LRN? query.

$ a partial response might look like this: #' $%&& ! % " ' ( ' ( $"& %&!"&$ $' %&!" !!"!"& ! ! !' & %&& &$ ($!% '$%!$' & ! !($%' &% %! % "!% & ! "!% & ! % & '$%!$
Returns the state of all settable mask parameters.
Returns
),+ might return % % "! &%" * % % "! &%" * % % "! &%" * % % "! &%" % % "! &%" % % "! &%" % % "! &%"
Mask · % · %

Controls whether or not an autoset will automatically be done after a standard mask is selected.
# % & $ ! '
#
#
makes autoset run automatically when a standard mask is selected from the front panel. Autoset does not keep running. It runs once when a standard is selected.
$ ! means that the mask autoset algorithm for a standard mask will be run only if the user presses the autoset button or sends the AUTOSET START command. If a standard mask is not currently selected, the mask autoset algorithm will not run and the normal autoset will run when the user presses the autoset button. Manual is the default value.
makes autoset run automatically when a standard mask is selected from the front panel.
Controls whether or not a standard mask autoset has the freedom to adjust vertical offset so the waveform matches the mask. This can be needed if ground (0 V) in the oscilloscope does not match ground for the user’s signal. For the

following standards, offset will not be adjusted if this feature is OFF: T1.102, DS–0, E2, E2, and E3. For all other standards, offset will be adjusted regardless of how this feature is set.
or = 0 takes away a standard mask autoset’s freedom to adjust vertical offset for standard masks. This is the default value.
or 0 gives a standard mask autoset the freedom to adjust vertical offset for standard masks.
gives a standard mask autoset the freedom to adjust vertical offset for standard masks.
Zeros the counts for the masks.
zeros the mask counts.

clears the mask counts.
Controls whether or not mask counting is being done.
or = 0 turns off mask counting. This is the default state.
or 0 turns on mask counting.
turns on mask counting.
Returns the sum of all the hits in all the defined masks. If masks overlap (no standard masks overlap) and a hit occurs in the overlap region, the total hits will count that hit multiple times. It returns the current value, which may be displayed if the correct mask menu is up, of this number.

Returns
MASK:COUNt:WAVEFORMS? (Query Only) TDS 500C & 700C Only
Returns the number of waveforms that have contributed to mask counting. This can be much smaller than the ACQUIRE:NUMACQ number since the acquire number just counts how many triggers have been processed. The time per div may be fast enough that 100 or more triggers are required to be processed to fill one waveform. Even then, it may not be completely filled.
<NR1>
might return:
Controls whether or not defined masks are displayed on the screen. This is useful for temporarily turning off user-defined masks without deleting them.
! ! "
Mask · Mask

or = 0 removes the masks from the display.
or 0 displays the masks on the display. This is the default value.
sets the display to show the defined masks.
might return indicating that the display shows masks.
Controls whether or not a digital filter will be run on the waveform data. The filter simulates expensive optical hardware. Different hardware would be used for each of the optical standards. The digital filter will run only if ENABLE is the mode and one of the optical eye-pattern standard masks has been selected, and several other restrictions. These other restrictions are:
One of the seven optical standards has been selected in the Measure/Masks/ MaskType/Standard Mask menu. In other words, any of the three SONET SDH or any of the four fibre channel standards from the Fibre Chan menu are selected.
The SONET/SDH MASK menu contains a provision for enabling or disabling the filter. This selection must be ENABLE
The time per division setting is the correct value for the mask which has been selected
The record length is equal to 500
Only one channel is on. Mask autoset may force channels off in order to allow the mask to be turned on
The oscilloscope bandwidth must be set to full

#& ' $#" ( $#" )
#&
$#" enables the digital filter. This is the default value.
$#" disables the digital filter.
enables the digital filter.
Returns the state of all settable parameters of the specified mask.
is 1 to 8.
might return #
Deletes all points in the specified mask.

is 1 to 8.
deletes the points in mask 3.
Returns the number of hits in the specified mask. This will be zero unless the MASK:COUNT:STATE is ON (or was ON).
is 1 to 8. The default is 0.
might return:
Returns the number of points in the specified mask. One use of this query is to see how many pairs a MASK:MASK:POINTSPCNT command will return.
Mask · Mask · Mask

is 1 to 8. The default is 0.
might return:
Defines points in the specified mask, in user coordinates. Any currently existing points in the mask are deleted.
is 1 to 8.
refers to the coordinates of one of the vertexes in the mask. Each pair of is the horizontal and vertical coordinates of a mask vertex. The order of the pairs has no effect on the mask created. If the vertical or horizontal scale or position is changed after this command and then the query form of this command is issued, then the returned from the TDS oscilloscope will not be the same. The general rule for how the boundary of the mask is generated from the input pairs is that an imaginary line connects the top-left point with the bottom-right point. All points below this imaginary line are part of the bottom boundary curve. All other points are part of the top boundary curve. If just one

pair is input then they are ignored and the mask is marked as undefined. The default is no points in the mask.
defines the points in mask 7.
Defines points in the specified mask, in percentage coordinates. The upper left is 0,0 and the lower right is 100,100. Any currently existing points in the mask are deleted.
"
"
"
is 1 to 8.
refers to the coordinates of one of the vertexes in the mask. Each pair of is the horizontal and vertical coordinates of a mask vertex. The order of the pairs has no effect on the mask created. Resolution of the is to the nearest pixel. 500 pixels horizontal implies 0.2%. 200 pixels vertical implies 0.5%. The general rule for how the boundary of the mask is generated from the input pairs is that an imaginary line connects the top-left point with the bottom-right point. All points below this imaginary line are part of the bottom boundary curve. All other points are part of the top boundary curve. If just one pair is input then they are ignored and the mask is marked as undefined. The default is no points in the mask.

defines the points in mask 7.
Selects which trace will be compared against the mask(s) when counting is turned on.
!0%' 4
/#%'
4 indicates CH #. It may be 1, 2, 3, or 4. 1 is the default.
! would enable CH1 to be compared against the mask.
Deletes the existing mask and sets the standard mask. The query form queries the standard mask.
& 6 7 7 7 )-(+' 7 .3$+' 7 .-20# 7 ),)-( 7 5,,'20)%#+ 7 .#4 7 7 7 " 7 " 7 7 " 7 " 7 "#4 7 5' 7 3+1' 7 7 "#4 7 ' 7 ! #1* 8


means delete any user defined masks and then create masks 1 .. 3 as specified by OC1/STM0 standard (51.84 Mb/s).
means delete any user defined masks and then create masks 1 .. 3 as specfied by OC3/STM1 standard (155.52 Mb/s).
means delete any user defined masks and then create masks 1 .. 3 as specfied by OC12/STM4 standard (622.08 Mb/s).
"&!$ means delete any user defined masks and then create masks 1 .. 2 as specified by the DS–0 Single Pulse standard (64 kb/s).

means delete any user defined masks and then create masks 1 .. 2 as specified by the DS–0 Double Pulse standard (64 kb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the DS–0 Data Pulse, Contradirectional standard (64 kb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the DS–0 Timing Pulse, Contradirectional standard (64 kb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the E1 Symmetrical Pair standard (2.048 Mb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the E1 Coaxial Pair standard (2.048 Mb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the E2 standard (8.448 Mb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the E3 standard (34.368 Mb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the E4 Binary 0 standard (139.26 Mb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the E4 Binary 1 standard (139.26 Mb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the E5 CEPT standard (565 Mb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the G.703 Binary 0 standard (155.52 Mb/s). The SONET standard GR–253–CORE calls this mask STS–3. ANSI standard T1.102 has STS–3 eye pattern standards.
means delete any user defined masks and then create masks 1 .. 2 as specified by the G.703 Binary 1 standard (155.52 Mb/s). The SONET standard GR–253–CORE calls this mask STS–3. ANSI standard T1.102 has STS–3 eye pattern standards.
means delete any user defined masks and then create masks 1 .. 2 as specified by the DS1 standard (1.544 Mb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the DS1A standard (2.048 Mb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the DS1C standard (3.152 Mb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the DS2 standard (6.312 Mb/s).

means delete any user defined masks and then create masks 1 .. 2 as specified by the DS3 standard (44.736 Mb/s).
means delete any user defined masks and then create masks 1 .. 4 as specified by the DS4NA eye standard (139.26 Mb/s).
means delete any user defined masks and then create masks 1 .. 4 as specified by the DS4NA Maximum equipment output eye standard (139.26 Mb/s).
means delete any user defined masks and then create masks 1 .. 4 as specified by the STS–1 Eye standard (51.84 Mb/s).
means delete any user defined masks and then create masks 1 .. 2 as specified by the STS–1 Pulse standard (51.84 Mb/s).
means delete any user defined masks and then create masks 1 .. 4 as specified by the STS–3 eye standard (155.52 Mb/s).
means delete any user defined masks and then create masks 1 .. 4 as specified by the STS–3 Maximum equipment output eye standard (155.52 Mb/s).
means delete any user defined masks and then create masks 1 .. 3 as specified by the Fibre Channel 133 Optical standard (132.7 Mb/s).
means delete any user defined masks and then create masks 1 .. 3 as specified by the Fibre Channel 266 Optical standard (265.6 Mb/s).
means delete any user defined masks and then create masks 1 .. 3 as specified by the Fibre Channel 531 Optical standard (531.2 Mb/s).
means delete any user defined masks and then create masks 1 .. 3 as specified by the Fibre Channel 1063 Optical standard (1.0635 Gb/s).
means delete any user defined masks and then create masks 1 .. 3 as specified by the Fibre Channel 133 Electrical standard (132.7 Mb/s).
means delete any user defined masks and then create masks 1 .. 3 as specified by the Fibre Channel 266 Electrical standard (265.6 Mb/s).
means delete any user defined masks and then create masks 1 .. 3 as specified by the Fibre Channel 531 Electrical standard (531.2 Mb/s).
means delete any user defined masks and then create masks 1 .. 3 as specified by the Fibre Channel 1063 Electrical standard (1.0635 Gb/s).
means delete any user defined masks and then create masks 1 .. 3 as implied by the ANSI/SMPTE 259M 4fsc NTSC standard (143.1818 Mb/s).
means delete any user defined masks and then create masks 1 .. 3 as implied by the ANSI/SMPTE 259M 4:2:2 component serial video standard (270 Mb/s).

means delete any user defined masks and then create masks 1 .. 2 as implied by the FDDI standard (125 Mb/s).
causes all masks to be deleted. This even includes user masks.
# is a no-op when received by the SET form of this command. It is allowed because a SET? can get it.
selects the OC3 standard.
Set the time base position. Use this command to reposition the waveform against the mask.
"# $ "!
is the time base position. Increasing the value moves the trigger position and waveform left on the screen. Decreasing it moves the trigger position and waveform right. Units of measure is seconds. Minimum resolution is 1 ps. The oscilloscope will round any number entered to the nearest 1 ps.
moves the waveform appropriately.
Returns the definition for the math waveform specified by .
Mask · Vertical · %

Allows the user to define new waveforms using mathematical expressions. This is equivalent to selecting Change Math waveform definition in the Math side menu.
) &$ !
&$ !
&$ ! contains the mathematical expression. The expression can include any amount of white space. Expressions can be either single or dual waveform expressions. and elements are case independent.
The format for a single waveform expression is:
'!& "!%"'$ ( !"( % ! # % %'##$%% "!
The format for a dual waveform expression is:
where:
'!& "! * * *
$& (for invert): inverts the defined waveform.
$!& & (available with Advanced DSP Math only): takes the derivative of the selected waveform.
(available with Advanced DSP Math only): provides an FFT of the selected waveform. It uses the format: “FFT(, , , )” where the window, scaling, and phase suppression arguments in the parentheses are optional. You can specify these arguments in any order.

refers to a signal channel. Valid choices are: , ! , ! , ! , or !.
(The TDS 410A does not include and .)
refers to an FFT window. Valid choices are: !#%0*6.%3, /,0*, 0,0*, or '-/%0+%33,4.
provides vertical scaling. Valid choices are: 3/4, (%33/4, 3((42+%4(, or !,%042+%4(.
is of the range: –100 dB to 100 dB.
#(*3%5( (available on instruments with the Option 2F Advanced DSP Math only): takes the integral of the selected waveform.
# + ' adds channel 1 and channel 2, and stores the result in MATH2.
# $ 3() inverts the waveform stored in reference memory location 4 storing the result in MATH1.
# # takes an FFT on the waveform from channel 1 and stores the result in MATH1.
# # !! " takes an FFT from channel 1, using the HAMMING algorithm, with linear rms scaling, and 20 dB phase suppression. The result is stored in MATH1.
# might return + !() as the expression that defines MATH1.
MATH<x>:NUMAVg TDS 510A, 500C, 600B, & 700C Only, some models require Option 2F
Allows the user to declare at what acquisition number the averaging algorithm will begin exponential averaging. Prior to that acquisition number, the algorithm uses stable averaging. This is equivalent to selecting Average in the Math side menu and entering a value with the general purpose knob or the keypad.
Vertical

!
!
specifies the number of times to successively average the math waveform before completing an acquisition.
Successively averages math waveform 2 by 10 times.
might return 10 indicating 10 math 2 waveforms are successively averaged before a single acquisition occurs.
MATH<x>:PROCessing TDS 510A, 500C, 600B, & 700C Only, some models require Option 2F
Allows the user to turn on or off averaging for the math waveform specified by . This is equivalent to selecting No Extended Process or Average in the Math side menu.
Math averaging allows the digitizing oscilloscope to successively average any acquisition-related math waveform. This can help reduce noise in a math waveform.
! " # $
!
!

turns off waveform averaging.
!)$&% turns on waveform averaging.
ensures that waveform averaging is not in use on math waveform 1.
! turns on waveform averaging on math waveform 1.
Returns all measurement parameters.
might return # * # " , # * # " # * # " , # * # " , # * # " ! " ! "
Removes the measurement snapshot display.
Measurement · )%'%(+ · )%'%(+

" $ !# $
!# $ " $
Sets or queries measurement gating.
CURSor:VBArs
" $ % & & '
" $
" $
(or ) turns on measurement gating.
(or ) turns off measurement gating.
might return showing gating is turned on. It might also return showing gating is turned off.

Returns all immediate measurement setup parameters.
% " #'
% " #'
might return &
Returns information about the immediate delay measurement.
% " #' (
% " #' (
might return
Sets or queries the starting point and direction that determines the delay “to” edge when taking an immediate delay measurement. Use the MEASUre- ment:IMMed:SOURCE2 command to specify the delay “to” waveform.
% " #' ( '!$# ) % & * % &+
% " #' ( '!$#
Measurement · Measurement · Measurement

# % & % !
# $ means that the search starts at the end of the waveform and looks for the last rising or falling edge in the waveform. The slope of the edge is specified by MEASUrement:IMMed:DELay:EDGE2.
# $ means that the search starts at the beginning of the waveform and looks for the first rising or falling edge in the waveform. The slope of the edge is specified by MEASUrement:IMMed:DELay:EDGE2.
starts searching from the beginning of the waveform record.
returns either or .
Sets or queries the slope of the edge that is used for the delay “from” waveform when taking an immediate delay measurement. The waveform is specified by MEASUrement:IMMed:SOURCE1.
MEASUrement:IMMed:SOURCE1
# % & ' ( )
# % &

specifies the falling edge.
specifies the rising edge.
specifies that the rising edge be used for the immediate delay measurement.
returns either or .
Sets or queries the slope of the edge that is used for the delay “to” waveform when taking an immediate delay measurement. The waveform is specified by MEASUrement:IMMed:SOURCE2.
MEASUrement:IMMed:SOURCE2
! "
specifies the falling edge.
![Page 227 of the Tektronix TDS680B user manual — MEASUrement:IMMed:SOURCE[1]](/cdn/reader/00/008e0cc32cc2a951f034f9da91feeaf225268660d35b3f12fb8c335b14c7ec4c/images/page-227.webp?w=400)
# specifies the rising edge.
specifies that the rising edge be used for the immediate delay measurement.
returns showing that the falling or negative edge of the waveform is used for the immediate delay measurement.
Sets or queries the source for all single channel immediate measurements and specifies the source to measure “from” when taking an immediate delay measurement or phase measurement.
)#%#&* #" , + - + - + - *'/ $) % &" .
)#%#&* #"
#" )#%#&*
+ is an input channel.
+ is a math waveform.
+ is a reference waveform.
*'$) % is a histogram (TDS 500C and 700C only).
specifies MATH1 as the immediate measurement source.

Specifies the source to measure “to” when taking an immediate delay measure- ment or phase measurement.
,$($). $# 2 0 3 0 3 0 3 .*%,!( !)# 4
,$($). $#
$# ,$($).
.*%,!(
0 is an input channel.
0 is a math waveform.
0 is a reference waveform.
.*%,!( is a histogram (TDS 500C and 700C only).
sets the waveform in reference memory location 3 as the delay “to” source when making delay measurements.
might return .
Specifies the immediate measurement.
,$($). $# $ 2 '&./#$ 3 ! 3 -. 3 $! 3 !) 3 - 3 !1 3 !)# 3

)2+ ; %!! ! ! )2+ ; ; 8,2*: ; ; !6 ! )2+ ; $ ; %.181 ; ; ! )2+ ; .)2 ! )2+ ; 181 ; "7: ; #,56-337 ; $+7- ; "7: ; .76 ! )2+ ; 3+ ; 6, ; 4/ ; #,56-337 ; $+7- ; , ; ; '( ! )2+ ; !+,9 ! )2+ ; $# ! )2+
"5,1,27 ,+ !& ,
0.78+,
.)2
"7:
.76
8,2*:
%.181
"5,1,27 ,+ !& ,
For more information on how measurements are derived, see Appendix B: Algorithms, in the related TDS Family User Manual.
0.78+, is the high value minus the low value.

is the area between the curve and ground over the entire waveform.
is the time from the first MidRef crossing to the last MidRef crossing.
(cycle area) is the area between the curve and ground over one cycle.
is the arithmetic mean over one cycle.
is the true Root Mean Square voltage over one cycle.
" is the time between the MidRef crossings of two different waveforms.
(TDS 500C and 700C) is 10.0 * log10(Extinction Ratio)
(TDS 500C and 700C) is 100/Extinction Ratio
(TDS 500C and 700C) is High/Low
is the time that it takes for the falling edge of a pulse to fall from a HighRef value to a LowRef value of its final value.
! " is the reciprocal of the period measured in hertz.
is the 100% reference level.
(TDS 500C and 700C) displays the number of acquired points within or on the histogram box.
is the 0% reference level.
! is the highest amplitude (voltage).
for general purpose measurements, is the arithmetic mean over the entire waveform. For histogram measurements, it is the average of all acquired points within or on the histogram box.
(TDS 500C and 700C) is 10 * log10(MEAN/0.001) a value equal to
(TDS 500C and 700C) is the median of all acquired points within or on the histogram box. Half of the acquired points are greater than and half less than this value.
! is the lowest amplitude (voltage).
" is the ratio of the negative pulse width to the signal period expressed as a percentage.
is the negative overshoot, expressed as:
Amplitude

' is the distance (time) between MidRef (usually 50%) amplitude points of a negative pulse.
') is the ratio of the positive pulse width to the signal period expressed as a percentage.
!'& (TDS 500C and 700C)
# is the time, in seconds, it takes for one complete signal cycle to happen.
& is the amount of shift, expressed in degrees, from the selected waveform to the designated waveform.
$" is the absolute difference between the maximum and minimum amplitude. It can be used with both general purpose and histogram measurements. For histogram measurements, it is the value of the highest nonzero bin minus the value of the lowest nonzero bin.
%& ##' is the positive overshoot, expressed as:
Amplitude
' is the distance (time) between MidRef (usually 50%) amplitude points of a positive pulse.
is the time that it takes for the leading edge of a pulse to rise from a low reference value to a high reference value of its final value.
is the true Root Mean Square voltage.
(TDS 500C and 700C) is the percentage of points in the histogram which are within 1, 2, or 3 standard deviations of the histogram mean. In a normal distribution, 66% of the points are within 1 standard deviation, 95% of the points are within 2 standard deviations, and 97.5% of the points are within 3 standard deviations of the histogram mean.
( (TDS 500C and 700C) is the standard deviation of all acquired points within or on the histogram box.
(TDS 500C and 700C) is the number of waveforms that have contributed to the histogram. A waveform is counted even if no points were within the histogram box.
defines the immediate measurement to be a frequency measurement. Examples

Returns the units for the immediate measurement.
MEASUrement:IMMed:TYPe
returns for volts, for seconds, " for hertz, for volts2,or for percent.
On the TDS 400A, also returns for clocks, for volt-clocks, or for 1/clks.
might return , indicating that the units for the immediate measurement are seconds.
Immediately executes the immediate measurement specified by the MEASUre- ment:IMMed:TYPe command. The measurement is taken on the source(s) specified by a MEASUrement:IMMed:SOURCE command.
!
!
Measurement · Measurement ·

Returns all measurement parameters for the displayed measurement specified by .
$#%( )
$#%( )
might return: " ' " ! .
Returns the number of values accumulated for this measurement since the last statistical reset. Some values may have been ignored because they generated an error.
$#%( ) (
$#%( ) (
Returns
might return:
Returns the delay measurement parameters for the measurement specified by .
Measurement · Measurement

& " #( ) *
& " #( ) *
might return .
Sets or queries the starting point and direction that determines the delay “to” edge when taking a delay measurement. The waveform is specified by MEASUrement:MEAS:SOURCE2. This command is equivalent to setting the direction in the Delay Edges & Direction side menu.
& " #( ) * (!$# + & ' , & ' -
& " #( ) * (!$#
& " #( ) *
& ' means that the search starts at the end of the waveform and looks for the last rising or falling edge in the waveform. The slope of the edge is specified by MEASUrement:MEAS:DELay:EDGE2.
& ' means that the search starts at the beginning of the waveform and looks for the first rising or falling edge in the waveform. The slope of the edge is specified by MEASUrement:MEAS:DELay:EDGE2.
starts searching from the end of the waveform record.

might return for the search direction.
Sets or queries the slope of the edge that is used for the delay “from” waveform when taking a delay measurement. The waveform is specified by MEASUrement:MEAS:SOURCE1. This command is equivalent to selecting the edges in the Delay Edges & Direction side menu.
! " # $ %
! "
" !
specifies the falling edge.
specifies the rising edge.
specifies that the rising edge be used for measurement 3.
returns either or for measurement 1.
Sets or queries the slope of the edge that is used for the delay “to” waveform when taking a delay measurement. The waveform is specified by MEASUrement:MEAS:SOURCE2. This command is equivalent to selecting the edges in the Delay Edges & Direction side menu.

$ ! "% ' ( ) * +
$ ! "% ' (
$ ! "% ( '
specifies the falling edge.
specifies the rising edge.
specifies that the rising edge be used for the second delay measurement.
might return showing that the falling or negative edge of the waveform is used for the second measurement.
Returns the maximum value found for this measurement since the last statistical reset.
$ ! "% ' !&!
$ ! "% ' !&!
Returns

Returns the mean value accumulated for this measurement since the last statistical reset.
<NR3>
might return:
Returns the minimum value found for this measurement since the last statistical reset.
<NR3>
might return:
Measurement · Measurement

Sets or queries the source for all single channel measurements and specifies the source to measure “from” when taking a delay measurement or phase measure- ment.
& " #' ( ) ( * ( * ( * '$!& " # +
& " #' (
& " #'
( is an input channel.
( is a math waveform.
( is a reference waveform.
'$!& " is a histogram (TDS 500C and 700C only).
specifies MATH1 as the measurement 2 source.
Sets or queries the source to measure “to” when taking a delay measurement or phase measurement. This is equivalent to setting the source in the Delay from Selected Wfm side menu or the Phase from Selected Wfm side menu.
& " #' ( ) ( * ( * ( * '$, !& " # +

is an input channel.
is a math waveform.
is a reference waveform.
is a histogram (TDS 500C and 700C only).
sets channel 1 as the delay “to” source when making delay measurements.
might return .
Controls the measurement system. The source specified by MEASUre- ment:MEAS:SOURCE1 must be selected for the measurement to be displayed. The source can be selected using the SELect:CH command.
! " " #

or = 0 turns measurements off. You can also turn the state off by deselecting the source.
or 0 turns measurements on.
" ! !! turns measurement defined as MEAS1 on.
" ! !! returns either or , indicating the state of MEAS4.
Returns the standard deviation of values accumulated for this measurement since the last statistical reset.
"/*-*.1 4 !)*3
"/*-*.1 4 !)*3
<NR3>
" ! !# might return: " !
Sets or queries the measurement type for the measurement specified by MEAS. This is equivalent to selecting the measurement in the Select Measurement side menu.
"/*-*.1 4 !& * 6 ,+12)* 7 ' 7 " 01 7 *' 7 '. 7 0 7 '5 7 %!! ! ! '.) 7 %!! ! ! '.) 7 %!! ! '.) 7 7 2*.(5 7 7 !0 ! '.) 7 $ 7
Measurement · Measurement

%.181 < < ! )2+ < .)2 ! )2+ < 181 < "7; < #,56-337 < $+7- < "7; < .76 ! )2+ < 3+ < 6, < 4/ < #,56-337 < $+7- < , < < '( ! )2+ < !+,9 ! )2+ < $# ! )2+ =
0.78+,
.)2
.76
%.181
"5,1,27 !& ,
For more information on how measurements are derived, see Appendix B: Algorithms, in the related TDS Family User Manual.
0.78+, is the high value minus the low value or – $.
) is the area between the curve and ground over the entire waveform.

! is the time from the first MidRef crossing to the last MidRef crossing.
(cycle area) is the area between the curve and ground over one cycle.
is the arithmetic mean over one cycle.
is the true Root Mean Square voltage over one cycle.
# is the time between the MidRef crossings of two different waveforms.
(TDS 500C and 700C) is 10.0 * log10(Extinction Ratio)
(TDS 500C and 700C) is 100/Extinction Ratio
(TDS 500C and 700C) is High/Low
is the time that it takes for the falling edge of a pulse to fall from a HighRef value to a LowRef value of its final value.
" # is the reciprocal of the period measured in hertz.
is the 100% reference level.
(TDS 500C and 700C) displays the number of acquired point within or on the histogram box.
is the 0% reference level.
" is the highest amplitude (voltage).
for general purpose measurements, is the arithmetic mean over the entire waveform. For histogram measurements, it is the average of all acquired points within or on the histogram box.
(TDS 500C and 700C) is 10 * log10(MEAN/0.001) a value equal to
(TDS 500C and 700C) is the median of all acquired points within or on the histogram box. Half of the acquired points are greater than and half less than this value.
" is the lowest amplitude (voltage).
!# is the ratio of the negative pulse width to the signal period expressed as a percentage.
! is the negative overshoot, expressed as:
Amplitude
! is the distance (time) between MidRef (usually 50%) amplitude points of a negative pulse.

%' is the ratio of the positive pulse width to the signal period expressed as a percentage.
%$ (TDS 500C and 700C)
! is the time, in seconds, it takes for one complete signal cycle to happen.
$ is the amount of shift, expressed in degrees, from the selected waveform to the designated waveform.
" is the absolute difference between the maximum and minimum amplitude. It can be used with both general purpose and histogram measurements. For histogram measurements, it is the value of the highest nonzero bin minus the value of the lowest nonzero bin.
#$ !!% is the positive overshoot, expressed as:
Amplitude
% is the distance (time) between MidRef (usually 50%) amplitude points of a positive pulse.
is the time that it takes for the leading edge of a pulse to rise from a low reference value to a high reference value of its final value.
is the true Root Mean Square voltage.
(TDS 500C and 700C) is the percentage of points in the histogram which are within 1, 2, or 3 standard deviations of the histogram mean. In a normal distribution, 66% of the points are within +–1 standard deviation, 95% of the points are within +–2 standard deviations, and 97.5% of the points are within +–3 standard deviations of the histogram mean.
& (TDS 500C and 700C) is the standard deviation of all acquired points within or on the histogram box.
(TDS 500C and 700C) is the number of waveforms that have contributed to the histogram. A waveform is counted even if no points were within the histogram box.
specifies MEAS3 to calculate the Root Mean Square voltage. Examples

Returns the units for the measurement specified by MEASUre- ment:MEAS:TYPe.
!
!
returns for volts, for seconds, for hertz, for volts2, or for percent.
On the TDS 400A, also returns for clocks, for volt-clocks, or for 1/clks.
might return , indicating the units for Measurement 3 are percent.
Returns the value that has been calculated for the measurement specified by .
!
!
Measurement · Measurement ·

Sets or queries the method used to calculate the 0% and 100% reference level. This is equivalent to setting the High-Low Setup in the Measure menu.
! $ ! % # &
!
!
! sets the high and low waveform levels statistically using a histogram algorithm.
# sets the high and low waveform levels to MAX and MIN, respectively.
specifies that the high and low reference levels are set statistically.
returns when the reference levels are set to MIN and MAX.
Returns the reference levels.
! "
! "

Sets or queries the high reference level, and is the 100% reference level when MEASUrement:REFLevel:METHod is set to ABSolute. This command is equivalent to setting the Reference Levels in the Measure menu.
# $ & ! %$
# $ & ! %$
# $ & ! %$
is the high reference level, in volts. The default is 0.0 V.
sets the high reference level to 1.71 V.
Sets or queries the low reference level, and is the 0% reference level when MEASUrement:REFLevel:METHod is set to ABSolute. This command is equivalent to setting the Reference Levels in the Measure menu.
# $ & ! %$
# $ & ! %$

$ !% ' " &%
is the low reference level, in volts. The default is 0.0 V.
might return as the low reference level.
Sets or queries the mid reference level, and is the 50% reference level when MEASUrement:REFLevel:METHod is set to ABSolute. This command is equivalent to setting the Reference Levels in the Measure menu.
$ !% ' " &%
$ !% ' " &%
$ !% ' " &%
is the mid reference level, in volts. The default is 0.0 V.
sets the mid reference level to .71 volts.

Sets or queries the mid reference level for the “to” waveform when taking a delay measurement, and is the 50% reference level when MEASUrement:RE- FLevel:METHod is set to ABSolute. This command is equivalent to setting the Reference Levels in the Measure menu.
& " #' ) ! $!('
& " #' ) ! $!('
& " #' ) ! $!('
is the mid reference level, in volts. The default is 0.0 V.
sets the mid reference level for the delay waveform to 0.5 volts.
Specifies which reference levels are used for measurement calculations. This command is equivalent to setting the levels in the Reference Levels side menu.
& " #' ) !$ * $!(' + #' ,
& " #' ) !$
$ & " #' ) !

" &% specifies that the reference levels are set explicitly using the MEASUrement:REFLevel:ABSolute commands. This method is useful when precise values are required. For instance, when designing to published interface specifications such as RS-232-C.
!% specifies that the reference levels are calculated as a percent relative to HIGH and LOW. The percentages are defined using the MEASUrement:REFLe- vel:PERCent commands.
" &% specifies that explicit user-defined values are used for the reference levels.
returns either " &% or , indicating the reference levels used.
Sets or queries the percent, where 100% is equal to HIGH, that is used to calculate the high reference level when MEASUrement:REFLevel:METHod is set to PERCent. This command is equivalent to setting the Reference Levels in the Measure menu.
$ !% ' !%
$ !% ' !%
$ !% ' !%
ranges from 0 to 100 percent, and is the high reference level. The default is 90%.
specifies that the high reference level is set to 95% of HIGH.

Sets or queries the percent, where 100% is equal to HIGH, that is used to calculate the low reference level when MEASUrement:REFLevel:METHod is set to PERCent. This command is equivalent to setting the Reference Levels in the Measure menu.
!
!
!
ranges from 0 to 100 percent, and is the low reference level. The default is 10%.
might return 15, meaning that the low reference level is 15% of HIGH.
Sets or queries the percent, where 100% is equal to HIGH, that is used to calculate the mid reference level when MEASUrement:REFLevel:METHod is set to PERCent. This command is equivalent to setting the Reference Levels in the Measure menu.
!
!

! " # "
ranges from 0 to 100 percent, and is the mid reference level. The default is 50%.
specifies that the mid reference level is set to 60% of HIGH.
Sets or queries the percent, where 100% is equal to HIGH, that is used to calculate the mid reference level for the second waveform specified when taking a delay measurement. This command is equivalent to setting the Reference Levels in the Measure menu.
! " # "
! " # "
! " # "
ranges from 0 to 100 percent, and is the mid reference level. The default is 50%.
specifies that the mid reference level is set to 40% of HIGH.

Displays the measurement snapshot.
" "
" "
Controls the operation and display of measurement statistics.
" !"! % & $ & # '
" !"!
"
turns measurements off. This is the default value.
$ turns on statistics and displays the min and max statistics.
# turns on statistics and displays the mean and standard deviation statistics.
turns on statistics and displays the min and max statistics.

Controls the responsiveness of mean and standard deviation to waveform changes.
! # "# " #
! # "# " #
#
! # "# "
is the time constant for the mean and standard deviation statistical accumulations.
sets the weighting to 4.
Clears the message window and the MESSage? query returns the current message parameters.
!
! removes the message from the message window. This is equivalent to sending .

clears the message from the window.
Defines the size and position of the message window. This command does not display the window unless MESSage:STATE is ON.
and = 0 to 640, and are pixel positions along the horizontal axis. defines the left and defines the right side of the window.
and = 0 to 480, and are pixel positions along the vertical axis. defines the top and defines the bottom of the window. The reserved height of all characters is 15 pixels so the window must be at least that high to fully display characters. For a complete list of character widths in pixels, see Table A–1 on page A–1. Shorter windows clip characters.
Figure 3-1 shows the coordinate system relative to the screen.


Clears the contents of the message window and displays the new message in the window.
is the message and can include any of the characters shown in the TDS Character Chart in Appendix A. The maximum length of the message is 1000 characters.

The message is left-justified, and is displayed on a single line starting with the top most line in the window. A line feed character can be embedded in the string to position the message on multiple lines. You can also use white space and tab characters to position the message within a line.
You can send a tab by transmitting a tab character (decimal 9) followed by two characters representing the most significant eight bits followed by the least significant eight bits of a 16-bit number. The number specifies the pixel column relative to the left margin of the label area. For example, to tab to pixel 13, send TAB (decimal 9), NUL (decimal 0), and CR (decimal 13).
The ESC character followed by the @ character turns inverse video on or off and can be embedded in the message string. The first ESC character followed by a @ character displays all the text that follows in inverse video until another ESC character followed by a @ character is found in the string.
The label area is the height and width you have set using the MESSage:Box command. The length of the label that fits in the label area depends on the contents of the label because the width of characters varies. For a complete list of character widths in pixels, see Table A–1 on page A–1.
If the message exceeds the limits of the window, either horizontally or vertically, the portion of the message that exceeds the limits will not be displayed. The message string itself is not altered. The entire message can be returned as a query response regardless of what is displayed in the window.
displays “Hello world” in the upper left corner of the box (you can define the box size with the MESSAGE BOX command).
displays “Hello world ... hello” in the upper left corner of the box and the word “world” is displayed in inverse video. In this example, stands for the escape character. The escape character may appear differently for you depending on your GPIB talker-listener program.
Controls the display of the message window.
Display

# $ $ %
or = 0 removes the message window from the screen.
or 0 displays the message window and its contents on the screen. The size of the window is defined by MESSage:BOX.
Changes the password that enables access to password protected data. The PASSWord command must be successfully executed before using this command or an execution error will be generated.
is the new password. The password can include up to 10 characters.
" ! creates a new password for accessing the user protected data.
Generates the operation complete message in the Standard Event Status Register (SESR) when all pending operations finish. The *OPC? query places the ASCII character “1” into the output queue when all pending operations are finished. The *OPC? response is not available to read until all pending operations finish. For a

complete discussion of the use of these registers and the output queue, see page 3–1.
Related Commands
The *OPC command allows you to synchronize the operation of the digitizing oscilloscope with your application program. Synchronization methods are described starting on page 3–7. Table 2–33 shows commands that generate an Operation Complete message.
Automatic scope adjustment AUTOSet EXECute
Single sequence acquisition ACQuire:STATE ON or ACQuire:STATE RUN (when ACQuire:STOPAfter is set to SEQuence)
Hardcopy output HARDCopy STARt
Returns a list of options installed in your digitizing oscilloscope.

Might return: , !(- !/-!( ! +! )+ &!("-# ' -# * % .$ !) -+$""!+ )&)+ $,*& 0.
Enables the *PUD and NEWpass set commands. Sending PASSWord without any arguments disables these same commands. Once the password is successful- ly entered, the *PUD and NEWpass commands are enabled until the digitizing oscilloscope is powered off, or until the FACtory command, the PASSWord command with no arguments, or the *RST command is issued.
To change the password, you must first enter the valid password with the PASSWord command and then change to your new password with the NEWpass command. Remember that the password is case sensitive.
-+$(" is the password and can include up to 10 characters. The factory default password is “XYZZY”and is always valid.
Enables the *PUB and NEWpass set commands.
Disables the *PUD and NEWpass set commands. You can still use the query version of *PUD.

Sets and queries the power-on status flag that controls the automatic power-on handling of the DESER, SRER, and ESER registers. When *PSC is true, the DESER register is set to 255 and the SRER and ESER registers are set to 0 at power-on. When *PSC is false, the current values in the DESER, SRER, and ESER registers are preserved in nonvolatile memory when power is shut off and are restored at power-on. For a complete discussion of the use of these registers, see page 3–1.
DESE, *ESE, FACtory, *RST, *SRE
= 0 sets the power-on status clear flag to false, disables the power-on clear and allows the digitizing oscilloscope to possibly assert SRQ after power-on.
0 sets the power-on status clear flag true. Sending *PSC 1 therefore enables the power-on status clear and prevents any SRQ assertion after power- on. Using an out-of-range value causes an execution warning.
sets the power-on status clear flag to false.
might return the value 1, showing that the power-on status clear flag is set to true.
Sets or queries a string of Protected User Data. This data is protected by the PASSWord command. You can modify it only by first entering the correct password. The password is not necessary to query the data.

!
" !
! is a string containing up to 100 characters.
$ $%#& % ! $ %! stores the string “This instrument belongs to me” in the user protected data area.
might return #!"#%' ! ! " ' .
Restores the state of the digitizing oscilloscope from a copy of its settings stored in memory. (The settings are stored using the *SAV command.) This command is equivalent to RECAll:SETUp and performs the same function as the Recall Saved Setup item in the front-panel Save/Recall Setup menu.
DELEte:SETUp, FACtory, *LRN?, RECAll:SETUp, *RST, *SAV, SAVe:SETUp
is a value in the range from 1 to 10, and specifies a setup storage location. Using an out-of-range value causes an execution error (222, “Data out of range”).

restores the digitizing oscilloscope from a copy of the settings stored in memory location 3.
Replaces the indicated channel’s live acquisition data with that saved in the indicated file.
%% "$%!( *# ,
"$%! ( *# ( ! %% ,
"$%! ( *# is the location in mass storage memory where the setup will be recalled from.
"$%! ( *# is a quoted string that defines the file name and path. Input the file path using the form )$+! $) "$%!' &!. )$+! and one or more $)s are optional. If you do not specify them, the TDS will read the file from the current directory. "$%!' &! stands for a filename of up to 8 characters followed by a period (“.”) and any 3-character extension. Do not use wild card characters.
The current directory refers to the name of a directory as returned by the FILESystem:CWD command.
, is an input channel.
-# replaces CH2’s data with that stored in hd0:/MYFILE.WF1.
Restores a stored or factory front-panel setup of the digitizing oscilloscope. This command is equivalent to selecting Recall Saved Setup or Recall Factory Setup or Recall Current Setup in the Save/Recall Setup menu.
Save and Recall · Save and Recall

DELEte:SETUp, FACtory, *RCL, *RST, *SAV, SAVe:SETUp
# ( %"$' ) ) #% *
#% #
%"$' selects the factory setup.
is a value in the range from 1 to 10 and specifies a setup storage location. Using an out-of-range value causes an execution error (222, “Data out of range”).
#% is the location in mass storage memory where the setup will be recalled from.
#% is a quoted string that defines the file name and path. Input the file path using the form $ & $ ! . $ & and one or more $ s are optional. If you do not specify them, the TDS will read the file from the default directory. ! stands for a filename of up to 8 characters followed by a period (“.”) and any 3-character extension. Do not use wild card characters.
The default directory refers to the name of a directory as returned by the FILESystem:CWD command.
recalls (and makes current) the front panel setup to its factory defaults.
recalls the front panel setup from setup1.
+ recalls the front panel setup from the file in the default directory and on the default drive.
Recalls a stored waveform into a reference location. This command is similar to selecting Recall File in the Save/Recall Waveform menu.

!! $&" ! %( *
!! $&" ! %( * %
* is the location in internal reference memory where the waveform is recalled from.
! %( is a quoted string that defines the file name and path. Input the file path using the form & ) & ! #" . & ) and one or more & s are optional. If you do not specify them, the TDS will recall the waveform from the default directory. ! #" stands for a filename of up to 8 characters followed by a period (“.”) and any 3-character extension. Do not use wild card characters.
The default directory refers to the name of a directory as returned by the FILESystem:CWD command.
+ recalls the waveform stored in the file named TEK00000.WFM to reference location 1.
Specifies a comment. This line is ignored by the instrument.
(& #
% (& #
(& # is a string that can have a maximum of 80 characters.
' ' $"" #( is ignored by the instrument.
(Reset) returns the digitizing oscilloscope to a known set of instrument settings, but does not purge any aliases or stored settings.
Miscellaneous

FACtory, *PSC, *RCL, RECAll:SETUp, *SAV, SAVe:SETUp
*RST returns the instrument settings to the factory defaults (see Appendix D: Factory Initialization Settings).
The *RST command does not alter the following:
The state of the IEEE Std 488.1–1987 interface.
The selected IEEE Std 488.1–1987 address of the digitizing oscilloscope.
Calibration data that affect device specifications.
The Output Queue.
The Service Request Enable Register setting.
The Standard Event Status Enable Register setting.
The Power-on status clear flag setting.
Alias definitions.
Stored settings.
The *PUD? response.
Sets or queries RS-232-C interface transmission speed.

where can be 300, 600, 1200, 2400, 4800, 9600 or 19200.
sets the transmission rate to 9600 baud.
Sets or queries the input and output hard flagging over the RS-232 port. It uses the RFR (Ready For Receive) and CTS (Clear To Send) lines to control data transmission. On output, the oscilloscope transmits data only when CTS is asserted. When CTS is not asserted, the oscilloscope stops transmitting data. On input, it asserts RFR until the receive queue is full. Then it unasserts RFR to stop transmission from an external printer. CTS remains unasserted until the receive queue is not full. At that time, CTS is asserted again to restart transmission.
! # $ $ %
!
!
or turn on hardflagging.
or turn off hardflagging.
turns on hard flagging.

Sets or queries the parity used for all RS-232-C data transfers. Parity adds a bit to the character sequence. When parity is odd or even, the digitizing oscilloscope generates the selected parity on output and checks all input against the selected parity. When parity is none, the digitizing oscilloscope performs no input parity error checks and generates no output parity.
indicates the parity bit is sent with even parity and bytes received are expected to have even parity.
indicates the parity bit is sent with odd parity and bytes received are expected to have odd parity.
indicates that no parity bit is sent and none are expected.
sets the parity to even.
Sets or queries the input and output soft flagging over the RS-232 port. It stops transmitting data any time it receives an XOFF (DC3) character. It sends an XOFF character when its 512 byte input buffer has 80 free bytes. The digitizing oscilloscope begins transmitting data again when it receives an XON (DC1) character. It sends XON when its input buffer has 100 free bytes.

! " " #
or turn on softflagging.
or turn off softflagging.
turns on soft flagging.
Sets or queries the number of transmission stop bits sent with each character to identify the end of data for that character.
is 1 or 2.
sets the number of stop bits to 1.

Queries the RS232 settings.
queries for RS232 settings.
It might return:
(Save) stores the state of the digitizing oscilloscope into a specified memory location. You can later use the *RCL command to restore the digitizing oscilloscope to this saved state. This is equivalent to selecting the Save Current Setup in the Save/Recall Setup menu.
DELEte:SETUp, FACtory, *RCL, RECAll:SETUp, SAVe:SETUp
# !"
is a value in the range from 1 to 10 and specifies a location. Using an out-of-range value causes an execution error. Any settings that have been stored previously at this location will be overwritten.

saves the current settings in memory location 2.
Writes out the acquisition data and its characteristics to the indicated file.
When extended-acquisition-length mode is on, this command will only write in the internal data format.
! "$%!( *# ,
"$%! ( *# ( ! ! ,
"$%! ( *# (available on instruments with the Option 1F File System) is the location in mass storage memory where the setup will be recalled from. It is a quoted string that defines the file name and path. Input the file path using the form )$+! $) "$%!' &!. )$+! and one or more $)s are optional. If you do not specify them, the TDS will read the file from the current directory. "$%!' &! stands for a filename of up to 8 characters followed by a period (“.”) and any 3-character extension. We recommend you use .WF1 to identify the extension to files that store waveform/acquisition data. Do not use wild card characters.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.
, is an input channel.
# saves the CH3 acquisition data to the MYFILE.WF1 file on device hd0.
Saves the current front-panel setup into the specified memory location or file. This is equivalent to selecting the Save Current Setup in the Save/Recall Setup menu.
Save and Recall

DELEte:SETUp, RECAll:SETUp, *RCL, *SAV
" # $
is a value in the range from 1 to 10 and specifies a location. Using an out-of-range value causes an execution error. Any settings that have been stored previously at this location will be overwritten.
(available on instruments with the Option 1F File System) is a quoted string that defines the file name and path. Input the file path using the form ! . ! and one or more s are optional. If you do not specify them, the TDS will write the file to the current directory. stands for a filename of up to 8 characters followed by a period (“.”) and a 3-char extension . We recommend you use “ ” for the extension to identify files that store setup data.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.
Settings saved in one TDS oscilloscope may or may not work on a different model TDS or on the same model TDS with a different version of firmware.
saves the current front-panel setup in memory location 5.
% % saves the current front-panel setup to the file in the current directory and on the current drive.
Stores a waveform in one of four reference memory locations or a mass storage file. This command is equivalent to selecting either the Save Waveform or the Save to File Waveform item in the Save/Recall Waveform menu.

DELEte:WAVEform, SAVE:WAVEform:FILEFormat
#%! ( ! * ) + $& ,
$& ( ! #%! $
( ! is CH, MATH, or REF, and is the waveform that will be saved.
) is the location where the waveform will be stored.
$& (on instruments with the Options 1F or HD File System) is a quoted string that defines the file name and path. Input the file path using the form % ' % "! . % ' and one or more % s are optional. If you do not specify them, the digitizing oscilloscope will write the file to the current directory. "! stands for a filename of up to 8 characters followed by a period (“.”) and the proper 3-character extension. Internal format waveforms use the “” extension. The TDS 400A, 500C, 600B, and TDS 700C can also use a “ ” extension for spreadsheet format files or a “ ” extension for MathCad format files.
The current directory refers to the name of a directory as returned by the FILESystem:CWD query.
saves the math 2 waveform in reference memory location 2.
-- saves the math1 waveform to the file in the default directory and on the default drive.
Specifies the file format for saved waveforms.
SAVE:WAVEform
) · · Save and Recall

! ! "# $ " $ %
! ! "
"
! " !
specifies the internal format. Internal format files usually have a .wfm extension.
When Extended-Acquisition-Length mode is on, the convention is to use a .wf1 extension. Also, the oscilloscope will only use this internal format with this mode.
" specifies the spreadsheet format. Spreadsheet format files usually have a .CSV extension.
specifies the MathCad format. MathCad format files usually have a .DAT extension.
If you are writing a MathCad program, you should be aware that the TDS-MathCad file has the following features:
first four values contain header information
first header value holds the TDS waveform record length
second header value holds time, in seconds, between samples
third header value holds the trigger position (expressed as an index in the data position. For extended-acquisition-length records, the index reported can be outside the waveform because the trigger can be outside the waveform. If before the waveform, it’s negative. If after, it’s a large positive)
fourth header value refers to the fractional trigger position
delimiters are carriage returns
specifies the waveform, when saved, will be stored in a spreadsheet-compatible format.

Returns the selected waveform and the display status of all waveforms.
might return
Controls the display and selection of waveforms. There can be up to eleven waveforms displayed at one time, but only one waveform can be selected at a time. The selected waveform is the waveform that was most recently turned on. This command is equivalent to pressing a front-panel CH or MORE button. can be CH, MATH, or REF except in extended-acquisition- length and InstaVu modes where MATH is not used.
! ! "
or = 0 turns off the display of the specified waveform.
or 0 turns on the display of the specified waveform. The waveform also becomes the selected waveform.

turns the channel 2 display on and selects channel 2.
returns either or , indicating whether the REF1 waveform is selected.
Sets or queries the waveform that is currently affected by the cursor and vertical commands.
can be CH, MATH, or REF except in extended-acquisition- length and InstaVu modes where MATH is not used.
is CH, MATH, or REF, and is the selected waveform.
might return as the selected waveform.
Returns a string listing the digitizing oscilloscope settings, except for configura- tion information for the calibration values. You can use this string to return the digitizing oscilloscope to the state it was in when you made the SET? query. This command is identical to the *LRN? command.

NOTE. The SET? query always returns a string with command headers, regardless of the setting of the HEADer command. This is because the returned string is intended to be able to be sent back to the digitizing oscilloscope as a command string. The VERBose command can still be used to specify whether the returned headers should be abbreviated or full length.
&' a partial return string may look like this: $( %&'"#'% %(!&'"#&'' " & # !( !) !( ) %#' ## !(' ' 5521.-6143 /37 "''" % ' % ' % ' % ' % ' % )%"& &&'' ,"% ' ,'&', )'"%& '% & !+#%& &'! %' ( ( '% ' !'!& 8 ',")% *)"% '+' "!'%&' &&& "* 0/224&'' "+ " !"! %"#,"% ' #& #"%' # ,"(' #"%'% '
(Service Request Enable) sets and queries the bits in the Service Request Enable Register (SRER). For a complete discussion of the use of these registers, see page 3–1.
*CLS, DESE, *ESE, *ESR?, EVENT?, EVMSg?, FACtory, *PSC, *STB?
&5-./ !% &%
!% is a value in the range from 0 to 255. The binary bits of the SRER are set according to this value. Using an out-of-range value causes an execution error.

The power-on default for SRER is 0 if is 1. If is 0, the SRER maintains its value through a power cycle.
sets the bits in the SRER to 00110000 binary.
might return a value of , showing that the bits in the SRER have the binary value 00100000.
(Read Status Byte) query returns the contents of the Status Byte Register (SBR) using the Master Summary Status (MSS) bit. For a complete discussion of the use of these registers, see page 3–1.
*CLS, DESE, *ESE, *ESR?, EVENT?, EVMSg?, FACtory, *SRE
Returns
might return the value , showing that the SBR contains the binary value 01100000.
Initializes both waveform and setup memories. This overwrites any previously stored data.
TEKSecure writes zeros in all waveform reference memory, regardless of selected record length, and puts all setups in the factory init state.
TEKSecure then verifies that the waveform and setup memory are in the desired state. It asserts a pass or a fail event on completion.

Sets or queries the time that the digitizing oscilloscope can display.
is a date in the form . refers to the hour number from 01 to 24. refers to the minute number in the hour from 00 to 59. refers to the seconds number in the minute from 00 to 59. There must be a colon after the and after the . Use two digits for each of the , , and .
specifies that the time is set to 01:24 AM.
Forces a trigger event to occur, and the TRIGger query returns the current trigger parameters.

" +*. *
" +*.
" +*.
* creates a trigger event. If TRIGger:STATE is REAdy, the acquisition will complete, otherwise this command will be ignored. This is equivalent to pressing the front-panel FORCE TRIGGER button.
" * forces a trigger event to occur.
" might return " #" "' $ $# " ! # # ! ! " !! "" # " % " #" ! " #" & & " "" #" & " !"" #" ! " #! !! "! # " %"' !"$ " #! # " "' !"$" ! % " #! %" % " " % %" "' !"$ " ' "' $ ' " ! # ! ! # " ' " $ "! # "
Sets the delayed trigger level and returns the current delayed trigger parameters.
" +*. (0 !"*/*,
" +*. (0

&$+ ".
$-$( sets the delayed trigger level to half way between the MIN and MAX amplitudes of the trigger source input. This is equivalent to selecting Set to 50% in the Delayed Edge Level side menu.
! sets the delayed trigger level to 50% of MAX and MIN.
! might return !
Selects whether the delayed trigger occurs after a specified number of events or a specified period of time after the main trigger. This is equivalent to setting Delay by in the Delayed Trig menu.
TRIGger:DELay:EVENTS:COUNt, TRIGger:DELay:TIMe
&$+ ". ! / 0 $ 0 ')$ (TDS 510A, 500C, 600B, & 700C only) 0 %,$+ 1
&$+ ". !
". &$+

sets the delayed trigger to occur after a set number of trigger events after the main trigger. The number of events is specified by TRIGger:DELay:EVENTS:COUNt.
sets the delayed trigger to be ready to occur a set time after the main trigger event. The time period is specified by TRIGger:DELay:TIMe.
(TDS 510A, 500C, 600B, & 700C only) sets a specified time after a specified number of delay trigger trigger events — after the main trigger event. For example in examining a pulse train, you might use the main trigger to detect the start of the train, then use the delay by events to go to the position of interest within the pulse train, and then use the time delay to wait a specified time period before starting the data acquisition.
looks for a main trigger, then waits a user-specified time, then starts acquiring data.
might return .
Returns the coupling, slope, and source for the delayed trigger.
!
!
might return
Selects the type of coupling for the delayed trigger. This command is equivalent to selecting Coupling in the Delayed Trig menu.
Trigger · Trigger

" # $ (TDS 400A, 510A) % % (TDS 400A, 510A) % (TDS 400A, 510A) % " " (TDS 500C, 600B & 700C only) % " &
" #
" #
selects AC trigger coupling (TDS 400A, 510A).
selects DC trigger coupling.
coupling removes the high frequency components of the DC signal (TDS 400A, 510A).
coupling removes the low frequency components of the AC signal (TDS 400A, 510A).
" " coupling sets the delayed trigger coupling to match the setting on the main trigger (TDS 500C, 600B & 700C only).
" selects DC low sensitivity.
sets the delay trigger to DC coupling.
might return for the delayed trigger coupling.
Selects either a rising or falling edge for the delayed trigger. This command is equivalent to selecting Slope in the Delayed Trig menu.

! " #
specifies to trigger on the falling or negative edge of a signal.
specifies to trigger on the rising or positive edge of a signal.
might return , indicating that the delayed trigger occurs on the rising edge.
Selects the source for the delayed trigger. This command is equivalent to selecting Source in the Delayed Trig menu.
! (not available on TDS 520C & 724C) " #
specifies an external trigger using the Auxiliary Trigger Input connector that is located on the rear panel of the instrument. The TDS 520C & 724C do not have an Auxiliary Trigger input and so do not support this argument.

specifies one of the input channels.
selects channel 1 as the input source for the delayed trigger.
Returns the current delayed trigger event parameter.
might return
Sets or queries the number of events that must occur before the delayed trigger occurs when TRIGger:DELay:BY is set to EVENTS. This is equivalent to setting the Delay by Events count in the Delayed Edge Delay side menu.
is the number of delayed edge trigger events. The TDS 400A range is 1 to (10E7 –1). The TDS 510A, 500C, 600B, and 700C range is 2 to 10E7.
Trigger · Trigger ·

specifies that the delayed trigger will occur four trigger events after the main trigger.
might return , indicating that two events must occur after the main trigger before the delayed trigger can occur.
Selects the level of the delayed trigger. This command is equivalent to setting LEVel in the Delayed Trig menu.
! " " #
specifies a preset ECL level of –1.3 V.
specifies a preset TTL level of 1.4 V.
is the delayed trigger level, in volts.
sets the delayed trigger level to 2 mV.
Sets or queries the delay time when HORizontal:DELay:MODe is set to TRIGAfter. This command is identical to the HORizontal:DELay:TIME:TRIG- After command, and is equivalent to setting the Delay by Time value in the Delayed Edge Delay side menu.
When HORizontal:DELay:MODe is set to RUNSAfter, the delay time is set by the HORizontal:DELay:TIME:RUNSAfter command.

HORizontal:DELay:MODe, HORizontal:DELay:TIME:RUNSAfter, HORizontal:DELay:TIME:TRIGAfter
is the delay time, in seconds.
sets the delay time to 4 s.
Sets or queries the type of delayed trigger.
is a normal trigger. A trigger event occurs when a signal passes through a specified voltage level in a specified direction. Use the TRIGger:DELay:LEVel and TRIGger:DELay:EDGE:SLOpe commands to set the voltage level and direction respectively.
always returns as the type of delayed trigger.

Sets the main trigger level and returns the current main trigger parameters.
" %
"
"
% sets the main trigger level to half way between the MIN and MAX amplitudes of the trigger source input. This is equivalent to pressing the front-panel SET LEVel TO 50% button.
This argument works differently with AMI Communications Triggering settings. Specifically, when AMI is chosen, this command measures the peak-to-peak level and sets an upper threshold value at 75% and a lower threshold value at 25% of the peak-to-peak value. If the pulse form is CMI, NRZ, or an Eye Diagram, the level is set to 50%.
sets the main trigger level mid way between MAX and MIN.
Sets or queries the communication trigger AMI pulse form to one of three possibilities.
" $ # " & ' ' " (
" $ # "

% "
%!
" corresponds to the Isolated +1 on the front panel menu. This is the default value.
" corresponds to the Isolated –1.
%! corresponds to Eye Diagram.
selects the AMI pulseform to the Isolated +1.
Sets or queries the AMI communication trigger’s high threshold value in volts.
%"(" ' #" & #
%"(" ' #" & #
% "
& #
is the high value of the threshold. The unit of measure is volts. The default is +0.5 volts.
2.8 E–2 sets the high threshold to 28 milliVolts.

Sets or queries the AMI communication trigger’s low threshold value in volts.
" % $ #
" % $ #
"
#
is the low value of the threshold. The unit of measure is volts. The default is –0.5 volts.
2.8 E–2 sets the low threshold to 28 milliVolts.
Sets or queries the communication trigger signal bit rate. If this command changes the bit rate, the command then also causes the communication standard to set to “custom”. If both the TRIGger:MAIn;COMMunication:STANDard command and the TRIGger:MAIn;COMMunication:BITRate command are used, the last one executed takes precedence.
" % $ $ & '
" % $ $

is the bit rate in bits per second. The default is 1.544e+6.
sets the bit rate to 105.3 Mb/s.
Sets or queries the communication trigger CMI pulse form to one of three possibilities.
#") & +&$ *$'& ')% , &" - &" - !$ #) % - .
#") & +&$ *$'& ')%
!$ #) %
&" corresponds to triggering on a positive mark. This is the default value.
&" corresponds to triggering on a negative mark.
!$ #) % selects an Eye Diagram image.
corresponds to triggering on a Zero bit.

selects a trigger on a positive mark.
Sets or queries the communication trigger signal code.
! ' $ )$" ("%$ * + + ,
! ' $ )$" ("%$
! ' $
refers to the Alternate Mark Inversion encoding scheme. This is the default.
refers to the Coded Mark Inversion encoding scheme.
refers to Non-Return to Zero codes.
selects the AMI communication code.
Sets or queries the communication trigger NRZ pulse form to one of 19 possibilities.
! ' $ )$" ("%$ %'# * " !' # +

, -
#") & +&$ *$'& ')%
!$ #) %
!$ #) % selects an Eye Diagram image. This is the default value.
selects a positive edge trigger.
selects a negative edge trigger.
causes a trigger on Pattern0. Intersymbol interference can be identified with the Pattern Violations Trigger. The leading symbol (0, 1, x) and trailing symbol (0, 1, x) are bit values that precede or follow the three symbols of interest (in the middle). The underlying trigger that implements Pattern Violation Triggering is pulse width triggering.
causes a trigger on Pattern1 1 001 x.
causes a trigger on Pattern2 x 010 x.
causes a trigger on Pattern3 x 011 0.

causes a trigger on Pattern4 x 100 1.
causes a trigger on Pattern5 x 101 x.
causes a trigger on Pattern6 0 110 x.
causes a trigger on Pattern7 0 111 0.
is a synonym for PATTERN0.
is a synonym for PATTERN1.
is a synonym for PATTERN2.
is a synonym for PATTERN3.
is a synonym for PATTERN4.
is a synonym for PATTERN5.
is a synonym for PATTERN6.
is a synonym for PATTERN7.
selects a trigger on an Eye Diagram image.
Sets or queries the source for the main communication trigger. This is equivalent to selecting the source in the Communication Source side menu.
$#) & +&%"!*%'& )"# ,
$#) & +&%"!*%'& )"#
$#) & )"# +&%"!*%'&
Trigger · (!"# ,

( specifies one of the input channels.
selects Channel 2 as the source for the main communication trigger.
Sets or queries the communication trigger standard which identifies the code and bit rate.
% # '#! &!$# % ) * $" +
% # '#! &!$# %
Trigger

$ !
refers to DS1 (1.544 Mb/s) AMI standard.
refers to DS1A (2.048 Mb/s) AMI standard.
refers to DS1C (3.152 Mb/s) AMI standard.
refers to DS2 (6.312 Mb/s) AMI standard.
refers to DS3 (44.736 Mb/s) AMI standard.
refers to DS4NA (139.26 Mb/s) CMI standard.

refers to E1 (2.048 Mb/s) AMI standard.
refers to E2 (8.44 Mb/s) AMI standard.
refers to E3 (34.368 Mb/s) AMI standard.
refers to E4 (139.26 Mb/s) CMI standard.
refers to E5 or CEPT (565 Mb/s) NRZ standard.
refers to STS–1 (51.84 Mb/s) AMI standard.
refers to STS–3 (155.52 Mb/s) CMI standard.
refers to OC1/STM0 (51.84 Mb/s) CMI standard.
refers to OC3/STM1 (155.52 Mb/s) NRZ standard.
refers to OC12/STM4 (622.08 Mb/s) NRZ standard.
refers to STM1E (155.52 Mb/s) CMI standard.
refers to FC133 (132.7 Mb/s) NRZ standard.
refers to FC266 (265.6 Mb/s) NRZ standard.
refers to FC531 (531.2 Mb/s) NRZ standard.
refers to FC1063 (1.063 Gb/s) NRZ standard.
refers to FDDI (125 Mb/s) NRZ standard.
refers to 4:2:2 or D1 (270 Mb/s) NRZ standard.
refers to 4fsc NTSC or D2 (143.18 Mb/s) NRZ standard.
can take a non-standard, floating-point bit rate. .
selects the E4 communication standard.
Returns the trigger coupling, source, and slope for the main edge trigger.
Trigger

"
might return
Sets or queries the type of coupling for the main edge trigger. This is equivalent to setting Coupling in the Trigger menu.
" # $ " %
"
"
selects AC trigger coupling.
selects DC trigger coupling.
coupling removes the high frequency components of the DC signal.
coupling removes the low frequency components of the AC signal.
" selects DC low sensitivity. It requires added signal amplitude for more stable, less false triggering.
sets the main edge trigger coupling to DC.

Selects a rising or falling slope for the main edge trigger. This is equivalent to setting Slope in the Trigger menu.
# $ %
specifies to trigger on the falling or negative edge of a signal.
specifies to trigger on the rising or positive edge of a signal.
sets the main edge trigger to occur on the rising slope.
Sets or queries the source for the main edge trigger. This is equivalent to setting Source in the Trigger menu.
# " (not available on TDS 520C & TDS 724C) $ ! $ %

( %#* *"#
&'&!*, specifies an external trigger using the Auxiliary Trigger Input connector located on the rear panel of the oscilloscope. The TDS 520C and 724C do not have an Auxiliary Trigger input and so do not support this argument.
+ specifies one of the input channels.
specifies AC line voltage.
specifies the AC line voltage as the main edge trigger source.
might return for the main edge trigger source.
For TDS 500C, 600B and 700C, returns the main trigger holdoff default (TIMe or DEFAult) and main trigger holdoff time. For the TDS 400A and 510A, returns the main trigger holdoff value.
( %#* $$
for the TDS 500C, 600B and 700C, might return
or, for TDS 400A and 510A, might return
.

Returns the main trigger holdoff value in seconds. This is equivalent to selecting Mode & Holdoff from the main Trigger menu and viewing the value in the side menu Holdoff Default or Holdoff Time items (whichever is highlighted).
might return 4E–6 showing the holdoff time is set to 4 s.
Sets or queries the main trigger holdoff default. This is equivalent to selecting Mode & Holdoff from the main Trigger menu, then setting Default Holdoff or Holdoff (Time) in the resulting side menu.
# $ " ! %
enables the user to set the holdoff time.
" ! automatically calculates a holdoff time to use. This time is typically equivalent to the greater of screen (5 divisions) of time or 250 ns. The maximum value is 12 seconds. For example, if the oscilloscope is set to

1 msec/division then the default holdoff will be 1 msec/division × 25 divs = 25 msec.
sets the holdoff to the by time setting. This enables the user to set the holdoff time.
Sets or queries the main trigger holdoff time. This is equivalent to setting Holdoff Time in the Mode & Holdoff side menu.
holdoff time in seconds. The range is 250 ns to 12.0 seconds.
sets the holdoff time to be 10 seconds.
Sets or queries the main trigger holdoff value. This is equivalent to setting Holdoff in the Mode & Holdoff side menu.

" #
" #
" #
is from 0 to 100, and is a percent of the holdoff range.
set the holdoff value to be 10% of the holdoff range.
Sets the main trigger level. This command is equivalent to adjusting the front-panel TRIGGER MAIN LEVEL knob.
With Communications triggers, this command makes no change to AMI thresholds. It does change CMI and NRZ levels. It makes no change to value ranges.
" $ % % &
"
"
specifies a preset ECL level of –1.3 V.
specifies a preset TTL level of 1.4 V.
is the main trigger level, in volts.
might return , indicating that the main edge trigger is set to 1.4 V.

sets the main trigger level to 0.5 V.
Returns all main logic trigger parameters.
#"' %
% #"'
might return
Sets or queries the type of main logic trigger. This command is equivalent to selecting Class in the Trigger menu when the Type is set to Logic.
#"' % (( * )"'% + &$! (TDS 500C, 600B & 700C only),
#"' % ((
Trigger · Trigger

!
#! means that the instrument triggers when the specified logical combina- tions of channels 1, 2, 3, and 4 are met.
means that the instrument triggers when the specified conditions of channels 1, 2, and 3 are met after the channel 4 condition is met.
means the oscilloscope will trigger on the setup and hold violations between a data source and a clock source (TDS 500C, 600B & 700C only).
might return .
Sets or queries the logical combination of the input channels for the main logic trigger.
When TRIGger:MAIn:LOGIc:CLAss is PATtern, this command applies to channels 1, 2, 3, and 4. When TRIGger:MAIn:LOGIc:CLAss is STATE, only channels 1, 2, and 3 are logically combined. This command is equivalent to selecting the function in the Logic Pattern Function side menu.
! # $ % % % &
! #

" % &!#"
specifies that the instrument will trigger if all the conditions are true.
specifies that the instrument will trigger if any of the conditions are false.
specifies that the instrument will trigger if all of the conditions are false.
specifies that the instrument will trigger if any of the conditions are true.
sets the logical combination of channels to be true when none of the conditions are true.
might return .
Returns the main logic trigger input for all channels.
% " '&
% " '&
might return

Sets or queries the main logic trigger input for the specified channel. The channel is specified by and is 1, 2, or 3. This is equivalent to setting the inputs in the Logic Pattern Inputs side menu.
TRIGger:MAIn:LOGIc:CLAss
! " # # $
!
specifies logic high.
specifies logic low.
specifies a do not care state.
sets the main logic trigger input to logic low for channel 2.
Sets or queries the main logic trigger input for channel 4. These are the inputs used when TRIGger:MAIn:LOGIc:CLAss is set to PATtern. This is equivalent to setting the channel 4 input in the Logic Pattern Inputs side menu.
TRIGger:MAIn:LOGIc:CLAss

! "! # $ $ %
! "!
specifies logic high.
specifies logic low.
specifies a do not care state.
sets the main logic trigger input to logic low for channel 4 when the logic class is set to ! .
might return , indicating that the logic input for channel 4 is do not care.
Sets or queries a condition for generating a main logic pattern trigger.
! # $ $ $ %
!

!
specifies the trigger to occur when the pattern becomes true.
specifies the trigger to occur when the pattern becomes false.
specifies trigger to occur if the specific pattern is true less than the LESSLimit. (see Figure 2–6 and " ! !) Trigger is evaluated at the true-false transition.
specifies trigger to occur if the specific pattern is true longer than the more limit. (see Figure 2–6 and ! " !) Trigger is evaluated at the true-false transition.
MORELimit LESSLimit to
Sets or queries the maximum time the selected pattern may be true and still generate a main logic pattern trigger.
! !
! !

! $ %$!
time to hold pattern true.
Sets or queries the minimum time the selected pattern may be true and still generate a main logic pattern trigger.
$! %$! ! %
$! %$! ! %
! $ %$!
time to hold pattern true.
Sets or queries the clock edge polarity for setup and hold violation triggering. This is equivalent to selecting Define Clock from the main Trigger menu and Polarity in the resulting side menu.
$! " & ' (

"
"
specifies falling edge.
specifies rising edge.
specifies the polarity as the rising edge.
Sets or queries the main logic setup/hold clock voltage trigger level. This is equivalent to selecting Levels from the main Trigger menu and Clock Level in the resulting side menu.
" # $ $ %
"
"
specifies a preset ECL level of –1.3 V.
specifies a preset TTL level of 1.4 V.
is the main trigger level, in volts.

sets the main logic trigger setup/hold clock level to 1.4 volts.
Sets or queries the source for the clock for the main logic trigger setup/hold input. The channel is specified by and is 1, 2, 3, or 4. This is equivalent to selecting Define Clock from the main Trigger menu and CH1, CH2, CH3, or CH4 in the resulting side menu.
TRIGger:MAIn:LOGIc:CLAss
! ' $ %# "' (
! ' $ %# "'
! ' $ %#
" '
( specifies one of the input channels (CH1, CH2, CH3, or CH4).
selects Channel 2 as the clock source for the main logic trigger setup/hold.
Sets or queries the main logic set/hold data level. This is equivalent to selecting Levels from the main Trigger menu and Data Level in the resulting side menu.
! ' $ %# # ) * * +
Trigger · & · Trigger

$ ! "
$ !
"
specifies a preset ECL level of –1.3 V.
specifies a preset TTL level of 1.4 V.
is the main trigger level, in volts.
sets the main logic setup/hold data level to 1.4 volts.
Sets or queries the data channel for the main logic trigger set/hold input. The channel is specified by and is 1, 2, 3, or 4. This is equivalent to selecting Data Source from the main Trigger menu and CH1, CH2, CH3, or CH4 in the resulting side menu.
TRIGger:MAIn:LOGIc:CLAss
$ ! " $ %
$ ! " $
$ ! "
#
$
% specifies one of the input channels (CH1, CH2, CH3, or CH4)

selects Channel 2 as the source for the main logic trigger set/hold.
Sets or queries the main logic trigger hold time. This is equivalent to selecting Setup/Hold Times from the main Trigger menu and Hold Time in the resulting side menu.
% "# !
% "# !
% "
! #
specifies the hold time setting in seconds. Positive values for hold time occur after the clock edge. Negative values occur before the clock edge.
sets the main logic trigger sethold holdtime to 200 nanoseconds.
Sets or queries the main logic trigger set time. This is equivalent to selecting Setup/Hold Times from the main Trigger menu and Setup Time in the resulting side menu.
% "# !
% "# !
Trigger · $ · Trigger

"!) &
#%! '$
specifies the setup time setting in seconds. Positive values occur before the clock edge. Negative values occur after the clock edge.
sets the main logic trigger sethold time to 600 nanoseconds.
Sets or queries the main logic trigger input for channel 4. This input is used when TRIGger:MAIn:LOGIc:CLAss is set to STATE. This is equivalent to setting the channel 4 input in the Logic Pattern Inputs side menu.
"!) & +* , - ! .
"!) & +*
"!) &
specifies falling edge.
! specifies rising edge.
specifies that the main logic trigger input for channel 4 is the rising edge when the logic class is set to .

Sets or queries the main logic state trigger.
! ' $ $ ) * +
! ' $ $
$ ! '
specifies the trigger to occur when the condition is met on the fourth channel and the pattern of the first three channels are at the desired states.
Returns the main logic trigger threshold voltage for all channels.
! ' $ ("%#
("%# ! ' $
might return

Sets or queries the main logic trigger threshold voltage for the channel specified by . This is equivalent to setting the thresholds in the Logic State Threshold and Logic Pattern Threshold side menus.
% " & #! '
% " & #! '
% "
specifies the threshold voltage.
sets the main logic trigger threshold for channel 1 to .5 volts.
Specifies whether the main logic trigger occurs when the specified state goes true or false when TRIGger:MAIn:LOGIc:CLAss is set to PATtern. This is equivalent to selecting Trigger When in the Trigger menu.
% " " ( ) *
% " "

specifies that the main logic trigger when the logic pattern is true.
Sets or queries the main trigger mode. This command is equivalent to selecting Mode & Holdoff in the Trigger menu.
!
generates a trigger if a trigger is not detected within a specific time period.
waits for a valid trigger event.
specifies that a trigger event is automatically generated.
Returns the main pulse trigger parameters.

'% /.5! 2$( 6.
'% /.5 $( 6. ! 2
'% %! "$( & might return '% %! "$( & && ' (% ' * ' '% $'$# % '+ $#& ' )'% % ! "$( &%("'$# % '+ $#& ' )' %& # #* '% %! "$( &* ' #* ! ' ! ' * " * ' "$# % '+ $#& ' ) as the current main pulse trigger parameters.
Sets or queries the type of pulse to trigger on. This command is equivalent to selecting Class in the Trigger menu.
'% /.5! 2$( 6. 66 : 7-0 ; %("' ; * 70 ; & *%,7. '& 3219 ; ' !#87 '& 3219
'% /.5! 2$( 6. 66
'% /.5 $( 6. ! 2
&4,-.
& *%,7.
7-0 triggers when a pulse is found that is of the specified polarity and width. These are set with the commands TRIGger:MAIn:PULse:GLItch:POLarity and TRIGger:MAIn:PULse:GLItch:WIDth.
%("' triggers when a pulse crosses the first preset voltage threshold but does not cross the second preset threshold before recrossing the first. The thresholds are set with the TRIGger:MAIn:PULse:RUNT:THReshold:LOW and TRIG-

ger:MAIn:PULse:RUNT:THReshold:HIGH commands. The crossing can be either positive or negative as specified by TRIGger:MAIn:PULse: RUNT:PO- Larity.
'# triggers when a pulse is found that has the specified polarity and is either inside or outside the limits as specified by TRIGger:MAIn:PULse: WIDth:LOW- Limit and TRIGger:MAIn:PULse:WIDth:HIGHLimit. The polarity is selected using the TRIGger:MAIn:PULse:WIDth:POLarity command.
'! triggers when the slew rate of the source violates the specified conditions (TDS 500C, 600B & 700C only).
(' triggers when the pulse train stops in the selected state for longer than the specified time (TDS 500C, 600B, & 700C only).
specifies a width pulse for the main trigger.
Returns the current main glitch pulse trigger parameters.
"!% &! $ ' #
might return .
Controls glitch detection. This command is equivalent to selecting Filter in the Trigger menu.
Trigger · "!% $&!' # · Trigger

! " % " & " '
! "
" !
"
"
" specifies that the digitizing oscilloscope will trigger only on pulses that are narrower than the specified width when the main trigger type is set to pulse glitch. The width is specified using TRIGger:MAIn:PULse:GLItch:WIDth command.
" specifies that the digitizing oscilloscope will trigger only on pulses that are wider than the specified width when the main trigger type is set to pulse glitch. The width is specified using TRIGger:MAIn:PULse:GLItch:WIDth command.
returns either " or ", indicating whether glitches are filtered.
Sets or queries the polarity for the main pulse glitch trigger. This command is equivalent to selecting Polarity & Width in the Trigger menu.
! " "$ % & " # & '
! " "$
· Trigger

! & $
specifies that the polarity of the glitch can be either positive or negative.
Sets or queries the width for the main pulse glitch trigger. This command is equivalent to selecting Polarity & Width in the Trigger menu.
! & $' ( " ("
! & $' ( " ("
! & ' $ ( " ("
is the width of the glitch, in seconds.
sets the width of the glitch to 15 s.
Returns the current parameters for the main pulse runt trigger.

#"( & )"
#"( )" &
might return 0 .
Sets or queries the polarity for the main pulse runt trigger. This command is equivalent to selecting Polarity in the Trigger menu.
#"( & )" (%*, - $"( . *%+" . " /
#"( & )" (%*,
#"( )" &
(%*,
*%+" indicates that the falling edge crosses the high threshold and the rising edge recrosses the high threshold without either edge ever crossing the low threshold.
" indicates that the rising edge crosses the low threshold and the falling edge recrosses the low threshold without either edge ever crossing the high threshold.
$"( indicates either *%+" or " polarity.
specifies that the polarity of the main pulse runt trigger is negative.

Returns the upper and lower thresholds for the main pulse runt trigger.
$#* ' +# #+%(&"
$#* +# ' #+%(&"
might return .
Sets or queries the trigger level switching thresholds for the main pulse runt trigger. This command is equivalent to setting Set to TTL or Set to ECL in the Main Pulse Runt Trigger menu’s Thresholds side menu item.
$#* ' +# #+%(&" % , - .
$#* +# ' #+%(&"
sets the upper threshold to 1.8 V and the lower threshold to 0.8 V.
sets the upper threshold to –1.1 V and the lower threshold to –1.5 V.
sets the threshold of the pulse runt trigger to the nominal TTL voltage levels.

Sets or queries the upper limit for the main pulse runt trigger. This command is equivalent to setting the threshold in the Pulse Runt Threshold side menu.
% "& & #!
% "& & #!
% & "
is the threshold, in volts.
sets the upper limit of the pulse runt trigger to 120 mV.
Sets or queries the lower limit for the main pulse runt trigger. This command is equivalent to setting the threshold in the Pulse Runt Threshold side menu.
% "& & #!
% "& & #!

& #! % & "
$
is the threshold, in volts.
sets the lower limit of the pulse runt trigger to 50 mV.
Sets or queries the type of pulse width the trigger checks for when it uncovers a runt. This is equivalent to selecting Trigger When from the main Trigger’s Pulse, Runt menu and Occurs or Wider Than in the resulting side menu.
% "& ) (%& * ' " +
% "&
(%& % & "
' " $
(%& specifies a trigger if a runt of any detectable width occurs.
' " specifies a trigger if a runt of greater than the specified width occurs.
sets the runt trigger to occur when the oscilloscope detects a runt in a pulse wider than the specified width.
Trigger

Sets or queries the minimum width for a valid main pulse runt trigger. This command is equivalent to entering a value in the Trigger menu’s Wider Than side menu.
# !$ %
# !$ %
# $ !
" %
is the minimum width in seconds.
sets the minimum width of the pulse runt trigger to 15 s.
Sets or queries the delta time used in calculating the slew rate trigger. This is equivalent to selecting Trigger When from the main Trigger’s Slew Rate menu and Delta Time in the resulting side menu.
# !$ %
# !$ %
Trigger · Trigger

& ' $ (
% "#
is the delta time in seconds.
sets the slew rate trigger’s delta time to 15 s.
Sets or queries the polarity for the main pulse slew rate trigger. This command is equivalent to selecting Polarity in the Trigger menu with Type set to SlewRate.
& $' ( &"(* + ! & , (") , -
& $' ( &"(*
& $
(
(") indicates that a pulse edge must traverse from the upper (most positive) to lower (most negative) level for slew rate triggering to occur.
indicates that a pulse edge must traverse from the lower (most negative) to higher (most positive) level for slew rate triggering to occur.
! & indicates either (") or polarity.
specifies that the polarity of the slew rate can be either positive or negative.

Returns the slew rate value. This is the
((Upper Threshold – Lower Threshold) / Delta Time)
The value is limited to the three most significant digits.
" # $ %"$
" # $ $
returns the slew rate. It is given as an appropriate amount of volts per second. For example, would represent a slew rate of 1.2 megavolts/second.
Sets the upper and lower slew rate trigger thresholds. This is equivalent to selecting Thresholds from the main Trigger’s Slew Rate menu and entering a value in the resulting side menu’s High Threshold or Low Threshold items.
" # $ # ! & ' (
# ! " #
sets the upper threshold to 1.8 V and the lower threshold to 0.8 V.
sets the upper threshold to –1.1 V and the lower threshold to –1.5 V.

sets the trigger threshold to TTL.
Sets or queries the upper (most positive) limit of the two threshold levels that a pulse edge must traverse for the slew rate trigger to occur. This command is equivalent to setting the higher threshold in the Pulse Slew Rate Trigger’s Thresholds side menu item.
& #' ( '!$"
& #' ( '!$"
& ' #
'!$" (
is the threshold, in volts.
sets the upper limit of the pulse slew rate trigger to 120 mV.
Sets or queries the lower (most negative) limit of the two threshold levels that a pulse edge must traverse for the slew rate trigger to occur. This command is equivalent to setting the lower threshold in the Pulse Slew Rate Trigger’s Thresholds side menu item.
& #' ( '!$"
Trigger · % · Trigger

% "& ' & #!
& #! % & "
$
is the threshold, in volts.
sets the lower limit of the pulse slew rate trigger to 50 mV.
Sets or queries whether to check for a slewing signal that is faster or slower than the specified delta time. This is equivalent to selecting Trigger When from the main Trigger’s Slew Rate menu and entering a value in the resulting side menu’s Trig if Less Than or Trig if Greater Than items.
% "& ' " ( ' " ) ' " *
% "& ' "
' " % & "
' " $
'
' " sets the trigger to occur when the slew is faster than the set volts/second rate.
' " sets the trigger to occur when the slew is slower than the set volts/second rate.
' · Trigger

sets the slew rate trigger to work when the slew is faster than the set volts/second rate.
Sets or queries the source for the main pulse trigger. This is equivalent to selecting the source in the Pulse Runt Source side menu.
& #' & ,
& #' &
& ' # &
%
, specifies one of the input channels.
selects Channel 2 as the source for the main pulse trigger.
Sets or queries the polarity for the main pulse timeout trigger. This command is equivalent to selecting Polarity in the Trigger menu with Type set to Time out.
& #' )( &"(- . " ! $& / $+ $& ("* / ! & 0
& #' )( &"(-
Trigger · · Trigger

!
% (or " $) indicates that a pulse edge must stay low the required time period for timeout triggering to occur.
(or ) indicates that a pulse edge must stay high the required time period for timeout triggering to occur.
indicates either STAYSHigh or STAYSLow polarity.
specifies that the polarity of the timeout trigger can be either positive or negative.
Sets or queries the pulse timeout trigger time, in seconds. This command is equivalent to selecting Time in the Trigger menu and entering a value with the keypad or general purpose knob.
! #"
! #"
! #"
is the timeout time period, in seconds.

sets the timeout time to 3.134 s.
Returns the width parameters for the main pulse width trigger.
%$+ ) ,$ -&
%$+ ,$ ) -&
might return ! as the current main pulse trigger parameters.
Sets or queries the upper limit for the main pulse width trigger. This is equiva- lent to setting Upper Limit in the Pulse Width Trig When side menu.
%$+ ) ,$ -& '('-
%$+ ) ,$ -& '('-
%$+ ,$ ) -&
is the upper limit, in seconds.

Sets or queries the lower limit for the main pulse width trigger. This is equiva- lent to setting Lower Limit in the Pulse Width Trig When side menu.
! " "
! " "
! "
is the lower limit, in seconds.
Sets or queries the polarity for the main pulse width trigger. This is equivalent to selecting the polarity in the Pulse Width Polarity side menu.
! " "$ % " # & '
! " "$
! " "$
" # specifies a negative pulse.

specifies a positive pulse.
Selects the condition when the trigger occurs. This is equivalent to selecting the condition in the Pulse Width Trig When side menu.
! " # ! $ %
! "
! "
! specifies a trigger when the duration of the pulse is greater than the high limit or less than the low limit specified. The high and low limits are specified with the TRIGger:MAIn:PULse:WIDth:HIGHLimit and TRIGger:MAIn:PULse:WIDth:LOWLimit commands respectively.
specifies a trigger when the duration of the pulse is within the high and low limits. The high and low limits are specified with the TRIGger:MAIn:PULse:WIDth:HIGHLimit and TRIGger:MAIn:PULse:WIDth:LOWLimit commands respectively.
returns either or , indicating the conditions for generating a pulse trigger.
Sets or queries the type of main trigger. This is equivalent to setting Type in the Trigger menu.

% " ) * * & * ("! '!#" * # + (Only the TDS 510A, 500C, 600B, & 700C use the LOGIc and PULse argu- ments. Only the TDS 500C and 700C use the COMMunication argument. Only digitizing oscilloscopes with option 05 use the VIDeo argument.)
% " ) * * & * ("! '!#" * # + (Only the TDS 510A, 500C, 600B, & 700C use the LOGIc and PULse argu- ments. Only digitizing oscilloscopes with option 05 use the VIDeo argument.)
% "
# "
is a normal trigger. A trigger event occurs when a signal passes through a specified voltage level in a specified direction and is controlled by the TRIG- ger:MAIn:EDGE commands.
(TDS 510A, 500C, 600B, & 700C only) specifies that a trigger occurs when specified conditions are met and is controlled by the TRIGger:MAIn:LOG- Ic commands.
& (TDS 510A, 500C, 600B, & 700C only) specifies that a trigger occurs when a specified pulse is found and is controlled by the TRIGger:MAIn:PULse commands.
("! '!#" (TDS 500C & 700C only) specifies that a trigger occurs when a specified signal is found and is controlled by the TRIGger:MAIn:COMMunica- tion commands.
# (option 05 only) specifies that a trigger occurs when a specified signal is found and is controlled by the TRIGger:MAIn:VIDeo commands.
might return indicating that the main trigger type is a pulse trigger.

Returns the main video trigger parameters.
" )(- $(+ *
" $ might return: "! # as the current main video trigger parameters.
Sets or queries the video trigger delay mode. This is equivalent to using the Video TV Delay Mode side menu.
" )(- *$(+% . " ( / ! / 0
" )(-
$(+ * %
TIMe specifies a delay by time.
LINES specifies a delay by a number of video lines. For the TDS 400A, this argument is available only for backward compatibility. If the TDS 400A receives

this argument, it will convert it to LINE. The TDS 400A will not output this argument in response to a query.
LINE specifies a delay by a number of video lines.
TRIGGER:MAIN:VIDEO:BY TIME specifies a delay by time.
Sets or queries the field the video trigger acts on. This is equivalent to using the Video Scan side menu when Class is NOT set to Custom.
!$ " $#
ODD specifies interlaced video field 1.
EVEN specifies interlaced video field 2.
ALL specifies alternating both video field 1 and video field 2.
FIELD1 specifies interlaced video field 1. For the TDS 400A, this argument is available only for backward compatibility. If the TDS 400A receives this argument, it will convert it to ODD. The TDS 400A will not output this argument in response to a query.
FIELD2 specifies interlaced video field 2. For the TDS 400A, this argument is available only for backward compatibility. If the TDS 400A receives this

argument, it will convert it to EVEN. The TDS 400A will not output this argument in response to a query.
FIELDEither specifies alternating both video field 1 and video field 2. For the TDS 400A, this argument is available only for backward compatibility. If the TDS 400A receives this argument, it will convert it to ALL. The TDS 400A will not output this argument in response to a query.
TRIGGER:MAIN:VIDEO:FIELD ODD selects odd fields.
Sets or queries the field the video trigger acts on. This is equivalent to pressing Field in the video main menu, then Field in the side menu, and entering a value with the keypad or general purpose knob.
specifies the video (color) field. For example, specifies interlaced video field one and specifies interlaced video field two.
PAL signals have 1 to 8 fields, HDTV signals have 1 or 2, and FlexFormat supports 1 or 2.
selects field 1.

Sets or queries the field the video trigger acts on. This is equivalent to pressing Field in the video main menu and then Field, Odd, Even or All in the side menu.
" $! %( & & & ('
" $!
"
NUMERic specifies a selected line in the selected field. If you send this command when the mode is MONO or SECAM, the digitizing oscilloscope will generate an SRQ.
ALL specifies a selected line in all fields.
EVEN specifies a selected line in even fields.
ODD specifies a selected line in odd fields.
selects a selected line in all fields.
Returns the main flexible-format video trigger parameters.
" " #

&$+ $) ( !%)+'",
! might return: as the flexible-format video trigger parameters.
Sets or queries the flexible-format video frames per second (e.g. 59.94 frames per second for 1050 and 50 for 1250). This is equivalent to selecting Setup from the video main menu (with FlexFmt as the Standard), Field Rate from the side menu, and entering a value with the keypad or the general purpose knob.
&$+( $)!%)+'",
&$+( $)!%)+'",
&$+ $) ( !%)+'",
*"#$
the field rate.
! returns the specified field rate.
Sets or queries the flexible-format video fields. This is equivalent to pressing Setup from the video main menu (with FlexFmt as the Standard), Fields from the side menu, and entering the value with the keypad or the general purpose knob.

!
!
!
the number of fields in the standard.
! returns the number of fields in the format.
Sets or queries the flexible-format video lines in a frame. This is equivalent to pressing Setup from the video main menu (with FlexFmt as the Standard), Lines from the side menu, and entering the value with the keypad or the general purpose knob.
!
!
the frame lines.
returns the specified number of lines.

Sets or queries the flexible-format negative sync width. The HDTV horizontal sync is a tri-level sync. The first of the two consecutive sync pulses used is negative and the second is positive. The positive sync pulse starts on the rising edge of the negative sync. The two pulses have the same width such that specifying the negative pulse is only required. Setting the width is equivalent to pressing Setup from the video main menu (with FlexFmt as the Standard), Sync Width from the side menu, and entering the value with the keypad or the general purpose knob.
'$ % %'#( *$ )" (!
'$ % %'#( *$ )" (!
' % $
*$ )" (!
the negative sync width.
returns the specified flexible-format negative sync width.
Sets or queries the time from the positive edge of the tri-sync pulse for the last line in the selected field (t0) to the leading edge (negative) of the first negative vertical sync pulse. This is equivalent to selecting Setup from the video main menu (with FlexFmt as the Standard), pressing V1 Start Time in the side menu, and entering a value with the keypad or the general purpose knob.
'$ % %'#('(("#

" " #"##
"
" #
the v1 starttime.
returns the specified HDTV v1 starttime.
Sets or queries the time from t0 to the trailing edge (positive) of the first negative vertical sync pulse. This is equivalent selecting Setup from the video main menu (with FlexFmt as the Standard), pressing V1 Stop Time in the side menu, and entering a value with the keypad or the general purpose knob.
" " #!#
" " #!#
" " #
the v1 stoptime.
returns the specified v1stoptime.

Sets or queries the time from the positive edge of the tri-sync pulse for the last line in the selected field (t0) to the leading edge (positive) of the second vertical sync pulse. Note: the second pulse may be a negative pulse or the negative portion of a tri-sync pulse that is within the last line (usually located at the line point). This is equivalent to selecting Setup from the video main menu (with FlexFmt as the Standard), pressing V2 Start Time in the side menu, and entering a value with the keypad or the general purpose knob.
! ! "!""
! ! "!""
!
! "
the v2 starttime.
returns the specified v2 starttime.
Sets or queries the time from t0 to the trailing edge (positive) of the second negative vertical sync pulse. This is equivalent selecting Setup from the video main menu (with FlexFmt as the Standard), pressing V2 Stop Time in the side menu, and entering a value with the keypad or the general purpose knob.
! ! " "
! ! " "

" ( & % !&($ )
the v2 stoptime.
returns the specified v2 stoptime.
Sets or queries the high definition TV frame rate. This is equivalent to toggling HDTV from the Video main-menu Standard pop-up, pressing Format, and then selecting a frame rate from the side menu.
" ( % & *
" ( % & *
" ( & %
specifies the frame rate. More precisely, selects a 787/59.94/2:1 format. selects a 1050/59.94/2:1 format. selects a 1125/60/2:1 format. selects a 1250/50/2:1 format.
TRIGGER:MAIN:VIDEO:HDTV 787 specifies 787/59.94/2:1 format.

Returns the video trigger holdoff value.
!
!
might return .
Sets or queries the video trigger holdoff value. This is equivalent to setting Holdoff in the Mode & Holdoff side menu of the video trigger menu.
! "
! "
!
is from 0 to 100, and is a percent of the holdoff range.
set the holdoff value to be 10% of the holdoff range.

Sets or queries the video trigger interlace format. This is equivalent to setting Interlace in the Scan Rate and Interlace main menu of the video trigger menu when Class is set to Custom.
! " " " #
Sets or queries the video trigger in terms of a number of lines. This is equivalent to pressing the Line (TV Delay Mode in the TDS 400A) item in the video main menu, pressing Line in the side menu (if needed), and entering a value with the keypad or the general purpose knob. The minimum line number is the starting line in the field. For PAL, field 1 (odd fields in the TDS 400A) has line 2 (1 in the TDS 400A) as the minimum, and field 2 (even fields in the TDS 400A) has line 315 (314 in the TDS 400A).

specifies a number of lines to delay by.
selects 5 lines for the desired delay period.
Sets or queries the video trigger delay in terms of a number of lines. This is equivalent to entering data in the Line item in the Video TV Delay Mode side menu. This command is available for backwards compatibility.
specifies a number of lines to delay by.
TRIGGER:MAIN:VIDEO:LINES 5 selects 5 lines for the desired delay period.
Sets or queries the NTSC mode selection. This is equivalent to choosing 525/NTSC in the video main-menu pop-up, Mode in the main menu, and a side menu item (NTSC or Mono).

MONo specifies mode for noncolor signals.
COLOr specifies mode for color field triggering and enables numeric triggering.
specifies numeric fields are invalid.
Sets or queries the PAL video trigger mode selection. This is equivalent to toggling 625/PAL in the video main-menu pop-up, Mode in the main menu, and a side menu item (PAL, Mono, or SECAM).
specifies mode for non-color signals.
specifies mode for color field triggering and enables numeric triggering.

specifies mode for SECAM signals.
specifies non-color PAL signals.
Sets or queries the video trigger scan parameters. This is equivalent to using the Video Scan Parameters side menu.
! " # # # $
!
!
RATE1 specifies a 15 to 20 kHz video line rate.
RATE2 specifies a 20 to 25 kHz video line rate.
RATE3 specifies a 25 to 35 kHz video line rate.
RATE4 specifies a 35 to 64 kHz video line rate.
TRIGGER:MAIN:VIDEO:SCAN RATE1 selects rate 1.
Sets or queries the video trigger scan period.

Sets or queries the source for the main video trigger. This is equivalent to selecting the Source in the video main menu and a desired channel from the side menu.
CH specifies one of the input channels (CH1, CH2, CH3, or CH4; or CH1, CH2, AUX1, or AUX2 on the TDS 520C, 620B, 680B, & 724C).
TRIGGER:MAIN:VIDEO:SOURCE CH1 selects channel 1 as the source for the main video trigger.
Sets or queries the video trigger standard. This is equivalent to selecting the standard in the video Standard pop-up (525/NTSC, 625/PAL, HDTV, or FlexFmt).

$ ! "$ ' ( ( & ( "$ %)
$ ! "$
$ " !
"$ %
specifies the NTSC 525/59.94/2:1 standard.
specifies the PAL 625/59.94/2:1 standard.
& allows selection of the following HDTV formats: 787/59.94/1:1, 1050/59.94/2:1, 1050/59.94/2:1, 1125/60/2:1, 1250/50/2:1.
"$ % allows the user to specify the video parameters. The default table is 1050/59.94/2:1.
selects the NTSC video format.
Sets or queries the video trigger sync polarity. This is equivalent to selecting Sync Polarity from the video main menu and a side-menu item (Neg Sync or Pos Sync).
$ ! " ' ( % & )
$ ! "

specifies a positive going voltage.
!" specifies a negative going voltage.
selects a positive going voltage for the desired synchronization pulse.
Sets or queries the video trigger class. This is equivalent to selecting the class in the Video Class side menu of the Video menu.
! # $ $ $ %
!
!
NTSc selects a condition that adheres to the National Television System Committee standards. Specifically, it assumes a line rate of 525 lines per frame and a frame rate of 30 Hz.
PAL selects a condition that adheres to the Phase Alternate Line standard. Specifically, it assumes a line rate of 625 lines per frame and a frame rate of 25 Hz.
SECAM selects a condition that adheres to the SECAM standard.

CUSTom selects a condition that adheres to the frequency range of the video signal as you have defined them from the available ranges.
selects triggering to occur on an NTSC compatible signal.
Sets or queries the video trigger delay time. This is equivalent to entering the time in the Delay by Time item of the Video TV Delay Mode side menu.
specifies a delay time.
TRIGGER:MAIN:VIDEO:TIME 5E–6 selects 5 s for the desired delay time.
Returns the current state of the triggering system.

indicates that the instrument is acquiring pretrigger information. All triggers are ignored when TRIGger:STATE is ARMING.
indicates that the digitizing oscilloscope is in auto mode and acquires data even in the absence of a trigger.
(TDS 500C and 700C only) indicates that the instrument is in FastFrame mode. This means normal trigger status monitoring is turned off. The digitizing oscilloscope will not return armed, partial, ready, trigger, or auto while in this state.
(TDS 500C and 700C only) indicates that the instrument is in InstaVu mode.
indicates that the main trigger has occurred and the digitizing oscillo- scope is waiting for trigger(s) for the delay by events.
indicates that all pretrigger information has been acquired and the digitizing oscilloscope is ready to accept a trigger.
indicates that the digitizing oscilloscope is in save mode and is not acquiring data.
indicates that the digitizing oscilloscope has seen a trigger and is acquiring the posttrigger information.
might return , indicating that pretrigger data is being acquired.
(Trigger) executes commands that are defined by *DDT.
The Group Execute Trigger (GET) interface message has the same effect as the *TRG command.

immediately executes all commands that have been defined by *DDT.
(Self-Test) Tests the GPIB interface and returns a 0.
and is always 0.
UNLock (No Query Form)
Unlocks the front panel. This command is equivalent to LOCk NONe.
specifies all front-panel buttons and knobs.

Sets and queries the Verbose State that controls the length of keywords on query responses. Keywords can be both headers and arguments. This command does not affect IEEE Std 488.2-1987 Common Commands (those starting with an asterisk).
or 0 sets the Verbose State true, which returns full-length keywords for applicable setting queries.
or = 0 sets the Verbose State false, which returns minimum-length keywords for applicable setting queries.
sets the Verbose State true.
might return the value , showing that the Verbose State is true.
(Wait) Prevents the digitizing oscilloscope from executing further commands or queries until all pending operations finish. This command allows you to synchronize the operation of the digitizing oscilloscope with your application program. Synchronization methods are described on page 3–7.

Related Commands
WAVFrm? (Query Only)
Returns WFMPre? and CURVe? data for the waveform or waveforms as specified by the DATa:SOUrce command. This command is equivalent to sending WFMPre?; CURVe?
TDS 400A: when the TDS 400A is in external clock mode, the time-per-div field will contain .
CURVe?, DATa:SOUrce, WFMPre?
WFMPre? (Query Only)
Returns the waveform formatting data for the first ordered waveform as specified by the DATa:SOUrce command. The channel and math waveforms selected by the command must be displayed.
TDS 400A: when the TDS 400A is in external clock mode, the time-per-div field will contain .

The format of the response is:
,'0!> !% '0!> !% !36 D & E ! F !0:@ D % E %# F,'0"> D & E & F C5:* $?@>8;6!%0#' !% #'0 ' D !) E , F +(!8@ $&@>8;6+ !2> !% #'0"55 !% ,(!8@ $&@>8;6, (9@ !% ,"5 !% ,->8;6!%0#' !% #'0 'D !) E , F +(!8@$&@>8;6+ !2> !% +->< !% #'0"55 !% ,(!8@ $&@>8;6, (9@ !% ,"5 !% ,->< !% /
C5:=>4 might return * #%,'0!% '0!% ! !!0 ' % ,'0"% & * 7 2
Returns the number of bits per binary waveform point for the first ordered waveform as specified by the DATa:SOUrce command. The WFMPre:BIT_Nr command is ignored on input.
DATa:WIDth, WFMPre:BYT_Nr
* #>4 '0!> !%
&=124 !% * #>4 '0!>
!% is either 8 or 16, and is equivalent to WFMPre:BYT_Nr * 8.

might return , indicating that there are 8 bits per waveform point.
Sets or queries the format of binary data for the first ordered waveform as specified by the DATa:SOUrce command.
DATa:ENCdg, WFMPre:BYT_Or, WFMPre:ENCdg
specifies signed integer data-point representation.
specifies positive integer data-point representation.
specifies that the binary waveform data are positive integer data-points.
returns either or as the current waveform data format.
Sets or queries the binary field data width for the first ordered waveform as specified by the DATa:SOUrce command. This command is equivalent to the DATa:WIDth command.
DATa:WIDth, WFMPre:BIT_Nr

is the number of bytes per point and can be 1 or 2.
specifies that there are 2 bytes per waveform data point.
Selects which byte of binary waveform data is transmitted first during a waveform data transfer when DATa:WIDth (or WFMPre:BYT_Nr) is set to 2.
DATa:ENCdg, WFMPre:BN_Fmt, WFMPre:ENCdg
selects the least significant byte to be transmitted first.
selects the most significant bye to be transmitted first.
specifies that the most significant byte in the waveform data will be transferred first.
returns either or depending on which data byte is transferred first.

Sets or queries the type of encoding for waveform data transferred with the CURVe command.
DATa:ENCdg, WFMPre:BYT_Or, WFMPre:BN_Fmt
! " #
specifies ASCII curve data.
specifies binary curve data.
specifies that the waveform data is in ASCII format.
might return , indicating that the waveform data is in binary format.
Selects the point format of the waveform data for the first ordered waveform as specified by the DATa:SOUrce command.
! " #

specifies that the waveform is transmitted as maximum and minimum point pairs. Only y values are explicitly transmitted. Absolute coordinates are given by:
Xn XZEro XINcr (n–PT_Off)
Ynmax YZEro YMUlt (ynmax YOFf)
Ynmin YZEro YMUlt (ynmin YOFf)
specifies a normal waveform where one ASCII or binary data point is transmitted for each point in the waveform record. Only y values are explicitly transmitted. Absolute coordinates are given by:
Xn XZEro XINcr (n–PT_Off)
Yn YZEro YMUlt (yn YOFf)
sets the waveform data point format to enveloped.
Specifies the trigger point within the waveform record for the reference waveform specified by the DATa:DESTination command.
HORizontal:TRIGger:POsition
= 0 to the recordlength, and is the position of the trigger point relative to DATa:STARt.
specifies that the trigger point is the first point in the waveform record.
Waveform

Specifies the horizontal sampling interval for the reference waveform specified by the DATa:DESTination command.
is the sampling interval in seconds per point.
Specifies the vertical scale factor for the reference waveform specified by the DATa:DESTination command.
is the vertical scale factor in YUNits (usually volts) per division.
Specifies the offset of the vertical component for the reference waveform specified by the DATa:DESTination command.
Waveform · Waveform · Waveform

is the vertical offset in digitizing levels.
Specifies the offset voltage for the reference waveform specified by the DATa:DESTination command.
* *(
* *( )
is of the offset in YUNits (usually volts).
Table 2–34 lists additional WFMPre commands that are included for compatibil- ity purposes.
* "$ - +&(. / Binary curve error check
* Number of waveform points
* ,*#'! Waveform identifier
* #, ,*#'! Horizontal units
* %, Horizontal (X-axis) scale factor
* Horizontal (X-axis) offset
* #, ,*#'! Vertical units
* %, Z-axis scale factor
* Z-axis offset
* #, ,*#'! Z-axis units
* *( Z-axis origin offset
Waveform · Command Argument Description

Returns the waveform formatting data for first ordered waveform as specified by the DATa:SOUrce command. Channel and math waveforms must be displayed before they can be queried. Querying an invalid reference waveform generates an execution error.
In extended-acquisition-length mode, it will return the acquisition record information as opposed to the waveform record information.
' ;1 @27
The format of the response is:
@27' !
' " might return ' " ' 4 /9>:6583 7&96=
Waveform · ' ;1@27

Sets or queries the number of points that are in the transmitted waveform record. This value is ignored on input.
In extended-acquisition-length mode, it will set or query the number of points that are in the transmitted the acquisition record.
DATa:DESTination
is the number of data points. If DATa:WIDth is 2 then there are twice as many bytes.
= 0 means that the waveform record is of an unspecified length.
might return as the number of data points in the waveform record trans- ferred from channel 1.
Selects the data point format for the first ordered waveform as selected by the DATa:SOUrce command. On input always defaults to the reference location specified by DATa:DESTination regardless of what is sent.
DATa:DESTination
! "
Waveform · · Waveform

specifies that the waveform is transmitted as minimum and maximum point pairs. Only y values are explicitly transmitted. Absolute coordinates are given by:
Xn XZEro XINcr (n–PT_Off)
Ynmin YZEro YMUlt (ynmin YOFf)
Ynmax YZEro YMUlt (ynmax YOFf)
specifies a normal waveform where one ASCII or binary data point is transmitted for each point in the waveform record. Only y values are explicitly transmitted. Absolute coordinates are given by:
Xn XZEro XINcr (n–PT_Off)
Yn YZEro YMUlt (yn YOFf)
might return , indicating that the MATH1 waveform data format is enveloped.
Returns the trigger point within the waveform record or extended acquisition. On input always defaults to the reference location specified by DATa:DESTination regardless of what is sent.

! #
is the position of the trigger point relative to DATa:STARt when queried.
In extended-acquisition-length mode, refers to the acquistion length.
returns indicating the trigger position within the waveform record.
Returns information about the waveform such as input coupling, volts per division, time per division, acquisition mode, and record length.
The WFMPre::WFId command is ignored on input.
TDS 400A: when the TDS 400A is in external clock mode, the time-per-div field will contain “50 clks/div”.
!# "!
!#
! #
"! is the waveform identifier string.
Sets or queries the horizontal sampling interval. On input always defaults to the reference location specified by DATa:DESTination regardless of what is sent.
TDS 400A: when the TDS 400A is in external clock mode, the time-per-div field will contain “50 clks/div”.

!$ !
!$ !
! $ !
is the sampling interval.
Returns the horizontal (X-axis) units of the waveform data at the time of creation.
The WFMPre::XUNit command is ignored on input.
TDS 400A: when the TDS 400A is in external clock mode, the time-per-div field will contain “50 clks/div”.
!$ # #!
!$ #
! $ #
#! is “s” for seconds and specifies the units.
might return ", indicating that the horizontal units for channel 1 are seconds.

Sets or queries the horizontal (X-axis) origin offset. On input always defaults to the reference location specified by DATa:DESTination regardless of what is sent.
is the offset in XUNits (usually time).
Sets or queries the vertical scale factor, in YUNit per unscaled data point value. On input always defaults to the reference location specified by DATa:DESTination regardless of what is sent.
is the scale factor, in YUNits (usually volts), per digitizing level.

Sets or queries the vertical position of the waveform. On input always defaults to the reference location specified by DATa:DESTination regardless of what is sent.
# %
# %
" # %
is the position in digitizing levels.
Returns the vertical (Y-axis) units of the waveform data at the time of creation.
The WFMPre::YUNit command is ignored on input.
# % $ $# !
# % $
" # % $
$# ! is for volts or for volts2, and specifies the units.
might return , meaning that the units for the vertical component of the channel 2 waveform data are volts.

Sets or queries the vertical (Y-axis) offset voltage. On input always defaults to the reference location specified by DATa:DESTination regardless of what is sent.
+# -$' +)
* !# +# -$' +)
is the offset in YUNits (usually volts).
Resets the zoom transforms to default values for all traces or live traces. The ZOOm query returns the current vertical and horizontal positioning and scaling of the display. This command is equivalent to selecting Reset All Factors or Reset Live Factors in the TDS 400A, 500C, 600B, 700C Zoom Reset menu or selecting Reset Zoom Factors in the Zoom menu of the TDS 510A.
' / 0 %,# (" )(&. 1
resets the zoom transforms to default values for all traces.
%,# ( DS 400A, 500C, 600B, and 700C only) resets the zoom transforms to default values for live traces.

! might return ! ! ! .
Turns Dual Zoom mode on and off.
!& % ) * * +
or = 0 turns Dual Zoom mode off.
or 0 turns Dual Zoom mode on.
! enables the Dual Zoom feature.
! returns either or depending on the state of Dual Zoom mode.
Adjusts the requested horizontal offset between the centers of the main and second zoom boxes.
!& % $(

$ # " &
is the offset time in seconds.
adjusts the offset time in seconds between the centers of the main and second zoom boxes.
Selects between the upper and lower graticule for use by the zoom preview state. If you select the lower graticule, horizontal and vertical knob changes will affect the underlying acquisition system. If you select the upper graticule, horizontal and vertical knob changes will affect the zoom factors.
ZOOm:GRAticule ( % ) % *
% selects the lower graticule.
% selects the upper graticule.
might return , indicating that the upper graticule is selected.

Specifies the waveforms that the horizontal zoom parameters affect. This is equivalent to setting Horizontal Lock in the Zoom side menu.
! " " #
specifies that all live (CH) waveforms will be horizontally positioned and scaled together.
In extended-acquisition-length mode, LIVe is the only valid argument.
specifies that only the selected waveform is positioned and scaled using the horizontal zoom parameters.
specifies that all (CH, Ref, Math) waveforms will be horizontal- ly positioned and scaled together.
specifies that all live waveforms are positioned and scaled together.
returns either , , or .
Sets or queries the horizontal position of zoomed waveforms. The setting of the ZOOm:HORizontal:LOCk command determines the waveforms affected. For example, if ZOOm:HORizontal:LOCk is set to LIVe then only live (as opposed to reference and math) waveforms are affected.
In extended-acquisition-length mode, sets or queries the horizontal position of the zoomed acquisition record.

$! # # !
$! # # !
" $! # # !
is from 0 to 100, and is the percent of the waveform or extended acquisition that is to the left of graticule.
centers the waveform on the display.
Sets or queries the horizontal expansion factor. This command is equivalent to using the front-panel Horizontal Scale knob when Zoom is on. It is also equivalent to using Zoom Preview with the upper graticule selected in the TDS 500C, 600B or 700C.
$! #
$! #
" $! #
is the amount of expansion in the horizontal direction.
It is less than 1 if there is horizontal compression.
It is more than 1 if there is horizontal expansion.
might return as the horizontal scale factor.
Zoom · Zoom

Turns Zoom mode on and off. When Zoom mode is on, the horizontal and vertical position and scale commands affect the waveform display, not the acquisition. This is the only way to position and scale math and reference waveforms. This command is equivalent to turning Zoom on and off in the Zoom side menu.
" # # ! $
turns Zoom mode off.
turns Zoom mode on. When InstaVu is in use, the state value becomes a requested value, to be restored when InstaVu is switched off. Do not use this condition if InstaVu is on. InstaVu overrides the zoom on state.
! (not on TDS 510A) sets ZOOM:STATE to preview. Also, it causes the oscilloscope to display both the ZOOM:STATE OFF and ZOOM:STATE ON traces simultaneously in dual, half-height graticules. Do not use this condition if InstaVu is on. InstaVu overrides the zoom preview state.
In extended-acquisition-length mode, entering the zoom preview state causes fit-to-screen to be on. If the oscilloscope exits the extended-acquisition-length mode or the zoom preview state, the fit-to-screen mode returns back to its prior setting.
enables the Zoom feature.
returns OFF, PREVIEW, or ON depending on the state of Zoom mode.

Sets or queries the vertical position of waveforms.
"
"
! "
is the vertical position in divisions.
might return
Sets or queries the vertical expansion and compression factor.
ACQuire:MODe
!
is the amount of vertical expansion or compression.
might return
Zoom · Zoom

The digitizing oscilloscope provides a status and event reporting system for the GPIB interface. This system informs you of certain significant events that occur within the digitizing oscilloscope.
The digitizing oscilloscope status handling system consists of five 8-bit registers and two queues. This section describes these registers and components. It also explains how the event handling system operates.
The registers in the event handling system fall into two functional groups:
Status Registers contain information about the status of the digitizing oscilloscope. They include the Standard Event Status Register (SESR) and the Status Byte Register (SBR).
Enable Registers determine whether selected types of events are reported to the Status Registers and the Event Queue. They include the Device Event Status Enable Register (DESER), the Event Status Enable Register (ESER), and the Service Request Enable Register (SRER).
The Standard Event Status Register (SESR) and the Status Byte Register (SBR) record certain types of events that may occur while the digitizing oscilloscope is in use. IEEE Std 488.2–1987 defines these registers.
Each bit in a Status Register records a particular type of event, such as an execution error or service request. When an event of a given type occurs, the digitizing oscilloscope sets the bit that represents that type of event to a value of one. (You can disable bits so that they ignore events and remain at zero. See the Enable Registers section on page 3–3.) Reading the status registers tells you what types of events have occurred.
The Standard Event Status Register (SESR). The SESR, shown in Figure 3–1, records eight types of events that can occur within the digitizing oscilloscope. Use the *ESR? query to read the SESR register. Reading the register clears the bits of the register so that the register can accumulate information about new events.

PON URQ CME EXE DDE QYE RQC OPC 7 6 5 4 3 2 1 0
7 (MSB) PON (Power On). Shows that the digitizing oscilloscope was powered on. The completion of the diagnostic tests also sets this bit.
6 URQ (User Request). Shows that an Application menu button was pressed.
5 CME (Command Error). Shows that an error occurred while the digitizing oscilloscope was parsing a command or query. Command error messages are listed in Table 3–4 on page 3–12.
4 EXE (Execution Error). Shows that an error occurred while the digitizing oscilloscope was executing a command or query. Execution error messages are listed in Table 3–5 on page 3–14.
3 DDE (Device Error). Shows that a device error occurred. Device error messages are listed in Table 3–6 on page 3–17.
2 QYE (Query Error). Shows that either an attempt was made to read the Output Queue when no data was present or pending, or that data in the Output Queue was lost.
1 RQC (Request Control). Not used.
0 (LSB) OPC (Operation Complete). Shows that the operation is complete. This bit is set when all pending operations complete following an command.
The Status Byte Register (SBR) — shown in Figure 3–2, records whether output is available in the Output Queue, whether the digitizing oscilloscope requests service, and whether the SESR has recorded any events.
Use a Serial Poll or the *STB? query to read the contents of the SBR. The bits in the SBR are set and cleared depending on the contents of the SESR, the Event Status Enable Register (ESER), and the Output Queue. When you use a Serial Poll to obtain the SBR, bit 6 is the RQS bit. When you use the *STB? query to obtain the SBR, bit 6 is the MSS bit. Reading the SBR does not clear the bits.
7 6 5 4 3 2 1 0 6
ESB MAV — — — — MSS
Status and Events · Bit Function

7 (MSB) Not used.
6 RQS (Request Service), obtained from a serial poll. Shows that the digitizing oscilloscope requests service from the GPIB controller.
6 MSS (Master Status Summary), obtained from *STB? query. Summarizes the ESB and MAV bits in the SBR.
5 ESB (Event Status Bit). Shows that status is enabled and present in the SESR.
4 MAV (Message Available). Shows that output is available in the Output Queue.
DESER, ESER, and SRER allow you to select which events are reported to the Status Registers and the Event Queue. Each Enable Register acts as a filter to a Status Register (the DESER also acts as a filter to the Event Queue) and can prevent information from being recorded in the register or queue.
Each bit in an Enable Register corresponds to a bit in the Status Register it controls. In order for an event to be reported to its bit in the Status Register, the corresponding bit in the Enable Register must be set to one. If the bit in the Enable Register is set to zero, the event is not recorded.
Various commands set the bits in the Enable Registers. The Enable Registers and the commands used to set them are described below.
The Device Event Status Enable Register (DESER) — is shown in Figure 3–3. This register controls which types of events are reported to the SESR and the Event Queue. The bits in the DESER correspond to those in the SESR, as described earlier.
Use the DESE command to enable and disable the bits in the DESER. Use the DESE? query to read the DESER.
PON URQ CME EXE DDE QYE RQC OPC 7 6 5 4 3 2 1 0
The Event Status Enable Register (ESER) — is shown in Figure 3–4. It controls which types of events are summarized by the Event Status Bit (ESB) in the SBR.
Use the *ESE command to set the bits in the ESER. Use the *ESE? query to read it.
Status and Events · Bit Function

PON URQ CME EXE DDE QYE RQC OPC 7 6 5 4 3 2 1 0
The Service Request Enable Register (SRER) — is shown in Figure 3–5. It controls which bits in the SBR generate a Service Request and are summarized by the Master Status Summary (MSS) bit.
Use the *SRE command to set the SRER. Use the *SRE? query to read it. The RQS bit remains set to one until either the Status Byte Register is read with a Serial Poll or the MSS bit changes back to a zero.
— — ESB MAV — 7 6 5 4 3 2 1 0
The *PSC command controls the Enable Registers contents at power-on. Sending *PSC 1 sets the Enable Registers at power on as follows:
the *PSC Command
DESER 255 (equivalent to a DESe 255 command)
ESER 0 (equivalent to an *ESE 0 command)
SRER 0 (equivalent to an *SRE 0 command)
Sending *PSC 0 lets the Enable Registers maintain their values in non-volatile memory through a power cycle.
Status and Events

The digitizing oscilloscope status and event reporting system contains two queues: the Output Queue and the Event Queue.
The digitizing oscilloscope stores query responses in the Output Queue. It empties this queue each time it receives a new command or query message after an . The controller must read a query response before it sends the next command (or query) or it will lose responses to earlier queries.
WARNING. When a controller sends a query, an <EOM>, and a second query, the digitizing scope normally clears the first response and outputs the second while reporting a Query Error (QYE bit in the ESER) to indicate the lost response. A fast controller, however, may receive a part or all of the first response as well. To avoid this situation, the controller should always read the response immediately after sending any terminated query message or send a DCL (Device Clear) before sending the second query.
The Event Queue stores detailed information on up to 20 events. If more than 20 events stack up in the Event Queue, the 20th event is replaced by event code 350, “Too many events.”
Read the Event Queue with the EVENT? query (which returns only the event number), with the EVMSG? query (which returns the event number and a text description of the event), or with the ALLEV? query (which returns all the event numbers along with a description of the event). Reading an event removes it from the queue.
Before reading an event from the Event Queue, you must use the *ESR? query to read the summary of the event from the SESR. This makes the events summa- rized by the *ESR? read available to the EVENT? and EVMSG? queries, and empties the SESR.
Reading the SESR erases any events that were summarized by previous *ESR? reads but not read from the Event Queue. Events that follow an *ESR? read are put in the Event Queue but are not available until *ESR? is used again.
Status and Events

Figure 3–6, on page 3–6, shows how to use the status and event handling system. In the explanation that follows, numbers in parentheses refer to numbers in Figure 3–6.
Device Event Status Enable Register
(DESER) Read using DESE? Write using DESE
PON URQ CME EXE DDE QYE RQC OPC 7 6 5 4 3 2 1 0
Standard Event Status Register
(SESR) Read using *ESR? Cannot be written
PON URQ CME EXE DDE QYE RQC OPC 7 6 5 4 3 2 1 0
Event Status Enable Register
(ESER) Read using *ESE? Write using *ESE
PON URQ CME EXE DDE QYE RQC OPC 7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0 6
(SBR) Read using *STB? Cannot be written
Service Request Enable Register
(SRER) Read using *SRE? Write using *SRE
— — ESB MAV — 7 6 5 4 3 2 1 0
When an event occurs, a signal is sent to the DESER (1). If that type of event is enabled in the DESER (that is, if the bit for that event type is set to 1), the appropriate bit in the SESR is set to one, and the event is recorded in the Event Queue (2). If the corresponding bit in the ESER is also enabled (3), then the ESB bit in the SBR is set to one (4).

When output is sent to the Output Queue, the MAV bit in the SBR is set to one (5).
When a bit in the SBR is set to one and the corresponding bit in the SRER is enabled (6), the MSS bit in the SBR is set to one and a service request is generated (7).
Although most GPIB commands are completed almost immediately after being received by the digitizing oscilloscope, some commands start a process that requires more time. For example, once a HARDCOPY START command is executed it may be a few seconds before the hardcopy operation is complete. Rather than remain idle while the operation is in process, the digitizing oscilloscope will continue processing other commands. This means that some operations will not be completed in the order that they were sent.
Sometimes the result of an operation depends on the result of an earlier operation. A first operation must complete before the next one gets processed. The digitizing oscilloscope status and event reporting system provide ways to do this.
For example, a typical application might involve acquiring a single-sequence waveform and then taking a measurement on the acquired waveform. You could use the following command sequence to do this:
/** Set up single-sequence acquisition **/ /** Acquire waveform data **/ /** Set up the measurement parameters **/ /** Take amplitude measurement on acquired data **/
The acquisition of the waveform requires extended processing time. It may not finish before the digitizing oscilloscope takes an amplitude measurement (See Figure 3–7). This can result in an incorrect amplitude value.
Status and Events

To ensure the digitizing oscilloscope completes waveform acquisition before taking the measurement on the acquired data, you can synchronize the program. Figure 3–8 shows the desired processing sequence.
You can use four commands to synchronize the operation of the digitizing oscilloscope with your application program: *WAI, BUSY?, *OPC, and *OPC?.
You can force commands to execute sequentially by using the *WAI command. This command forces completion of the previous commands before processing new ones.
The same command sequence using the *WAI command for synchronization looks like this:
/* Set up single-sequence acquisition */ /* Acquire waveform data */ /* Set up the measurement parameters */ /* Wait until the acquisition is complete before taking the measurement */

/* Take amplitude measurement on acquired data */
Though *WAI is one of the easiest ways to achieve synchronization, it is also the most costly. The processing time of the digitizing oscilloscope is slowed since it is processing a single command at a time. This time could be spent doing other tasks.
The controller can continue to write commands to the input buffer of the digitizing oscilloscope, but the commands will not be processed by the digitizing oscilloscope until all operations in process are complete. If the input buffer becomes full, the controller will be unable to write more commands to the buffer. This can cause a time-out.
The BUSY? query allows you to find out whether the digitizing oscilloscope is busy processing a command that has an extended processing time such as single-sequence acquisition.
The same command sequence using the BUSY? query for synchronization looks like this:
/* Set up single-sequence acquisition */ /* Acquire waveform data */ /* Set up the measurement parameters */ /* Wait until the acquisition is complete before taking the measurement */ !# " & #%%&!$ /* Take amplitude measurement on acquired data */
This sequence lets you create your own wait loop rather than using the *WAI command. The BUSY? query helps you avoid time-outs caused by writing too many commands to the input buffer. The controller is still tied up, though, and the repeated BUSY? query will result in more bus traffic.
If the corresponding status registers are enabled, the *OPC command sets the OPC bit in the Standard Event Status Register (SESR) when an operation is complete. You achieve synchronization by using this command with either a serial poll or service request handler.
Status and Events

Serial Poll Method. Enable the OPC bit in the Device Event Status Enable Register (DESER) and the Event Status Enable Register (ESER) using the DESE and *ESE commands. When the operation is complete, the OPC bit in the Standard Event Status Register (SESR) will be enabled and the Event Status Bit (ESB) in the Status Byte Register will be enabled.
The same command sequence using the *OPC command for synchronization with serial polling looks like this:
/* Set up single-sequence acquisition */ /* Enable the status registers */ /* Acquire waveform data */ /* Set up the measurement parameters */ /* Wait until the acquisition is complete before taking the measurement. */ $%'" ,"+%!' *)'' &""* '))*%(# /* Take amplitude measurement on acquired data */
This technique requires less bus traffic than did looping on .
Service Request Method. Enable the OPC bit in the Device Event Status Enable Register (DESER) and the Event Status Enable Register (ESER) using the DESE and *ESE commands. You can also enable service requests by setting the ESB bit in the Service Request Enable Register (SRER) using the *SRE command. When the operation is complete, a Service Request will be generated.
The same command sequence using the *OPC command for synchronization looks like this:
/* Set up single-sequence acquisition */ /* Enable the status registers */
Status and Events

/* Acquire waveform data */ /* Set up the measurement parameters */ /* Wait until the acquisition is complete before taking the measurement */ 0.'0", #"- -.5 $. $)&&%0%-2 2"1*1 13#( "1 2"+* 2. .2(%0 $%4)#%1 (% 5(%- )2 #.,%1 )-2%003/21 2(.1% 2"1*1 "-$ 0%230-1 #.-20.+ 2. 2()1 2"1* /* Take amplitude measurement on acquired data */
This technique is more efficient but requires more sophisticated programming.
The *OPC? query places a 1 in the Output Queue once an operation is complete. A timeout could occur if you try to read the output queue before there is any data in it.
The same command sequence using the *OPC? query for synchronization looks like this:
/* Set up single-sequence acquisition */ ! /* Acquire waveform data */ /* Set up the measurement parameters */ /* Wait until the acquisition is complete before taking the measurement */ ")2 &.0 0%"$ &0., 32/32 3%3% /* Take amplitude measurement on acquired data */
This is the simplest approach. It requires no status handling or loops. However, you must set the controller time-out for longer than the acquisition operation.
Status and Events

Tables 3–3 through 3–9 list all the programming interface messages the digitizing oscilloscope generates in response to commands and queries.
For most messages, a secondary message from the digitizing oscilloscope gives more detail about the cause of the error or the meaning of the message. This message is part of the message string, and is separated from the main message by a semicolon.
Each message is the result of an event. Each type of event sets a specific bit in the SESR and is controlled by the equivalent bit in the DESER. Thus, each message is associated with a specific SESR bit. In the message tables that follow, the associated SESR bit is specified in the table title, with exceptions noted with the error message text.
Table 3–3 shows the messages when the system has no events or status to report. These have no associated SESR bit.
0 No events to report – queue empty
1 No events to report – new events pending *ESR?
Table 3–4 shows the error messages generated by improper command syntax. Check that the command is properly formed and that it follows the rules in Command Syntax starting on page 2–1.
104 Data type error
105 GET not allowed
106 Invalid program data separator
108 Parameter not allowed
110 Command header error

111 Header separator error
112 Program mnemonic too long
118 Query not allowed
120 Numeric data error
121 Invalid character in number
123 Exponent too large
124 Too many digits
128 Numeric data not allowed
134 Suffix too long
138 Suffix not allowed
140 Character data error
141 Invalid character data
144 Character data too long
148 Character data not allowed
150 String data error
151 Invalid string data
152 String data too long
158 String data not allowed
160 Block data error
161 Invalid block data
168 Block data not allowed
178 Expression data not allowed
181 Invalid outside alias definition
183 Invalid inside alias definition
184 Command in alias requires more/fewer parameters

Table 3–5 lists the execution errors that are detected during execution of a command. In these error messages, you should read “macro” as “alias.”
201 Invalid while in local
202 Settings lost due to rtl
222 Data out of range
223 Too much data
224 Illegal parameter value
230 Data corrupt or stale
242 Hardware configuration error
243 Hardware I/O device error
250 Mass storage error
251 Missing mass storage
256 File name not found
257 File name error
261 Math error in expression
2200 Measurement error, Measurement system error
2201 Measurement error, Zero period
2202 Measurement error, No period found

2203 Measurement error, No period, second waveform
2204 Measurement error, Low signal amplitude
2205 Measurement error, Low amplitude, second waveform
2206 Measurement error, Invalid gate
2207 Measurement error, Measurement overflow
2208 Measurement error, Waveform does not cross Mid Ref
2209 Measurement error, No second Mid Ref crossing
2210 Measurement error, No Mid Ref crossing, second waveform
2211 Measurement error, No backwards Mid Ref crossing
2212 Measurement error, No negative crossing
2213 Measurement error, No positive crossing
2214 Measurement error, No crossing
2215 Measurement error, No crossing, second waveform
2216 Measurement error, No crossing, target waveform
2217 Measurement error, Constant waveform
2218 Measurement error, Unused
2219 Measurement error, No valid edge – No arm sample
2220 Measurement error, No valid edge – No arm cross
2221 Measurement error, No valid edge – No trigger cross
2222 Measurement error, No valid edge – No second cross
2223 Measurement error, Waveform mismatch
2224 Measurement error, WAIT calculating
2225 Measurement error, No waveform to measure
2227 Positive and Negative Clipping
2228 Measurement error, Positive Clipping
2229 Measurement error, Negative Clipping
2230 Measurement error, High Ref < Low Ref
2235 Math error, Invalid math description
2236 Math error, Reference waveform is invalid
2237 Out of acquisition memory
2238 Too many channels need to be acquired
Status and Events · Code Message · 2226 Null Waveform

2239 EAL turned off (EAL = extended-acquisition-length mode)
2241 Waveform requested is invalid
2242 Data start and stop > record length
2243 Waveform requested is not a data source
2244 Waveform requested is not turned on
2245 Saveref error, Selected channel is turned off
2246 Saveref error, Selected channel data invalid
2247 Saveref error, Out of reference memory
2248 Saveref error, Source reference data invalid
2249 Reference deletion error, Waveform in use for math
2258 Acq must be stopped
2259 File too big
2271 Alias syntax error
2272 Alias execution error
2273 Illegal alias label
2274 Alias parameter error
2275 Alias definition too long
2276 Alias expansion error
2277 Alias redefinition not allowed
2278 Alias header not found
2279 Alias label too long
2280 Alias table full
2285 TekSecure Pass
2286 TekSecure Fail
2290 Limit error, Reference in use
2291 Limit error, Reference data invalid
2292 Limit error, Out of reference memory
2293 Limit error, Selected channel is turned off

2301 Cursor error, Off-screen
2302 Cursor error, cursors in different frames
2311 Group requested has not been selected or has been deleted
Table 3–6 lists the device errors that can occur during digitizing oscilloscope operation. These errors may indicate that the oscilloscope needs repair.
312 PUD memory lost
313 Calibration memory lost
314 Save/recall memory lost
315 Configuration memory lost
350 Queue overflow (does not set DDE bit)
Table 3–7 lists the system event messages. These messages are generated whenever certain system conditions occur.
401 Power on (PON bit 7 set)
402 Operation complete (OPC bit 0 set)
403 User request (URQ bit 6 set)
404 Power fail (DDE bit 3 set)
410 Query INTERRUPTED (QYE bit 2 set)
420 Query UNTERMINATED (QYE bit 2 set)
430 Query DEADLOCKED (QYE bit 2 set)

440 Query UNTERMINATED after indefinite response (QYE bit 2 set)
450 Right menu button #1 pushed (URQ bit 6 set)
451 Right menu button #2 pushed (URQ bit 6 set)
452 Right menu button #3 pushed (URQ bit 6 set)
453 Right menu button #4 pushed (URQ bit 6 set)
454 Right menu button #5 pushed (URQ bit 6 set)
460 Bottom menu button #1 pushed (URQ bit 6 set)
461 Bottom menu button #2 pushed (URQ bit 6 set)
462 Bottom menu button #3 pushed (URQ bit 6 set)
463 Bottom menu button #4 pushed (URQ bit 6 set)
464 Bottom menu button #5 pushed (URQ bit 6 set)
465 Bottom menu button #6 pushed (URQ bit 6 set)
466 Bottom menu button #7 pushed (URQ bit 6 set)
Table 3–8 lists warning messages that do not interrupt the flow of command execution. These notify you that you may get unexpected results.
510 String data too long, truncated
528 Parameter out of range
530 Data stop > stop, Values swapped internally
531 Data stop > record length, Curve truncated
532 Curve data too long, Curve truncated
541 Measurement warning, Low signal amplitude
542 Measurement warning, Unstable histogram
543 Measurement warning, Low resolution

544 Measurement warning, Uncertain edge
545 Measurement warning, Invalid in minmax
546 Measurement warning, Need 3 edges
547 Measurement warning, Clipping positive/negative
548 Measurement warning, Clipping positive
549 Measurement warning, Clipping negative
550 InstaVu active – deactivate to see change
551 InstaVu active – deactivate to use math
552 EAL on – turn off to see change (EAL = extended-acquisition-length mode)
553 EAL on – turn off to use math (EAL = extended-acquisition-length mode)
570 Saveref warning, decimated 500K waveform to 250K Ref (TDS 700A)
571 Option 05 not present
572 Option 2F not present
Table 3–9 shows internal errors that indicate an internal fault in the digitizing oscilloscope.
620 Internal warning, Bad thermistor
630 Internal warning, 50 overload

The example programs illustrate methods you can use to control the digitizing oscilloscope from the GPIB interface. The disk that comes with this manual contains listings for these programs written in Microsoft QuickBASIC 4.5 and Microsoft QuickC 2.5.
The programs run on a PC-compatible system equipped with a Tektronix (National Instruments) GPIB board and associated drivers. For example, the programs will work with a Tektronix S3FG210 (National Instruments GPIB- PCII/IIA) GPIB package (See Figure 4–1).

All the example programs assume that the GPIB system recognizes the digitizing oscilloscope as DEV1 and the PC (controller) as GPIB0. You can use the program to assign these names.
The example software includes:
: automatically measures waveform parameters.
: shows communication between controller and oscilloscope.
GPIB Board · PC Compatible

: reads a waveform from an oscilloscope and stores it in a file.
: uses cursors to measure waveform parameters.
: a talker-listener program.
The example programs diskette contains programs written in Microsoft QuickBASIC 4.5 and Microsoft QuickC 2.5.
Executable versions of the programs are in the PROGRAMS directory. Source versions are in the SOURCES directory. Within this directory, the QuickBASIC programs are in the Q-BASIC subdirectory and the QuickC programs are in the QUICK-C subdirectory.
A file in each directory explains how to build executable code from the source files provided.
The QuickC directory also comes with sample MAKE files and sample executable files. These have the suffix .
If you wish to develop code, you will need to use files that come with the GPIB system. Specifically, the QuickBASIC programs use and . The QuickC programs use and .
To make an executable for any example, perform the following:
! # "
Programming Examples

)*2 +/# %
)*2 !*# * &"
)*2 !*# * ' # ) $
where refers to the name of the example program you wish to compile and link. Specifically:
To compile and link , type: ('% ' -'%
To compile and link , type: ('% )'''%
To compile and link , type: ('% ! .0 ''%
To compile and link , type: ('% /,-),'%
To compile and link , type: ('% .&'%
To run ' -, type: ' -
To run ! .0 ', type: ! .0 '
To make an executable for any of the following files, perform the following:
Your Example QuickBASIC Programs
Programming Examples · 1'*& -

hard disk C, you want to store the examples in drive C, and the examples diskette is in drive B, you might type:
)'!%. "3 ),("/
+,4 - /%
+,4 $,% , - !" ( /
+,4 $,% , - % + &
a. Compile the program by using the following command:
+ #%(" /
where #%(" is one of the example program names.
To compile , type: + )" / /
To compile , type: + +)) /
To compile , type: + $"02#) /
To compile , type: + 1./+. /
To compile , type: + 0( /
b. Link the compiled program with the qbib.obj module to create the executable program (file.EXE) by using the following command:
(%*' #%(" + &- % + &
where #%(" is one of the above program names.
To link , type: (%*' )" /+ &- % + &
To link , type: (%*' +))+ &- % + &
To link , type: (%*' $"02#)+ &- % + &
To link , type: (%*' 1./+.+ &- % + &
To link , type: (%*' 0(+ &- % + &
Programming Examples · ! "3 ),("/

is a collection of input/output routines used by the other programs and is included for proper file compilation.
NOTE. The example programs disable front-panel operation while they are running and reenable it when they terminate. If your program terminates prematurely, front-panel operation may remain disabled. To reenable front-panel operation, do one of the following: cycle power on the digitizing oscilloscope or send the GPIB command to unlock the front panel. You can send the command with the TL program included in your sample programs disk.
Programming Examples

The characters in Table A–1 are available for the digitizing oscilloscope. Numbers in the lower left corners are character widths in pixels.
0 1 2 3 4 5 6 7
0 NUL 0 0 12 16 space 5 32 0 10 48 @ 14 64 P 10 80 ‘ 5 96 p 11 112 1 251 1 14 17 ! 5 33 1 10 49 A 12 65 Q 13 81 a 8 97 q 10 113 2 7 2
15 18 ” 7 34 2 10 50 B 10 66 R 10 82 b 11 98 r 7 114 3 Ç 8 3 11 19 # 10 35 3 10 51 C 10 67 S 9 83 c 8 99 s 8 115 4 10 4 12 20 $ 10 36 4 10 52 D 12 68 T 10 84 d 10 100 t 7 116 5 10 5 12 21 % 12 37 5 10 53 E 9 69 U 12 85 e 9 101 u 11 117
6 12 6 12 22 & 12 38 6 10 54 F 9 70 V 11 86 f 6 102 v 10 118 7 ‘ 5 7 10 23 ’ 5 39 7 10 55 G 11 71 W 15 87 g 10 103 w 14 119 8 5 8
16 24 ( 6 40 8 10 56 H 13 72 X 10 88 h 11 104 x 9 120 9 HT 0 9 16 25 ) 6 41 9 10 57 I 6 73 Y 10 89 i 5 105 y 10 121 A LF 0 10 12 26 * 8 42 : 6 58 J 7 74 Z 10 90 j 5 106 z 8 122 B 10 11 ESC 0 27 + 11 43 ; 6 59 K 10 75 [ 6 91 k 10 107 { 6 123 C 11 12 9 28 , 6 44 < 11 60 L 8 76 \ 9 92 l 5 108 6 124 D CR 0 13 11 29 — 11 45 = 11 61 M 15 77 ] 6 93 m 15 109 } 6 125
E 10 14 10 30 . 6 46 > 11 62 N 13 78 ^ 11 94 n 11 110 ~ 11 126 F 7 15 10 31 / 9 47 ? 7 63 O 13 79 _ 11 95 o 10 111 3 127
TDS Family Oscilloscope Programmer Manual A–1


1 1 1 BITS B4 B3 B2 B1
52 LA10 2A 42 * 72 LA26 3A 58 :
A–2 TDS Family Oscilloscope Programmer Manual

The following is a list of the reserved words of the digitizing oscilloscope. Do not use these words for aliases. Capital letters identify the required minimum spelling. Hint: Use the full spelling for the most robost code as the minimum spelling rules may change over time and from model to model.
*CAL *CLS *DDT *ESE *ESR *IDN *LRN *OPC *PSC *PUD *RCL *RST *SAV *SRE *STB *TRG *TST *WAI ABOrt ABSolute AC ACCept ACQDAta ACQDUration ACQLength ACQuire ACQUISition ACTivate ACTUal ALIas ALL ALLEv ALLOcate AMPlitude AND APPMenu AREa ARMed ASC ASCIi
AUTO AUTOSet AUXiliary AVErage BACKGround BACKWards BANdwidth BASe BAUd BELl BIN BIT_Nr BLAckman BMP BMPCOLOR BN_Fmt BOLd BOTh BOTTOM1 BOTTOM2 BOTTOM3 BOTTOM4 BOTTOM5 BOTTOM6 BOTTOM7 BOX BOXPcnt BURst BUSY BY BYCONTents BYT_Nr BYT_Or CALibrate CATalog CARea CENtronics CH1 CH2 CH3
CH4 CHKsm0 CLAss CLEar CLEARMenu CLEARSNapshot CLEARSpool CLOCk CMEan COLLision COLOr COMPARE CONTRast CONTROl COPy COUNt COUPling CPU CRMs CROSSHair CRVchk CURRent CURSor CURSOR1 CURSOR2 CURVe CUSTom CWD DATa DATE DC DEFAult DEFINE DELay DELAYEd DELEte DELTa DELTATime DELWarn DESE
DESKJET DESKJETC DESTination DIAg DIR DIREction DISAbled DISplay DOTs DPU411 DPU412 DUAl ECL EDGE EDGE1 EDGE2 EITher ENAbled ENCdg ENV ENVElope EPSColor EPSCOLImg EPSImage EPSMono EPSOn EVEN EVENT EVENTS EVENTSTime EVMsg EVQty EXECute EXTAtten EXTDACQ EXTDBatten EXTINCTPCT EXTINCTDB FACtory
TDS Family Oscilloscope Programmer Manual B–1

FALL FALSe FASTERthan FASTframe FFT FIELD FIELD1 FIELD2 FIELDEither FIELDRATE FIELDS FIELDType FIFty FILEName FILESystem FILTer FIRst FITtoscreen FLAg FLEXformat FORCe FORMat FORWards FPAnel FRAme FREE FREESpace FREQuency FULl FUNCtion GATing GLItch GND GPIb GRAticule GRAYscale GRId HALt HAMming HARDCopy HARDFlagging HBArs HDELTA HDR HDTv HEADer HERtz HFRej HIGH HIGHLimit HIRes HIStogram HISTOMASK HITs
HOLDOff HOLDTime HORizontal HPGl HPOS1 HPOS2 HUNdred ID IMMed IMPedance INDependent INFInite INFPersist INIT INPut INStavu INTENSIFied INTENSITy INTERLAce INTERLeaf INVert IRE LABel LANdscape LASERJet LAYout LENgth LESSLimit LESSThan LEVel LFRej LIMit LINE LINES LINEAr LIVe LOCk LOG LOGIc LONG LOW LOWLimit LSB MAIn MAP MATH MATH1 MATH2 MATH3 MAXimum MAXRate MEAN MEANDBM MEANSTddev
MEAS1 MEAS2 MEAS3 MEAS4 MEASUrement MEDian MEG MESSage METHod MID MID2 MINImum MINMax MINUSOne MKDir MODe MONo MORELimit MOREThan MSB NAMe NANd NDUty NEGAtive NEGSynchwidth NEWpass NOISErej NONe NOR NORMal NOVershoot NR_Pt NTSc NUMACq NUMAVg NUMEnv NUMERic NWIdth ODD OFF OFFSET OFFSETAdj ON ONCe OR OPTion OUTside OVERAll OVERWrite PAIred PAL PALEtte PARity
PARTial PASSWord PATtern PCX PCXCOLOR PDUty PEAKDetect PEAKHits PERCent PERIod PERSistence PHAse PK2pk PLUSOne POints POLarity PORT PORTRait POSition POSITION1 POSITION2 POSITIVe POVershoot PREView PRInt PROBE PROBECal PROCessing PT_Fmt PT_Off PULse PWIdth RATE1 RATE2 RATE3 RATE4 READFile READY RECAll RECORDLength RECORDSNap RECORDSTart RECTangular REF REF1 REF2 REF3 REF4 REFLevel REGular REJect REM
B–2 TDS Family Oscilloscope Programmer Manual

REName REPEt RESET RESETAll RESUltRI RIBinary RIGHT1 RIGHT2 RIGHT3 RIGHT4 RIGHT5 RISe RLE RMDir RMS ROLL RP RPBinary RS232 RUN RUNSAfter RUNSTop RUNT SAMple SAVe SCAle SCAN SCANPeriod SCROLLBAR SCROLLTEXT SECAm SECdiv SECOnds SELect
SEQuence SET SETHold SETLevel SETTime SETUp SHORt SHOW SINX SLEWRate SLOpe SLOWERthan SNAp SNAPShot SOFTFlagging SOUrce SOURCE1 SOURCE2 SPECTral SRIbinary SRPbinary STANdard STARt STATE STATistics STDdev STOP STOPAfter STOPBits STORe STYle SYNc SYStem TARget
TBposition TEKSecure TEMPErature TEMPLate TEXt THInkjet THReshold TIFf TIMe TIMEOut TITLe TO TOLerance TRACk TRIGAfter TRIGBar TRIGger TRIGT TRUe TTL TWEnty TWOfifty TYPe UNITS UNITSTring UNLock VALue VARpersist VBArs VDELTA VECtors VERBose VERTical VIDeo
VOLts V1STArttime V1STOptime V2STArttime V2STOptime WAVEform WAVEFORMS WAVFrm WFId WFMPre WHEn WIDth WIThin WRITEFile X XINcr XMUlt XOFf XUNit XY XZEro Y YMUlt YOFf YT YUNit YZEro ZERO ZMUlt ZOFf ZONe ZOOm ZUNit ZZEro
TDS Family Oscilloscope Programmer Manual B–3

This appendix describes details of the GPIB remote interface of the digitizing oscilloscope. Normally, you will not need this information to use the digitizing oscilloscope, but the information is useful when connecting to controllers of unusual configuration.
The digitizing oscilloscope supports many GPIB function subsets, as listed below. Some of the listings describe subsets that the digitizing oscilloscope does not support.
SH1 (Source Handshake). The digitizing oscilloscope can transmit multiline messages across the GPIB.
AH1 (Acceptor Handshake). The digitizing oscilloscope can receive multiline messages across the GPIB.
T5 (Talker). The digitizing oscilloscope becomes a talker when its talk address is sent with the ATN (Attention) line asserted. It can send both response data and status information when responding to a serial poll. It ceases to be a talker when the talk address if another device is sent with ATN asserted. The digitizing oscilloscope has talk-only capability for hardcopy operation.
L4 (Listener). The digitizing oscilloscope becomes a listener when its listen address is sent with the ATN (Attention) line asserted. The digitizing oscilloscope does not have listen-only capability.
SR1 (Service Request). The digitizing oscilloscope asserts an SRQ (Service Request) line to notify the controller when it requires service.
RL1 (Remote/Local). The digitizing oscilloscope responds to both the GTL (Go To Local) and LLO (Local Lock Out) interface messages.
PP0 (Parallel Poll). The digitizing oscilloscope has no parallel poll capabili- ty. It does not respond to the following interface messages: PPC, PPD, PPE, and PPU. The digitizing oscilloscope does not send out a status message when the ATN (Attention) and EOI (End or Identify) lines are asserted simultaneously.
DC1 (Device Clear). The digitizing oscilloscope responds to the DCL (Device Clear) and, when made a listener, the SDC (Selected Device Clear) interface messages.
TDS Family Oscilloscope Programmer Manual C–1

DT1 (Device Trigger). When acting as a listener, the digitizing oscilloscope responds to the GET (Group Execute Trigger) interface message.
C0 (Controller). The digitizing oscilloscope cannot control other devices.
E2 (Electrical). The digitizing oscilloscope uses tristate buffers to provide optimal high-speed data transfer.
Table C–1 shows the standard interface messages that are supported by the digitizing oscilloscope.
C–2 TDS Family Oscilloscope Programmer Manual

The factory initialization settings provide you a known state for the digitizing oscilloscope.
Factory initialization sets values as shown in Table D–1.
Control Changed by Factory Init to
Acquire repetitive signal TDS 400A, 510A, 500C, & 700C: ON (Enable ET)
Acquire stop after RUN/STOP button only
Acquire # of averages 16
Acquire # of envelopes 10
Channel selection Channel 1 on, all others off
Cursor H Bar 1 position 10% of graticule height (–3.2 divs from the center)
Cursor H Bar 2 position 90% of the graticule height (+3.2 divs from the center)
Cursor V Bar 1 position 10% of the record length
Cursor V Bar 2 position 90% of the record length
Cursor amplitude units Base
Cursor time units Seconds
Date and time No change
Delay events, triggerable after main
Delay time, delayed runs after main
Delay time, delayed triggerable after main
Delay trigger average # 16
Delay trigger envelope # 10
Delayed, delay by ... Delay by Time
TDS Family Oscilloscope Programmer Manual D–1
Acquire mode Sample · Cursor function Off · Cursor mode Independent

Control Changed by Factory Init to
Delayed edge trigger coupling (TDS 400A only)
Delayed edge trigger level 0 V
Delayed edge trigger slope Rising
Delayed edge trigger source Channel 1
Delayed, time base mode Delayed Runs After Main
Deskew, Channel/Probe 0 seconds
Display clock No Change
Display color – collision contrast TDS 644B, 684B, & 700C: Off
Display color – map math colors TDS 644B, 684B, & 700C: Color ‘Math’
Display color – map reference colors TDS 644B, 684B, & 700C: Color ‘Ref’
Display color – palette TDS 644B, 684B, & 700C: Normal
Display color – palette colors TDS 644B, 684B, & 700C: The colors of each palette are reset to factory hue, saturation, and lightness (HLS) values
Display color – persistence palette TDS 644B, 684B, & 700C: Temperature
Display graticule type Full
Display instavu persistence TDS 500C & 700C: Varpersist
Display instavu style TDS 500C & 700C: Vectors
Display instavu varpersist TDS 500C & 700C: 500 e–3
Display intensity – contrast TDS 400A, 500C, 620B, & 680B: 175% TDS 510A: 150%
Display intensity – overall TDS 400A, 510A, 500C, 620B, & 680A: 85%
Display intensity – text TDS 644B, 684B, & 700C: 100% TDS 400A, 510A, 500C, 620B, & 680B: 60%
Display intensity – waveform TDS 644B, 684B, & 700C: 100% TDS 400A, 510A, 500C, 620B, & 680B: 75%
Display interpolation filter Sin(x)/x
D–2 TDS Family Oscilloscope Programmer Manual

Control Changed by Factory Init to
Display trigger bar style Short
Display trigger “T” On
Display variable persistence 500 ms
Edge trigger coupling DC
Edge trigger level 0.0 V
Edge trigger slope Rising
Edge trigger source Channel 1
GPIB parameters No change
Unchanged
Horizontal – delay time/division 50 s
Horizontal – delay trigger position 50%
Horizontal – delay trigger record length 500 points (10 divs)
Horizontal – FastFrame TDS 500C & 700C: Off
Horizontal – FastFrame, frame count TDS 500C & 700C: 2
Horizontal – FastFrame, frame length 500
Horizontal – fit to screen Off
Horizontal – main time/division 500 s
Horizontal – main trigger position 50%
Horizontal – main trigger record length 500 points (10 divs)
Horizontal – time base Main only
Limit template ±V Limit ±H Limit
40 mdiv 40 mdiv
Limit template destination Ref1
Limit template source Ch1
Limit test sources Ch1 compared to Ref1; all others compared to none.
Limit testing – hardcopy if condition met Off
Limit testing – ring bell if condition met Off
Logic pattern trigger Ch4 (Ax2) input TDS 510A, 500C, 600B, & 700C: X (do not care)
Logic state trigger Ch4 (Ax2) input TDS 510A, 500C, 600B, & 700C: Rising edge
TDS Family Oscilloscope Programmer Manual D–3
Hardcopy Format · Layout Palette Port · Limit testing Off

Control Changed by Factory Init to
Logic trigger class TDS 500C, 600B, & 700C: Pattern
Logic trigger input (pattern and state)
TDS 510A, 500C, 600B, & 700C: Channel 1 = H (high), Channels 2 & 3 (Ax1) = X (do not care)
Logic trigger logic (pattern and state)
Logic trigger pattern time qualification
TDS 510A, 500C, 600B, & 700C: 5 ns 5 ns
Lower limit Upper limit
Logic trigger Setup/Hold times
Logic trigger sources and levels (Setup/Hold)
TDS 500C, 600B & 700C: Data Source = Channel 1 = 1.4 V Clock Source = Channel 2 = 1.4 V
(Source levels are clipped to 1.2 V at the default volts/division setting established by Factory Init)
Clock Edge = Rising
Logic trigger threshold (all channels) (pattern and state)
TDS 510A, 500C, 600B & 700C: 1.4 V (clipped to 1.2 V at the default volts/division setting when no 10X probe attached)
Logic trigger triggers when ... (pattern and state)
TDS 510A, 500C, 600B & 700C: Goes TRUE
Main trigger mode Auto
Main trigger type Edge
Math1 definition Ch 1 + Ch 2
Math1 extended processing TDS 510A, 500C, 600B & 700C: No extended processing
Math2 definition Ch 1 – Ch 2 (FFT of Ch 1 for instruments with Option 2F Advanced DSP Math)
Math2 extended processing TDS 510A, 500C, 600B & 700C: No extended processing
Math3 definition Inv of Ch 1
Math3 extended processing TDS 510A, 500C, 600B & 700C: No extended processing
Measure delay edges Both rising and forward searching
Measure delay to Channel 1 (Ch1)
D–4 TDS Family Oscilloscope Programmer Manual
Setup Hold

Control Changed by Factory Init to
Measure high ref 90% and 0 V (units)
Measure high-low setup Histogram
Measure low ref 10% and 0 V (units)
Measure mid ref 50% and 0 V (units)
Measure mid2 ref 50% and 0 V (units)
Pulse glitch filter state TDS 510A, 500C, 600B & 700C: On (Accept glitch)
Pulse glitch trigger polarity TDS 510A, 500C, 600B & 700C: Positive
Pulse glitch width TDS 510A, 500C, 600B & 700C: 2.0 ns
Pulse runt high threshold TDS 510A, 500C, 600B & 700C: 1.2 V
Pulse runt low threshold TDS 510A, 500C, 600B & 700C: 0.8 V
Pulse runt trigger polarity TDS 510A, 500C, 600B & 700C: Positive
Pulse runt triggers when ... TDS 510A, 500C, 600B & 700C: Occurs
Pulse runt width TDS 510A, 500C, 600B & 700C: 2.0 ns
Pulse slew rate delta time 2.0 ns
Pulse slew rate polarity Positive
Pulse slew rate thresholds
Trig if faster than 1.80 V 800 mV
Pulse slew rate triggers when ... Trig if faster than
Pulse timeout polarity TDS 500C & 600B: Either
Pulse timeout time TDS 500C & 600B: 2.0 ns
Pulse trigger class TDS 510A, 500C, 600B & 700C: Glitch
Pulse trigger level TDS 510A, 500C, 600B & 700C: 0.0 V
Pulse trigger source (Glitch, runt, and width, and timeout)
Pulse width lower limit TDS 510A, 500C, 600B & 700C: 2.0 ns
Pulse width trigger polarity TDS 510A, 500C, 600B & 700C: Positive
Pulse width trigger when TDS 510A, 500C, 600B & 700C: Within limits
Pulse width upper limit TDS 510A, 500C, 600B & 700C: 2.0 ns
Repetitive signal TDS 500C & 700C: On
RS-232 parameters No change
Saved setups No change
TDS Family Oscilloscope Programmer Manual D–5
Measure gating Off · Upper Lower

Control Changed by Factory Init to
Saved waveforms No change
Stop after R/S button
Vertical bandwidth (all channels) Full
Vertical coupling (all channels) DC
Vertical impedance (termination) (all channels) 1 M
Vertical offset (all channels) 0 V
Vertical position (all channels) 0 divs.
Vertical volts per division (all channels) 100 mV per division
Zoom dual TDS 400A, 500C, 600B, & 700C: Off
Zoom dual offset TDS 400A, 500C, 600B, & 700C: Minimum available
Zoom, dual window, selected graticule TDS 400A, 500C, 600B, & 700C: Upper
Zoom horizontal (all channels) TDS 510A: 1.0X TDS 400A, 500C, 600B, 700C: 2.0X
Zoom horizontal lock All
Zoom horizontal position (all channels) 50% = 0.5 (the middle of the display)
Zoom vertical (all channels) TDS 510A: 1.0X TDS 400A, 500C, 600B, 700C: 2.0X
Zoom vertical position (all channels) 0 divisions
D–6 TDS Family Oscilloscope Programmer Manual
Zoom graticule Upper · Zoom mode Off

Acronym for the American Standard Code for Information Interchange. Controllers transmit commands to the digitizing oscilloscope using ASCII character encoding.
A 7-bit code that identifies an instrument on the communication bus. The digitizing oscilloscope must have a unique address for the controller to recognize and transmit commands to it.
A standard notation system for command syntax diagrams. The syntax diagrams in this manual use BNF notation.
A computer or other device that sends commands to and accepts responses from the digitizing oscilloscope.
A mnemonic referring to the control line “End or Identify” on the GPIB interface bus. One of the two possible end-of-message terminators.
A generic acronym referring to the end-of-message terminator. The end-of-message terminator can be either an EOI or the ASCII code for line feed (LF).
A sampling mode in which the oscilloscope acquires signals over many repetitions of the event. The TDS Family Series Digitizing Oscilloscopes use a type of equivalent time sampling called random equivalent time sampling. It utilizes an internal clock that runs asynchronously with respect to the input signal and the signal trigger. The oscilloscope takes samples continuously, independent of the trigger position, and displays them based on the time difference between the sample and the trigger. Although the samples are taken sequentially in time, they are random with respect to the trigger.
An acquisition mode with which the oscilloscope can acquire signals of 2M, 4M, and 8M while maintaining waveform lengths limited to 500K. In other words, the acquisition data for a channel may be bigger than a waveform, Then, after the data is acquired, you can move to and display any portion of the data.
TDS Family Oscilloscope Programmer Manual Glossary–1

A sampling mode where the digitizing oscilloscope samples fast enough to completely fill a waveform record from a single trigger event. Use real-time sampling to capture single-shot or transient events.
Acronym for General Purpose Interface Bus, the common name for the communications interface system defined in IEEE Std 488.
Acronym for the Institute for Electrical and Electronic Engineers.
A computer language (distributed by Microsoft) that is based on the Beginner’s All-Purpose Symbolic Instruction Code.
A computer language (distributed by Microsoft) that is based on C.
A Tektronix custom command that initializes both waveform and setup memories. This overwrites any previously stored data.
Glossary–2 TDS Family Oscilloscope Programmer Manual

CH:PROBE?, 2–75 CH:PROBECAL?, 2–75 CH:PROBEFUNC:EXTATTEN, 2–76 CH:PROBEFUNC:EXTDBATTEN, 2–76 CH:SCALE, 2–77 CH:VOLTS, 2–78 Channel, command mnemonic, 2–7 CH, command mnemonic, 2–7 Clear Status, 2–79 CLEARMENU, 2–78 *CLS, 2–79 Command
Cursor position, 2–6 Math waveform, 2–7 MATH, 2–7 Measurement specifier, 2–7 MEAS, 2–7 POSITION, 2–6 Reference waveform, 2–7 REF, 2–7 Waveform, 2–7 , 2–7 Command syntax, 2–1
BNF (Backus-Naur form), 2–1 Commands, 1–1
Abbreviating, 2–4 Argument, 2–2 Block argument, 2–9 Common, 2–26, 2–28 Concatenating, 2–4 Header, 2–2 Message, 2–2 Mnemonic, 2–2 Query, 2–1 Rules for forming, 2–1 Separator, 2–2 Set, 2–1 Syntax, 2–1
Parts of, 1–1 Syntax diagrams, 1–1 Common command, 2–26, 2–28 Common GPIB commands
*CAL?, 2–69 *CLS, 2–79 Communication trigger, 2–273, 2–274, 2–275, 2–276,
2–277, 2–279, 2–280, 2–322 Concatenating, command, 2–4 Configuration, Command query, 2–180 Controller, Definition of, Glossary–1 Cursor command group, 2–15 Cursor commands
BNF (Backus-Naur form), 2–1 Command argument
CURSOR?, 2–79 CURSOR:FUNCTION, 2–80 CURSOR:HBARS?, 2–80 CURSOR:HBARS:DELTA?, 2–81 CURSOR:HBARS:POSITION, 2–81 CURSOR:HBARS:POSITIONPCNT, 2–82 CURSOR:HBARS:SELECT, 2–83 CURSOR:HBARS:UNITS, 2–83 CURSOR:MODE, 2–84 CURSOR:PAIRED, 2–85 CURSOR:PAIRED:HDELTA, 2–85 CURSOR:PAIRED:HPOS1, 2–86 CURSOR:PAIRED:HPOS2, 2–86 CURSOR:PAIRED:POSITION, 2–87 CURSOR:PAIRED:POSITIONPCNT, 2–87 CURSOR:PAIRED:SELECT, 2–88 CURSOR:PAIRED:UNITS, 2–89 CURSOR:PAIRED:VDELTA, 2–89 CURSOR:VBARS, 2–90 CURSOR:VBARS:DELTA?, 2–91 CURSOR:VBARS:POSITION, 2–91 CURSOR:VBARS:POSITIONPCNT, 2–92 CURSOR:VBARS:SELECT, 2–93 CURSOR:VBARS:UNITS, 2–94 CURSOR:VBARS:UNITSTring, 2–95 Cursor position, command mnemonic, 2–6 CURSOR?, 2–79
Numeric, 2–8 Quoted string, 2–8 Command Descriptions, 1–1 Command group
Acquisition, 2–13, 2–14 Application menu, 2–14 Calibration and diagnostic, 2–15 Cursor, 2–15 Display, 2–16 File system, 2–18 Hardcopy, 2–19 Horizontal, 2–20 Limit test, 2–22 Measurement, 2–24 Miscellaneous, 2–26 RS-232, 2–23, 2–27 Save and recall, 2–28 Status and error, 2–28 Trigger, 2–29 Vertical, 2–37 Waveform, 2–38 Zoom, 2–45 Command Groups, 1–1 Command mnemonic
Channel, 2–7 CH, 2–7
Index–2 TDS Family Oscilloscope Programmer Manual
Index

CURSOR:FUNCTION, 2–80 CURSOR:HBARS?, 2–80 CURSOR:HBARS:DELTA?, 2–81 CURSOR:HBARS:POSITION, 2–81 CURSOR:HBARS:POSITIONPCNT, 2–82 CURSOR:HBARS:SELECT, 2–83 CURSOR:HBARS:UNITS, 2–83 CURSOR:MODE, 2–84 CURSOR:PAIRED, 2–85 CURSOR:PAIRED:HDELTA, 2–85 CURSOR:PAIRED:HPOS1, 2–86 CURSOR:PAIRED:HPOS2, 2–86 CURSOR:PAIRED:POSITION, 2–87 CURSOR:PAIRED:POSITIONPCNT, 2–87 CURSOR:PAIRED:SELECT, 2–88 CURSOR:PAIRED:UNITS, 2–89 CURSOR:PAIRED:VDELTA, 2–89 CURSOR:VBARS, 2–90 CURSOR:VBARS:DELTA?, 2–91 CURSOR:VBARS:POSITION, 2–91 CURSOR:VBARS:POSITIONPCNT, 2–92 CURSOR:VBARS:SELECT, 2–93 CURSOR:VBARS:UNITS, 2–94 CURSOR:VBARS:UNITSTring, 2–95 CURVE, 2–96
DIAG:SELECT:DISPLAY, 2–111 DIAG:SELECT:FPANEL, 2–111 DIAG:STATE, 2–112 Diagram, syntax, 2–10 Disks included with this manual, 1–2 Display command group, 2–16 Display commands
CLEARMENU, 2–78 DISPLAY?, 2–113 DISPLAY:CLOCK, 2–113 DISPLAY:COLOR:CONTRAST, 2–114 DISPLAY:COLOR:MAP:item name:TO, 2–116 DISPLAY:COLOR:MAP:item:BYCONTENTS,
2–115 DISPLAY:COLOR:PALETTE:palette name:item
name, 2–119 DISPLAY:COLOR:PALETTE:palette name:RESET,
2–117 DISPLAY:COLOR:PALETTE:REGULAR, 2–117 DISPLAY:COLOR:PALETTE:RESETALL, 2–118 DISPLAY:DATE/TIME. See DISPLAY:CLOCK DISPLAY:FILTER, 2–121 DISPLAY:FORMAT, 2–122 DISPLAY:GRATICULE, 2–123 DISPLAY:INSTAVU:PERSISTENCE, 2–124 DISPLAY:INSTAVU:STYLE, 2–125 DISPLAY:INSTAVU:VARPERSIST, 2–125 DISPLAY:INTENSITY?, 2–126 DISPLAY:INTENSITY:CONTRAST, 2–126 DISPLAY:INTENSITY:OVERALL, 2–127 DISPLAY:INTENSITY:TEXT, 2–128 DISPLAY:INTENSITY:WAVEFORM, 2–128 DISPLAY:MODE, 2–129 DISPLAY:PERSISTENCE, 2–129 DISPLAY:STYLE, 2–130 DISPLAY:TRIGBAR, 2–131 DISPLAY:TRIGT, 2–132 MESSAGE, 2–239 MESSAGE:BOX, 2–240 MESSAGE:SHOW, 2–241 MESSAGE:STATE, 2–242 DISPLAY?, 2–113 DISPLAY:CLOCK, 2–113 DISPLAY:COLOR:CONTRAST, 2–114 DISPLAY:COLOR:MAP:item name:TO, 2–116 DISPLAY:COLOR:MAP:item:BYCONTENTS, 2–115 DISPLAY:COLOR:PALETTE:palette name:item name,
DATA, 2–97 DATA:DESTINATION, 2–99 DATA:ENCDG, 2–99 DATA:SOURCE, 2–101 DATA:START, 2–102 DATA:STOP, 2–103 DATA:TARGET, 2–104 DATA:WIDTH, 2–104 DATE, 2–105 DCL, C–2 *DDT, 2–106 Default Model(s), viii Delayed trigger, 2–265, 2–266, 2–267, 2–268, 2–269,
2–270, 2–271, 2–272 DELETE:SETUP, 2–106 DELETE:WAVEFORM, 2–107 DESE command, 2–108, 3–3 DESER register, 2–108, 2–246, 3–3 Device Clear, 2–4, C–2 DIAG:RESULT:FLAG?, 2–109 DIAG:RESULT:LOG?, 2–109 DIAG:SELECT:ACQUISITION, 2–110 DIAG:SELECT:ALL, 2–110 DIAG:SELECT:CPU, 2–111
2–119 DISPLAY:COLOR:PALETTE:palette name:RESET,
TDS Family Oscilloscope Programmer Manual Index–3
Index

DISPLAY:COLOR:PALETTE:PERSISTENCE, 2–117 DISPLAY:COLOR:PALETTE:REGULAR, 2–117 DISPLAY:COLOR:PALETTE:RESETALL, 2–118 DISPLAY:DATE/TIME. See DISPLAY:CLOCK DISPLAY:FILTER, 2–121 DISPLAY:FORMAT, 2–122 DISPLAY:GRATICULE, 2–123 DISPLAY:INSTAVU:PERSISTENCE, 2–124 DISPLAY:INSTAVU:STYLE, 2–125 DISPLAY:INSTAVU:VARPERSIST, 2–125 DISPLAY:INTENSITY?, 2–126 DISPLAY:INTENSITY:CONTRAST, 2–126 DISPLAY:INTENSITY:OVERALL, 2–127 DISPLAY:INTENSITY:TEXT, 2–128 DISPLAY:INTENSITY:WAVEFORM, 2–128 DISPLAY:MODE, 2–129 DISPLAY:PERSISTENCE, 2–129 DISPLAY:STYLE, 2–130 DISPLAY:TRIGBAR, 2–131 DISPLAY:TRIGT, 2–132
FILESYSTEM:COPY, 2–137 FILESYSTEM:CWD, 2–138 FILESYSTEM:DELETE, 2–138 FILESYSTEM:DELWARN, 2–139 FILESYSTEM:DIR, 2–140 FILESYSTEM:FORMAT, 2–140 FILESYSTEM:FREESPACE, 2–141 FILESYSTEM:MKDIR, 2–141 FILESYSTEM:OVERWRITE, 2–142 FILESYSTEM:PRINT, 2–142 FILESYSTEM:READFILE, 2–143 FILESYSTEM:RENAME, 2–144 FILESYSTEM:RMDIR, 2–144 FILESYSTEM:WRITEFILE, 2–145 FILESYSTEM:COPY, 2–137 FILESYSTEM:CWD, 2–138 FILESYSTEM:DELETE, 2–138 FILESYSTEM:DELWARN, 2–139 FILESYSTEM:DIR, 2–140 FILESYSTEM:FORMAT, 2–140 FILESYSTEM:FREESPACE, 2–141 FILESYSTEM:MKDIR, 2–141 FILESYSTEM:OVERWRITE, 2–142 FILESYSTEM:PRINT, 2–142 FILESYSTEM:READFILE, 2–143 FILESYSTEM:RENAME, 2–144 FILESYSTEM:RMDIR, 2–144 FILESYSTEM:WRITEFILE, 2–145 FITTOSCREEN, 2–171
Edge trigger, 2–282, 2–283, 2–284, 2–322 End or Identify, Glossary–1 EOI, Glossary–1 EOM, Glossary–1 EOM (end of message), 2–6 Equivalent-time sampling, random, Glossary–1 Error message, programming interface, 3–12 Error messages, 1–2 *ESE, 2–132, 3–3 ESER register, 2–132, 2–246, 3–3 *ESR?, 2–133 *ESR? query, 3–1 Event handling, 3–1, 3–6 Event query, 2–134 Event queue, 2–134, 3–5 EVENT?, 2–134 EVMSG?, 2–134 EVQTY?, 2–135 Example programs, 1–2
GET, C–2 Glitch trigger, 2–304, 2–305, 2–306, 2–307 Go to local, C–2 GPIB, Glossary–2
Configurations, 1–4 Connection rules, 1–4 EOM (end of message), 2–6 Function subsets, C–1 Group execute trigger, C–2 GTL, C–2
On disk, 1–2 Extended–Acquisition–Length mode, 2–41, Glossary–1
F
HARDCOPY, 2–146 Hardcopy command group, 2–19 Hardcopy commands
FACTORY, 2–136 Factory initialization settings, D–1–D–6 FASTFRAME, 2–168, 2–169, 2–170 File system command group, 2–18 File system commands
Index–4 TDS Family Oscilloscope Programmer Manual
Index

HARDCOPY:PALETTE, 2–151 HARDCOPY:PORT, 2–152 HARDCOPY:FILENAME, 2–147 HARDCOPY:FORMAT, 2–148 HARDCOPY:LAYOUT, 2–151 HARDCOPY:PALETTE, 2–151 HARDCOPY:PORT, 2–152 HDR, 2–153 HEADER, 2–153 Header
HORIZONTAL:MAIN:SCALE, 2–172 HORIZONTAL:MAIN:SECDIV, 2–173 HORIZONTAL:MODE, 2–173 HORIZONTAL:POSITION, 2–174 HORIZONTAL:RECORDLENGTH, 2–175 HORIZONTAL:RECORDSTART, 2–176 HORIZONTAL:ROLL, 2–177 HORIZONTAL:SCALE, 2–178 HORIZONTAL:SECDIV, 2–178 HORIZONTAL:TRIGGER?, 2–178 HORIZONTAL:TRIGGER:POSITION, 2–179 HORIZONTAL?, 2–160 HORIZONTAL:ACQDURATION?, 2–160 HORIZONTAL:ACQLENGTH?, 2–161 HORIZONTAL:CLOCK, 2–161 HORIZONTAL:CLOCK:MAXRATE, 2–162 HORIZONTAL:DELAY?, 2–163 HORIZONTAL:DELAY:MODE, 2–163 HORIZONTAL:DELAY:SCALE, 2–164 HORIZONTAL:DELAY:SECDIV, 2–165 HORIZONTAL:DELAY:TIME, 2–165 HORIZONTAL:DELAY:TIME?, 2–166 HORIZONTAL:DELAY:TIME:RUNSAFTER, 2–166 HORIZONTAL:DELAY:TIME:TRIGAFTER, 2–167 HORIZONTAL:EXTDACQ, 2–168 HORIZONTAL:FASTFRAME:COUNT, 2–168 HORIZONTAL:FASTFRAME:LENGTH, 2–169 HORIZONTAL:FASTFRAME:POSITION, 2–169 HORIZONTAL:FASTFRAME:STATE, 2–170 HORIZONTAL:FITTOSCREEN, 2–171 HORIZONTAL:MAIN?, 2–172 HORIZONTAL:MAIN:SCALE, 2–172 HORIZONTAL:MAIN:SECDIV, 2–173 HORIZONTAL:MODE, 2–173 HORIZONTAL:POSITION, 2–174 HORIZONTAL:RECORDLENGTH, 2–175 HORIZONTAL:RECORDSTART, 2–176 HORIZONTAL:ROLL, 2–177 HORIZONTAL:SCALE, 2–178 HORIZONTAL:SECDIV, 2–178 HORIZONTAL:TRIGGER?, 2–178 HORIZONTAL:TRIGGER:POSITION, 2–179
Command, 2–2, 2–153 Included in query response, 2–153, 2–344 Histogram commands
HISTOGRAM?, 2–154 HISTOGRAM:BOX, 2–155 HISTOGRAM:BOXPCNT, 2–156 HISTOGRAM:COUNT, 2–157 HISTOGRAM:DISPLAY, 2–157 HISTOGRAM:MODE, 2–158 HISTOGRAM:SIZE, 2–159 HISTOGRAM:SOURCE, 2–159 HISTOGRAM?, 2–154 HISTOGRAM:BOX, 2–155 HISTOGRAM:BOXPCNT, 2–156 HISTOGRAM:COUNT, 2–157 HISTOGRAM:DISPLAY, 2–157 HISTOGRAM:MODE, 2–158 HISTOGRAM:SIZE, 2–159 HISTOGRAM:SOURCE, 2–159 Horizontal command group, 2–20 Horizontal commands
HORIZONTAL?, 2–160 HORIZONTAL:ACQDURATION?, 2–160 HORIZONTAL:ACQLENGTH?, 2–161 HORIZONTAL:CLOCK, 2–161 HORIZONTAL:CLOCK:MAXRATE, 2–162 HORIZONTAL:DELAY?, 2–163 HORIZONTAL:DELAY:MODE, 2–163 HORIZONTAL:DELAY:SCALE, 2–164 HORIZONTAL:DELAY:SECDIV, 2–165 HORIZONTAL:DELAY:TIME, 2–165 HORIZONTAL:DELAY:TIME?, 2–166 HORIZONTAL:DELAY:TIME:RUNSAFTER,
2–166 HORIZONTAL:DELAY:TIME:TRIGAFTER, 2–167 HORIZONTAL:EXTDACQ, 2–168 HORIZONTAL:FASTFRAME:COUNT, 2–168 HORIZONTAL:FASTFRAME:LENGTH, 2–169 HORIZONTAL:FASTFRAME:POSITION, 2–169 HORIZONTAL:FASTFRAME:STATE, 2–170 HORIZONTAL:FITTOSCREEN, 2–171 HORIZONTAL:MAIN?, 2–172
ID?, 2–180 *IDN?, 2–180 IEEE, Glossary–2 IEEE Std 488.2-1987, 1–3, 2–1, 2–26, 2–28 Instrument setup, 1–3 Interface message, C–2
TDS Family Oscilloscope Programmer Manual Index–5
Index

MASK:MASK:POINTS, 2–198 MASK:MASKCOUNt?, 2–197 MASK:MASKNR_PT?, 2–197 MASK:SOURCE, 2–200 MASK:STANDARD, 2–200 MASK:TBPOSITION, 2–204 MASK?, 2–190 MASK:AUTOSET:MODE, 2–191 MASK:AUTOSET:OFFSETADJ, 2–191 MASK:COUNT, 2–192 MASK:COUNT:STATE, 2–193 MASK:COUNT:TOTAL, 2–193 MASK:COUNT:WAVEFORMS, 2–194 MASK:DISPLAY. See DISPLAY:CLOCK MASK:FILTER, 2–195 MASK:MASK, 2–196 MASK:MASK POINTSPcnt, 2–199 MASK:MASK?, 2–196 MASK:MASK:POINTS, 2–198 MASK:MASKCOUNt?, 2–197 MASK:MASKNR_PT?, 2–197 MASK:SOURCE, 2–200 MASK:STANDARD, 2–200 MASK:TBPOSITION, 2–204 Math waveform, command mnemonic, 2–7 MATH?, 2–204 MATH:DEFINE, 2–205 MATH:NUMAVg, 2–206 MATH:PROCessing, 2–207 MATH, command mnemonic, 2–7 Measurement command group, 2–24 Measurement commands
Limit test command group, 2–22 Limit Test commands
LIMIT:BELL, 2–181 LIMIT:COMPARE:CH, 2–181 LIMIT:COMPARE:MATH, 2–182 LIMIT:HARDCOPY, 2–183 LIMIT:STATE, 2–184 LIMIT:TEMPLATE, 2–185 LIMIT:TEMPLATE:DESTINATION, 2–185 LIMIT:TEMPLATE:SOURCE, 2–186 LIMIT:TEMPLATE:TOLERANCE: VERTICAL,
2–187 LIMIT:BELL, 2–181 LIMIT:COMPARE:CH, 2–181 LIMIT:COMPARE:MATH, 2–182 LIMIT:HARDCOPY, 2–183 LIMIT:STATE, 2–184 LIMIT:TEMPLATE, 2–185 LIMIT:TEMPLATE:DESTINATION, 2–185 LIMIT:TEMPLATE:SOURCE, 2–186 LIMIT:TEMPLATE:TOLERANCE: VERTICAL,
2–187 LLO, C–2 Local lock out, C–2 LOCK, 2–188 Logic trigger, 2–289, 2–290, 2–291, 2–292, 2–293,
2–294, 2–295, 2–296, 2–297, 2–298, 2–299, 2–300, 2–301, 2–302, 2–322 *LRN?, 2–189
MEASUREMENT?, 2–208 MEASUREMENT:CLEARSNAPSHOT, 2–208 MEASUREMENT:GATING, 2–209 MEASUREMENT:IMMED?, 2–210 MEASUREMENT:IMMED:DELAY?, 2–210 MEASUREMENT:IMMED:DELAY:DIRECTION,
2–210 MEASUREMENT:IMMED:DELAY:EDGE1, 2–211 MEASUREMENT:IMMED:DELAY:EDGE2, 2–212 MEASUREMENT:IMMED:SOURCE1, 2–213 MEASUREMENT:IMMED:SOURCE2, 2–214 MEASUREMENT:IMMED:TYPE, 2–214 MEASUREMENT:IMMED:UNITS?, 2–218 MEASUREMENT:IMMED:VALUE?, 2–218 MEASUREMENT:MEAS?, 2–219 MEASUREMENT:MEAS: DELAY?, 2–219 MEASUREMENT:MEAS: DELAY:DIREC-
Manual trigger, Simulation with command, 2–342 Mask commands
MASK?, 2–190 MASK:AUTOSET:MODE, 2–191 MASK:AUTOSET:OFFSETADJ, 2–191 MASK:COUNT, 2–192 MASK:COUNT:STATE, 2–193 MASK:COUNT:TOTAL, 2–193 MASK:COUNT:WAVEFORMS, 2–194 MASK:DISPLAY. See DISPLAY:CLOCK MASK:FILTER, 2–195 MASK:MASK, 2–196 MASK:MASK POINTSPcnt, 2–199 MASK:MASK?, 2–196
TION?, 2–220 MEASUREMENT:MEAS: DELAY:EDGE1,
Index–6 TDS Family Oscilloscope Programmer Manual
Index

MEASUREMENT:MEAS: DELAY:EDGE2,
MEASUREMENT:IMMED:VALUE?, 2–218 MEASUREMENT:MEAS?, 2–219 MEASUREMENT:MEAS: DELAY?, 2–219 MEASUREMENT:MEAS: DELAY:DIRECTION?,
2–221 MEASUREMENT:MEAS: DELAY:SOURCE1,
2–224 MEASUREMENT:MEAS: DELAY:SOURCE2,
2–220 MEASUREMENT:MEAS: DELAY:EDGE1, 2–221 MEASUREMENT:MEAS: DELAY:EDGE2, 2–221 MEASUREMENT:MEAS: DELAY:SOURCE1,
2–224 MEASUREMENT:MEAS: STATE, 2–225 MEASUREMENT:MEAS: TYPE, 2–226 MEASUREMENT:MEAS: UNITS?, 2–230 MEASUREMENT:MEAS: VALUES?, 2–230 MEASUREMENT:MEAS:COUNT?, 2–219 MEASUREMENT:MEAS:MAXIMUM?, 2–222 MEASUREMENT:MEAS:MEAN?, 2–223 MEASUREMENT:MEAS:MIN?, 2–223 MEASUREMENT:MEAS:STDDEV?, 2–226 MEASUREMENT:METHOD, 2–231 MEASUREMENT:REFLEVEL?, 2–231 MEASUREMENT:REFLEVEL: ABSO-
2–224 MEASUREMENT:MEAS: DELAY:SOURCE2,
2–224 MEASUREMENT:MEAS: STATE, 2–225 MEASUREMENT:MEAS: TYPE, 2–226 MEASUREMENT:MEAS: UNITS?, 2–230 MEASUREMENT:MEAS: VALUES?, 2–230 MEASUREMENT:MEAS:COUNT?, 2–219 MEASUREMENT:MEAS:MAXIMUM?, 2–222 MEASUREMENT:MEAS:MEAN?, 2–223 MEASUREMENT:MEAS:MIN?, 2–223 MEASUREMENT:MEAS:STDDEV?, 2–226 MEASUREMENT:METHOD, 2–231 MEASUREMENT:REFLEVEL?, 2–231 MEASUREMENT:REFLEVEL:ABSOLUTE:HIGH,
2–233 MEASUREMENT:REFLEVEL: ABSO-
LUTE:MID2, 2–234 MEASUREMENT:REFLEVEL: METHOD, 2–234 MEASUREMENT:REFLEVEL: PERCENT:HIGH,
2–232 MEASUREMENT:REFLEVEL:ABSOLUTE:LOW,
2–235 MEASUREMENT:REFLEVEL: PERCENT:LOW,
2–232 MEASUREMENT:REFLEVEL:ABSOLUTE:MID,
2–236 MEASUREMENT:REFLEVEL: PERCENT:MID,
2–233 MEASUREMENT:REFLEVEL:ABSOLUTE:MID2,
2–236 MEASUREMENT:REFLEVEL: PERCENT:MID2,
2–234 MEASUREMENT:REFLEVEL:METHOD, 2–234 MEASUREMENT:REFLEVEL:PERCENT:HIGH,
2–237 MEASUREMENT:REFLEVEL:ABSOLUTE:LOW,
2–235 MEASUREMENT:REFLEVEL:PERCENT:LOW,
2–232 MEASUREMENT:SNAPSHOT, 2–238 MEASUREMENT:STATISTICS:MODE, 2–238 MEASUREMENT:STATISTICS:WEIGHTING,
2–236 MEASUREMENT:REFLEVEL:PERCENT:MID,
2–236 MEASUREMENT:REFLEVEL:PERCENT:MID2,
2–239 Measurement specifier, command mnemonic, 2–7 MEASUREMENT?, 2–208 MEASUREMENT:CLEARSNAPSHOT, 2–208 MEASUREMENT:GATING, 2–209 MEASUREMENT:IMMED?, 2–210 MEASUREMENT:IMMED:DELAY?, 2–210 MEASUREMENT:IMMED:DELAY:DIRECTION,
2–237 MEASUREMENT:SNAPSHOT, 2–238 MEASUREMENT:STATISTICS:MODE, 2–238 MEASUREMENT:STATISTICS:WEIGHTING, 2–239 MEAS, command mnemonic, 2–7 MESSAGE, 2–239 Message
2–210 MEASUREMENT:IMMED:DELAY:EDGE1, 2–211 MEASUREMENT:IMMED:DELAY:EDGE2, 2–212 MEASUREMENT:IMMED:SOURCE1, 2–213 MEASUREMENT:IMMED:SOURCE2, 2–214 MEASUREMENT:IMMED:TYPE, 2–214 MEASUREMENT:IMMED:UNITS?, 2–218
Command, 2–2 Command terminator, 2–6 Handling, 3–1 Table of program messages, 3–12 MESSAGE:BOX, 2–240 MESSAGE:SHOW, 2–241 MESSAGE:STATE, 2–242
TDS Family Oscilloscope Programmer Manual Index–7
Index

Messages, Status and error, 1–2 Miscellaneous, LOCK, 2–188 Miscellaneous command group, 2–26 Miscellaneous commands
PPU, C–2 Programming Examples, 1–2, 4–1 *PSC, 2–246 *PSC command, 3–4 *PUD, 2–246 Pulse trigger, 2–303, 2–304, 2–305, 2–306, 2–307,
AUTOSET, 2–67 BELL, 2–68 DATE, 2–105 *DDT, 2–106 FACTORY, 2–136 HDR, 2–153 HEADER, 2–153 *IDN?, 2–180 *LRN?, 2–189 NEWPASS, 2–243 PASSWORD, 2–245 *PUD, 2–246 REM, 2–250 SET, 2–261 TEKSECURE, 2–263 TIME, 2–264 *TRG, 2–342 UNLOCK, 2–343 VERBOSE, 2–344 Mnemonic, command, 2–2 Models, Manual references to, viii
2–308, 2–309, 2–310, 2–311, 2–312, 2–313, 2–314, 2–315, 2–316, 2–317, 2–318, 2–319, 2–320, 2–321, 2–322
Query, Header in query response, 2–153, 2–344 Query command, 2–1 Queue
Event, 3–5 Output, 3–5 QuickBASIC, 4–1, Glossary–2 QuickC, 4–1, Glossary–2 Quoted string, command argument, 2–8
*RCL, 2–247 Real-time sampling, Glossary–2 Recall setting command, 2–247 RECALL:ACQDATA, 2–248 RECALL:SETUP, 2–248 RECALL:WAVEFORM, 2–249 Reference waveform, command mnemonic, 2–7 REF, command mnemonic, 2–7 Register
NEWPASS, 2–243 Numeric, command argument, 2–8
DESER, 2–108, 2–246, 3–3 ESER, 2–132, 2–246, 3–3 SBR, 2–263, 3–2 SESR, 2–79, 2–133, 2–243, 3–1 SRER, 2–246, 2–262, 3–4 REM, 2–250 Reset
*OPC, 2–243 Operation complete command, 2–243 Operation complete wait, 2–344 *OPT, 2–244 Option Identification Query, 2–244 Output queue, 3–5
Command, 2–250 Factory, 2–136 RS-232 command group, 2–23, 2–27 RS-232 commands
Parallel poll, C–2 Parts of commands, 1–1 PASSWORD, 2–245 Pattern trigger, 2–292, 2–293, 2–294, 2–295 POSITION, command mnemonic, 2–6 Power-on status clear command, 2–246 PPC, C–2 PPD, C–2 PPE, C–2
RS232?, 2–255 RS232:BAUD, 2–251 RS232:HARDFLAGGING, 2–252 RS232:PARITY, 2–253 RS232:SOFTFLAGGING, 2–253 RS232:STOPBITS, 2–254 RS232?, 2–255 RS232: BAUD, 2–251
Index–8 TDS Family Oscilloscope Programmer Manual
Index

RS232:HARDFLAGGING, 2–252 RS232:PARITY, 2–253 RS232:SOFTFLAGGING, 2–253 RS232:STOPBITS, 2–254 *RST, 2–250 Rules, command forming, 2–1 Runt trigger, 2–304, 2–307, 2–308, 2–309, 2–310,
Command query, 2–189 Query, 2–189 Recall command, 2–247 Save command, 2–255 Setup, Instrument preparation, 1–3 Slewrate trigger, 2–304, 2–312, 2–313, 2–314, 2–315,
2–316 SPD, C–2 SPE, C–2 *SRE command, 2–262, 3–4 SRER register, 2–246, 2–262, 3–4 SRQ, 1–2 State trigger, 2–300, 2–301 Status, 3–1 Status and error command group, 2–28 Status and error commands
*SAV, 2–255 Save and recall command group, 2–28 Save and recall commands
ALLOCATE?, 2–61 ALLOCATE:WAVEFORM?, 2–61 ALLOCATE:WAVEFORM:FREE?, 2–62 ALLOCATE:WAVEFORM:REF, 2–62 DELETE:SETUP, 2–106 DELETE:WAVEFORM, 2–107 *RCL, 2–247 RECALL:ACQDATA, 2–248 RECALL:SETUP, 2–248 RECALL:WAVEFORM, 2–249 *SAV, 2–255 SAVE:ACQDATA, 2–256 SAVE:SETUP, 2–256 SAVE:WAVEFORM, 2–257 SAVE:WAVEFORM:FILEFORMT, 2–258 Save setting command, 2–255 SAVE:ACQDATA, 2–256 SAVE:SETUP, 2–256 SAVE:WAVEFORM, 2–257 SAVE:WAVEFORM:FILEFORMT, 2–258 SBR register, 2–263, 3–2 SDC, C–2 SELECT?, 2–260 SELECT:, 2–260 SELECT:CONTROL?, 2–261 Selected device clear, C–2 Self test, 2–343 Separator, command, 2–2 Serial poll, 3–2
*OPT, 2–244 ALLEV?, 2–60 BUSY?, 2–68 *CLS, 2–79 DESE, 2–108, 3–3 *ESE, 2–132, 3–3 *ESR?, 2–133, 3–1 EVENT?, 2–134 EVMSG?, 2–134 EVQTY?, 2–135 ID?, 2–180 *OPC, 2–243 *PSC, 2–246, 3–4 *RST, 2–250 *SRE, 2–262, 3–4 *STB?, 2–263, 3–2 *TST?, 2–343 *WAI, 2–344 Status and Events, 1–2 *STB?, 2–263 *STB? query, 3–2 Syntax
BNF (Backus-Naur form), 2–1 Command, 2–1 Diagram, 2–10 Syntax and Commands, 1–1 Syntax diagrams, 1–1
Disable, C–2 Enable, C–2 Service request enable command, 2–262 Service request enable register, 2–262 Service Requests, 1–2 SESR register, 2–79, 2–133, 2–243, 3–1 Set command, 2–1 SET?, 2–261 Sethold trigger, 2–295, 2–296, 2–297, 2–298, 2–299
Table, programming message, 3–12 TCT, C–2 Tek Standard Codes and Formats 1989, 2–28 TEKSECURE, 2–263 TEKSecure, Glossary–2
TDS Family Oscilloscope Programmer Manual Index–9
Index · Setting · 2–311, 2–312

Terminator, command message, 2–6 TIME, 2–264 Time base, Manual trigger simulation, 2–342 Timeout trigger, 2–317, 2–318 *TRG, 2–342 TRIGGER, 2–264 Trigger command group, 2–29 Trigger commands
TRIGGER:MAIN:LOGIC:DATA:LEVEL, 2–297 TRIGGER:MAIN:LOGIC:FUNCTION, 2–290 TRIGGER:MAIN:LOGIC:INPUT?, 2–291 TRIGGER:MAIN:LOGIC:INPUT: CH?, 2–292 TRIGGER:MAIN:LOGIC:PATTERN: INPUT:CH4?,
2–293 TRIGGER:MAIN:LOGIC:PATTERN:
TRIGGER, 2–264 TRIGGER:DELAY, 2–265 TRIGGER:DELAY:BY, 2–266 TRIGGER:DELAY:EDGE?, 2–267 TRIGGER:DELAY:EDGE:COUPLING, 2–267 TRIGGER:DELAY:EDGE:SLOPE, 2–268 TRIGGER:DELAY:EDGE:SOURCE, 2–269 TRIGGER:DELAY:EVENTS?, 2–270 TRIGGER:DELAY:EVENTS:COUNT, 2–270 TRIGGER:DELAY:LEVEL, 2–271 TRIGGER:DELAY:TIME, 2–271 TRIGGER:DELAY:TYPE, 2–272 TRIGGER:MAIN, 2–273 TRIGGER:MAIN:COMMUNICATION:AMI:PUL-
RELIMIT, 2–295 TRIGGER:MAIN:LOGIC:SE-
THOLD:CLOCK:EDGE, 2–295 TRIGGER:MAIN:LOGIC:SE-
THOLD:CLOCK:SOURCE, 2–297 TRIGGER:MAIN:LOGIC:SE-
THOLD:DATA:SOURCE, 2–298 TRIGGER:MAIN:LOGIC:SETHOLD:HOLDTIME,
2–299 TRIGGER:MAIN:LOGIC:SETHOLD:SETTIME,
2–299 TRIGGER:MAIN:LOGIC:STATE: INPUT:CH4?,
SEFORM, 2–273 TRIGGER:MAIN:COMMUNICATION:BITRATE,
2–300 TRIGGER:MAIN:LOGIC:STATE:WHEN, 2–301 TRIGGER:MAIN:LOGIC:THRESHOLD?, 2–301 TRIGGER:MAIN:LOGIC:THRESHOLD:CH,
SEFORM, 2–276 TRIGGER:MAIN:COMMUNICATION:CODE,
2–302 TRIGGER:MAIN:LOGIC:WHEN, 2–302 TRIGGER:MAIN:MODE, 2–303 TRIGGER:MAIN:PULSE?, 2–303 TRIGGER:MAIN:PULSE:CLASS, 2–304 TRIGGER:MAIN:PULSE:GLITCH?, 2–305 TRIGGER:MAIN:PULSE:GLITCH:FILTER, 2–305 TRIGGER:MAIN:PULSE:GLITCH:POLARITY,
SEFORM, 2–277 TRIGGER:MAIN:COMMUNICATION:SOURCE,
2–279 TRIGGER:MAIN:COMMUNICATION:STAN-
DARD, 2–280 TRIGGER:MAIN:COMMUNICATION:THRESH-
2–306 TRIGGER:MAIN:PULSE:GLITCH:WIDTH, 2–307 TRIGGER:MAIN:PULSE:RUNT?, 2–307 TRIGGER:MAIN:PULSE:RUNT:POLARITY,
OLD:HIGH, 2–274 TRIGGER:MAIN:COMMUNICATION:THRESH-
OLD:LOW, 2–275 TRIGGER:MAIN:EDGE?, 2–282 TRIGGER:MAIN:EDGE:COUPLING, 2–283 TRIGGER:MAIN:EDGE:SLOPE, 2–284 TRIGGER:MAIN:EDGE:SOURCE, 2–284 TRIGGER:MAIN:HOLDOFF?, 2–285 TRIGGER:MAIN:HOLDOFF:ACTUAL?, 2–286 TRIGGER:MAIN:HOLDOFF:BY, 2–286 TRIGGER:MAIN:HOLDOFF:TIME, 2–287 TRIGGER:MAIN:HOLDOFF:VALUE, 2–287 TRIGGER:MAIN:LEVEL, 2–288 TRIGGER:MAIN:LOGIC?, 2–289 TRIGGER:MAIN:LOGIC:CLASS, 2–289 TRIGGER:MAIN:LOGIC:CLOCK:LEVEL, 2–296
2–309 TRIGGER:MAIN:PULSE:RUNT:THRESH-
OLD:BOTH, 2–309 TRIGGER:MAIN:PULSE:RUNT:THRESH-
OLD:HIGH, 2–310 TRIGGER:MAIN:PULSE:RUNT:THRESH-
OLD:LOW, 2–310 TRIGGER:MAIN:PULSE:RUNT:WHEN, 2–311 TRIGGER:MAIN:PULSE:RUNT:WIDTH, 2–312
Index–10 TDS Family Oscilloscope Programmer Manual
Index

TRIGGER:MAIN:VIDEO:LINE, 2–334 TRIGGER:MAIN:VIDEO:LINES, 2–335 TRIGGER:MAIN:VIDEO:NTSC, 2–335 TRIGGER:MAIN:VIDEO:PAL, 2–336 TRIGGER:MAIN:VIDEO:SCAN, 2–337 TRIGGER:MAIN:VIDEO:SCANPERIOD, 2–337 TRIGGER:MAIN:VIDEO:SOURCE, 2–338 TRIGGER:MAIN:VIDEO:STANDARD, 2–338 TRIGGER:MAIN:VIDEO:SYNC, 2–339 TRIGGER:MAIN:VIDEO:SYSTEM, 2–340 TRIGGER:MAIN:VIDEO:TIME, 2–341 TRIGGER:STATE?, 2–341 TRIGGER:DELAY, 2–265 TRIGGER:DELAY:BY, 2–266 TRIGGER:DELAY:EDGE?, 2–267 TRIGGER:DELAY:EDGE:COUPLING, 2–267 TRIGGER:DELAY:EDGE:SLOPE, 2–268 TRIGGER:DELAY:EDGE:SOURCE, 2–269 TRIGGER:DELAY:EVENTS?, 2–270 TRIGGER:DELAY:EVENTS:COUNT, 2–270 TRIGGER:DELAY:LEVEL, 2–271 TRIGGER:DELAY:TIME, 2–271 TRIGGER:DELAY:TYPE, 2–272 TRIGGER:MAIN, 2–273 TRIGGER:MAIN:COMMUNICATION:AMI:PULSE-
TIME, 2–312 TRIGGER:MAIN:PULSE:SLEWRATE:POLARITY,
2–313 TRIGGER:MAIN:PULSE:SLEWRATE:SLEW-
RATE, 2–314 TRIGGER:MAIN:PULSE:SLEWRATE:THRESH-
OLD:BOTH, 2–314 TRIGGER:MAIN:PULSE:SLEWRATE:THRESH-
OLD:LOW, 2–315 TRIGGER:MAIN:PULSE:SLEWRATE:WHEN,
2–316 TRIGGER:MAIN:PULSE:SOURCE, 2–317 TRIGGER:MAIN:PULSE:TIMEOUT:POLARITY,
2–317 TRIGGER:MAIN:PULSE:TIMEOUT:TIME, 2–318 TRIGGER:MAIN:PULSE:WIDTH?, 2–319 TRIGGER:MAIN:PULSE:WIDTH:HIGHLIMIT,
2–319 TRIGGER:MAIN:PULSE:WIDTH:LOWLIMIT,
2–320 TRIGGER:MAIN:PULSE:WIDTH:POLARITY,
2–320 TRIGGER:MAIN:PULSE:WIDTH:WHEN, 2–321 TRIGGER:MAIN:TYPE, 2–321 TRIGGER:MAIN:VIDEO?, 2–323 TRIGGER:MAIN:VIDEO:BY, 2–323 TRIGGER:MAIN:VIDEO:FIELD, 2–324, 2–325 TRIGGER:MAIN:VIDEO:FIELDTYPE, 2–326 TRIGGER:MAIN:VIDEO:FLEXFORMAT?, 2–326 TRIGGER:MAIN:VIDEO:FLEXFORMAT:FIELD,
2–275 TRIGGER:MAIN:COMMUNICATION:CMI:PULSE-
FORM, 2–276 TRIGGER:MAIN:COMMUNICATION:CODE, 2–277 TRIGGER:MAIN:COMMUNICATION:NRZ:PULSE-
FORM, 2–277 TRIGGER:MAIN:COMMUNICATION:SOURCE,
2–327 TRIGGER:MAIN:VIDEO:FLEXFORMAT:FRAM-
2–279 TRIGGER:MAIN:COMMUNICATION:STANDARD,
ERATE, 2–327 TRIGGER:MAIN:VIDEO:FLEXFORMAT:LINES,
2–280 TRIGGER:MAIN:COMMUNICATION:THRESH-
2–328 TRIGGER:MAIN:VIDEO:FLEXFORMAT:NEG-
OLD:HIGH, 2–274 TRIGGER:MAIN:COMMUNICATION:THRESH-
SYNCWIDTH, 2–329 TRIGGER:MAIN:VIDEO:FLEXFOR-
OLD:LOW, 2–275 TRIGGER:MAIN:EDGE?, 2–282 TRIGGER:MAIN:EDGE:COUPLING, 2–283 TRIGGER:MAIN:EDGE:SLOPE, 2–284 TRIGGER:MAIN:EDGE:SOURCE, 2–284 TRIGGER:MAIN:HOLDOFF?, 2–285 TRIGGER:MAIN:HOLDOFF:ACTUAL?, 2–286 TRIGGER:MAIN:HOLDOFF:BY, 2–286 TRIGGER:MAIN:HOLDOFF:TIME, 2–287 TRIGGER:MAIN:HOLDOFF:VALUE, 2–287 TRIGGER:MAIN:LEVEL, 2–288 TRIGGER:MAIN:LOGIC?, 2–289
MAT:V1STOPTIME, 2–330 TRIGGER:MAIN:VIDEO:FLEXFOR-
MAT:V2STARTTIME, 2–331 TRIGGER:MAIN:VIDEO:FLEXFOR-
MAT:V2STOPTIME, 2–331 TRIGGER:MAIN:VIDEO:HDTV, 2–332 TRIGGER:MAIN:VIDEO:HOLDOFF?, 2–333 TRIGGER:MAIN:VIDEO:HOLDOFF:VALUE,
TDS Family Oscilloscope Programmer Manual Index–11
Index · 2–333, 2–334

TRIGGER:MAIN:LOGIC:CLASS, 2–289 TRIGGER:MAIN:LOGIC:FUNCTION, 2–290 TRIGGER:MAIN:LOGIC:INPUT?, 2–291 TRIGGER:MAIN:LOGIC:INPUT: CH?, 2–292 TRIGGER:MAIN:LOGIC:PATTERN: INPUT:CH4?,
2–312 TRIGGER:MAIN:PULSE:SLEWRATE:POLARITY,
2–313 TRIGGER:MAIN:PULSE:SLEWRATE:SLEWRATE?,
2–292 TRIGGER:MAIN:LOGIC:PATTERN: WHEN, 2–293 TRIGGER:MAIN:LOGIC:PATTERN: WHEN:LESSLI-
2–314 TRIGGER:MAIN:PULSE:SLEWRATE:THRESH-
OLD:BOTH, 2–314 TRIGGER:MAIN:PULSE:SLEWRATE:THRESH-
MIT, 2–294 TRIGGER:MAIN:LOGIC:PATTERN: WHEN:MORE-
OLD:HIGH, 2–315 TRIGGER:MAIN:PULSE:SLEWRATE:THRESH-
LIMIT, 2–295 TRIGGER:MAIN:LOGIC:SETHOLD:CLOCK:EDGE,
OLD:LOW, 2–315 TRIGGER:MAIN:PULSE:SLEWRATE:WHEN, 2–316 TRIGGER:MAIN:PULSE:SOURCE, 2–317 TRIGGER:MAIN:PULSE:TIMEOUT:POLARITY,
2–295 TRIGGER:MAIN:LOGIC:SETHOLD:CLOCK:LEV-
EL, 2–296 TRIGGER:MAIN:LOGIC:SE-
2–317 TRIGGER:MAIN:PULSE:TIMEOUT:TIME, 2–318 TRIGGER:MAIN:PULSE:WIDTH?, 2–319 TRIGGER:MAIN:PULSE:WIDTH:HIGHLIMIT,
THOLD:CLOCK:SOURCE, 2–297 TRIGGER:MAIN:LOGIC:SETHOLD:DATA:LEVEL,
2–297 TRIGGER:MAIN:LOGIC:SE-
2–319 TRIGGER:MAIN:PULSE:WIDTH:LOWLIMIT, 2–320 TRIGGER:MAIN:PULSE:WIDTH:POLARITY, 2–320 TRIGGER:MAIN:PULSE:WIDTH:WHEN, 2–321 TRIGGER:MAIN:TYPE, 2–321 TRIGGER:MAIN:VIDEO?, 2–323 TRIGGER:MAIN:VIDEO:BY, 2–323 TRIGGER:MAIN:VIDEO:FIELD, 2–324, 2–325 TRIGGER:MAIN:VIDEO:FIELDTYPE, 2–326 TRIGGER:MAIN:VIDEO:FLEXFORMAT?, 2–326 TRIGGER:MAIN:VIDEO:FLEXFORMAT:FIELD,
2–299 TRIGGER:MAIN:LOGIC:SETHOLD:SETTIME,
2–299 TRIGGER:MAIN:LOGIC:STATE: INPUT:CH4?,
2–300 TRIGGER:MAIN:LOGIC:STATE:WHEN, 2–301 TRIGGER:MAIN:LOGIC:THRESHOLD?, 2–301 TRIGGER:MAIN:LOGIC:THRESHOLD, 2–302 TRIGGER:MAIN:LOGIC:WHEN, 2–302 TRIGGER:MAIN:MODE, 2–303 TRIGGER:MAIN:PULSE?, 2–303 TRIGGER:MAIN:PULSE:CLASS, 2–304 TRIGGER:MAIN:PULSE:GLITCH?, 2–305 TRIGGER:MAIN:PULSE:GLITCH:FILTER, 2–305 TRIGGER:MAIN:PULSE:GLITCH:POLARITY,
ATE, 2–327 TRIGGER:MAIN:VIDEO:FLEXFORMAT:LINES,
2–328 TRIGGER:MAIN:VIDEO:FLEXFORMAT:NEG-
SYNCWIDTH, 2–329 TRIGGER:MAIN:VIDEO:FLEXFORMAT:V1START-
2–306 TRIGGER:MAIN:PULSE:GLITCH:WIDTH, 2–307 TRIGGER:MAIN:PULSE:RUNT?, 2–307 TRIGGER:MAIN:PULSE:RUNT:POLARITY, 2–308 TRIGGER:MAIN:PULSE:RUNT:THRESHOLD?,
TIME, 2–329 TRIGGER:MAIN:VIDEO:FLEXFORMAT:V1STOP-
TIME, 2–330 TRIGGER:MAIN:VIDEO:FLEXFORMAT:V2START-
2–309 TRIGGER:MAIN:PULSE:RUNT:THRESH-
TIME, 2–331 TRIGGER:MAIN:VIDEO:FLEXFORMAT:V2STOP-
OLD:BOTH, 2–309 TRIGGER:MAIN:PULSE:RUNT:THRESH-
TIME, 2–331 TRIGGER:MAIN:VIDEO:HDTV, 2–332 TRIGGER:MAIN:VIDEO:HOLDOFF?, 2–333 TRIGGER:MAIN:VIDEO:HOLDOFF:VALUE, 2–333,
2–310 TRIGGER:MAIN:PULSE:RUNT:WHEN, 2–311 TRIGGER:MAIN:PULSE:RUNT:WIDTH, 2–312
2–334 TRIGGER:MAIN:VIDEO:LINE, 2–334 TRIGGER:MAIN:VIDEO:LINES, 2–335
Index–12 TDS Family Oscilloscope Programmer Manual
Index

TRIGGER:MAIN:VIDEO:NTSC, 2–335 TRIGGER:MAIN:VIDEO:PAL, 2–336 TRIGGER:MAIN:VIDEO:SCAN, 2–337 TRIGGER:MAIN:VIDEO:SCANPERIOD, 2–337 TRIGGER:MAIN:VIDEO:SOURCE, 2–338 TRIGGER:MAIN:VIDEO:STANDARD, 2–338 TRIGGER:MAIN:VIDEO:SYNC, 2–339 TRIGGER:MAIN:VIDEO:SYSTEM, 2–340 TRIGGER:MAIN:VIDEO:TIME, 2–341 TRIGGER:STATE?, 2–341 *TST? query, 2–343
*WAI, 2–344 Wait for operation complete, 2–344 Warranted Characteristics, Listed, 2–42 Waveform, command mnemonic, 2–7 Waveform command group, 2–38 Waveform commands
CURVE, 2–96 DATA, 2–97 DATA:DESTINATION, 2–99 DATA:ENCDG, 2–99 DATA:SOURCE, 2–101 DATA:START, 2–102 DATA:STOP, 2–103 DATA:TARGET, 2–104 DATA:WIDTH, 2–104 WAVFRM?, 2–345 WFMPRE?, 2–345 WFMPRE:?, 2–353 WFMPRE::NR_PT, 2–354 WFMPRE::PT_FMT, 2–354 WFMPRE::PT_OFF, 2–355 WFMPRE::WFID, 2–356 WFMPRE::XINCR, 2–356 WFMPRE::XUNIT, 2–357 WFMPRE::XZERO, 2–358 WFMPRE::YMULT, 2–358 WFMPRE::YOFF, 2–359 WFMPRE::YUNIT, 2–359 WFMPRE::YZERO, 2–360 WFMPRE:BIT_NR, 2–346 WFMPRE:BN_FMT, 2–347 WFMPRE:BYT_NR, 2–347 WFMPRE:BYT_OR, 2–348 WFMPRE:CRVCHK, 2–352 WFMPRE:ENCDG, 2–349 WFMPRE:NR_PT, 2–352 WFMPRE:PT_FMT, 2–349 WFMPRE:PT_OFF, 2–350 WFMPRE:WFID, 2–352 WFMPRE:XINCR, 2–351 WFMPRE:XMULT, 2–352 WFMPRE:XOFF, 2–352 WFMPRE:XUNIT, 2–352 WFMPRE:YMULT, 2–351 WFMPRE:YOFF, 2–351 WFMPRE:YUNIT, 2–352 WFMPRE:YZERO, 2–352 WFMPRE:ZMULT, 2–352 WFMPRE:ZOFF, 2–352 WFMPRE:ZUNIT, 2–352
UNL, C–2 Unlisten, C–2 UNLOCK, 2–343 UNT, C–2 Untalk, C–2
MATH?, 2–204 MATH:DEFINE, 2–205 MATH:NUMAVg, 2–206 MATH:PROCessing, 2–207 Vertical bar cursors, 2–90 Vertical command group, 2–37 Vertical commands
CH?, 2–69 CH:BANDWIDTH, 2–70 CH:COUPLING, 2–71 CH:DESKEW, 2–72 CH:IMPEDANCE, 2–72 CH:OFFSET, 2–73 CH:POSITION, 2–74 CH:PROBE?, 2–75 CH:PROBECAL?, 2–75 CH:PROBEFUNC:EXTATTEN, 2–76 CH:PROBEFUNC:EXTDBATTEN, 2–76 CH:SCALE, 2–77 CH:VOLTS, 2–78 SELECT?, 2–260 SELECT:, 2–260 SELECT:CONTROL?, 2–261 Video trigger, 2–322, 2–323, 2–324, 2–325, 2–326,
2–327, 2–328, 2–329, 2–330, 2–331, 2–332, 2–333, 2–334, 2–335, 2–336, 2–337, 2–338, 2–339, 2–340, 2–341
TDS Family Oscilloscope Programmer Manual Index–13
Index · VERBOSE, 2–344 Vertical

WFMPRE:ZZERO, 2–352 WAVFRM?, 2–345 , command mnemonic, 2–7 WFMPRE?, 2–345 WFMPRE:?, 2–353 WFMPRE::NR_PT, 2–354 WFMPRE::PT_FMT, 2–354 WFMPRE::PT_OFF, 2–355 WFMPRE::WFID, 2–356 WFMPRE::XINCR, 2–356 WFMPRE::XUNIT, 2–357 WFMPRE::XZERO, 2–358 WFMPRE::YMULT, 2–358 WFMPRE::YOFF, 2–359 WFMPRE::YUNIT, 2–359 WFMPRE::YZERO, 2–360 WFMPRE:BIT_NR, 2–346 WFMPRE:BN_FMT, 2–347 WFMPRE:BYT_NR, 2–347 WFMPRE:BYT_OR, 2–348 WFMPRE:CRVCHK, 2–352 WFMPRE:ENCDG, 2–349 WFMPRE:NR_PT, 2–352 WFMPRE:PT_FMT, 2–349 WFMPRE:PT_OFF, 2–350 WFMPRE:WFID, 2–352 WFMPRE:XINCR, 2–351 WFMPRE:XMULT, 2–352 WFMPRE:XOFF, 2–352 WFMPRE:XUNIT, 2–352 WFMPRE:YMULT, 2–351 WFMPRE:YOFF, 2–351
WFMPRE:YUNIT, 2–352 WFMPRE:YZERO, 2–352 WFMPRE:ZMULT, 2–352 WFMPRE:ZOFF, 2–352 WFMPRE:ZUNIT, 2–352 WFMPRE:ZZERO, 2–352 Width trigger, 2–304, 2–319, 2–320, 2–321
ZOOM, 2–360 Zoom command group, 2–45 Zoom commands
ZOOM, 2–360 ZOOM:DUAL, 2–361 ZOOM:DUAL:OFFSET, 2–361 ZOOM:GRATICULE, 2–362 ZOOM:HORIZONTAL:LOCK, 2–363 ZOOM:HORIZONTAL:POSITION, 2–363 ZOOM:HORIZONTAL:SCALE, 2–364 ZOOM:STATE, 2–365 ZOOM:VERTICAL:POSITION, 2–366 ZOOM:VERTICAL:SCALE, 2–366 ZOOM GRATICULE, 2–362 ZOOM:DUAL, 2–361 ZOOM:DUAL:OFFSET, 2–361 ZOOM:HORIZONTAL:LOCK, 2–363 ZOOM:HORIZONTAL:POSITION, 2–363 ZOOM:HORIZONTAL:SCALE, 2–364 ZOOM:STATE, 2–365 ZOOM:VERTICAL:POSITION, 2–366 ZOOM:VERTICAL:SCALE, 2–366
Index–14 TDS Family Oscilloscope Programmer Manual
Index
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.