Tektronix AWG5000 Series Programmer Manual

Type
Programmer Manual

This manual is also suitable for

xx
AWG5000 and AWG7000 Series
Arbitrary Waveform Generators
ZZZ
Programmer Manual
*P077006105*
077-0061-05
Revision A
AWG5000 and AWG7000 Series
Arbitrary Waveform Generators
ZZZ
Programmer Manual
xx
Revision A
www.tek.com
077-0061-05
Copyright © Tektronix. All rights reserved. Licensed software products are owned by Tektronix or its subsidiaries
or suppliers, and are protected by national copyright laws and international treaty provisions.
Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication
supersedes that in all previously published material. Specications and price change privileges reserved.
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
AWG5000 and AWG7000 Series Programmer Online Help, Supports AWG software V4.2, part number
076-0146-05. August 22, 2011
Contacting
Tektronix
Tektronix, Inc.
14150 SW Karl Braun Drive
P.O. Box 5
00
Beaverton, OR 97077
USA
For product information, sales, service, and technical support:
In North America, call 1-800-833-9200.
Worldw
ide, visit www.tek.com to nd contacts in your area.
Table of Contents
Getting Started
Introduction ....................................................................................................... 1-1
Remote Control ................................................................................................... 1-2
GPIB Parameters ................................................................................................. 1-3
LAN Parameters .................................................................................................. 1-4
Connecting to the Instrument using GPIB ..................................................................... 1-5
Setting Up GPIB Communication . ................................ .............. .............. ................. 1-6
Documentation.................................................................................................... 1-9
Sample Program ................................................................................................ 1-10
Syntax and Commands
Command Syntax................................................................................................. 2-1
Syntax Overview............................................................................................. 2-1
Command and Query Structure ............................................................................ 2-1
Clearing the Instrument ..................................................................................... 2-3
Command Entry.............................................................................................. 2-3
Parameter Types ............................................................................................. 2-5
SCPI Commands and Queries.............................................................................. 2-9
Command Groups .............................................................................................. 2-11
Control group commands ................................................................................. 2-11
Calibration Group Commands............................................................................ 2-12
Diagnostic Group Commands ............................................................................ 2-12
Display Group Commands................................................................................ 2-14
Event Group Commands.................................................................................. 2-14
Instrument Group Commands ............................................................................ 2-14
Mass Memory Group Commands........................................................................ 2-14
Output Group Commands................................................................................. 2-15
Sequence Group Commands ............................................................................. 2-16
Source Group Commands................................................................................. 2-17
Status Group Command................................................................................... 2-19
Subsequence Group Commands ......................................................................... 2-20
Synchronization Group Commands ..................................................................... 2-20
System Group Commands ................................................................................ 2-21
Trigger Group Commands ................................................................................ 2-21
Waveform Group Commands ............................................................................ 2-22
AWG5000 and AWG7000 Series Programmer Manual i
Table of Contents
Command Descri
ptions ........................................................................................ 2-25
Status and Events
Status and Event Reporting...................................................................................... 3-1
Status Reporting Structure.................................................................................. 3-1
Registers ...................................................................................................... 3-2
Status Registers .............................................................................................. 3-3
Status Byte Register (SBR)................................................................................. 3-3
Standard Event Status Register (SESR) .................... .............. .............. .............. ..... 3-4
Operation Enable Register (OENR) ....................................................................... 3-5
Operation Condition Register (OCR)........... .................................................... ....... 3-5
Operation Event Register (OEVR)......................................................................... 3-5
Questionable Condition Register (QCR) ......... .................................. .......... ............. 3-5
Enable Registers ............................................................................................. 3-5
Event Status Enable Register (ESER) .............................................. .............. ......... 3-6
Service Request Enable Register (SRER)................................................................. 3-6
Questionable Enable Register (QENR).................................................................... 3-7
Queues ........................................................................................................ 3-7
Operation Status Block...................................................................................... 3-8
Questionable Status Block.................................................................................. 3-8
Standard/Event Status Block ............................................................................... 3-9
Synchronizing Execution ................................................................................. 3-10
Messages and Codes ........................................................................................... 3-11
Messages and Codes....................................................................................... 3-11
Command Errors........................................................................................... 3-12
Execution errors............................................................................................ 3-13
Device-specic Errors..................................................................................... 3-14
Query Errors................................................................................................ 3-15
Power On Event............................................................................................ 3-15
User request Event......................................................................................... 3-16
Request Control Event .................................................................................... 3-16
Operation Complete Event................................................................................ 3-16
Appendices
Appendix A: Character Charts ................................................................................. A-1
Appendix B: GPIB Interface Specications .................................................................. B-1
GPIB Interface Speci cations ............................................................................. B-1
Interface Functions ......................................................................................... B-1
Interface Messages ......................................................................................... B-3
ii AWG5000 and AWG7000 Series Programmer Manual
Table of Contents
Appendix C: SCP
I Conformance Information ............................................................... C-1
Appendix D: Raw Socket Specication....................................................................... D-1
Appendix E: Factory Initialization Settings .. ...................... .................. ........................ E-1
Appendix F: Compatibility with Other Instruments ............................................... .......... F-1
AWG5000 and AWG7000 Series Programmer Manual iii
Table of Contents
iv AWG5000 and AWG7000 Series Programmer Manual
Getting Started
Introduction
This online programmer guide provides you with the information to use
commands for remotely controlling your instrument. With this information, write
computer programs that will perform functions such as setting the front-panel
controls, selecting clock source, setting sampling rate, and exporting data for
use in other
programs. In addition to the traditional GPIB electronic interface,
(referred to as the physical GPIB interface), your instrument is provided with a
TekVISA GPIB-compatible interface, (referred to as the virtual G PIB interface).
Refer to Documentation for information on related manuals and documents.
The progr
ammer guide is divided into the following major topics (books):
Getting Started: This topic introduces you to the online help and provides
basic inf
ormation about setting up your instrument for remote control.
Command Syntax: This topic provides an overview of the command syntax
that you
will use to communicate with the instrument and other general
information about commands, such as how commands and queries are
constructed, how to enter commands, constructed mnemonics, and argument
types.
Command Groups: This topic contains all the commands listed in functional
groups. Each group consists of an overview of the commands in that group
and a table that lists all the commands and queries for that group. Click a
command in the listing to display a detailed description of the command.
Status and Events: This topic discusses the status and event reporting system
for the GPIB interface. This system informs you of certain signicant events
tha
t occur within the instrument. Topics that are discussed include registers,
queues, event handling sequences, synchronization methods, and messages
that the instrument may return, including error m essages.
Appendices: This topic contains miscellaneous information, such as a table of
the factory initialization (default) settings, and GPIB interface specications
that may be helpful when using remote c ommands to control the instrument.
AWG5000 and AWG7000 Series Programmer Manual 1-1
Remote Control
Remote Contro
l
The instrume
nt support GPIB interface and LAN interface. To set the GPIB
address, use the System Menu > GPIB/LAN Conguration menu.
GPIB Interface
The GPIB enables up to 15 devices (including the controller) to be connected for
concurrent use. With the arbitrary waveform generator connected to an external
computer via GPIB, use the computer to remotely control your instrument. With
the instrument, use the GPIB interface as a controller. See the GPIB Parameters
for i
nformation on GPIB parameters.
LAN Interface
The instrument accept two types of Ethernet LAN connections; one is simple
(“Raw Socket”) connection, and the other is VXI-11 protocol. See the LAN
Pa
rameters for information on LAN parameters.
1-2 AWG5000 and AWG7000 Series Programmer Manual
GPIB Parameters
GPIB Paramete
rs
To use the GPI
B, the instrument require you to congure the GPIB mode and
the GPIB address.
Talk/Liste
n: Select this mode to remotely control your instrument using an
external computer as the controller.
Off Bus: Se
lect this mode to electronically disconnect the instrument from
the GPIB bus.
Address: T
his address is a number that allows the software to identify each
device connected to the GPIB bus. Specify a unique number from 0 to 30
for each device.
AWG5000 and AWG7000 Series Programmer Manual 1-3
LAN Parameters
LAN Parameters
In the instrument, set parameters to start or stop a process that communicates
through LAN. The instrument can communicate with LAN using the following
methods:
VXI-11 Server (LAN): VXI-11 protocol is used through TekVISA. To use this
protocol, T
ekVISA must also be installed on the remote controller (PC).
RawSocket(LAN):TCP/IPprotocolisused. UsetheGPIB/LAN
Congurat
ion option to set the socket communication On and Off. Specify the
port number for the Raw Socket interface. This port number must be assigned
to the application software or the Ethernet driver on the external controller.
By default, the instrument are specied to automatically acquire an IP address by
DHCP. Refer to Windows documentation regarding network-related parameters.
For TekVISA, refer to the TekVISA manual.
1-4 AWG5000 and AWG7000 Series Programmer Manual
Connecting to the Instrument using GPIB
Connecting to
the Instrument using GPIB
Your inst rum
ent has a 24-pin GPIB connector on its rear panel. This connector
has a D-type shell and conforms to IEEE Std 488.1–1987. Attach an IEEE Std
488.1–1987 GPIB cable to this connector and to your controller as shown in the
following gure.
AWG5000 and AWG7000 Series Programmer Manual 1-5
Setting Up GPIB Communication
Setting Up GPI
B Communication
Before setti
ng up your instrument for remote communications using the electronic
(physical) GPIB interface, you should familiarize yourself with the following
GPIB requirements:
A unique device address must be assigned to each device on the bus. No two
devices can share the same device address.
No more than 15 devices can be connected to any one line.
One device
should be connec t ed for every 6 feet (2 meters) of cable used. No
more than 65 feet (20 meters) of cable should be used to connect devices
to a bus.
At least two-thirds of the devices on the network should be powered on while
using the network.
Connect the devices on the network in a star or linear conguration. Do not
use loop or parallel congurations.
Setting the GPIB Address
To fun
ction correctly, y our instrument must have a unique device address. The
default settings for the GPIB conguration are:
GPIB
Address: 1
GPIB Mode: Talk/Listen
1-6 AWG5000 and AWG7000 Series Programmer Manual
Setting Up GPIB Communication
To change the GP
IB address settings, do the following:
1. Select GPIB/LAN Conguration… from the System menu.
AWG5000 and AWG7000 Series Programmer Manual 1-7
Setting Up GPIB Communication
2. The GPIB/LAN Co
nguration dialog box is displayed.
3. Change the GPIB Address to a unique address.
4. Click OK button.
1-8 AWG5000 and AWG7000 Series Programmer Manual
Documentation
Documentation
Review the following table to locate more information about this product.
To read about Use these doc
uments
Installatio
n and Operation
(overviews)
Read the Quic
k Start User Manual for general information about how to use your instrument.
In-depth Operation and User
Interface Help
Access the user online help from the Help menu for information on virtually all controls and
elements on screen. Online help includes detailed instructions for using instrument functions.
Programmer Commands Access the programmer online guide from the Help menu. The programmer guide includes
the syntax
of remote commands.
Specica
tions and Performance
Verication Procedures
Read the T
echnical Reference documents for specications and the performance verication
procedures. These documents are ava ilable on the Documentation CD.
Service Procedures Read the Service Manuals to service the instrument to the module level. The manuals are
available on the Tektronix Web site (www.Tektronix.com/manuals).
AWG5000 and AWG7000 Series Programmer Manual 1-9
Sample Program
Sample Progra
m
The sample pr
ogram illustrates methods use to control the arbitrary waveform
generator. This program sends waveformdataandthenstartswaveform
generation. Access the sample program from Windows Start menu. Select All
Programs>Tektronix>AWG>Examples.
This program is also included on the Document CD.
1-10 AWG5000 and AWG7000 Series Programmer M anual
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181

Tektronix AWG5000 Series Programmer Manual

Type
Programmer Manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI