Copyright E Sony/Tektronix Corporation. All rights reserved.
Copyright E T ektronix, Inc. All rights reserved.
T ektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes
that in all previously published material. Specifications and price change privileges reserved.
Printed in Japan.
Sony/T ektronix Corporation, P.O.Box 5209, T okyo Int’l, Tokyo 100–31 Japan
T ektronix, Inc., P.O. Box 1000, Wilsonville, OR 97070–1000
TEKTRONIX and TEK are registered trademarks of T ektronix, Inc.
WARRANTY
T ektronix warrants that this product will be free from defects in materials and workmanship for a period of one (1) year
from the date of shipment. If any such product proves defective during this warranty period, T ektronix, at its option, either
will repair the defective product without charge for parts and labor, or will provide a replacement in exchange for the
defective product.
In order to obtain service under this warranty, Customer must notify Tektronix of the defect before the expiration of the
warranty period and make suitable arrangements for the performance of service. Customer shall be responsible for
packaging and shipping the defective product to the service center designated by T ektronix, with shipping charges prepaid.
T ektronix shall pay for the return of the product to Customer if the shipment is to a location within the country in which the
T ektronix service center is located. Customer shall be responsible for paying all shipping charges, duties, taxes, and any
other charges for products returned to any other locations.
This warranty shall not apply to any defect, failure or damage caused by improper use or improper or inadequate
maintenance and care. T ektronix shall not be obligated to furnish service under this warranty a) to repair damage resulting
from attempts by personnel other than T ektronix representatives to install, repair or service the product; b) to repair
damage resulting from improper use or connection to incompatible equipment; or c) to service a product that has been
modified or integrated with other products when the effect of such modification or integration increases the time or
difficulty of servicing the product.
THIS WARRANTY IS GIVEN BY TEKTRONIX WITH RESPECT TO THIS PRODUCT IN LIEU OF ANY
OTHER WARRANTIES, EXPRESSED OR IMPLIED. TEKTRONIX AND ITS VENDORS DISCLAIM ANY
IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
TEKTRONIX’ RESPONSIBILITY TO REPAIR OR REPLACE DEFECTIVE PRODUCTS IS THE SOLE AND
EXCLUSIVE REMEDY PROVIDED TO THE CUST OMER FOR BREACH OF THIS WARRANTY. TEKTRONIX
AND ITS VENDORS WILL NOT BE LIABLE FOR ANY INDIRECT , SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES IRRESPECTIVE OF WHETHER TEKTRONIX OR THE VENDOR HAS
ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
Preface
This is the Programmer Manual for the 3066 and 3086 Real Time Spectrum
Analyzer. This manual provides information on operating the instrument over the
GPIB and TCP/IP interfaces. It also covers the 3066 Option 15 cdmaOne
analysis functions, the 3086 Option 16 W-CDMA/cdmaOne analysis functions,
and the 3066/3086 Option 20 CCDF analysis functions.
This manual provides the following information:
HGetting Started describes how to connect and set up the analyzer for remote
operation.
HSyntax and Commands defines the command syntax and processing
conventions and describes each command in the analyzer command set.
HStatus and Events explains the status information and event messages
reported by the analyzer.
HProgramming Examples shows some example analyzer programs.
HAppendices contains various tables of reference information.
Related Manuals
HGlossary and Index contains a glossary of common terms and an index to
this manual.
Other documentation for the analyzer includes:
HThe 3066 and 3086 Real Time Spectrum Analyzer User Manual (Tektronix
part number 071-0501-XX) describes the operation of the instrument.
HThe 3066 and 3086 Real Time Spectrum Analyzer Service Manual (Tektro-
nix part number 071-0503-XX) provides information for maintaining and
servicing the analyzer.
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
vii
Preface
viii
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
Getting Started
Getting Started
The 3066 and 3086 are DC to 3 GHz Real Time Spectrum Analyzer. The
instrument software operates on the Windows 95. You can write computer
programs that remotely set the analyzer front panel controls or that take
measurements and read those measurements for further analysis or storage
through the GPIB or TCP/IP Ethernet (optional) interface.
To help you get started with programming the analyzer, this section includes the
following sections:
HOverview of the Manual – summarizes the type of programming information
contained in each major section of this manual.
HSetting Up Remote Communications – describes how to physically connect
the analyzer to a controller and set the appropriate front panel controls.
The Difference between the 3066 and 3086
The 3066 and 3086 functions are the same, except that the 3086 has the
following two input modes:
HWideband input mode: Processes 50 MHz to 3 GHz signals with maximum
30 MHz span in the vector mode.
HIQ input mode: Inputs the I and Q signals directly from the rear panel
connectors.
The descriptions in this manual apply to both the 3066 and 3086, unless
otherwise noted. For more information about the functions of the analyzer, refer
to the User Manual.
3066 & 3086 3 GHz Real Time Spectrum Analyzer 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
The Syntax and Commands chapter describes the structure and content of the
messages your program sends to the analyzer, Figure 1–1 shows command parts
as described in the Command Syntax subsection.
Command Parts
Header
Arguments
:Util3:PeakHoldĂĂActive,100,0,D1
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 description sections starting from the ConfigurationCommands on page 2–37 arrange commands alphabetically for each command
group (see Figure 1–2).
Space
Comma
Waveform View Commands
Utility
Configuration Commands
Commands grouped in functional areasCommands listed alphabetically
Figure 1-2: Functional groupings and an alphabetical list of commands
1-2
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
:Setup:FFTPoints
:Setup:CenterFrequency
:Setup:BlockSize
Syntax: . . .
Argument: . . .
Examples: . . .
for each command group
Getting Started
Status and Events
The program may request information from the analyzer. The analyzer provides
information in the form of status and error messages. Figure 1–3 illustrates the
basic operation of this system.
The Status and Events chapter starting on page 3–1 describes how to obtain
status and event messages in your programs.
Your program requests
status and event reports.
Controller
The analyzer sends status and
event reports.
3066/3086
Figure 1-3: Event (interrupt) driven programs
Programming Examples
The Programming Examples chapter starting on page 4–1 describes some
example programs of the PERL source codes (PERL is a freeware).
#
# Main
#
tcp_client(S, '', '3000');
tcp_client(SS, '', '3001');
print S "NewLine LF\n";
print S "Config:Pause On\n";
print S "Config:View1 Waveform\n";
print S "View1:Trace2:Source D1\n";
Figure 1-4: Example programs of the PERL source codes
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
1-3
Getting Started
Connecting the Interface
The analyzer has an IBM PC based expansion slots on its rear panel, as shown in
Figure 1–5. The analyzer is shipped standard with a GPIB port. In addition, the
analyzer can be configured with optional networking cards.
HGPIB interface
HEthernet interface (Option 10)
NOTE. Only a service personnel can install the network card. Contact Tektronix
for details.
You can also connect the following peripheral devices to the analyzer. Refer to
the 3066 and 3086 User Manual for information on using these interfaces.
This connector has a D-type shell and conforms to IEEE Std 488.1–1987
(The cable is available from Tektronix as part number 012–0991–00).
With Option 10, you can connect the analyzer directly to an Ethernet
network using a twisted pair (10BASE-T/100BASE-TX) cable.
HMouse and keyboard interface
HParallel interface for connecting a printer
HSCSI interface for connecting a SCSI device such as an hard disk.
Parallel connector
SCSI connector
1-4
Ethernet interface (Option 10)
GPIB interface
Mouse and keyboard interface
Figure 1-5: Interface connector location on the rear panel
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
Using Communication Ports
The analyzer can communicate with the external controller or other devices on
the GPIB and Ethernet network.
Getting Started
Using the GPIB
The analyzer has the Talker/Listener and Controller functions. Refer to the next
section about setting the parameters for the port.
Controller
3066/3086 as the Controller
BusBus
OR
Other GPIB device
3066/3086 as the Talker/Listner
Figure 1-6: GPIB connection
GPIB Device
GPIB Device
GPIB Device
GPIB Device
Figure 1-7: Typical GPIB network configurations
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
GPIB Device
GPIB Device
GPIB Device
1-5
Getting Started
GPIB Requirements. Observe these rules when you use your analyzer with 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 to a
bus.
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. Do not
use loop or parallel configurations (see Figure 1–7).
Using TCP/IP
The analyzer communicates with the external devices through the following two
ports on the TCP/IP Ethernet network.
HCommand port receives commands from, or returns responses to the
external controller.
HEvent port sends events to the external controller.
Refer to the next section about setting the parameters for these ports.
Controller
Command
port
TCP/IP Ethernet network
3066/3086
Event
port
1-6
Figure 1-8: Ethernet connection
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
Setting Communication Parameters from the Front Panel
You can set the communication parameters from the front panel menu or with the
Remote commands. This section describes the front panel operation procedures.
For the remote control commands, refer to Remote Commands on page 2–381.
1. Press the CONFIG:UTILITY key to display the Utility menu.
2. Press the MORE... side key.
3. Press the UTIL H side key to display the Remote menu. See Figure 1–9.
HIf you use the GPIB interface, go to the next section Setting the GPIB
Parameters on page 1–8.
HIf you use the TCP/IP interface, go to the section Setting the TCP/IP
Parameters on page 1–9.
Getting Started
Figure 1-9: Setting the communication parameters
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
1-7
Getting Started
Setting the GPIB
Parameters
You need to set the GPIB parameters of the analyzer to match the configuration
of the bus. Once you have set these parameters, you can control the analyzer
through the GPIB interface.
1. Press the GPIB side key to display the GPIB configuration menu.
See Figure 1–10.
2. Press the Interface side key, and select Talker/Listener using either the
general purpose knob or the keypad.
3. Press the Primary Address side key, and set GPIB address using either the
general purpose knob or the keypad.
1-8
Figure 1-10: Setting the GPIB parameters
The analyzer is set up for bidirectional communication with your controller. If
you wish to isolate the analyzer from the bus:
HPress the Interface side key, and select Off using either the general purpose
knob or the keypad.
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
Getting Started
Setting the TCP/IP
Parameters
You need to set the TCP/IP parameters of the analyzer to match the network
configuration. Once you have set these parameters, you can control the analyzer
on the Ethernet network.
1. Press the TCP/IP side key to display the TCP/IP configuration menu.
See Figure 1–11.
2. Press the Command Port side key, and set the command port number using
either the general purpose knob or the keypad. The number ranges 1024 to
32767.
3. Press the Event Port side key, and set the event port number using either the
general purpose knob or the keypad. The number ranges 1024 to 32767. It
must be different from the command port number.
4. Press the New Line side key, and select the new-line character of returned
value using either the general purpose knob or the keypad.
Figure 1-11: Setting the TCP/IP parameters
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
1-9
Getting Started
1-10
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
Syntax and Commands
Command Syntax
This section contains general information on command structure and syntax
usage. You should familiarize yourself with this material before using the
analyzer command descriptions.
This manual describes commands and queries using the Backus-Naur Form
(BNF) notation. Table 2–1 defines the standard BNF symbols.
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
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
2-1
Command Syntax
Commands and Queries
The analyzer commands are based on a hierarchical or tree structure (see Figure
2–1) that represents a subsystem. The top level of the tree is the root node; it is
followed by one or more lower-level nodes.
Creating Commands
View1
Marker
DeltaX
PeakX
Root node
LowerĆlevel
nodes
Figure 2-1: Example of subsystem hierarchy tree
You can create commands and queries from these subsystem hierarchy trees.
Commands specify actions for the instrument to perform. Queries return
measurement data and information about parameter settings.
The analyzer commands are created by stringing together the nodes of a
subsystem hierarchy and separating each node by a colon (:).
In Figure 2–1, View1 is the root node and Marker, X, DeltaX, and Peak are
lower-level nodes. To create a command, start with the root node View1 and
move down the tree structure adding nodes until you reach the end of a branch.
Most commands and some queries have parameters; you must include a value for
these parameters. The command descriptions, which start on page 2–7, list the
valid values for all parameters.
2-2
Creating Queries
For example, :View1:Marker:X 1.5 is a valid command created from the
hierarchy tree in Figure 2–1.
NOTE. If you specify a parameter value that is out of range, the parameter will
be set to a default value.
To create a query, start at the root node of a tree structure, move down to the end
of a branch, and add a question mark. :View1:Marker:X? is an example of a
valid query using the hierarchy tree in Figure 2–1.
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
Command Syntax
Headers in Query
Responses
Parameter Types
You can control whether the analyzer returns headers as part of the query
response. Use the [:Util8]:Header command (page 2–386) 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–2 shows the difference in responses.
Table 2-2: Comparison of header off and on responses
QueryHeader off responseHeader on response
:View1:Source?"FILE1.AP":View1:Source "File1.AP"
:Setup:Span?5M:Setup:Span 5M
Parameters are indicated by angle brackets, such as <file_name>. There are
several different types of parameters, as listed in Table 2–3. The parameter type
is listed after the parameter. Some parameter types are defined specifically for
the analyzer command set and some are defined by ANSI/IEEE 488.2-1987.
Table 2-3: Parameter types used in syntax descriptions
Special Characters
Parameter TypeDescriptionExample
booleanBoolean numbers or valuesOn, Off
discreteA list of specific valuesMIN, MAX
NR11numericIntegers0, 1, 15, -1
NR21numericDecimal numbers1.2, 3.141516, -6.5
NR31numericFloating point numbers3.1415E-9, -16.1E5
NRf1numericFlexible decimal number that
may be type NR1, NR2, or NR3
2
string
1An ANSI/IEEE 488.2Ć1992Ćdefined parameter type.
2Defined in ANSI/IEEE 488.2 as String Response Data" and String Program Data."
Alphanumeric characters (must
be within quotation marks)
See NR1, NR2, NR3 examples
Testing 1, 2, 3"
The Line Feed (LF) character (ASCII 10) and all characters in the range of
ASCII 127-255 are defined as special characters. Using these characters in any
command yields unpredictable results.
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
2-3
Command Syntax
Abbreviating Commands,
Queries, and Parameters
Chaining Commands and
Queries
You must not
abbreviate all commands, queries, and parameters. For example,
shortening the command :Setup:CenterFrequency to :Setup:CenterFreq
causes an error.
You can chain several commands or queries together into a single message. To
create a chained message, first create a command or query, then add a semicolon
(;), and finally add more commands or queries and semicolons until you are
done. If the command following a semicolon is a root node, precede it with a
colon (:). Figure 2–2 illustrates a chained message consisting of several
commands and queries. The chained message should end in a command or query,
not a semicolon. Responses to any queries in your message are separated by
semicolons.
Response from first queryResponse from second query
Figure 2-2: Example of chaining commands and queries
If a command or query has the same root and lower-level nodes as the previous
command or query, you can omit these nodes. In Figure 2–3, the second
command has the same root node (Marker) as the first command, so these nodes
can be omitted.
:View1:Marker:X 1.5;:View1:Marker:Y -20;:View1:Marker:DeltaMarker On
Identical root and lowerĆlevel nodes
:View1:Marker:X 1.5;Y -20;DeltaMarker On
First commandAdditional commands
(omitted the root nodes)
Figure 2-3: Example of omitting root and lowerĆlevel nodes in a chained message
2-4
3066 & 3086 3 GHz Real Time Spectrum Analyzer Programmer Manual
Loading...
+ 456 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.