Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes
that in all pre viously published material. Specificat ions and pri ce change privileges reserved.
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
WaveAlert, and e*Scope are trademarks of Tektronix, Inc.
Contacting Tektronix
Tektronix, Inc.
14200 SW Karl Braun Drive
P.O. Box 500
Beaverton, OR 97077
USA
For product information, sales, service, and technical support:
HIn North America, call 1-800-833-9200.
HWorldwide, visit www.tektronix.com to find contacts in your area.
Table of Contents
Preface
Related Manualsvii.................................................
Getting Started
Overview of the Manual1--2...........................................
Communication Modules1--4..........................................
Installing a Communication Module1--6.................................
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
v
Table of Contents
vi
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Preface
Related Manuals
This manual documents the commands for remotely controlling your oscilloscope. With this information, you can write computer programs to perform
functions, such as setting the front--panel controls, taking measurements,
performing statistical calculations, or exporting data for use in other programs.
The following documents are available for download from the Manuals Finder
Web site at www.tektronix.com:
TDS3000C Series Digital Phosphor Oscilloscopes User Manual. Information
about installing and operating your oscilloscope.
TDS3000C Series Digital Phosphor Oscilloscopes Technical Reference.
Oscilloscope specifications and a performance verification procedure.
TekVISA Programmer Manual. Description of TekVISA, the Tektronix
implementation of the VISA Application Programming Interface (API).
TekVISA is industry--compliant software for writing interoperable oscilloscope
drivers in a variety of Application Development Environments (ADEs).
TDS3000B Series Digital Phosphor Oscilloscopes User Manual. Information
about installing and operating your oscilloscope.
TDS3000B Series Digital Phosphor Oscilloscopes Technical Reference.
Oscilloscope specifications and a performance verification procedure.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
vii
Preface
viii
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Getting Started
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 get you started with programming the oscilloscope, this section includes the
following:
HOverview of the Manual summarizes the type of programming information
contained in each major section of this manual (page 1--2).
HInstalling a Communication Module provides instructions to install one of
the optional communication modules (page 1-- 6).
HConnector Locations shows the RS-232 and GPIB connector locations on
the back panel of the TDS3000B and TDS3000C oscilloscopes (page 1--7).
HSetting Up Ethernet Remote Communications describes setting up for
Ethernet 10baseT remote control, including connecting the oscilloscope and
setting the appropriate front-panel controls (page 1--8).
HSetting Up GPIB Remote Communications describes setting up for GPIB
remote control, including connecting the oscilloscope and setting the
appropriate front-panel controls (page 1--18).
HSetting Up RS-232 Remote Communications describes setting up for RS-232
remote control, including connecting the oscilloscope and setting the
appropriate front-panel controls (page 1--21).
HComparing GPIB and RS-232 compares the characteristics of the GPIB and
RS-232 interfaces (page 1--26).
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 1
Getting Started
Overview of the Manual
The information contained in each major section of this manual is described
below.
Syntax and Commands
Application Menu Commands
Zoom
Alias Commands
A
A
A
A
A
A
A
Acquisition Commands
A
A
ACQuire:MODe
A
ACQuire:NUMACq?
A
ACQuire:NUMAVg
A
ACQuire:NUMEnv
A
A
ACQuire:STATE
ACQuire:STOPAfter
The Syntax and Commands chapter describes the structure and content of the
messages your program sends to the oscilloscope. Figure 1--1 shows a syntax
diagram and command parts as described in the Command Syntax subsection.
Command Parts
Header
Comma
SAVe:WAVEformCH1,REF3
Mnemonics
Figure 1- 1: Common message elements
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 functional area. The Command Descriptions section arranges commands
alphabetically (Figure 1--2).
ACQuire:NUMACq? (Query Only)
Zoom
ACQuire:MODe
S
G
S
G
E
E
ArgumentsSpace
ACQuire? (Query Only)
Syntax:...
Group:...
Examples:...
Commands Grouped in Functional AreasCommands Listed Alphabetically
and
Figure 1- 2: Functional groupings and an alphabetical list of commands
1- 2
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Getting Started
Status and Events
Your program may request information from the oscilloscope. The oscilloscope
provides information in the form of status and error messages. Figure 1--3 on
page 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
as the Controller.
The oscilloscope sends status and
event reports using a communications
module or the Ethernet port built--in on
TDS3000B/TDS3000C series models.
GPIB Cable
Figure 1- 3: Service Requests (SRQs) provide for event (interrupt) driven programs
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 3
Getting Started
Communication Modules
Communication modules let you communicate with, or remotely control, your
TDS3000, TDS3000B, and TDS3000C Series oscilloscopes.
Table 1--1 lists the available communication modules. Figure 1--4 shows the
connector configuration for each module.
Table 1- 1: Communication modules
Communication module
TDS3EMThis communication module adds Ethernet 10baseT local area network
TDS3GMThis communication module adds GPIB and RS-232 ports to all TDS3000
Description
(LAN) and RS-232 ports to your TDS3000 Series oscilloscope. You can use
the Ethernet port for remote programming or printing to a LAN printer.
Communication modules are user-instal lable. All TDS3000B Series and
TDS3000C oscilloscopes have a built-in Ethernet port.
oscilloscopes. You can attach a printer to these ports or use them for remote
programmability. Communication modules are user-installable.
TDS3VMThis communication module adds VGA and RS-232 ports to all TDS3000
oscilloscopes. You can attach a printer to the RS-232 port or use it for
remote programmability. You can attach a monitor to the VGA port to
enhance viewing the screen from a distance. Communication modules are
user-installable.
TDS3GVThis communication module adds VGA, GPIB, and RS-232 ports to all
TDS3000 oscilloscopes. You can attach a printer to these ports or use them
for remote programmability. You can attach a monitor to the VGA port to
enhance viewing the screen from a distance. Communication modules are
user-installable.
1- 4
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Getting Started
RS-232
RS-232
RS-232
VGA
TDS3EM
TDS3GM
TDS3VM
TDS3GV
Ethernet
VGA
GPIB
GPIB
RS-232
Figure 1- 4: Communication module connectors
The TDS3EM Ethernet Communication Module (TDS3000 Series only) has a set
of four status LEDs. Figure 1--5 identifies each LED and describes its purpose.
LINKTXRX
CLSN
LINK: Indicates Ethernet connection when lit.
TX: On when oscilloscope is transmitting data.
RX: On when oscilloscope is receiving data.
CLSN: On when oscilloscope is attempting to transmit and receive at the same time.
Figure 1- 5: TDS3EM LEDs
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 5
Getting Started
Installing a Communication Module
CAUTION. To avoid damage to the oscilloscope or communication module,
observe all ESD precautions described in the User manual.
NOTE. Do not install a TDS3EM module into a TDS3000B Series or TDS3000C
Series oscilloscope. Installing the TDS3EM module will cause both the built-in
Ethernet port and the module’s Ethernet port to stop functioning.
To install one of the optional communication modules, follow these steps:
1. Turn the oscilloscope power off.
2. Push down on the latching tab to remove the blank cover.
3. Slide the communication module into the compartment until the internal
connectors are seated and the latching tab locks.
4. Turn power on. The communication module is now ready for your use.
To remove a communication module, follow these steps:
1. Turn the oscilloscope power off.
2. Push down on the latching tab and then use a small screwdriver to alternately
pry out the sides of the communication module.
3. Slide out the communication module and store it in an ESD-shielded bag
Install the blank cover if no other communication module is to be installed.
Latching tab
1- 6
Figure 1- 6: Communication module mounting location
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Connector Locations
Getting Started
Figure 1--7 shows the location of the installed communication module, as well as
the rear-panel connectors. The built-in Ethernet port and External trigger are only
available with the TDS3000B and TDS3000C Series models.
Power input
Parallel printer port
TDS3000/TDS3000B
Communication Module
Figure 1- 7: Communication module location
Ethernet port
TDS3000B/TDS3000C
External trigger
TDS3000B/TDS3000C
DC power output
TDS3000/TDS3000B
+14.2 V DC
≤400 mA
Ground terminal
CAL switch
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 7
Getting Started
Setting Up Ethernet Remote Communications
The following sections describe how to set up the Ethernet communications for
network hard copy printing and remote programmability. The Ethernet port
requires a straight-through 10BaseT cable with RJ-45 connector. No transceiver
is necessary .
Contacting Your Network
Administrator
Ethernet Setup Form for
Ethernet Hardware address:::::
(User: copy this address from the UTILITY > System: I/O > Ethernet Network Settings > Change Instrument Settings
screen before sending this form to the network administrator)
Type of IP address requested: Dynamic (DHCP/BOOTP) -Static -
(User: See page G--1 of the TDS3000C Series DPO Oscilloscope User Manual for information on dynamic and static IP
addresses)
Settings (from network admin.):
1
Instrument Name___________________
Instrument (IP) Address______.______.______.______
Domain Name: __________________________
DNS IP Address: ______.______.______.______
Gateway IP Address: ______.______.______.______
Subnet mask ______.______.______.______
HTTP Port:________
To connect the oscilloscope to the network, you need to obtain information from
your network administrator. For your convenience, make two photocopies of the
form shown below and send them to your network administrator to fill in. The
administrator can then return one copy and keep the other copy for filing.
1- 8
2
(User: Enter these values on the UTILITY > I/O > Ethernet Network Settings > Change Instr ument Settings
screen)
Network Administrator: Please provide network information about the
following printer:
Printer Location: ____________________________________________
Printer Make: _________________ Model: ______________________
(User: fill in above printer information before sending form)
Printer Network Name: ______________
Printer Server Name: ________________
Print Server IP Address: _____._____._____._____
(User: Enter above information on the UTILITY > I/O > Ethernet Printer Settings > Add Printer screen.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Getting Started
The Ethernet Menus
Push the UTILITY button, then push the System bottom button to select I/O.
The oscilloscope displays the I/O menu, as shown in Figure 1--8, which contains
the Ethernet Network Settings and Ethernet Printer Settings bottom buttons.
Figure 1- 8: The Ethernet Network Settings menu
Ethernet Network Settings Menu. Figure 1--9 shows the Ethernet Change
Instrument Settings screen. Table 1--2 describes the Ethernet Network Settings
fields. The procedures on page 1--13 (for networks that support DHCP/BOOTP)
and 1--14 (for networks that do not support DHCP/BOOTP) describe how to set
up the oscilloscope to communicate on your network using the appropriate
instrument IP information from your network administrator.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 9
Getting Started
Figure 1- 9: The Change Instrument Settings screen
Table 1- 2: Ethernet Network Settings side menu
SideField/valueDescription
Change Instrument
Settings
Ethernet Address:The factory-set Ethernet address for this
module or instrument. This field cannot be
edited.
Instrument Name:An alphanumeric label assigned to the
oscilloscope for easier network reference.
Check with your network administrator to
determine instrument name restrictions and
that the instrument name you request does not
already exist.
User Password:A password that causes the oscilloscope
e*Scope web server to prompt for user
authentication before allowing ethernet
access. Access is permitted for the duration of
the network browser session. Leaving this
blank allows any browser to access the
oscilloscope.
1- 10
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Table 1- 2: Ethernet Network Settings side menu (Cont.)
SideDescriptionField/value
Change Instrument
Settings (cont.)
Instrument IP
Address:
Domain Name:The name of the domain to which the
A unique Internet Protocol (IP) address that
identifies the oscilloscope. You must enter an
IP address in order for the oscilloscope to
communicate with the network. Obtain an
instrument IP address from your network
administrator.
If your network supports DCHP/BOOTP
protocols, then you can also set DCHP/
BOOTP to ON and let the oscilloscope
automatically obtain a dynamic IP address
from the network. Dynamic IP addresses can
change each time the oscilloscope is turned
on.
oscilloscope is attached. Although not required
to communicate with the network, the domain
name is used to assist with printer communications. Obtain the domain name (if
necessary) from your network administrator.
Getting Started
DNS IP Address:The IP address of the domain name system
(DNS). Although not required to communicate
with the network, the DNS IP address is used
to assist with printer communications. Obtain
the DNS IP address (if necessary) from your
network administrator.
Gateway IP Address:Obtain the gateway IP address from your
network administrator.
Subnet Mask:Obtain the subnet mask value from your
network administrator.
HTTP Port:The HTTP Port field sets the network http
socket value for the oscilloscope. This field
lets you set up the oscilloscope as an e*Scope
web server on a port ot her than the default
port 80. This is useful for avoiding conflicts
with existing web servers that use the same IP
address through a router.
DHCP/BOOTPOnOffEnables or disables Dynamic Host Configura-
tion Protocol (DHCP) and BOOTP support.
DHCP is software that automatically assigns
IP addresses to devices logging onto the
network. Your network administrator can tell
you whether DHCP/BOOTP should be on or
off.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 11
Getting Started
Table 1- 2: Ethernet Network Settings side menu (Cont.)
SideDescriptionField/value
DebugOnOffHelps in debugging network communications
problems by displaying the last 30 characters
transmitted and received by the oscilloscope.
Only displays information when receiving and
responding to remote commands or software
such as WaveStar for Oscilloscopes (TDS3000
Series, TDS3000B Series only).
Test ConnectionPushing this button tests the oscilloscope
connection to the Ethernet. The oscilloscope
effectively “pings” the network to locate itself.
While testing, the menu displays Testing... .If
the oscilloscope can locate itself on the
network, the menu displays OK.Ifthe
oscilloscope cannot locate it self, the menu
displays No Response.
Table 1--3 describes the Ethernet Printer Settings menu. The procedure on
page 1--15 describes how to enter network printer settings. Note that you do not
need to be connected to the network to add printer setup information.
Table 1- 3: Ethernet Printer Settings side menu
SideField/valueDescription
Add PrinterPrinter NameThe name of a print er queue on the desig-
nated print server. Obtain this information from
your network administrator.
Server NameThe name of the server running the printer
queue software.
your network administrator.
Server IP addressThe IP address of the server running the
printer queue software.
tion from your network administrator.
Rename PrinterSelected printer in listLets you edit the selected printer’s settings.
Delete PrinterSelected printer in listDeletes the selected printer information from
the oscilloscope.
Confirm DeleteOnOffEnables or disables the oscilloscope from
displaying a confirmation window before
deleting a printer configuration.
1
If you have set the domain name and DNS IP address in the Change Instrument
Settings of the Ethernet Network Settings menu, then all you need to enter is either
the server name or the server IP address. The DNS server will look up the missing
information.
1
Obtain this information from
1
Obtain this informa-
1- 12
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Getting Started
Setting the Oscilloscope
Ethernet Parameters
You need to set two types of Ethernet parameters for the oscilloscope; the
oscilloscope IP address and one or more remote printer addresses. The oscilloscope IP address uniquely identifies the oscilloscope to other devices on the
network, and is required for the oscilloscope to communicate over the network.
The remote printer addresses enable you to send hard copy printouts to a
specified network printer. You can store multiple network printer configurations.
Ethernet Network Settings: DHCP/BOOTP supported. The purpose of a DHCP
(Dynamic Host Configuration Protocol) or BOOTP (Boot Protocol) server is to
issue an IP address to a network device that requests an address. The IP address
enables that device to communicate with the network. This is similar to the
personal computer Plug&Play concept.
The following procedure assumes you have installed the TDS3EM Communication Module and cable into a TDS3000 Series oscilloscope.
For TDS3000B and TDS 3000C series oscilloscopes, a RJ-45 connector, with
10BaseT cable attached to the oscilloscope Ethernet port, is required.
If your network supports DHCP/BOOTP, perform the following steps:
1. Power on the oscilloscope.
2. Push the UTILITY front panel button.
3. Push the System screen button to select I/O.
4. Push the Ethernet Network Settings screen button.
5. Push the Change Instrument Settings side button to display the Instrument
Setup dialog box.
6. Push the DHCP/BOOTP side button to select On. The screen displays the
clock icon while it is talking with the network to obtain an IP address for the
oscilloscope. This step should only take a few moments, but the actual time
will vary depending on your network. The clock icon disappears when the
task is finished.
To verify that the network assigned an IP address to the oscilloscope, push
the Change Instrument Settings side button to display the oscilloscope
Ethernet settings. The instrument IP address field should now be filled in.
If the instrument IP address field is blank, then the oscilloscope was not able
to obtain an IP address from the network. Contact your network administrator for help.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 13
Getting Started
NOTE. If the DHCP/BOOTP server assigns a dynamic IP address, then the value
in the Instrument IP Address field may be different each time you power on the
oscilloscope. This is not a problem if you are mostly sending hard copy to a
network printer. However, if you intend to remotely control the oscilloscope, a
static IP address is more convenient, as the oscilloscope IP address does not
change, making it easier for remote devices to access the oscilloscope.
Ethernet Network Settings: DHCP/BOOTP Not Supported. If your network does not
support DHCP/BOOTP, you must enter the Ethernet settings manually. You can
obtain these settings from your network administrator by using the form on
page 1--8.
The following procedure presumes that you have installed the TDS3EM
Communication Module and cable into a TDS3000 Series oscilloscope.
TDS3000B and TDS3000C series oscilloscopes simply require an RJ-45
connector with 10BaseT cable attached to the oscilloscope Ethernet port.
Do these steps to enter the Ethernet parameters:
1. Use the Ethernet network setup form on page 1--8 to request the necessary
network information from your network administrator.
2. Power on the oscilloscope.
3. Push the UTILITY front panel button.
4. Push the System screen button to select I/O.
5. Push the Ethernet Network Settings screen button.
6. Push the Change Instrument Settings side button to display the Instrument
Setup dialog box.
7. Push the side menu ↑and ↓ buttons to select a field to edit.
8. Enter the required information from the Ethernet network setup form into
each field:
HThe general purpose knob selects a character in the character list. The list
of available characters changes depending on which field is selected.
HThe Enter Character button enters the selected character from the
character list at the cursor position in the current field. You can also use
the SELECT button next to the general purpose knob to enter the
selected character .
1- 14
HThe ← and → buttons move the cursor left or right in the current field.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Getting Started
HThe Back Space button deletes the character to the left of the cursor
position in the field.
HThe Delete button deletes the character at the cursor position in the field.
HThe Clear button deletes all characters from the current field.
9. Push the OK Accept side button to apply the field settings. Push the MENU
OFF button to exit from the menu without applying any changes.
10. Push the Test Connection side menu button to verify that the Ethernet
settings are correct and that the oscilloscope can locate itself on the network.
11. If the oscilloscope does not establish a connection to the network, check that
you correctly entered the Ethernet instrument settings, and that you have
connected the oscilloscope to the Ethernet connector with an appropriate
10baseT cable. If the settings and cable are correct, contact your network
administrator for help.
Ethernet Printer Settings. This procedure presumes that you have successfully
established communications with the network by using one of the previous
procedures.
Do these steps to add a network printer to the oscilloscope (you can store up to
21 printers in the Ethernet network printer list):
1. Obtain the printer name, server name, and server IP address of the network
printer or printers to which you are sending hard copy data.
2. Power on the oscilloscope.
3. Push the UTILITY menu button.
4. Push the System screen button and select the I/O System.
5. Push the Ethernet Printer Settings screen button. The oscilloscope displays
the Printer Configuration window, as shown in Figure 1--10.
6. Push the Add Printer screen button to display the Add Printer dialog box.
7. Push the side menu ↑and ↓ buttons to select a field to edit.
8. Enter the required information into each field:
HThe general purpose knob selects a character in the character list. The list
of available characters changes depending on which field is selected.
HThe Enter Character button enters the selected character from the
character list. Y ou can also use the SELECT button next to the general
purpose knob to enter the selected character.
HThe ← and → buttons move the cursor left or right in the current field.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 15
Getting Started
Figure 1- 10: The Ethernet Printer Settings window
HThe Back Space button deletes the character to the left of the cursor
position in the field.
HThe Delete button deletes the character at the cursor position in the field.
HThe Clear button deletes all characters from the current field.
9. Push the OK Accept side button to apply the field settings. Push the MENU
OFF button to exit from the Add Printer menu without applying any
changes. You do not need to power cycle the oscilloscope to apply printer
settings; you can select and use newly-entered printers immediately.
10. Select a network printer in the Ethernet printer list. You select a printer by
using the general purpose knob to highlight a printer name in the list.
11. Push the MENU OFF button to exit from the System I/O menus.
12. Push UTILITY > System: Hard Copy > Port to verify or set the printer
port to Ethernet.
13. Verify or set the printer format. Verify that the current oscilloscope hard copy
format can print on your network printer.
1- 16
14. Set Inksaver to ON to print the oscilloscope screen as a black on white
background image.
15. Push the MENU OFF button to exit from the System Hard Copy menu.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Getting Started
16. Test the network printer by pressing the hard copy button. The printer should
print the current screen. If the printer does not print the screen, check the
following:
HHard copy port is set to Ethernet.
HHard copy file format is compatible with the network printer.
HThe printer IP and server information you entered is correct.
HThe network printer is powered on and is online.
17. To print to a different network printer, push UTILITY > System: I/O >
Ethernet Printer Settings, and use the general purpose knob to select a
network printer. Make sure that you also set/verify the hard copy file format
when you change network printers.
Ethernet Error Messages
The following error conditions can occur when you are having network
problems. Read the text that follows to help rectify the problem.
Print Server Not Responding. This notifier displays when the oscilloscope
attempts to send data to the selected network printer but the network refuses the
connection to the network printer. This usually means that the network printer
server is offline or the print server IP address is incorrect.
If DNS is available then you can verify the network print server data by entering
the printer name and either (but not both) the print server name or the IP address.
The DNS protocol will fill in the missing data if the user-supplied data is correct.
If DNS is not available, then contact your network administrator for help.
Printer Not Responding. This notifier displays when the oscilloscope attempts to
send data to the selected network printer but the print server is unable to forward
the data to the network printer. This usually means that the network printer is
offline or the printer name is incorrect. Contact your network administrator to
obtain the correct printer queue name.
DNS Server Not responding. This notifier displays when either the Domain
information (Domain name or IP address) is not correct, or the print server name
or printer server IP address is not validated (via the Domain Name Server).
DNS Protocol
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
You enable DNS protocol by entering the DNS IP address and the domain name
using the Ethernet Network Setup menu. DNS enables the oscilloscope to query
the network for either the name of a device with a specified IP address, or the IP
address of a named device. DNS fills in missing settings when you enter partial
printer configuration information.
1- 17
Getting Started
Ethernet, VISA, and
TekVisa
The VISA standard, developed by the VXI plug & play Systems Alliance,
provides a common Input/Output (I/O) library for software developers so that
software from different vendors can run on the same platform. All applications
that communicate with the Ethernet must use a VISA.
A Tektronix version of VISA, referred to in this document as TekVisa, is
available for download from the www.tek.com Web site.
NOTE. If you are connecting the oscilloscope to a network only to print screen
hard copy data, or if you are using e*scope capabilities in a browser, you do not
need to install or configure a VISA.
Setting Up GPIB Remote Communications
The TDS3GM and TDS3GV communication modules have D-type shell GPIB
connectors that conform to IEEE Std. 488.1-1987 standards. 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--11.
GPIB Requirements
Follow these rules when you connect your oscilloscope to a GPIB network:
HAssign a unique device address to each device on the bus. No two devices
can share the same device address.
HDo not connect more than 15 devices to any one bus.
HConnect one device for every 2 meters (6 feet) of cable used.
HDo not use more than 20 meters (65 feet) of cable to connect devices.
HTurn on at least two-thirds of the devices on the network while using the
network.
HConnect the devices on the network in a star or linear configuration as shown
in Figure 1--12 on page 1--19. Do not use loop or parallel configurations.
HAvoid using GPIB address 0. This is typically reserved for controllers.
Appendix C: Interface Specifications gives more information on the GPIB
configuration of the oscilloscope. If needed, you can stack GPIB connectors as
shown in Figure 1--11.
1- 18
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
GPIB connectors
Getting Started
Figure 1- 11: How to stack GPIB connectors
GPIB Device
GPIB Device
GPIB Device
GPIB Device
GPIB Device
GPIB Device
GPIB Device
Figure 1- 12: Typical GPIB network configurations
Appendix C: Interface Specifications gives more information on the GPIB
configuration of the oscilloscope.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 19
Getting Started
Setting the GPIB
Parameters
You need to set the GPIB parameters of the oscilloscope to match the configuration of the bus. Once you have set these parameters, you can control the
oscilloscope through the GPIB interface.
1. Push the UTILITY menu button.
2. Push the System screen button and select the I/O System. See Figure 1--13.
1- 20
Figure 1- 13: Selecting the System: I/O menu
3. Push the GPIB screen button.
4. Push the Talk/Listen Address screen button and use the general purpose
knob to set the Address.
The oscilloscope is set up for bidirectional communication with your controller.
If you want to isolate the oscilloscope from the bus:
HPush the Off Bus screen button. This disables all communication with the
controller.
If you want to enter a special mode of operation to communicate directly with
non-488.2 hard copy devices:
HSelect the Hard Copy (Talk Only) screen button, then push the hard copy
button
to have the oscilloscope send hard copy information to a printer.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Setting Up RS-232 Remote Communications
All TDS3000, TDS3000B, and TDS3000C Series communication modules have
a 9-pin D-type shell RS-232 connector, as shown in Figure 1--4 on page 1--5.
The RS-232 interface provides a point-to-point connection between the
oscilloscope and equipment such as a computer or terminal. This section tells
how to connect and set up the oscilloscope for communication over the RS-232
interface.
Getting Started
Connecting to an RS-232
Device
The RS-232 standard defines two device types: Data Terminal Equipment (DTE)
and Data Communications Equipment (DCE). The TDS3000B and TDS3000C
series is a DTE device. In standard usage, DTE devices have a male connector,
and DCE devices have a female connector. You should use a straight-through
female-to-male cable of less than 50 feet for a local DTE-to-DCE connection.
Figure 1--14 shows the 9-pin connector with its pin number assignments.
1 No connection
2 Receive data (RxD)(input)
12345
67 8 9
3 Transmit data (TxD)(output)
4 Data terminal ready (DTR)(output)
5 Signal ground (GND)
6 Data set ready (DSR)(input)
7 Request to send (RTS)(output)
8 Clear to send (CTS)(input)
9 No connection
Figure 1- 14: The RS-232 connector pin assignments
In terms of the connector and the way the oscilloscope uses the signal lines, the
oscilloscope behaves just like a PC/AT COM port. Table 1--4 lists cables you can
use to connect the oscilloscope to other devices.
Table 1- 4: RS-232 adapter cables
Tektronix part numberCable typeUse
012-1379-009-pin female to 9-pin female,
null modem
012-1380-009-pin female to 25-pin female,
null modem
012-1241-009-pin female to 25-pin male,
modem
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
PC/AT or laptop
Old style PC with 25-pin connector
Telephone modem
1- 21
Getting Started
Follow these guidelines when connecting the oscilloscope to another RS -232
device:
HDo not connect the output line of one DTE device to the output line of
another DTE device.
HConnect the signal ground of the oscilloscope to the signal ground of the
external device.
HConnect the chassis ground of the oscilloscope to the chassis ground of the
external device.
Setting the RS-232
Parameters
To set the RS-232 parameters, do the following steps from the oscilloscope front
panel. After these parameters are set, the RS-232 interface is ready to operate.
1. Push the UTILITY menu button.
2. Push the System screen button to select the I/O System.
3. Push the RS-232 screen button to display the RS-232 parameters
(see Figure 1-- 15).
1- 22
Figure 1- 15: RS-232 parameter settings
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Getting Started
You can set the following parameters:
HBaud R ate — sets the data transmission rate. You can set rates of 1200,
2400, 4800, 9600, 19200, or 38400 baud.
HHard Flagging — sets hard flagging (RTS/CTS) on or off. Flagging
controls the flow of data between devices.
HSet R S-232 Parameters to Default Values — sets default values for
RS-232 parameters (for a list of default settings see Table 1--5 on
page 1--23).
HEOL — sets the end of line terminator sent by the oscilloscope. You can
set CR, LF, CRLF, or LFCR (for more information on line terminators
see page 2--6).
NOTE. You can not set Parity or stop bits or number of bits. Parity = none,
Stop bits = 1, number of bits = 8.
RS-232 Conventions
4. Push, in turn, each screen button until the desired parameter setting is
displayed in the side menu, or push the Set RS-232 Parameters to DefaultValu e s screen button if the default settings are appropriate. Table 1--5 on
page 1--23 lists the default RS-232 settings.
Table 1- 5: RS-232 default settings
RS-232 parameterDefault setting
Baud Rate9600
Hard FlaggingOn
EOLLF
There are processing conventions that are specific to the RS-232 interface. The
next sections discuss the following conventions:
HTransferring binary data
HProcessing break signals
HReporting RS-232 I/O errors
HChecking command status
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 23
Getting Started
Transferring Binary Data. When using the RS-232 port to transfer binary data to
the oscilloscope, note the following points:
HUsing RTS/CTS (hard) flagging guarantees no data loss.
HAll eight bits of binary data contain meaningful information. To make sure
that all eight bits are received or transmitted, configure the RS-232 device
that is connected to the oscilloscope to receive and transmit eight-bit
characters (set the RS-232 word length to eight bits).
Processing Break Signals. When the oscilloscope senses a break signal on the
RS-232 port, it returns DCL followed by the end of line terminator. Internally,
the oscilloscope acts as if it received a GPIB <DCL> command, causing the
oscilloscope to flush input and output buffers and then wait for a new command.
Break signals do not change oscilloscope settings or stored data and do not
interrupt front-panel operation or nonprogrammable functions.
If a break signal is sent in the middle of a character stream, several characters
immediately preceding or following the break may be lost. The controller should
wait until it receives the DCL and the end of line terminator string before
sending more characters.
Reporting RS-232 I/O Errors. Errors are reported when there is a problem with
framing, or input buffer overruns. To report errors, the oscilloscope posts an
event code (refer to Section 3, Status and Events on page 3--1). When an error
occurs, the oscilloscope discards all input and output and waits for a new
command. A count of these errors since last power on is included in RS-232 I/ODebug status.
Push UTILITY screen button, select I/O, select RS-232, then Debug menu to
enable the debug window to see the RS-232 status, errors data transmitted, and
data received.
Use the following statements to help you interpret the status reported in the error
log:
HIf hard flagging is on and CTS is Low, the oscilloscope will not transmit any
data.
HIf hard flagging is off, you should ignore the value of CTS since the
oscilloscope ignores it.
The RS232 Errors line of the error log lists the number of framing and overrun
errors since the last power on.
Checking Command Status. If you want to check the status of each command
sent, you can append a *STB? query after every command and read the response
string.
1- 24
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Getting Started
RS-232 Troubleshooting
If the oscilloscope and the personal computer or printer have trouble communicating, use the following steps to correct the problem:
1. Verify that you are using the correct RS-232 cable. Determine whether your
configuration requires a null-modem connection (where transmit/receive and
control lines are switched) or a straight-through RS-232 connection. Refer to
Table 1--4 on page 1--21 for information about RS-232 cables.
2. Verify that the RS-232 cable is firmly connected to both the oscilloscope and
the correct port on your personal computer or printer. Verify that your printer
or the program on the personal computer is using the correct port. Try your
program or printer again.
3. Verify that the oscilloscope settings match the settings used by your printer
or the program on your personal computer. S tart by choosing Set RS-232
Parameters to Defaults (located in the I/O System, RS-232 Configuration
menu). Then, change only those menu items that you know need to be
changed, such as the baud rate. Try your printer or computer program again.
4. If you are trying to control the oscilloscope using a personal computer or
other computer, look at the RS232 Debug menu and examine the RS232
Line status and the Errors. The contents of the Debug menu will not change
while you are viewing them. Turn Debug menu off and back on to see any
changes in the menu. Use Table 1--6 to troubleshoot your setup.
Table 1- 6: RS-232 troubleshooting
SymptomPossible causes
Your personal computer program tried
to send characters to the oscilloscope,
but the RS-232 Debug menu last 30
characters received line is empty.
The oscilloscope RS-232 Debug menu
displays Framing errors.
Transmissions are incomplete, or the
oscilloscope does not process all
commands from the personal computer.
Your RS-232 cable may be wired as a modem instead
of a null modem. If you are attempting to use a
telephone modem, the cabl e may be wired as a null
modem instead of a modem.
There is a baud rate mismatch between the
oscilloscope and the personal computer.
There is a data bits mism atch between the
oscilloscope and the personal computer (The
oscilloscope expects 8-bit data).
There is a parity mismatch between the oscilloscope
and the personal computer. The scope is set to
expect no parity.
Flagging is not being used correctly by the
oscilloscope or the personal computer or t hey are
using different types of flagging.
There is an EOL terminator mismatch between the
oscilloscope and the personal computer.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 25
Getting Started
Table 1- 6: RS-232 troubleshooting (Cont.)
SymptomPossible causes
The oscilloscope RS-232 debug menu
displays CTS: Low, and the oscilloscope is using hard flagging.
Verify that the RS-232 cable is the recommended
cable. Some cables may be wired without the CTS or
RTS lines which are used by hard flagging. Verify that
the personal computer program is using CTS/RTS
hard flagging.
After the personal computer program
sends a BREAK, the first message
fails.
Comparing GPIB and RS -232
Your system hardware may support both GPIB and RS-232 interfaces. You
should select the interface that best meets your requirements. The GPIB interface
is an eight-bit parallel bus that provides high-speed data transfer and multipleinstrument control. In contrast, the RS-232 interface is a slower serial data bus
for single instrument control, but is easy to connect to low-cost controllers.
Table 1--7 provides a more in-depth comparison of the GPIB and RS-232
interfaces.
Table 1- 7: Comparison of GPIB and RS-232 interfaces
Operating attributeGPIBRS-232
CableIEEE-488 Std.9-wire
Data flow controlHardware, 3-wire handshakeFlagging: hard (RTS/CTS)
Data format8-bit parallel8-bit serial
Verify that the personal computer program is waiting
for and reading the DCL and end of line terminator
response sent by the oscilloscope.
1- 26
Interface controlOperator low-level control
message
Interface messagesMost IEEE-488 Std.Device clear using a break
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Table 1- 7: Comparison of GPIB and RS-232 interfaces (Cont.)
Operating attributeRS-232GPIB
TimingAsynchronousAsynchronous
Getting Started
Transmission path length
(max)
Speed200kBytes/sec3.8k Bytes/sec
System environmentMultiple devices (≤ 15)Single terminal (point-to-point
≤ 2 meters between devices;
≤ 20 meters total cabling for
GPIB system
≤ 15 meters
connection)
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
1- 27
Getting Started
1- 28
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Syntax
You can control the 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 oscilloscope uses to process them. The next
section, entitled Command Groups, lists the commands and queries themselves.
You transmit commands to the oscilloscope using the enhanced American
Standard Code for Information Interchange (ASCII) character encoding.
Appendix A: Character Charts on page A--3 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:
Table 2- 1: BNF Symbols and Meanings
SymbolMeaning
<>Defined element
::=Is defined as
|Exclusive OR
{}Group; one element is required
[]Optional; can be omitted
...Previous element(s) may be repeated
()Comment
Command and Query Structure
Commands consist of set commands and query commands (usually simply called
commands and queries). Commands modify instrument settings or tell the
oscilloscope to perform a specific action. Queries cause the 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 ACQuire:MODe has a query form ACQuire:MODe?.
Not all commands have both a set and a query form. Some commands have set
only and some have query only.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 1
Command Syntax
A command message is a command or query name followed by any information
the 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.
Table 2- 2: Command Message Elements
SymbolMeani ng
<Header>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 (*).
<Mnemonic>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.
<Argument>A quantity, quality, restriction, or limit associated with the
header. Some commands have no argument whil e others have
multiple arguments. A <Space> separates arguments from the
header. A <Comma> separates arguments from each other.
<Comma>A single comma between arguments of mult iple-argument
commands. It may opt ionally have white space characters
before and after the comma.
<Space>A white space character between command header and
argument. It may optionally consist of multiple white space
characters.
Command Parts
Header
Comma
SAVe:WAVEformCH1,REF3
Mnemonics
Figure 2- 1: Command Message Elements
ArgumentsSpace
2- 2
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
A command header consists of one or more mnemonics arranged in a hierarchical 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.
You can specify a query command at any level within the command tree unless
otherwise noted. These branch queries return information about all the mnemonics below the specified branch or level. For example, TRIGger:A:EDGe:SLOpe
returns the rising or falling slope for the A edge trigger. TRIGger:A:EDGe?
returns the trigger coupling, source, and slope for A edge trigger. TRIGger:A sets
the trigger level and returns the current A trigger parameters.
Headers in Query
Responses
You can control whether the oscilloscope returns headers as part of the query
response. Use the HEADer 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.
Table 2- 3: Comparison of Header Off and On Responses
QueryHeader off responseHeader on response
ACQuire:NUMAVg?100:ACQUIRE:NUMAVG 100
CH1:COUPling?AC:CH1:COUPLING AC
NOTE. Responses are always in Upper Case.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 3
Command Syntax
Clearing the Oscilloscope Output Queue
You can clear the Output Queue and reset the oscilloscope to accept a new
command or query by using the Device Clear (DCL) GPIB interface command.
Command Entry
The following rules apply:
HYou can enter commands in upper or lower case.
HY ou 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).
HThe oscilloscope ignores commands consisting of any combination of white
space characters and line feeds.
Abbreviating Commands
Concatenating Commands
You can abbreviate many oscilloscope commands. Each command listing in the
Commands section shows the minimum acceptable abbreviations in capitals. For
example, you can enter the command ACQuire:NUMAVg simply as ACQ:NUMAV oracq:numav.
NOTE. Keep in mind that abbreviation rules change over time as new TDS
models are introduced. Thus, for the most robust code, use the full spelling.
Avoid using the command abbreviations.
If you use the HEADer command to have command headers included as part of
query responses, you can further control whether the returned headers are
abbreviated or are full-length. The VERBose command lets you control this.
You can concatenate any combination of set commands and queries using a
semicolon (;). The oscilloscope executes concatenated commands in the order
received.
When concatenating commands and queries, you must follow these rules:
1. Separate completely different headers by a semicolon and by the beginning
colon on all commands but the first. For example, the commands TRIG-ger:MODe NORMal and ACQuire:NUMAVg 10 would be concatenated into a
single command:
2- 4
TRIGger:MODe NORMal;:ACQuire:NUMAVg 10
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Syntax
2. If concatenated commands have headers that differ by only the last mnemonic, you can abbreviate the second command and eliminate the beginning
colon. For example, you can concatenate the commands ACQuire:MODe
ENVelope and ACQuire:NUMAVg 8 into a single command:
ACQuire:MODe ENVelope; NUMAVg 8
The longer version works equally well:
ACQuire:MODe ENVelope;:ACQuire:NUMAVg 8
3. Never precede a star (*) command with a colon:
ACQuire:MODe ENVelope;*TRG
Any commands that follow will be processed as if the star command was not
there so
ACQuire:MODe ENVelope;*TRG;NUMAVg 8
will set the acquisition mode to envelope and set the number of acquisitions
for averaging to 10.
4. When you concatenate queries, the responses to all the queries are concatenated into a single response message. For example, if the display graticule is
set to Full and the display style is set to dotsonly, the concatenated query
DISplay:GRAticule?;STYle:DOTsonly?
will return either :DISPLAY:GRATICULE FULL;:DISPLAY:STYLE:
DOTSONLY 1 if header is on, or FULL;1 if header is off.
5. Set commands and queries may be concatenated in the same message. For
example,
ACQuire:MODe NORMal;NUMAVg?;STATE?
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.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 5
Command Syntax
Here are some invalid concatenations:
HDISPlay:GRAticule FULL;ACQuire:NUMAVg 8
(no colon before ACQuire)
HDISPlay:GRAticule FULL;:DOTSONLY OFF
(extra colon before DOTsonly —coulduseDISPlay:DOTsonly OFF instead)
(levels of mnemonics are different—either remove the second use of
HORizontal: or place :MATH in from of HORizontal:POSition)
Message Terminators
This manual uses <EOM> (End of message) to represent a message terminator.
SymbolMeani ng
<EOM>Message terminator
GPIB End of Message Terminators. GPIB EOM terminators can 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 oscilloscope always
terminates messages with LF and EOI. White space is allowed before the
terminator; for example, CR LF is acceptable.
RS-232 End of Message Terminators. RS-232 EOM terminators can be a CR
(carriage return), LF (line feed), CRLF (carriage return followed by a line feed),
or LFCR (line feed followed by a carriage return). When receiving, the oscilloscope accepts all four combinations as valid input message terminators regardless of the currently selected terminator. When a combination of multiple
characters is selected (CRLF or LFCR), the oscilloscope interprets the first
character as the terminator; the oscilloscope interprets the second character as a
null command.
2- 6
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Constructed Mnemonics
Some header mnemonics specify one of a range of mnemonics. For example, a
channel mnemonic can be either CH1, CH2, CH3,orCH4. You use these mnemon-
ics in the command just as you do any other mnemonic. For example, there is a
CH1:VOLts command, and there is also a CH2:VOLts command. In the command
descriptions, this list of choices is abbreviated as CH<x>.
Command Syntax
Cursor Position
Mnemonics
Measurement Specifier
Mnemonics
Channel Mnemonics
When cursors are displayed, commands may specify which cursor of the pair to
use.
SymbolMeani ng
POSITION<x>A cursor selector; <x> is either 1 or 2.
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:
SymbolMeani ng
MEAS<x>A measurement specifier; <x> is either 1 [top], 2, 3,or
4[bottom].
Commands specify the channel to use as a mnemonic in the header.
SymbolMeani ng
CH<x>A channel specifier; <x> is either 1, 2, 3,or4.
Reference Waveform
Mnemonics
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Commands can specify the reference waveform to use as a mnemonic in the
header.
SymbolMeani ng
REF<x>A reference waveform specifier; <x> is either 1, 2, 3,or4.
2- 7
Command Syntax
Waveform Mnemonics
Argument Types
Numeric Arguments
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:
SymbolMeani ng
<wfm>Can be CH<x>, MATH or REF<x>
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 oscilloscope commands require numeric arguments. The syntax shows the
format that the oscilloscope returns in response to a query. This is also the
preferred format when sending the command to the oscilloscope though any of
the formats will be accepted. This manual represents these arguments as follows:
SymbolMeani ng
<NR1>Signed integer value
<NR2>Floating point value without an exponent
<NR3>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.
2- 8
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Syntax
Quoted String Arguments
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:
”this is a quoted string”
SymbolMeani ng
<QString>Quoted string of ASCII text
Follow these rules when you use quoted strings:
1. A quoted string can include any character defined in the 7-bit ASCII
character set. (See Appendix A: Character Charts on page A--3).
2. Use the same type of quote character to open and close the string:
”this is a valid string”
3. You can mix quotation marks within a string as long as you follow the
previous rule:
”this is an ’acceptable’ string”
4. You can include a quote character within a string simply by repeating the
quote. For example,
”here is a ”” mark”
5. Strings can have upper or lower case characters.
6. If you use a GPIB network, you cannot terminate a quoted string with the
END message before the closing delimiter.
7. A carriage return or line feed imbedded in a quoted string does not terminate
the string, but is treated as just another character in the string.
8. The maximum length of a quoted string returned from a query is 1000
characters.
Here are some invalid strings:
H”Invalid string argument’
(quotes are not of the same type)
H”test<EOI>”
(termination character is embedded in the string)
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 9
Command Syntax
Block Arguments
Several oscilloscope commands use a block argument form:
SymbolMeani ng
<NZDig>A nonzero digit character, in the range 1--9
<Dig>A digit character, in the range 0--9
<DChar>A character with the hex equivalent of 00 through FF
hexadecimal (0 through 255 deci mal)
<Block>A block of data bytes, defined as:
<Block> ::=
{ #<NZDig><Dig>[<Dig>...][<DChar>...]
| #0[<DChar>...]<terminator> }
<NZDig> specifies the number of <Dig> elements that follow. Taken together, the
<Dig> elements form a decimal integer that specifies how many <DChar>
elements follow.
Figure 2--2 provides a diagram of block argument use.
Block Argument
ALIas:DEFINE “SETUp1”,#231AUTOSet EXECute;:SELect:REF1 ON
Block Header
Specifies Number of
Length Digits that Follow
Specifies Data Length
Figure 2- 2: Block Argument Example
2- 10
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Groups
This section lists TDS3000, TDS3000B, and TDS3000C Series GPIB 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--45.
The GPIB and RS-232 interfaces conform to Tektronix standard codes and
formats except where noted. The GPIB interface also conforms to IEEE Std
488.2-1987 except where noted.
Acquisition Commands
Acquisition commands affect waveform acquisition. These commands control
autoset mode, averaging, enveloping, and waveform acquisition. (Persistence
controls are in the Display Commands section on page 2--16.) Table 2--4 lists
these commands.
Table 2- 4: Acquisition commands
HeaderDescription
ACQuire?Return acquisition parameters
ACQuire:MODeAcquisition mode
ACQuire:NUMACq?Return # of acquisitions obtained
ACQuire:NUMAVgNumber of acquisitions for average
ACQuire:NUMEnvNumber of acquisitions for envelope
ACQuire:STATEStart or stop acquisition system
ACQuire:STOPAfterAcquisition control
AUTOSetAutomatic instrument waveform acquisition
setup
WAVEAlert:BEEP
(TDS3000B and TDS3000C Series)
WAVEAlert:hard copy
(TDS3000B and TDS3000C Series)
WAVEAlert:SAVEWFM
(TDS3000B and TDS3000C Series)
WAVEAlert:SENSitivity
(TDS3000B and TDS3000C Series)
Sets or returns the WaveAlert Beep on
Anomaly function
Sets or returns the WaveAlert print Hard Copy
on Anomaly function
Sets or returns the WaveAlert Save Waveform
to memory on Anomaly function
Sets or returns the WaveAlert Anomaly
sensitivity function
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 11
Command Groups
Table 2- 4: Acquisition commands (cont.)
HeaderDescription
WAVEAlert:STATE
(TDS3000B and TDS3000C Series)
Sets or returns the WaveAlert testing mode
Alias Commands
WAVEAlert:STOPOnviolation
(TDS3000B and TDS3000C Series)
WAVEAlert:TYPe
(TDS3000B and TDS3000C Series)
Sets or returns the Stop on Violation mode
Sets or returns the WaveAlert Highlight
Anomaly 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.
Table 2- 5: Alias commands
HeaderDescription
ALIasTurn the alias state on and off
ALIas:CATALOG?Return a list of aliases
ALIas:DEFINECreate a new alias
ALIas:DELEteRemove an alias
2- 12
ALIas:DELEte:ALLRemove all aliases
ALIas:DELEte:NAMERemove a named alias
ALIas:STATETurn the alias state on and off
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Calibration and Diagnostic Commands
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--6 lists these commands.
Table 2- 6: Calibration and diagnostic commands
HeaderDescription
CAL?Returns status of CALibrate:INTERNal and
*CAL?Returns status and invokes CALibrate:INTER-
CALibrate:FACtory:ABOrtAborts the calibration factory process
CALibrate:FACtory:CONTInueInstructs the instrument to execute the current
Command Groups
CALibrate:FACtory
Nal?
factory calibration step
CALibrate:FACtory:NOTIfy:DUE?Queries if calibration is due
CALibrate:FACtory:NOTIfy:HOURsSets and returns hours until calibration is due
CALibrate:FACtory:NOTIfy:YEARsSets and returns number of year until
calibration is due
CALibrate:FACtory:PREViousInstructs the instrument to back up one step to
allow the next
CALibrate:FACtory:CONTInue command to
repeat that step
CALibrate:FACtory:STARtBegins the factory calibration sequence
CALibrate:FACtory:STATUS?Returns the factory calibration status value
CALibrate:FACtory:STEPstatus?Returns the status of the last factory cal step
executed. After cal sequence is complete,
returns the same status as
CALibrate:FACtory:STATUS?
CALibrate:INTERNalExecutes or queries the state of signal path
compensation (SPC)
CALibrate:INTERNal:STARtPerforms signal path compensation (SPC)
CALibrate:INTERNal:STATUS?Return the SPC calibration status value saved
in non-volatile memory
DIAg:LOOP:OPTionSets the diagnostic loop option
DIAg:LOOP:STOPStops diagnostic at the end of the current loop
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 13
Command Groups
Cursor Commands
Table 2- 6: Calibration and diagnostic commands (cont.)
HeaderDescription
DIAg:RESUlt:FLAg?Returns the PASS or FAIL status from the last
FAIL diagnostic test sequence results
DIAg:RESUlt:LOG?Return diagnostic test sequence results
DIAg:SELect:ALLDiagnostics will be run on all subsystems
DIAg:STATE EXECuteExecutes all the diagnostics tests that have
been selected
Cursor commands provide control over cursor (caliper) display and readout.
Table 2--7 lists these commands.
Table 2- 7: Cursor commands
HeaderDescription
CURSor?Query returns all current cursor settings
CURSor:FUNCtionSets or returns the cursor type
CURSor:GRATicule?Returns XY cursor settings
CURSor:GRATicule:SELectSelects (makes active) the specified graticule
XY cursor
CURSor:GRATicule:XPOSITION<x>Sets or returns the X position of the specified
graticule cursor
CURSor:GRATicule:YPOSITION<x>Sets or returns the Y position of the specified
graticule cursor
CURSor:HBArs?Returns horizontal bar settings
CURSor:HBArs:DELTa?Returns vertical distance between horizontal
bars
CURSor:HBArs:POSITION<x>Position a horizontal cursor, relative to ground,
typically in volts
CURSor:HBArs:SELectSets which horizontal cursor is active
(selected)
CURSor:HBArs:UNItsSets or returns measurement units for the
horizontal cursors
CURSor:HBArs:USESets measurement scale for the horizontal
cursors
2- 14
CURSor:MODeSets cursor tracking mode
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Groups
Table 2- 7: Cursor commands (cont.)
HeaderDescription
CURSor:VBArs:HDELTa?Returns the horizontal difference between the
two vertical bar cursors
CURSor:VBArs:HPOS<x>?Returns the value of vertical bar ticks
CURSor:VBArs:POSITION<x>Sets the horizontal position for both vertical
bars
CURSor:VBArs:SELectSets which vertical cursor is active (selected)
CURSor:VBArs:UNItsSets or returns measurement units for the
vertical cursors
CURSor:VBArs:USESets measurement scale for the vertical
cursors
CURSor:VBArs:VDELTa?Returns the value difference between the
vertical bar ticks
CURSor:WAVEform:SELectSelects (makes active) the specified waveform
XY cursor
CURSor:XY:PRODDelta?Returns the value of the XY cursor product
delta readout
CURSor:XY:PRODUCT<x>?Returns the value of the product readout for
the specified XY cursor
CURSor:XY:RADIUS<x>?Returns the XY cursor radius value from the
0,0 origin to the specified XY cursor
CURSor:XY:RATDELta?Returns the XY cursor ratio delta value
CURSor:XY:RATIO<x>?Returns the cursor ratio value for the specified
XY cursor
CURSor:XY:RDELta?Returns the XY cursor radius delta value for
the polar readout.
CURSor:XY:READOUTSets or returns the XY cursor readout format
CURSor:XY:RECTX<x>?Returns the XY cursor X-axis rectangular
coordinate value for the specified cursor
CURSor:XY:RECTY<x>?Returns the XY cursor Y-axis rectangular
coordinate value for the specified cursor
CURSor:XY:THDELta?Returns the XY cursor polar readout delta
theta value
CURSor:XY:THETA<x>?Returns the polar readout theta value for the
specified XY cursor
CURSor:XY:XDELta?Returns the difference (delta) between the
CURSor:XY:YDELta?Returns the value of the difference (delta)
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
X-axis values of the two XY cursors
between the Y-axis values of the two XY
cursors
2- 15
Command Groups
Display Commands
Display commands let you change the graticule style, change the displayed
intensities, display messages, and clear the menu. Table 2--8 lists these commands.
Table 2- 8: Display commands
HeaderDescription
CLEARMenuClear menus from display
DISplay?Returns display settings
DISplay:CLOCkControl the display of the date/time
DISplay:COLor:PALEtte:REGularSets current palette to a preset palette
DISplay:FORMatSets display format to XY, YT, or Gated XYZ
DISplay:GRAticuleSets type of graticule that is di splayed
DISplay:PERSistenceSets variable persistence decay time
DISplay:PERSistence:CLEARResets the persistence time clears the screen
of all acquired points
DISplay:STYle:DOTsonlySetsdotstoonoroff
DISplay:XY?Returns all the XY parameters
DISplay:XY:MODeSets the display to YT, triggered XY, or Gated
XYZ
DISplay:XY:YCHannelSpecifies the Y channel to be displayed with
channel 1
DISplay:XY:YREFSpecifies the Y channel to be displayed with
reference 1
DISplay:XY:ZCHannelSpecifies the Z channel to use in gated XYZ
mode
DISplay:XY:ZLEVelSpecifies the Z channel threshold level to
enable XY gating in gated XYZ mode
MESSage:BOXSets size and location of message window
MESSage:CLEARRemoves text from the message window
MESSage:SHOWDisplays message text in the message window
2- 16
MESSage:STATEControl display of message window
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Ethernet Commands
Command Groups
Ethernet commands let you remotely set oscilloscope ethernet settings. Table 2--9
lists these commands. Ethernet commands are available only in the
and TDS3000C Series
oscilloscopes, or in TDS3000 Series oscilloscopes equipped
TDS3000B
with an optional TDS3EM Ethernet communications module.
Table 2- 9: Ethernet commands
HeaderDescription
ETHERnet:DCHPBOOTPSets or returns DCHP/BOOTP function status
ETHERnet:DNS:IPADDressSets or returns the Domain Name Server
(DNS) address stored in the oscilloscope
ETHERnet:DOMainnameSets or returns the Domain Name Server
(DNS) name stored in the oscilloscope
ETHERnet:ENETADDress?Returns the factory-set ethernet address of the
TDS3EM module or oscilloscope
ETHERnet:GATEWaySets or returns the Gateway IP address value
ETHERnet:HTTPPORTSets or returns the HTTP port value stored in
the oscilloscope
ETHERnet:IPADDressSets or returns the IP address of the oscillo-
scope
ETHERnet:NAMESets or returns the oscilloscope instrument
name
ETHERnet:NETPRInter:ADDAdds the specified printer to the oscilloscope
ethernet printer list
ETHERnet:NETPRInter:DELEteDeletes the specified printer from the
oscilloscope ethernet printer list
ETHERnet:NETPRInter:DELWarnEnables or disables displaying a warning
message when deleting a printer
ETHERnet:NETPRInter:RENameRenames the specified ethernet printer
ETHERnet:NETPRInter:SELect:
ALLInfo?
ETHERnet:NETPRInter:SELect:NAMESets or returns the identity of the selected
ETHERnet:PASSwordSets the ethernet password
ETHERnet:PING:EXECUTETests the Ethernet connection
Returns the selected (active) printer configuration information
(active) ethernet printer
ETHERnet:PING:STATUS?Returns results of Ethernet connection testing
ETHERnet:SUBNETMASKSets or returns the Ethernet subnet mask
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
value
2- 17
Command Groups
File System Commands
File system commands help you manage the oscilloscopes memory storage
device. Table 2--10 lists these commands.
Table 2- 10: File system commands
HeaderDescription
FILESystem?Returns results of queries
FILESystem:COPyCopies file to new file
FILESystem:CWDSets or returns the current directory
FILESystem:DELEteDeletes named file or directory
FILESystem:DELWarnTurns front panel delete confirmation feature
on or off
FILESystem:DIR?Returns a list of files in current directory
FILESystem:FORMatFormats named drive
Front Panel Commands
FILESystem:FREESpace?Returns free space on current memory storage
device
FILESystem:MKDirCreates a new directory
FILESystem:OVERWriteSets overwrite lock feature on or off
FILESystem:PRIntPrints file to port
FILESystem:RENameAssigns new name to file
FILESystem:RMDirDeletes directory and all files in the directory
Front panel commands that let you activate front panel buttons and control
knobs. Table 2--11 lists these commands.
Table 2- 11: Front panel commands
HeaderDescription
FPAnel:PRESSSets which front panel button to activate
FPAnel:TURNSets which front panel control knob to activate
2- 18
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Hard Copy Commands
Command Groups
Hard copy commands let you control the format of hard copy output and the
initiation and termination of hard copies. Table 2--12 lists these commands.
Table 2- 12: Hard copy commands
HeaderDescription
HARDCopyStart or terminate hard copy
HARDCopy:COMPRESSionEnables/disables hard copy data compression
HARDCopy:FILENameSelects file to which to write hard copy
HARDCopy:FORMatHard copy output format
HARDCopy:INKSaverSets oscilloscope to print reduced ink usage
hard copy
HARDCopy:LAYoutHard copy orientation
HARDCopy:PALEtteSelect palett e to use when making hard copy
Horizontal Commands
HARDCopy:PORTSelects hard copy port
HARDCopy:PREVIEWDisplays how the colors will appear
Horizontal commands control the time base of the oscilloscope. You can set the
parameters that let you define the time or horizontal axis attributes of a waveform record. Table 2--13 lists these commands.
You may substitute SEC div for SCAle in the horizontal commands. This
provides program compatibility with earlier models of Tektronix oscilloscopes.
Table 2- 13: Horizontal commands
HeaderDescription
HORizontal?Return horizontal settings
HORizontal:DELay:STATeDelay the acquisition relative to the trigger
event
HORizontal:DELay:TIMeSets the delay time in seconds
HORizontal:MAIn:SCAleMain time base time per division
HORizontal:MAIn:SECdivSame as HORizontal:MAIn:SCAle
HORizontal:RECOrdlengthValues are 500 or 10000
HORizontal:RESOlutionSets acquisition resolution to normal or fast
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
trigger
2- 19
Command Groups
Table 2- 13: Horizontal commands (cont.)
HeaderDescription
HORizontal:SCAleSame as HORizontal:MAIn:SCAle
HORizontal:SECdivSame as HORizontal:MAIn:SCAle
HORizontal:TRIGger:POSitionTime base trigger position
ZOOm:HORizontal:POSitionValues are 0 to 100, in percent of record
ZOOm:HORizontal:SCAleSets or returns the horizontal scale when in
ZOOm:STATEActivates the zoom function
ITU601 Digital Video Commands
(TDS3SDI Only)
Table 2--14 lists the ITU601 commands available when a TDS3SDI 601 Digital
Video application module is installed in a TDS3000B or TDS3000C Series
oscilloscope.
zoom
Table 2- 14: ITU601 commands
HeaderDescription
ITU601:AUTOSet
ITU601:EDH RESEt
ITU601:EDH:COUNt
ITU601:EDH:DETect?
ITU601:EDH:NUMERRors?
ITU601:INPUT:FORMat
ITU601:INPUT:SIGnalstrength?
ITU601:INPUT:STATE?
ITU601:OUTput:FORMat
Sets the instrument to automatically acquire
and display a 601 digital video signal
Sets the EDH error count to zero
Sets or returns the state of the EDH error
counter
Returns the state of the EDH detection
Returns the number of 601 digital video EDH
errors
Sets or returns the digital video signal input
format (525 or 625)
Returns the digital video signal strength
Returns the input signal state
Sets or returns the format for displaying the
digital video signal components.
2- 20
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Limit Test Commands
(Requires TDS3LIM)
Command Groups
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 oscilloscope find the waveforms that fall outside those
limits. When it finds such a waveform, it can generate a hard copy, emit a beep,
save the waveform to memory, stop and wait for your input, or any combination
of these actions. Table 2--15 lists the limit test commands, which are only
available when a TDS3LIM Limit Test application module is installed in the
oscilloscope.
Table 2- 15: Limit Test commands
HeaderDescription
LIMit?
Returns all limit testing parameters
LIMit:BEEP
LIMit:BELl
LIMit:COMpare:CH<x>Template to compare waveform to
LIMit:HARDCopyPrints a hard copy when limit exceeded
LIMit:SAVEWFMSave waveform to memory storage device
LIMit:STATETurn limit testing on or off
LIMit:STOPOnviolationSets or returns the stop on violation mode
LIMit:TEMPLateTemplate to compare waveform to
LIMit:TEMPLate:DESTinationReference storage for template waveform
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 21
Command Groups
Mask Commands
(TDS3000B Series and TDS3000C Series with TDS3TMT)
The Mask Test commands let you automatically compare each incoming
waveform against a template telecommunications mask. When the oscilloscope
find the waveforms that fall outside the mask limits, it can generate a hard copy,
emit a beep, stop and wait for your input, or any combination of these actions.
Table 2--16 lists these commands, which are only available when a TDS3TMT
Telecom Mask Test application module is installed in the oscilloscope.
Table 2- 16: Mask commands
HeaderDescription
MASK:AUTOFit
Sets or returns the autofit radius setting
MASK:COPy:SOUrce
MASK:COPy:USER
MASK:COUNt:CH<x>:HITS?Returns the total hits on all mask segments for
MASK:COUNt:FAILURES?Returns the number of pass/fail tests that have
MASK:COUNt:HITS?Returns the total number of mask hits for all
MASK:COUNt:MASK<m>:CH<x>:
HITS?
MASK:COUNt:MASK<m>:HITS?Returns the number of hits for all channels in
MASK:COUNt:STATESets or returns the mask hits count state
MASK:COUNt:TESTS?Returns the number of pass/fail tests that have
MASK:COUNt:TOTal?Returns the sum of all hits in all mask
Sets or returns the mask standard to copy to
the User mask when the MASK:COPy:USER
command is executed
Copies the mask defined by
MASK:COPy:SOUrce to the user mask
the specified channel
failed
channels on all mask segments
Returns the number of hits for channel <x> in
mask segment <m>
mask segment <m>
occurred when MASK:TESt:REPeat is turned
on
segments
2- 22
MASK:COUNt:VIOLATIONS?
MASK:COUNt:WAVEFORMS?Returns the number of waveforms which have
MASK:DISplaySets or returns the mask violation detection
Returns the number of t est violations which
have occurred in the current pass/fail test
been acquired and processed during pass/fail
testing
and display status
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Groups
Table 2- 16: Mask commands (cont .)
HeaderDescription
MASK:LOCkSets or returns the mask lock to waveform
mode
MASK:MARGIN:HORizontalSets or returns the User mask’s horizontal
margin percentage
MASK:MARGIN:VERTicalSets or returns the User mask’s vertical margin
percentage
MASK:MASK<m> DELEteDeletes the specified mask segment from the
User mask, whether or not the User mask is
the current mask
MASK:MASK<m>:COUNt?Returns the number of hits on the specified
mask segment in the current mask
MASK:MASK<m>:NR_Pt?Returns the number of points that make up the
specified mask segment of the currently-displayed mask
MASK:MASK<m>:POINTSSets or returns the X-Y user coordinates of all
points in the specified mask segment
MASK:MASK<m>:POINTSNormSets or returns the normalized coordinate
points of the specified mask segment
MASK:MASK<m>:POINTSPcntSets or returns the points in the specified
mask segment, in percentage coordinates
MASK:MASKPRE:AMPlitudeSets or returns the current mask’s nominal
pulse amplitude in volts
MASK:MASKPRE:HSCAleSets or returns the nominal timing resolution
used to draw the mask, in time/division
MASK:MASKPRE:HTRIGPOSSets or returns the nominal trigger position
(pulse leading edge) used to draw the mask as
a fraction of the display width
MASK:MASKPRE:PATTERNBITS
MASK:MASKPRE:PRESAMPBITS
MASK:MASKPRE:RECOrdlength
MASK:MASKPRE:SERIALTRIGSets or returns enabling of serial trigger for the
Sets or returns the number of bits used for
serial trigger for the current standard
Sets or returns the number of bits before the
(isolated one) pulse leading edge in serial
trigger
Sets or returns the nominal record length for
pulse mask testing
current mask standard
MASK:MASKPRE:TRIGTOSAMPSets or returns the time, in seconds, from the
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
(leading edge) trigger position to the pulse bit
sampling position
2- 23
Command Groups
Table 2- 16: Mask commands (cont .)
HeaderDescription
MASK:MASKPRE:VOFFSetSets or returns the nominal vertical offset, in
volts, used to verticall y offset the input
channels
MASK:MASKPRE:VPOSSets or returns the nominal vertical position, in
divisions, used to vertically position the input
channels
MASK:MASKPRE:VSCAleSets or returns the nominal vertical scale, in
volts per division, used to vertically scale the
input channels
MASK:MASKPRE:WIDthSets or returns the nominal bit width in
seconds
MASK:POLaritySets or returns the input waveform polarity
pass/fail testing mode
MASK:STANdardSets or returns the currently-displayed mask
MASK:STOPOnviolationSets or returns the stop on violation mode
MASK:TESt:BEEP:COMPLetionSets or returns the beep on pass/fail test
completion mode
MASK:TESt:BEEP:FAILUre
MASK:TESt:DELaySets or returns the amount of time to wait after
MASK:TESt:HARDCopySets or returns the hard copy on pass/fail test
MASK:TESt:REPeatSets or returns the repeat pass/fail test on
MASK:TESt:SAVEWFMSets or returns the save waveform to file on
MASK:TESt:STATESets or returns the state of mask pass/fail
MASK:TESt:STATUS?Returns the mask test pass/fail status
MASK:TESt:THResholdSets or returns the maximum number of tested
MASK:TESt:WAVEformSets or returns the number of waveforms to
Sets or returns the beep on pass/fail test
failure mode
starting pass/fail testing to evaluate waveforms
failure mode
completion mode
failure mode
testing
waveforms that are allowed to fail during each
pass/fail test
test during pass/fail testing
2- 24
MASK:USER:MASK<m> DELEte
MASK:USER:MASK<m>:NR_Pt?Returns the number of points that make up the
Deletes the specified mask segment from the
User mask
specified mask segment in the User mask
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Groups
Table 2- 16: Mask commands (cont .)
HeaderDescription
MASK:USER:MASK<m>:POINTSSets or returns the X-Y user coordinates of all
points in the specified User mask segment
MASK:USER:MASK<m>:POINTSNormSets or returns the normalized coordinate
points of the specifi ed User mask segment
MASK:USER:MASK<m>:POINTSPcntSets or returns the points in the specified User
mask segment, in percentage coordinates
MASK:USER:MASKPRE:AMPlitudeSets or returns the User mask’s nominal pulse
amplitude in volts
MASK:USER:MASKPRE:HSCAleSets or returns the nominal timing resolution
used to draw the User mask, in time/division
MASK:USER:MASKPRE:HTRIGPOSSets or returns the nominal trigger position
(pulse leading edge), as a fraction of the
display width, used to draw the User mask
MASK:USER:MASKPRE:PATTERNBITSSets or returns the number of bits used for
serial trigger for the User mask standard
MASK:USER:MASKPRE:PRESAMPBITSSets or returns the number of bits before the
(isolated one) pulse leading edge in User
mask
MASK:USER:MASKPRE:RECOrdlengthSets or returns the nominal record length for
User mask
MASK:USER:MASKPRE:SERIALTRIGSets or returns enabling of serial trigger for the
User mask standard
MASK:USER:MASKPRE:TRIGTOSAMPSets or returns the time, in seconds, from the
(leading edge) trigger position to the pulse bit
sampling position, for the User Mask
MASK:USER:MASKPRE:VOFFSetSets or returns the nominal vertical offset, in
volts, used to verticall y offset the input
channels
MASK:USER:MASKPRE:VPOSSets or returns the nominal vertical position, in
divisions, used to vertically position the input
channels
MASK:USER:MASKPRE:VSCAleSets or returns the nominal vertical scale, in
volts per division, used to vertically scale the
input channels
MASK:USER:MASKPRE:WIDTHSets or returns the User mask standard’s
nominal bit width in seconds
TRIGger:A:COMMunication:STANdardSets or returns the current standard A trigger
communication trigger settings
TRIGger:MAIn:COMMunication:STANdard
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Sets or returns the current standard main
trigger communication trigger settings
2- 25
Command Groups
Table 2- 17: Available TDS3TMT ITU-T G.703 mask standards
Sets or returns the value of the user-defined
variableVAR1orVAR2
units label
Same as the equivalent MATH commands
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 27
Command Groups
Measurement Commands
Measurement commands control the automated measurement system.
Table 2--20 on page 2--28 lists these commands.
Up to four automated measurements can be displayed on the screen. In the
commands, these four measurement readouts are named MEAS<x>,where<x> can
be 1, 2, 3,or4.
In addition to the four displayed measurements, the measurement commands let
you specify a fifth measurement, IMMed. The immediate measurement has no
front-panel equivalent. Immediate measurements are never displayed, but return
the immediate value of the specified measurement. 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 VALue?
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.
Table 2- 20: Measurement commands
HeaderDescription
MEASUrement?Returns all measurement parameters
MEASUrement:CLEARSNapshotClears the measurement snapshot screen
MEASUrement:GATingSets or returns measurement gating
MEASUrement:IMMed:DATa?Returns measurement result and qualifier
MEASUrement:IMMed:DELay?Returns information about the immediate
delay measurement
MEASUrement:IMMed:DELay:DIREctionSets the starting point and directions of
immediate delay measurement
MEASUrement:IMMed:DELay:EDGE1Sets or returns the slope of the first edge used
for the delay waveform measurement
MEASUrement:IMMed:DELay:EDGE2Sets or returns the slope of the second edge
used for the delay wavef orm measurement
MEASUrement:IMMed:SOUrceChannel to take measurement from
MEASUrement:IMMed:SOURCE<x>Sets the source (1 or 2) to be measured
MEASUrement:IMMed:TYPeThe measurement to be taken
2- 28
MEASUrement:IMMed:UNIts?Returns measurement units
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Groups
Table 2- 20: Measurement commands (cont.)
HeaderDescription
MEASUrement:IMMed:VALue?Returns measurement result
MEASUrement:INDICators?Returns all measurement indicator parameters
MEASUrement:INDICators:HORZ<x>?Returns the position of the specified horizontal
measurement indicator
MEASUrement:INDICators:STATESets and returns state of visible measurement
indicators
MEASUrement:INDICators:NUMHORZ?Returns the horizontal measurement indicators
MEASUrement:INDICators:NUMVERT?Returns the vertical measurement indicators
MEASUrement:INDICators:VERT<x>?Returns the position of the specified vertical
measurement indicator
MEASUrement:MEAS<x>?Returns parameters on measurement
MEASUrement:MEAS<x>COUNt?
(TDS3AAM)
MEASUrement:MEAS<x>:DATa?Returns measurement result and qualifier
MEASUrement:MEAS<x>:DELay?Returns delay measurement result and
MEASUrement:MEAS<x>:DELay:
DIREction
MEASUrement:MEAS<x>:DELay:
EDGE<x>
MEASUrement:MEAS<x>:MAXimum?
(TDS3AAM)
MEASUrement:MEAS<x>:MEAN?
(TDS3AAM)
MEASUrement:MEAS<x>:MINImum?
(TDS3AAM)
MEASUrement:MEAS<x>:SOURCEReturns or sets measurement source
MEASUrement:MEAS<x>:SOURCE<x>Returns or sets the source for the specified
MEASUrement:MEAS<x>:STDev?
(TDS3AAM)
Returns parameters on measurement
accumulated
qualifier
Sets the starting point and direction to
determine the delay measurement
Sets the slope of the edge used for delay
measurement
Returns the maximum value for the specified
measurement since last stat istical reset
Returns the mean value accumulated for the
specified measurement since last statistical
reset
Returns the minimum value accumulated for
the specified measurement since the last
statistical reset
measurement
Returns or sets standard deviation values
accumulated for the specified measurement
since the last statistical reset
MEASUrement:MEAS<x>:STATETurns measurement display on or off
MEASUrement:MEAS<x>:TYPeThe measurement to be taken
MEASUrement:MEAS<x>:UNIts?Returns units to use for measurement
MEASUrement:MEAS<x>:VALue?Returns measurement result
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 29
Command Groups
Table 2- 20: Measurement commands (cont.)
HeaderDescription
MEASUrement:METHodMethod for calculating reference levels
MEASUrement:REFLevel?Returns reference levels
MEASUrement:REFLevel:ABSolute:HIGH Sets or returns the high reference level
MEASUrement:REFLevel:ABSolute:LOWSets or returns the low reference level
MEASUrement:REFLevel:ABSolute:MIDSets or returns the mid reference level
MEASUrement:REFLevel:ABSolute:MID2 Sets or returns the mid2 reference level
MEASUrement:REFLevel:METHodSpecifies reference level used for calculation
MEASUrement:REFLevel:PERCent:HIGHSets or returns the percent of the high
reference level
MEASUrement:REFLevel:PERCent:LOWSets or returns the percent of the low
reference level
MEASUrement:REFLevel:PERCent:MIDSets or returns percent of the mid reference
level
MEASUrement:REFLevel:PERcent:MID2Sets or returns percent of the mid2 reference
MEASUrement:SNAPShotDisplays measurement snapshot
MEASUrement:STATIstics:MODE
(TDS3AAM)
MEASUrement:STATIstics:WEIghting
(TDS3AAM)
Miscellaneous Commands
Miscellaneous commands do not fit into other categories. Table 2--21 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.
Table 2- 21: Miscellaneous commands
HeaderDescription
BELlAudio alert
level
Sets operation and display measurement
Sets responsiveness of the mean and
standard waveform changes
2- 30
DATESets date
*DDTDefine group execute trigger (GET)
FACtorySimilar to *RST
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Groups
Table 2- 21: Miscellaneous commands (cont.)
HeaderDescription
HDRSame as HEADer
HEADerReturns command header with query
LANGuageSelects language
LOCkLocks front panel (local lockout)
*LRN?Returns instrument settings
NEWpassChanges password for User Protected Data
PASSWordAccess to change User Protected Data
POWER:AC:PRESENt?Returns a 1 the instrument is powered by AC
POWER:BACKLightSets or returns idle time that must lapse
before the backlight turns off
POWER:BATTery:PRESENt?Returns a 1 if a battery is installed
POWER:BATTery:GASgauge?Returns remaining charge that is left in the
battery. 0 = empty to 15 = full
POWER:SHUTdownSets or returns idle time that must lapse
before the instrument is powered off
REMNo action; remark only
*RSTReturns most settings to factory default
SET?Same as *LRN?
TEKSecureInitialize waveforms and setups
TIMeSets Time
*TRGPerform Group Execute Trigger (GET)
*TST?Self-test
UNLockUnlock front panel (local lockout)
VERBoseReturns full command name or minimum
spellings with query
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 31
Command Groups
RS-232 Commands
RS-232 commands allow you to use the serial communications port available
with a communication module. Table 2--22 lists these commands.
Table 2- 22: RS-232 commands
HeaderDescription
RS232?Returns RS-232 parameters
RS232:BAUdSets baud rate
RS232:HARDFlaggingSets hard flagging
RS232:PRESETSets RS232 parameters to default values
Save and Recall commands allow you to store and retrieve internal waveforms
and settings. When you “save a setup,” you save the settings of the oscilloscope.
When you then “recall a setup,” the oscilloscope restores itself to the state it was
in when you originally saved that setting. Table 2--23 lists these commands.
Table 2- 23: Save and Recall commands
HeaderDescription
RECALL:MASK (TDS3TMT)Loads the specified mask file from the disk or
flash drive to the User mask
RECAll:SETUpRecalls saved instrument settings
RECAll:WAVEformRecalls saved waveform
*RCLRecalls settings
*SAVSaves settings
SAVE:MASK (TDS3TMT)Saves the User mask to a specified file on the
disk or flash drive
SAVe:SETUpSaves instrument settings
SAVe:WAVEformSaves waveform
SAVe:WAVEform:FILEFormatSets or returns file format for saved waveforms
2- 32
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Status and Error Commands
Table 2--24 lists the status and error commands the oscilloscope supports. These
commands let you determine the status of the oscilloscope and control events.
Several commands and queries used with the 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 (*).
Table 2- 24: Status and Error commands
HeaderDescription
ALLEv?Returns all events
BUSY?Returns scope status
*CLSClears status
DESEDevice event status enable
*ESEEvent status enable
Command Groups
*ESR?Returns standard event status register
EVENT?Returns event code
EVMsg?Returns event code and message
EVQty?Returns number of events in queue
ID?Identification
*IDN?Returns IEEE-488 instrument identification
*OPCOperation complete
*PSCPower-on status clear
*PUDQueries or sets User Protected Data
*SREService request enable
*STB?Reads status byte
*WAIWait to continue
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 33
Command Groups
Trigger Commands
Trigger commands control all aspects of oscilloscope triggering. Table 2--25 lists
these commands.
There are two triggers, A and B. Where appropriate, the command set has
parallel constructions for each trigger.
You can set the A or B triggers to edge mode. Edge triggering lets you display a
waveform at or near the point where the signal passes through a voltage level of
your choosing.
The advanced trigger commands are divided into two groups (logic and pulse) in
the following tables, but are combined and listed in alphabetical order in the
command syntax pages.
This table also includes the TDS3VID Extended Video application module
remote command syntax.
Table 2- 25: Trigger commands
HeaderDescription
TRIGger?Returns parameters
TRIGger:AReturns the A trigger parameters
TRIGger:A:COMMunication:SOUrce
(TDS3TMT)
TRIGger:A:COMMunication:STANdard
(TDS3TMT)
TRIGger:A:EDGe?Returns edge trigger parameters
TRIGger:A:EDGe:COUPlingTrigger coupling
TRIGger:A:EDGe:SLOpeTrigger slope
TRIGger:A:EDGe:SOUrceTrigger source
TRIGger:A:HOLdoff?Returns trigger holdoff
TRIGger:A:HOLdoff:TIMeTrigger holdoff
TRIGger:A:HOLdoff:VALueTrigger holdoff
TRIGger:A:LEVelTrigger level
TRIGger:A:LOGIc?Returns the logic trigger settings
TRIGger:A:LOGIc:CLAssSets or returns the logic trigger class value
Sets or returns the signal source on which to
trigger
Sets or returns the communi cation standard on
which to trigger
(pattern or state)
2- 34
TRIGger:A:LOGIc:INPUT<x>:
LOGICLevel
TRIGger:A:LOGIc:INPUT<x>:
SLOpe
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Sets or returns the signal logic level setting of
the specified input
Sets or returns the signal slope setting of the
specified input
Table 2- 25: Trigger commands (cont.)
HeaderDescription
TRIGger:A:LOGIc:INPUT<x>:
SOUrce
Sets or returns the signal source for the
specified logic trigger input
Command Groups
TRIGger:A:LOGIc:INPUT<x>:
THReshold
TRIGger:A:LOGIc:PATtern:
DELTATime
TRIGger:A:LOGIc:PATtern:
FUNCtion
TRIGger:A:LOGIc:PATtern:
WHEn
TRIGger:A:LOGIc:STATE:WHEnSets or returns the state condition on which to
TRIGger:A:MODeTrigger mode
TRIGger:A:PULse?Returns the pulse trigger (width, runt, and slew
TRIGger:A:PULse:CLAssSets or returns the pulse trigger class value
TRIGger:A:PULse:RUNT?Returns the runt pulse trigger parameters
TRIGger:A:PULse:RUNT:
POLarity
TRIGger:A:PULse:RUNT:THReshold?
(TDS3TRG)
Sets or returns the logic trigger threshold
setting of the specified input
Sets or returns the pattern trigger time period
value
Sets or returns the logic function to apply to
the pattern trigger inputs
Sets or returns the pattern logic condition on
which to trigger the oscilloscope
trigger the oscilloscope
rate) settings
(width, runt, or slew rate)
Sets or returns the runt pulse polarity value on
which to trigger the oscilloscope
Returns the runt pulse trigger upper and lower
threshold voltage values
TRIGger:A:PULse:RUNT:
THReshold:BOTh
TRIGger:A:PULse:RUNT:
THReshold:HIGH
TRIGger:A:PULse:RUNT:
THReshold:LOW
TRIGger:A:PULse:RUNT:WHEnSets or returns the runt pulse width condition
TRIGger:A:PULse:RUNT: WIDthSets or returns the runt pulse width time period
TRIGger:A:PULse:SLEWRate?Returns the slew rate trigger settings
TRIGger:A:PULse:SLEWRate:
DELTATime
TRIGger:A:PULse:SLEWRate:
POLarity
TRIGger:A:PULse:SLEWRate:
SLEWrate
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Sets both runt pulse trigger threshold voltage
values
Sets or returns the runt pulse trigger high
threshold voltage value
Sets or returns the runt pulse trigger low
threshold voltage value
on which to trigger the oscilloscope
value
Sets or returns the time component of the slew
rate value
Sets or returns the slew rate slope polarity on
which to trigger the oscilloscope
Sets or returns the slew rate on which to
trigger the oscilloscope
2- 35
Command Groups
Table 2- 25: Trigger commands (cont.)
HeaderDescription
TRIGger:A:PULse:SLEWRate:
THReshold:BOTH
Sets both slew rate threshold voltage values
TRIGger:A:PULse:SLEWRate:
THReshold:HIGH
TRIGger:A:PULse:SLEWRate:
THReshold:LOW
TRIGger:A:PULse:SLEWRate:
WHEn
TRIGger:A:PULse:SOUrceSets or returns the signal source for width,
TRIGger:A:PULse:WIDth:POLaritySets or returns the pulse width polarity value
TRIGger:A:PULse:WIDth:WHEnSets or returns the pulse width condition on
TRIGger:A:PULse:WIDth:WIDthSets or returns the pulse width trigger time
TRIGger:A:SETLevelSets the trigger level to 50%
TRIGger:A:TYPeSets A trigger to edge, logic, pulse, or, video
TRIGger:A:VIDeo?Returns video trigger parameters
TRIGger:A:VIDeo:CUSTom:FORMat
(TDS3SDI, TDS3VID)
Sets or returns the slew rate high threshold
voltage value
Sets or returns the slew rate low threshold
voltage value
Sets or returns the slew rate condition on
which to trigger the oscilloscope
runt, and slew rate triggers
on which to trigger the oscilloscope
which to trigger the oscilloscope
period value
type
Sets or queries the custom video signal source
format
2- 36
TRIGger:A:VIDeo:CUSTom:SCAN
(TDS3SDI, TDS3VID)
TRIGger:A:VIDeo:FIELDSets or queries the field the video trigger
TRIGger:A:VIDeo:HDTV:FORMat
(TDS3SDI, TDS3VID)
TRIGger:A:VIDeo:HOLdoff:FIELD
(TDS3SDI, TDS3VID)
TRIGger:A:VIDeo:LINESets or queries the video line number on
TRIGger:A:VIDeo:SCAN
(TDS3SDI, TDS3VID)
TRIGger:A:VIDeo:SOUrceSelects video trigger source
TRIGger:A:VIDeo:STANdardSelects video trigger standard
TRIGger:A:VIDeo:SYStemSame as TRIGger:A:VIDeo:SOUrce
TRIGger:B?Returns the B trigger level
Sets or queries the custom video signal source
scan rate on which to trigger
detects
Sets or queries the HDTV signal format on
which to trigger
Sets or queries the number of video fields to
hold off before triggering
which to trigger
Sets or queries the video signal source scan
rate on which to t ri gger
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Groups
Table 2- 25: Trigger commands (cont.)
HeaderDescription
TRIGger:B:BYSets the B trigger to delay by time or events
TRIGger:B:EDGe?Returns the trigger coupling, source, and the
slope of the B trigger
TRIGger:B:EDGe:COUPlingSets the B trigger coupling
TRIGger:B:EDGe:SLOpeB trigger slope
TRIGger:B:EDGe:SOUrceB trigger source
TRIGger:B:EVENTS?Returns the current delayed trigger event
parameters
TRIGger:B:EVENTS:COUNtDelay by events count for the B trigger
TRIGger:B:LEVelB trigger level
TRIGger:B:SETLevelSets the trigger level to 50%
TRIGger:B:STATEEnables/disables the B trigger
TRIGger:B:TIMeMinimum time between A and B trigger
TRIGger:B:TYPeSets B trigger to edge, logic, pulse, or, video
(4-channel TDS3000B and TDS3000C
Series oscilloscopes only)
TRIGger:EXTERnal:YUNit
(4-channel TDS3000B and TDS3000C
Series oscilloscopes only)
TRIGger:FORCeForces a trigger event
TRIGger:STATE?Returns trigger system status
Same as the equivalent B trigger commands;
for compatibility with earlier oscilloscopes
Sets or returns the external input probe factor
Sets or returns the external input vertical units
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 37
Command Groups
Vertical Commands
Vertical commands control the display of channels and of main and reference
waveforms. Table 2-- 26 lists these commands.
The SELect:<wfm> 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 oscilloscopes.
Table 2- 26: Vertical commands
HeaderDescription
CH<x>?Returns vertical parameters for channel <x>
CH<x>:BANdwidthSets or returns the bandwidth for channel <x>
CH<x>:COUPlingSets or returns the channel coupling for
channel <x>
CH<x>:DESKewSets or returns the channel deskew time for
channel <x>
CH<x>:ID?Return probe identification for channel <x>
CH<x>:IMPedanceSets or returns the channel probe impedance
for channel <x>
CH<x>:INVertSets or returns the channel invert for
channel <x>
CH<x>:OFFSetSets or returns the channel offset for
channel <x>
CH<x>:POSitionSets or returns the channel position for
channel <x>
CH<x>:PROBeSets or returns the channel probe attenuation
for channel <x>
CH<x>:SCAleSets or returns the channel volts or amps per
div for channel <x>
CH<x>:VOLtsSame as CH<x>:SCAle for channel <x>
CH<x>:YUNITSets or returns the channel vertical units for
channel <x>
SELect?Return selected waveform and state of
channels (on/off)
2- 38
SELect:CONTROlSet selected waveform
SELect:<wfm>Turns channels on or off
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Waveform Commands
Command Groups
Waveform commands let you transfer waveform data points to and from the
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 peak detect or envelope 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 source.
Table 2--28 on page 2--42 lists these commands.
Waveform Data Formats
Acquired waveform data uses 9 or more bits to represent each data point. The
number of bits used depends on the acquisition mode specified when you
acquired the data. Data acquired in SAMple, ENVelope, or PEAKdetect mode
uses 9 bits per waveform data point. Data acquired in AVErage mode uses up to
14 bits per point. For more information on the acquisition modes see the
ACQuire: MODe command on page 2--45.
The DATa:WIDth command lets you specify the number of bytes per data point
when transferring data to and from the oscilloscope. If you specify two bytes for
data, the acquired waveform data is left-shifted to be left-justified in the 16-bit
(2 byte) data quantity. If you specify one byte for data, the least significant bit(s)
are ignored.
The 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
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 39
Command Groups
values range from 0 to 255. When the byte width is two, the signed integer data
ranges from --32768 to 32767, and positive integer values range from 0 to
65,535.
Table 2- 27: Binary data ranges
Byte widthSigned integer rangePositive integer range
1--128 to 1270to255
2--32,768 to 32,7670 to 65,535
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 respectively 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.
Waveform Data/Record
Lengths
Waveform Data Locations
and Memory Allocation
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.
The oscilloscope supports 2 waveform record lengths: 500 points and 10,000
points. When transferring data into the oscilloscope, you must first specify the
record length of the destination waveform record. This is done with the
WFMPre:NR_Pt or WFMPre:REF<x>:NR_Pt commands. Next, specify 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 500
th
point
in the record. The 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 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.
The DATa:SOUrce command specifies the waveform source when transferring a
waveform from the oscilloscope. You can only transfer one waveform at at time.
2- 40
You can transfer in to the oscilloscope one waveform at a time. Waveforms sent
to the oscilloscope are always stored in one of the four reference memory
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Groups
locations. You can specify the reference memory location with the DATa:DESTination command.
Waveform Preamble
Scaling Waveform Data
Transferring Waveform
Data from the
oscilloscope
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--314 for more information about the waveform
preamble.
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 GETWFM (get waveform) program on the disk(s) that come with
this manual shows how you can scale data.
You can transfer waveforms from the oscilloscope to an external controller using
the following sequence:
1. Select the waveform source using the DATa:SOUrce command.
2. Specify the waveform data format using DATa:ENCdg.
3. Specify the number of bytes per data point using DATa:WIDth.
4. Specify the portion of the waveform that you want to transfer using
DATa:STARt and DATa:STOP.
Transferring Waveform
Data to the oscilloscope
5. Transfer waveform preamble information using the WFMPRe? query.
6. Transfer waveform data from the oscilloscope using the CURVe? query.
You can transfer waveform data to one of the four reference waveforms in the
oscilloscope using the following sequence:
1. Specify the reference waveform using DATa:DESTination.
2. Specify the record length of the reference waveform using WFMPre:NR_Pt.
3. Specify the waveform data format using DATa:ENCdg.
4. Specify the number of bytes per data point using DATa:WIDth.
5. Specify first data point in the waveform record using DATa:STARt.
6. Transfer waveform preamble information using WFMPRe.
7. Transfer waveform data to the oscilloscope using CURVe.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 41
Command Groups
Table 2- 28: Waveform commands
HeaderDescription
CURVeTransfers waveform data to or from the
oscilloscope
DATaSets or returns the format and location of the
waveform data that is transferred wit h the
CURVe command
DATa:DESTinationSets or returns the destination for waveforms
sent to oscilloscope
DATa:ENCdgSets or returns the waveform data encoding
method
DATa:SOUrceSets or returns the source of CURVe? data
DATa:STARtSets or returns the starting point in waveform
transfer
DATa:STOPSets or returns the ending point in waveform
transfer
DATa:TARgetSame as DATa:DESTination
DATa:WIDthSets or returns the byte width of waveform
points
REF<x>:DATE?Query waveform save date
REF<x>:HORizontal:POSition<NR3>Sets or returns the horizontal waveform zoom
position
REF<x>:HORizontal:SCAle<NR3>Sets or returns the horizontal waveform zoom
scale
REF<x>:LABel (TDS3AAM)Sets or returns the user-defined reference
waveform label
REF<x>:TIMe?Query waveform save time
REF<x>:VERTical:POSition<NR3>Sets or returns the vert ical waveform position
REF<x>:VERTical:SCAle<NR3>Sets or returns the vertical waveform scale
WAVFrm?Query waveform preamble and data
WFMPre?Query waveform preamble
WFMPre:BIT_NrSets or returns the preamble bit width of
waveform points
WFMPre:BN_FmtSets or returns the preamble binary encoding
type
2- 42
WFMPre:BYT_NrSets or returns the preamble byte width of
waveform points
WFMPre:BYT_OrSets or returns the preamble byte order of
waveform points
WFMPre:ENCdgSets or returns the preamble encoding method
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Groups
Table 2- 28: Waveform commands (cont.)
HeaderDescription
WFMPre:NR_PtSets or returns the the number of points in the
curve transfer to/from the oscilloscope
WFMPre:PT_FmtSets or returns the format of curve points
WFMPre:PT_Off?Query trigger offset
WFMPre:WFId?Query curve identifier
WFMPre:XINcrSets or returns the horizontal sampling interval
WFMPre:XUNitSets or returns the horizontal units
WFMPre:XZEroSets or returns the time of first point in
waveform
WFMPre:YMUltSets or returns the vertical scale factor
WFMPre:YOFfSets or returns the vertical position
WFMPre:YUNitSets or returns the vertical units
WFMPre:YZEroSets or returns the offset voltage
WFMPre:<wfm>?Query waveform preamble
WFMPre:<wfm>:NR_PtSet the record length of the destination
reference waveform. Query the number of
points in the curve transfer from the oscilloscope.
WFMPre:<wfm>:PT_FmtSets or returns the format of curve points
WFMPre:<wfm>:PT_Off?Query trigger offset
WFMPre:<wfm>:WFId?Query curve identifier
WFMPre:<wfm>:XINcrSets or returns the horizontal sampling interval
WFMPre:<wfm>:XUNitSets or returns the horizontal units
WFMPre:<wfm>:XZEroSets or returns the time of first points in a
waveform
WFMPre:<wfm>:YMUltSets or returns the vertical scale factor
WFMPre:<wfm>:YOFfSets or returns the vertical position
WFMPre:<wfm>:YUNitSets or returns the vertical units
WFMPre:<wfm>:YZEroSets or returns the offset voltage
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 43
Command Groups
2- 44
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Descriptions
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. Commands that are set only are labeled with the words “(Set Only)”
next to the command. Commands that are query only are labeled with the words
“(Query Only)” next to the command.
This manual shows the minimal command headers, mnemonics, and arguments
in upper case. For example, to use the minimal form of the ACQuire:MODe
command just type ACQ:MOD (or acq:mod).
ACQuire? (Query Only)
Returns all the current acquisition parameters.
Examples
ACQuire:MODe
Group
Syntax
Acquisition
ACQuire?
ACQUIRE?
might return the string :ACQUIRE:STOPAFTER RUNSTOP;STATE 1;MODE
SAMPLE;NUMENV 8;NUMAVG 16 for the current acquisition parameters.
Sets or queries the acquisition mode of the 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 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.
Group
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Acquisition
2- 45
Command Descriptions
Syntax
Arguments
ACQuire:MODe { SAMple | PEAKdetect | AVErage | ENVelope }
SAMple 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 9 bits of precision. You can request 16 bit data with a
CURVe? query, but the lower-order 7 bits of data will be zero. SAMple is the
default mode.
PEAKdetect 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. PEAKdetect mode can reveal the presence of aliasing or
narrow spikes.
AVErage specifies averaging mode, where the resulting waveform shows an
average of SAMple 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.
ENVelope specifies envelope mode, where the resulting waveform shows the
PEAKdetect 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.
Examples
Related Commands
ACQUIRE:MODE ENVELOPE
sets the acquisition mode to display a waveform that is an envelope of many
individual waveform acquisitions.
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 2
reached. This is the same value that is displayed in the ACQUIRE menu.
Group
Syntax
Acquisition
ACQuire:NUMACq?
30
--1. Counting stops when this number is
2- 46
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Descriptions
Examples
Related Commands
ACQuire:NUMAVg
Group
Syntax
Arguments
ACQUIRE:NUMACQ?
might return 350, indicating that 350 acquisitions took place since an ACQUIRE:STATE RUN command was executed.
ACQuire:STATE
Sets the number of waveform acquisitions that make up an averaged waveform.
This is equivalent to setting the Average count in the Acquisition Mode menu.
Acquisition
ACQuire:NUMAVg <NR1>
ACQuire:NUMAVg?
<NR1> is the number of waveform acquisitions to average, from 2 to 512 (must
be a power of two).
Examples
Related Commands
ACQuire:NUMEnv
Group
ACQUIRE:NUMAVG 16
specifies that an averaged waveform will show the result of combining 16
separately acquired waveforms.
ACQUIRE:NUMAVG?
might return 64, indicating that there are 64 acquisitions specified for averaging.
ACQuire:MODe
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.
Acquisition
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 47
Command Descriptions
Syntax
Arguments
Returns
Examples
ACQuire:NUMEnv { <NR1> | INFInite }
ACQuire:NUMEnv?
<NR1> ¸ 0 is the number of waveform acquisitions, from 2 to 512 (must be a
power of two). The envelope will restart after the specified number of envelopes
have been acquired or when the ACQuire:STATE RUN command is sent.
INFInite or <NR1> = 0 or 999999999 specifies continuous enveloping.
NOTE. If you set the acquisition system to single sequence, envelope mode, and
set the number of envelopes to infinity, the oscilloscope will envelope a maximum
of 513 acquisitions.
999999999 is returned for INFInite.
ACQUIRE:NUMENV 16
specifies that an enveloped waveform will show the result of combining 16
separately acquired waveforms.
Related Commands
ACQuire:STATE
Group
Syntax
ACQUIRE:NUMENV?
might return 999999999, indicating that acquisitions are acquired infinitely for
enveloped waveforms.
ACQuire:MODe
Sets or returns the acquisition state. 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 a waveform acquisition.
Acquisition
ACQuire:STATE { OFF | ON | RUN | STOP | <NR1> }
ACQuire:STATE?
2- 48
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Descriptions
Arguments
Examples
Related Commands
ACQuire:STOPAfter
OFF or STOP or <NR1> = 0 stops acquisitions.
ON or RUN or <NR1> ¸ 0 starts acquisition and display of waveforms. If the
command was issued in the middle of an acquisition sequence (for instance
averaging or enveloping), RUN restarts the sequence, discarding any data
accumulated prior to the STOP. It also resets the number of acquisitions.
ACQUIRE:STATE RUN
starts acquisition of waveform data and resets the number of acquisitions count
(NUMACQ) to zero.
ACQUIRE:STATE?
returns either 0 or 1, depending on whether the acquisition system is running.
ACQuire:NUMACq?, ACQuire:STOPAfter
Tells the oscilloscope when to stop taking acquisitions.
Group
Syntax
Arguments
Acquisition
ACQuire:STOPAfter { RUNSTop | SEQuence }
ACQuire:STOPAfter?
RUNSTop specifies that the run and stop state should be determined by the user
pressing the front-panel RUN/STOP button.
SEQuence specifies “single sequence” operation, where the oscilloscope 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
oscilloscope stops acquisition after digitizing a waveform from a single trigger
event. However, if the acquisition mode is set to average 128 waveforms, then
the oscilloscope stops acquiring data only after all 128 waveforms have been
acquired. The ACQuire: STATE command and the front-panel RUN/STOP
button will also stop acquisition when the oscilloscope is in single sequence
mode.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 49
Command Descriptions
NOTE. If you set the acquisition system to single sequence, envelope mode, and
set the number of envelopes to infinity, the oscilloscope will envelope a maximum
of 513 acquisitions.
ALIas
Examples
Related Commands
Group
Syntax
ACQUIRE:STOPAFTER RUNSTop
sets the oscilloscope to stop acquisition when the user presses the front-panel
RUN/STOP button.
ACQUIRE:STOPAFTER?
might return SEQUENCE.
ACQuire:MODe, ACQuire:STATE
Turns command aliases on or off. This command is identical to the
ALIas:STATE command.
Alias
ALIas { OFF | ON | <NR1> }
ALIas?
2- 50
Arguments
Examples
OFF or <NR1> = 0 turns alias expansion off. If a defined alias label is sent when
ALIas is OFF, an execution error (102, “Syntax error: illegal use of alias-alias”)
will be generated.
ON or <NR1> ¸ 0 turns alias expansion on. When a defined alias is received, the
specified command sequence is substituted for the alias and executed.
ALIAS ON
turns the alias feature on.
ALIAS?
returns 1 when aliases are on.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
ALIas:CATALOG? (Query Only)
Returns a list of the currently defined alias labels, separated by commas. If no
aliases are defined, the query returns the string ””.
Command Descriptions
Examples
ALIas:DEFINE
Group
Syntax
Returns
Alias
ALIas:CATALOG?
<QString>[,<QString>...]
ALIAS:CATALOG?
might return the string ”SETUP1”,”TESTMENU1”,”DEFAULT”, 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 not be recursive.
Group
Syntax
Arguments
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
The first <QString> 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. The label must be ≤12 characters.
The second <QString> or <Block> 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 ≤256 characters.
2- 51
Command Descriptions
NOTE. Attempting to give two aliases the same name causes an execution error .
To give a new alias the name of an existing alias, you must first delete the
existing alias.
defines an alias named “ST1” that sets up the oscilloscope.using information in
setup 5.
ALIAS:DEFINE? ”ST1”
might return :ALIAS:DEFINE ”ST1”,#239:RECALL:SETUP 5;:AUTOSET
EXECUTE;:SELECT:CH1 ON
ALIas:DELEte (Set Only)
Removes a specified alias. This command is identical to ALIas:DELEte:NAMe.
Group
Syntax
Arguments
Alias
ALIas:DELEte <QString>
<QString> is the name of the alias you want to remove. Using ALIas:DELEte
without specifying an alias causes an execution error. <QString> must be an
existing alias.
Examples
ALIAS:DELETE ”SETUP1”
deletes the alias named SETUP1.
ALIas:DELEte:ALL (Set Only)
Deletes all existing aliases.
Group
Syntax
Examples
2- 52
Alias
ALIas:DELEte:ALL
ALIAS:DELETE:ALL
deletes all aliases.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
ALIas:DELEte:NAMe (Set Only)
Removes a specified alias. This command is identical to ALIas:DELEte.
Command Descriptions
Arguments
ALIas:STATE
Group
Syntax
Examples
Group
Syntax
Alias
ALIas:DELEte:NAMe <QString>
<QString> is the name of the alias to remove. Using ALIas:DELEte:NAMe
without specifying an alias causes an execution error. <QString> must be an
existing alias.
ALIAS:DELETE:NAME ”STARTUP”
deletes the alias named STARTUP.
Turns aliases on or off. This command is identical to the ALIas command.
Alias
ALIas:STATE { OFF | ON | <NR1> }
ALIas:STATE?
Arguments
Examples
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
OFF or <NR1> = 0 turns alias expansion off. If a defined alias is sent when
ALIas:STATE is OFF, a command error (102) is generated.
ON or <NR1> ¸ 0 turns alias expansion on. When a defined alias is received, the
specified command sequence is substituted for the alias and executed.
ALIAS:STATE OFF
turns the command alias feature off.
ALIAS:STATE?
returns 0 when the alias feature is off.
2- 53
Command Descriptions
ALLEv? (Query Only)
Causes the 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.
Group
Syntax
Returns
Examples
Related Commands
Status and error
ALLEv?
The event code and message in the following format:
<Command> is the command that caused the error and may be returned when a
command error is detected by the oscilloscope. As much of the command will be
returned as possible without exceeding the 60 character limit of the <Message>
and <Command> strings combined. The command string is right-justified.
ALLEV?
might return the string :ALLEV 2225,”Measurement error, No waveform to
measure; ”,420,”Query UNTERMINATED; ”.
Sets the oscilloscope to automatically 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.
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Descriptions
Arguments
Examples
BELl (Set Only)
EXECute sets the oscilloscope to automatically provide a stable display of the
active edge--triggered waveform.
UNDO restores the oscilloscope settings to those present prior to the autoset
execution.
VIDeo Sets the oscilloscope to display a broadcast-standard video waveform
triggered on all lines. The video waveform must be NTSC, PAL, or SECAMcompliant, with a horizontal scan rate from 15 kHz to 20 kHz.
VFields sets the oscilloscope to automatically provide a stable display of the
active video waveform, triggered on all fields. TDS3VID, TDS3SDI only.
VLines sets the oscilloscope to automatically provide a stable display of the
active video waveform, triggered on all lines. TDS3VID, TDS3SDI only.
AUTOSET EXECUTE
Autosets the oscilloscope to automatically acquire and display an edge-triggered
signal.
Group
Syntax
Examples
BUSY? (Query Only)
Group
Syntax
Emits an audible tone from the oscilloscope.
Miscellaneous
BELl
BELL
emits an audible tone from the oscilloscope.
Returns the status of the oscilloscope. This command allows you to synchronize
the operation of the oscilloscope with your application program. Synchronization
methods are described on page 3--7.
Status and error
BUSY?
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 55
Command Descriptions
Returns
Examples
<NR1> = 0 means that the oscilloscope is not busy processing an execution-timeintensive command. Execution-time-intensive commands are listed in
Table 2--29.
<NR1> = 1 means that the oscilloscope is busy processing one of the commands
listed in Table 2--29.
Table 2- 29: Commands that affect BUSY? response
OperationCommand
Single sequence acquisitionACQuire:STATE ON or
ACQuire:STATE RUN
(when ACQuire:STOPAfter is set to SEQuence)
Automatic scope adjustmentAUTOSet EXECute
Internal self --calibration*CAL
Hardcopy outputHARDCopy STARt
BUSY?
might return 1, indicating that the instrument is busy.
Related Commands
CAL? (Query Only)
Group
Syntax
Returns
Examples
*OPC, *WAI
Returns the internal and factory calibration status and the calibration due status.
Calibration and Diagnostic
CAL?
Internal and factory calibration status and the calibration due status.
CAL?
might return :CALIBRATE:INTERNAL:STATUS PASS;:CALIBRATE:FACTORY:
STATUS PASS;NOTIFY:HOURS 2000;YEARS 1.0E0;DUE 0 to indicate the
internal and factory calibration status and the calibration due status.
2- 56
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
*CAL? (Query Only)
Command Descriptions
Runs an internal self-calibration and returns the oscilloscope calibration status.
NOTE. Disconnect or otherwise removeall input signals prior to starting
self-calibration.
The self-calibration can take several minutes to complete. No other commands
are executed until calibration is complete.
Group
Syntax
Returns
Examples
Calibration and Diagnostic
*CAL?
<NR1> = 0 indicates that the calibration did not complete successfully.
<NR1> ¸ 0 indicates that the calibration completed without errors.
*CAL?
performs an internal self-calibration and might return 1 to indicate that the
calibration was successful.
CALibrate:FACtory
This command is the same as CALibrate:FACtory:STA Rt.
CALibrate:FACtory:ABOrt (Set Only)
Causes the oscilloscope to abort the factory calibration process, reset to the
calibration initialization step, and exit without saving calibration data or status
information.
Group
Syntax
Examples
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Calibration and Diagnostic
CALibrate:FACtory:ABOrt
CALIBRATE:FACTORY:ABORT
aborts the current factory calibration process.
2- 57
Command Descriptions
CALibrate:FACtory:CONTInue (Set Only)
Instructs the instrument to execute the current factory calibration step. The
calibration step number is incremented on completion of this step, independent
of the step pass/fail status. Follow this command with CALibrate:
FACtory:STEPstatus? to determine execution status. Use CALibrate:|
FACtory:PREVious (followed by a CALibrate:FACtory:CONTinue) to repeat a
factory calibration step that failed.
If the current step is the last step and the calibration succeeds, new calibration
data (and pass status) is saved to non-volatile memory and the oscilloscope
returns to normal operation in the same state it was in before beginning factory
calibration.
If the current step is the last step and any factory calibration step has failed
(without a successful pass for repeated steps), a fail status will be saved to
non-volatile memory. Factory calibration data will not be saved to non-volatile
memory if the factory status is FAIL.
Group
Syntax
Calibration and Diagnostic
CALibrate:FACtory:CONTInue
CALibrate:FACtory:NOTIfy:DUE? (Query Only)
Queries if calibration is due.
Group
Syntax
Returns
Examples
Calibration and Diagnostic
CALibrate:FACtory:NOTIfy:DUE?
<NR1> = 1 indicates the oscilloscope is due for calibration.
<NR1> = 0 indicates the oscilloscope is not due for calibration.
CALIBRATE:FACTORY:NOTIFY:DUE?
might return :CALIBRATE:FACTORY:NOTIFY:DUE 0 indicating that factory
calibration is not due.
2- 58
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
<NR1> = is the number of hours, 500 to 10000, before the instrument displays a
notifier saying that calibration is due. Numbers entered are rounded to the
nearest valid number.
INFInite = disables the calibration due notifier display feature.
CALIBRATE:FACTORY:NOTIFY:HOURS 1500
sets the calibration notification time to 1500 hours.
CALIBRATE:FACTORY:NOTIFY:HOURS?
might return :CALIBRATE:FACTORY:NOTIFY:HOURS 2000 indicating that the
calibration due notifier will be displayed 2000 hours after the last calibration.
CALibrate:FACtory:NOTIfy:YEARs
Sets or returns the number of years when calibration is due.
Group
Syntax
Arguments
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
<NR3> = is the number of years, 0.5 to 5, before the instrument displays a notifier
saying that calibration is due. Numbers entered are rounded to the nearest valid
number.
INFInite = disables this feature.
2- 59
Command Descriptions
Examples
CALIBRATE:FACTORY:NOTIFY:YEARS 1.5e0
sets the calibration due time to 1.5 years.
CALIBRATE:FACTORY:NOTIFY:YEARS?
might return :CALIBRATE:FACTORY:NOTIFY:YEARS 1.5E0 indicating that the
calibration due notifier will be displayed 1.5 years after the last calibration.
CALibrate:FACtory:PREVious (Set Only)
This command backs up the calibration steps one step so that the next CALibrate:FACtory:CONTInue command will repeat the factory calibration step that
just finished. Repeated CALibrate:FACtory:PREVious commands can back up as
many calibration steps as desired (until step one is reached). The appropriate
notifier (with signal source information) is displayed after the factory calibration
step is adjusted.
Group
Syntax
Calibration and Diagnostic
CALibrate:FACtory:PREVious
Examples
CALIBRATE:FACTORY:PREVIOUS
backs up the calibration steps one step.
CALibrate:FACtory:STARt (Set Only)
The factory calibration process consists of a series of steps. This command
initializes the factory calibration sequence, but performs no actual signal path
characterization.
The calibration process automatically sets up the oscilloscope for each step. Do
not send any other commands that change the state of the oscilloscope until the
calibration process is complete. Send the CALibrate:FACtory:CONTInue
command to begin the selected calibration step (after the appropriate signal
source is connected). Send CALibrate:ABOrt or *RST to abort the calibration
process.
Group
Syntax
Calibration and Diagnostic
CALibrate:FACtory:STARt
2- 60
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Command Descriptions
Examples
CALIBRATE:FACTORY:START
initializes the factory calibration sequence.
CALibrate:FACtory:STATUS? (Query Only)
Returns the factory calibration status value saved in non-volatile memory.
Group
Syntax
Examples
Calibration and Diagnostic
CALibrate:FACtory:STATUS?
CALIBRATE:FACTORY:STATUS?
might return :CALIBRATE:FACTORY:STATUS PASS indicating that factory
calibration passed.
CALibrate:FACtory:STEPstatus? (Query Only)
Returns pass during oscilloscope power on without regard to actual calibration
status. Returns pass or fail for the factory calibration step that most recently
executed when factory calibration is in progress. Use this query to synchronize
programmed factory calibration steps.
Group
Syntax
Examples
Calibration and Diagnostic
CALibrate:FACtory:STEPstatus?
CALIBRATE:FACTORY:STEPSTATUS?
might return :CALIBRATE:FACTORY:STEPSTATUS FAIL if the last oscilloscope
calibration step did not pass.
CALibrate:INTERNal (Set Only)
Executes the signal path compensation (SPC) calibration process. The calibration
algorithm takes a few minutes to complete. No other command is executed until
calibration is complete. The oscilloscope state is saved before SPC execution and
restored afterwards. Pass/fail status is saved in nonvolatile memory.
Group
Calibration and Diagnostic
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
2- 61
Command Descriptions
Syntax
Examples
Related Commands
CALibrate:INTERNal
CALIBRATE:INTERNAL
performs an internal self-calibration (SPC).
CALibrate:INTERNal:STARt
CALibrate:INTERNal:STARt (Set Only)
Performs a signal path compensation (SPC). The calibration algorithm takes a
few minutes to complete. No other command is executed until calibration is
complete. The oscilloscope state is saved before SPC execution and restored
afterwards. Pass/fail status is saved in nonvolatile memory.
Group
Syntax
Calibration and Diagnostic
CALibrate:INTERNal:STARt
Examples
Related Commands
CALIBRATE:INTERNAL:START
Starts a signal path compensation (SPC).
CALibrate:INTERNal:STATUS?
CALibrate:INTERNal:STATUS? (Query Only)
Returns the SPC calibration status value saved in non-volatile memory.
Group
Syntax
Returns
Calibration and Diagnostic
CALibrate:INTERNal:STATUS?
PASS indicates that the last calibration completed without any errors detected.
FAIL indicates that the last calibration did not complete successfully.
UNCAL indicates that the non-volatile memory has failed.
2- 62
TDS3000, TDS3000B, and TDS3000C Series Programmer Manual
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.