Tektronix TTR500 series Programmer's Manual

Category
Measuring, testing & control
Type
Programmer's Manual
xx
TTR500 Series
Vector Network Analyzer
ZZZ
Programmer Manual
*P077125701*
077-1257-01
TTR500 Series
Vector Network Analyzer
ZZZ
Programmer Manual
xx
www.tek.com
077-1257-01
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. Specifications and price change privileges reserved.
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
VectorVu-PC is a trademark of Tektronix, Inc.
Contacting Tektronix
Tektronix, Inc.
14150 SW Karl Braun Drive
P.O. Box 5 0 0
Beaverto
n, OR 97077
USA
For product information, sales, service, and technical support:
In North America, call 1-800-833-9200.
Worldwide, visit www.tek.com to find contacts in your area.
Table of Contents
Preface.............................................................................................................. iii
Related Documentation ...................................................................................... iii
Get Started
Get Started......................................................................................................... 1-1
Overview of the Manual ......................................................................................... 1-2
Install TekVISA................................................................................................... 1-3
Setup for the programming interface ...................................................................... 1-3
Enable c
ontrol over the Ethernet........................................................................... 1-4
Connect with NI-VISA and LabVIEW......................................................................... 1-5
Connect NI-VISA to VectorVu-PC without TekVISA................................................... 1-5
Connect NI-VISA to Tek-VISA LAN Server Control................................................... 1-7
Syntax and Commands
Command Syntax................................................................................................. 2-1
Backus-Naur Form Definition ................................. .. ........................................... 2-1
SCPI Commands and Queries.............................................................................. 2-1
IEEE 488.2 Common commands .......................................................................... 2-6
Constructed mnemonics..................................................................................... 2-7
Com
mand groups................................................................................................. 2-9
Functional groups............................................................................................ 2-9
IEEE common commands ................................................................................ 2-10
Abort commands................................................................................................ 2-11
Calculate commands ........................................................................................... 2-12
Marker Mnemonics........................................................................................ 2-20
Display commands ............................................................................................. 2-21
Initiate commands .............................................................................................. 2-24
Mass Memory Commands..................................................................................... 2-25
Specifying the File......................................................................................... 2-29
DRAFT 01/24/2019
TTR500 Series Programmer Manual i
Table of Contents
Output Command
s.............................................................................................. 2-30
Sense commands................................................................................................ 2-31
Service commands.............................................................................................. 2-39
Simulator commands........................................................................................... 2-40
Source commands .............................................................................................. 2-41
Status commands ............................................................................................... 2-43
System comm
ands.............................................................................................. 2-50
Trigger commands.............................................................................................. 2-52
Retrieving Response Message................................................................................. 2-53
Command Descriptions ........................................................................................ 2-55
Status and Events
Status and Events................................................................................................. 3-1
Status and Event Reporting System ....................................................................... 3-1
Status Byte.................................................................................................... 3-3
Standard Event Status Block ............................................................................... 3-4
Operation Status Block...................................................................................... 3-6
Queue
s ........................................................................................................ 3-6
Status and Event Processing Sequence.................................................................... 3-7
Synchronizing Execution ................................................................................... 3-9
Error messages.................................................................................................. 3-11
IEEE error messages ...................................................................................... 3-11
VNA error messages ...................................................................................... 3-12
Wa
rnings and notications................................................................................ 3-15
DRAFT 01/24/2019
ii TTR500 Series Programmer Manual
Preface
When you open VectorVu-PC after connecting a TTR500 series Vector Network
Analyzer (VNA) to your Windows machine, the software supports commands that
control the f
unctions of the VNA. This programmer manual contains information
on operating the TTR500 VNA using VectorVu-PC vector analysis software. The
manual applies to software version 1.2.4 and contains these sections:
Get Started How to send commands to the VNA.
Syntax and
Commands Syntax definitions in the command descriptions
and lists of all command subsystems.
Commands
Descriptions Descriptions of all commands with examples.
Status and Events Operations of the Status and Events Reporting system,
and a lis
t of all system errors.
Related Documentation
TTR500
Series Vector Network Analyzer Quick Start Guide
(Tektronix part number 071-3486-00, English)
This manual contains general information about how to put your instrument
into service.
TTR500 Series Vector Network Analyzer Help
This online help manual is configured in VectorVu-PC. It contains detailed
information about how to operate the VNA.
TekVISA P rogrammer Manual
(Tektronix part number 077-0140-XX)
This manual is available as a printable PDF file on the Tektronix web
si
te (www.tek.com). The manual describes TekVISA, the Tektronix
implementation of the VISA Application Programming Interface (API).
TekVISA is industry-compliant software for writing interoperable instrument
drivers in a variety of Application Development Environments (ADEs).
DRAFT 01/24/2019
TTR500 Series Programmer Manual iii
Preface
DRAFT 01/24/2019
iv TTR500 Series Programmer Manual
Get Started
Get S tarted
You can write computer programs that take measurements with the analyzer
and read those measurements for further analysis or storage. These subsections
contain info
rmation to help you get started with programming the analyzer:
Overview of the Manual
Summarizes
each major section of this manual.
Using TekVISA
Describes
how to use the TekVISA communication protocol to communicate
with the VNA to a programmatic interface.
DRAFT 01/24/2019
TTR500 Series Programmer Manual 1-1
Overview of the Manual
Overview of th
e Manual
The informat
ion contained in each major section of this manual is described here.
Syntax and Commands
Syntax and Commands describes the structure and content of the messages your
program sends to the analyzer. This figure shows command parts as described in
the Command
Syntax subsection:
The subsection Command Groups provides lists of all commands by functional
areas.
Command
Descriptions
All commands are listed alphabetically in the Command Descriptions section.
This section also describes the effect of each command and provides examples
that use it.
Status and Events
The program may request information from the instrument. The instrument
provides information in the form of status and error messages. Status and Events
de
scribes how to get status or event information from the program and details
the event and error messages.
DRAFT 01/24/2019
1-2 TTR500 Series Programmer Manual
Install TekVISA
Install TekVI
SA
You must inst
all the Tektronix Virtual Instrument Software Architecture
(TekVISA)onyourPC:
To communic
ate to VectorVu-PC to a programmatic interface. TekVISA
is the Tektronix implementation of VISA (Virtual Instrument Software
Architecture), an industry-standard communication protocol.
To perform power calibration using the TTR500 VNA
TekVISA is
a collection of software and documentation that allows for remote
control of instruments regardless of instrument brand and physical connection.
You can use this software to write (or draw) interoperable instrument drivers in a
variety of Application Development Environments (ADEs). It includes a VISA
driver, VISA libraries, documentation, USB Device Driver, VXI-11 server,and
connection management/debug software.
Setup for the programming interface
The programming interface is automatically enabled as part of the VectorVu-PC
appli
cation software installation. However, in order to control VectorVu-PC using
the programmatic interface, you must also install TekVISA:
DRAFT 01/24/2019
TTR500 Series Programmer Manual 1-3
Install TekVISA
1. Install Vector
Vu-PC.
2. Once the software has installed, the InstallShield Wizard prompts you to
install TekVi
sa as well. Proceed with this installation:
3. Install the Tektronix Power Meter applications next.
4. Click F
inish to complete the installation.
Enable control over the Ethernet
TekVI
SA supports communication with VectorVu-PC over an Ethernet LAN
connection. The VXI-11 standard specifies an instrument protocol for TCP/IP
computer networks, supporting writing and reading data to and from instruments.
The VXI-11 server is automatically installed on the target PC as part of the
VectorVu-PC application software installation process. This also creates a
shortcut in the Startup folder.
Rightclickthe“TekVISALANServerControl”trayicontosetproperties,check
status, or start the VXI-11 or socket servers.
For more information about TekVISA concepts and operations, refer to the
TekVISA Programmer Manual available at http://www.tek.com.
DRAFT 01/24/2019
1-4 TTR500 Series Programmer Manual
Connect with NI-VISA and LabVIEW
Connect with N
I-VISA and LabVIEW
LabVIEW user
s can operate the TTR500 VNA using the NI-VISA instrument
manager from National Instruments. You can connect NI-VISA:
Directly to
VectorVu-PC (without TekVISA) to a socket connection. This
option does not discover instrument connections automatically. Also, youcan
only pair one instance of VectorVu-PC with LabVIEW on a machine
Through the TekVISA LAN Server Control using a VX-11 standard.
Connect NI-VISA to VectorVu-PC without TekVISA
1. Open VectorVu-PC. Keep the program open to this procedure.
2. Open NI M
AX.
3. Right click on Devices and Interfaces.SelecttheCreate New option:
4. Select CreatenewVISATCP/IPResourceand click Next.
5. In the next window, select Manual Entry of Raw Socket.
6. In the LAN resource details window, enter:
Hostname: localhost or 127.0.0.1
P
ort number:5026
7. Click Validate. A popup window validates the connection:
DRAFT 01/24/2019
TTR500 Series Programmer Manual 1-5
Connect with NI-VISA and LabVIEW
8. You can
now finish the setup. The TTR500 device connection is displayed
under Network Devices in the left pane.
9. Click
on the TTR500 device connection. In the right pane, the Settings tab
displays the connection information you entered. You can create an alias for
this connection for future use:
DRAFT 01/24/2019
1-6 TTR500 Series Programmer Manual
Connect with NI-VISA and LabVIEW
Connect NI-VI
SA to Tek-VISA LAN Server Control
1. ClickontheTekVISALANServer Control application. Open Server
Properties.:
2. Under VXI-11 Server,checkStart server on system power up:
3. Restart the machine.
4. Open NI-VISA and VectorVu-PC.
5. Right click Network Devices in NI-VISA and select Create new
VISA/TCP-IP Resource:
DRAFT 01/24/2019
TTR500 Series Programmer Manual 1-7
Connect with NI-VISA and LabVIEW
6. Select Auto-de
tect of LAN Instrument and click Next:
NI-VIS
A should detect VectorVu-PC to enable the LabVIEW interface.
DRAFT 01/24/2019
1-8 TTR500 Series Programmer Manual
Syntax and Commands
  • 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
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321

Tektronix TTR500 series Programmer's Manual

Category
Measuring, testing & control
Type
Programmer's Manual

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

Finding information in a document is now easier with AI