Tektronix TDS510A manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Tektronix TDS510A. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoTektronix TDS510A vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Tektronix TDS510A você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Tektronix TDS510A, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Tektronix TDS510A deve conte:
- dados técnicos do dispositivo Tektronix TDS510A
- nome do fabricante e ano de fabricação do dispositivo Tektronix TDS510A
- instruções de utilização, regulação e manutenção do dispositivo Tektronix TDS510A
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Tektronix TDS510A não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Tektronix TDS510A e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Tektronix na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Tektronix TDS510A, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Tektronix TDS510A, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Tektronix TDS510A. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    Pr ogrammer Manual TDS Family Digitizing Oscilloscopes (TDS 420A, 430A, 460A, 510A, 520C, 540C, 620B, 644B, 680B, 684B, 724C, 754C, & 784C) 070-9876-00[...]

  • Página 2

    Copyright  T ektronix, Inc. All rights reserved. Licensed software products are owned by T ektronix or its suppliers and are protected by United States copyright laws and international treaty provisions. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in T echnica[...]

  • Página 3

    W ARRANTY T ektronix warrants that this product will be free from defects in materials and workmanship for a period of three (3) years from the date of shipment. If any such product proves defective during this warranty period, T ektronix, at its option, either will repair the defective product without charge for parts and labor , or will provide a[...]

  • Página 4

    TDS Family Oscilloscope Programmer Manual i T able of Contents Getting Started Overview of the Manual 1–1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting Up Remote Communications 1–3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Syntax and Commands Command Syntax 2–1 . . . [...]

  • Página 5

    T able of Contents ii TDS Family Oscilloscope Programmer Manual Programming Examples Compiling the Example Programs 4–2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendices Appendix A: Character Charts A–1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix B: Reserved W ords B–1 . . . . . . . [...]

  • Página 6

    T able of Contents TDS Family Oscilloscope Programmer Manual iii List of Figures Figure 1–1: Common Message Elements 1–1 . . . . . . . . . . . . . . . . . . . . . . . Figure 1–2: Functional Gr oupings and an Alphabetical List of Commands 1–2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 1?[...]

  • Página 7

    T able of Contents iv TDS Family Oscilloscope Programmer Manual List of T ables T able 2–1: BNF Symbols and Meanings 2–1 . . . . . . . . . . . . . . . . . . . . . . . . T able 2–2: Command Message Elements 2–2 . . . . . . . . . . . . . . . . . . . . . . . T able 2–3: Comparison of Header Off and On Responses 2–3 . . . . . . . . . T able[...]

  • Página 8

    T able of Contents TDS Family Oscilloscope Programmer Manual v T able 2–31: XY Format Pairs 2–123 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T able 2–32: Record Length V alues (<NR1>) 2–176 . . . . . . . . . . . . . . . . . . . . T able 2–33: Commands that Generate an Operation Complete Message 2–244 . . . . .[...]

  • Página 9

    TDS Family Oscilloscope Programmer Manual vii Preface This programmer manual covers the TDS 420A, 430A, 460A, 510A, 520C, 540C, 620B, 644B, 680B, 684B, 724C, 754C, & 784C. It also covers Advanced DSP Math (optional on the TDS420A, 430A, 460A, 510A, 520C, 540C, 620B, & 680B), the RS-232/Centronics Interface (optional on the TDS 420A, 430A, 4[...]

  • Página 10

    Preface viii TDS Family Oscilloscope Programmer Manual Default Model This manual documents the TDS 400A, TDS 510A, TDS 500C, TDS 600B, & TDS 700C Digitizing Oscilloscopes. T ake special note of the following conventions: H Some TDS models have two auxiliary channels called AUX 1 and AUX 2, instead of CH 3 and CH 4. Some references to these chan[...]

  • Página 11

    TDS Family Oscilloscope Programmer Manual 1–1 Getting Started Y ou 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. T o help you get started with programmng the oscilloscope, this section includes the following sections: H Ove[...]

  • Página 12

    Getting Started 1–2 TDS Family Oscilloscope Programmer Manual Zoom Zoom Commands Grouped in Functional Areas Commands Listed Alphabetically ACQuire? (Query Only) Syntax: . . . Group: . . . Examples: . . . ACQuire:MODe S G E ACQuire:NUMACq? (Query Only) S G E Acquisition Commands ACQuire:MODe ACQuire:NUMACq? ACQuire:NUMA Vg ACQuire:NUMEnv ACQuire:[...]

  • Página 13

    Getting Started TDS Family Oscilloscope Programmer Manual 1–3 TDS Example Programs Figure 1–4: The Disk That Accompanies This Manual Setting Up Remote Communications Even the best instrument control program will not do much if the instrument is not connected to the controller . The digitizing oscilloscope has a 24-pin GPIB connector on its rear[...]

  • Página 14

    Getting Started 1–4 TDS Family Oscilloscope Programmer Manual If needed, you can stack GPIB connectors as shown in Figure 1–6. Figure 1–6: How to Stack GPIB Connectors Observe these rules when you use your digitizing oscilloscope with a GPIB network: H Assign a unique device address to each device on the bus. No two devices can share the same[...]

  • Página 15

    Getting Started TDS Family Oscilloscope Programmer Manual 1–5 GPIB Device GPIB Device GPIB Device GPIB Device GPIB Device GPIB Device GPIB Device Figure 1–7: T ypical GPIB Network Configurations Appendix C: Interface Specifications gives more information on the GPIB configuration of the digitizing oscilloscope. Y ou need to set the GPIB paramet[...]

  • Página 16

    Getting Started 1–6 TDS Family Oscilloscope Programmer Manual 3. Press the Port button in the main menu until it highlights the GPIB selection in the pop-up menu. See Figure 1–9. 4. Press the Configure button in the main menu to display the GPIB Configu- ration side menu. See Figure 1–9. 5. Press the T alk/Listen Address side menu button, and[...]

  • Página 17

    TDS Family Oscilloscope Programmer Manual 2–1 Command Syntax Y ou can control the digitizing oscilloscope through the GPIB interface using commands and queries. This section describes the syntax these commands and queries use. It also describes the conventions the digitizing oscilloscope uses to process them. The next section, entitled Command Gr[...]

  • Página 18

    Command Syntax 2–2 TDS Family Oscilloscope Programmer Manual A command message is a command or query name followed by any information the digitizing oscilloscope needs to execute the command or query . Command messages may contain five element types, defined in T able 2–2 and shown in the example in Figure 2–1. T able 2–2: Command Message E[...]

  • Página 19

    Command Syntax TDS Family Oscilloscope Programmer Manual 2–3 A command header consists of one or more mnemonics arranged in a hierarchi- cal or tree structure. The first mnemonic is the base or root of the tree and each subsequent mnemonic is a level or branch off the previous one. Commands at a higher level in the tree may affect those at a lowe[...]

  • Página 20

    Command Syntax 2–4 TDS Family Oscilloscope Programmer Manual Clearing the TDS Family Oscilloscope Y ou can clear the Output Queue and reset the digitizing oscilloscope to accept a new command or query by using the Device Clear (DCL) GPIB command. Command Entry The following rules apply: H Y ou can enter commands in upper or lower case. H Y ou can[...]

  • Página 21

    Command Syntax TDS Family Oscilloscope Programmer Manual 2–5 2. If concatenated commands have headers that differ by only the last mnemon- ic, you can abbreviate the second command and eliminate the beginning colon. For example, you can concatenate the commands ACQuire:MODe ENVelope and ACQuire:NUMAVg 10 into a single command: ACQuire:MODe ENVelo[...]

  • Página 22

    Command Syntax 2–6 TDS Family Oscilloscope Programmer Manual H DISPlay:INTENsity:TEXt 80;:*TRG (colon before a star ( * ) command) H APPMenu:LABel:BOTTOM1 "foo";LABel:BOTTOM2 "fee" (levels of the mnemonics are different — either remove the second use of LABel: or place :APPMenu: in front of LABel:BOTTOM2 ) This manual uses &[...]

  • Página 23

    Command Syntax TDS Family Oscilloscope Programmer Manual 2–7 Symbol Meaning  A cursor selector;  is either  or  . Commands can specify which measurement to set or query as a mnemonic in the header . Up to four automated measurements may be displayed with each displayed waveform. The displayed measur[...]

  • Página 24

    Command Syntax 2–8 TDS Family Oscilloscope Programmer Manual Symbol Meaning <wfm> Can be CH<x> , MATH<x> or REF<x> Argument T ypes The argument of a command may be in one of several forms. The individual descriptions of each command tell which argument types to use with that command. Many digitizing oscilloscope commands r[...]

  • Página 25

    Command Syntax TDS Family Oscilloscope Programmer Manual 2–9 "this is a valid string" 3. Y ou can mix quotation marks within a string as long as you follow the previous rule: "this is an 'acceptable' string" 4. Y ou can include a quote character within a string simply by repeating the quote. For example, "here i[...]

  • Página 26

    Command Syntax 2–10 TDS Family Oscilloscope Programmer Manual Figure 2–2 provides a diagram of block argument use. ALIas:DEFINE SETUp1",#231AUTOSet EXECute;:SELect:REF1 ON Block Header Specifies Number of Length Digits that Follow Specifies Data Length Block Argument Figure 2–2: Block Argument Example Syntax Diagrams The syntax diagra[...]

  • Página 27

    Command Syntax TDS Family Oscilloscope Programmer Manual 2–1 1 Figure 2–3: T ypical Syntax Diagrams[...]

  • Página 28

    TDS Family Oscilloscope Programmer Manual 2–13 Command Groups This section lists TDS Family Oscilloscope commands in two ways. It first presents them by functional groups. It then lists them alphabetically . The functional group list starts below . The alphabetical list provides more detail on each command and starts on page 2–47. The TDS Famil[...]

  • Página 29

    Command Groups 2–14 TDS Family Oscilloscope Programmer Manual Alias Commands 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. T able 2–5 lists these commands. T able 2–5: Alias Commands Header[...]

  • Página 30

    Command Groups TDS Family Oscilloscope Programmer Manual 2–15 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. [...]

  • Página 31

    Command Groups 2–16 TDS Family Oscilloscope Programmer Manual T able 2–8: Cursor Commands (Cont.) Header Description !## Positions paired cursors. Also, returns settings !## Return horizontal distance between 1 st and 2 nd paired cursors !#?[...]

  • Página 32

    Command Groups TDS Family Oscilloscope Programmer Manual 2–17 T able 2–9: Display Commands (Cont.) Header Description DISplay:COLOr:CONTRast (TDS 6X4B & 700) Control collision contrast DISplay:COLOr:MAP:<item-name>: BYCONTents (TDS 6X4B & 700C) Set color for math or ref waveform to the color of the waveform content DISplay:COLOr:M[...]

  • Página 33

    Command Groups 2–18 TDS Family Oscilloscope Programmer Manual T able 2–9: Display Commands (Cont.) Header Description DISplay:STYle Set waveform dots, vector , infinite persistence, or variable persistence DISplay:TRIGBar Control the display of the trigger bar/s on screen DISplay:TRIGT Control the display of the trigger indicator on screen MESS[...]

  • Página 34

    Command Groups TDS Family Oscilloscope Programmer Manual 2–19 T able 2–10: File System Commands (Cont.) Header Description FILESystem:RMDir Delete named directory FILESystem:WRITEFile (TDS 500C & 700C) Copy from GPIB port to file Hardcopy Commands Hardcopy commands let you control the format of hardcopy output and the initiation and termina[...]

  • Página 35

    Command Groups 2–20 TDS Family Oscilloscope Programmer Manual T able 2–12: Histogram Commands (Cont.) Header Description HIStogram:BOXPcnt (TDS 500C & 700C) Define the left, top, right, and bottom positions of the histogram box, in percentage coordi- nates. HIStogram:COUNt (TDS 500C & 700C) Zeros the counts for histograms and starts rec[...]

  • Página 36

    Command Groups TDS Family Oscilloscope Programmer Manual 2–21 T able 2–13: Horizontal Commands (Cont.) Header Description HORizontal:DELay:MODe Delay time base mode HORizontal:DELay:SCAle Delay time base time per division HORizontal:DELay:SECdiv Same as HORizontal:DELay:SCAle HORizontal:DELay:TIMe Delay time HORizontal:DELay:TIMe? Return delay [...]

  • Página 37

    Command Groups 2–22 TDS Family Oscilloscope Programmer Manual Limit T est Commands The Limit T est commands let you automatically compare each incoming waveform against a template waveform. Y ou set an envelope of limits around a waveform and let the digitizing oscilloscope find the waveforms that fall outside those limits. When it finds such a w[...]

  • Página 38

    Command Groups TDS Family Oscilloscope Programmer Manual 2–23 Mask Commands Mask commands control standard masks, user -defined masks, and testing against masks. A mask is a polygonal region on the screen. Every vertical line on the screen intersects the polygon in zero, one, or two places, but never in more than two. The user has to break up mor[...]

  • Página 39

    Command Groups 2–24 TDS Family Oscilloscope Programmer Manual T able 2–15: Mask Commands (Cont.) Header Description "' (TDS 500C & 700C) Define points in a mask, in percentage coordinates % (TDS 500C & 700C) Select which trace wi[...]

  • Página 40

    Command Groups TDS Family Oscilloscope Programmer Manual 2–25 T able 2–16: Measurement Commands (Cont.) Header Description MEASUrement:IMMed:DELay: DIREction Search direction to use for delay measure- ments MEASUrement:IMMed:DELay:EDGE1 Which waveform edge to use for delay measurements MEASUrement:IMMed:DELay:EDGE2 Which waveform edge to use fo[...]

  • Página 41

    Command Groups 2–26 TDS Family Oscilloscope Programmer Manual T able 2–16: Measurement Commands (Cont.) Header Description MEASUrement:MEAS<x>:TYPe The measurement to be taken MEASUrement:MEAS<x>:UNITS? Return units to use for measurement MEASUrement:MEAS<x>:VALue? Return measurement result MEASUrement:METHod Method for calcul[...]

  • Página 42

    Command Groups TDS Family Oscilloscope Programmer Manual 2–27 T able 2–17: Miscellaneous Commands (Cont.) Header Description  Define group execute trigger (GET) ($&* Reset to factory default  Same as HEADer & Return command header with query  Identification  Lear[...]

  • Página 43

    Command Groups 2–28 TDS Family Oscilloscope Programmer Manual Save and Recall Commands Save and Recall commands allow you to store and retrieve internal waveforms and settings. When you “save a setup,” you save all the settings of the digitizing oscilloscope. When you then “recall a setup,” the digitizing oscilloscope restores itself to t[...]

  • Página 44

    Command Groups TDS Family Oscilloscope Programmer Manual 2–29 T able 2–20: Status and Error Commands Header Description ALLEv? Return all events BUSY? Return scope status *CLS Clear status DESE Device event status enable *ESE Event status enable *ESR? Return standard event status register EVENT? Return event code EVMsg? Return event code and me[...]

  • Página 45

    Command Groups 2–30 TDS Family Oscilloscope Programmer Manual T able 2–21: T rigger Commands Header Description TRIGger Force trigger event; Return parameters TRIGger:DELay Delay trigger level to 50% TRIGger:DELay:BY Delay by time or events TRIGger:DELay:EDGE? Return delay trigger parameters TRIGger:DELay:EDGE:COUPling Delay trigger coupling TR[...]

  • Página 46

    Command Groups TDS Family Oscilloscope Programmer Manual 2–31 T able 2–21: T rigger Commands (Cont.) Header Description  '%# (TDS 500C, 600B & 700C) Return main trigger holdoff value in seconds  '% (T[...]

  • Página 47

    Command Groups 2–32 TDS Family Oscilloscope Programmer Manual T able 2–21: T rigger Commands (Cont.) Header Description $"#   (TDS 500C, 600B & 700C) Setup/Hold data level $"?[...]

  • Página 48

    Command Groups TDS Family Oscilloscope Programmer Manual 2–33 T able 2–21: T rigger Commands (Cont.) Header Description TRIGger:MAIn:PULse:RUNT:POLarity (TDS 510A, 500C, 600B, & 700C) Runt trigger positive, negative, or both TRIGger:MAIn:PULse:RUNT:THReshold? (TDS 510A, 500C, 600B, & 700C) Return runt trigger thresholds TRIGger:MAIn:PUL[...]

  • Página 49

    Command Groups 2–34 TDS Family Oscilloscope Programmer Manual T able 2–21: T rigger Commands (Cont.) Header Description TRIGger:MAIn:PULse:TIMEOut:TIMe (TDS 500C, 600B, & 700C) Pulse timeout trigger time TRIGger:MAIn:PULse:WIDth? (TDS 510A, 500C, 600B, & 700C) Return trigger pulse width parameters TRIGger:MAIn:PULse:WIDth:HIGHLimit (TDS[...]

  • Página 50

    Command Groups TDS Family Oscilloscope Programmer Manual 2–35 T able 2–21: T rigger Commands (Cont.) Header Description TRIGger:MAIn:VIDeo:FLEXformat: V1STOptime (TDS 510A, 500C, 600B, & 700C Option 05) Set time from positive edge of tri-sync pulse for the last line in the selected field (t 0) to trailing edge (positive) of the first negati[...]

  • Página 51

    Command Groups 2–36 TDS Family Oscilloscope Programmer Manual T able 2–21: T rigger Commands (Cont.) Header Description  (TDS 400A Option 05) Set video trigger delay time  Return trigger system status[...]

  • Página 52

    Command Groups TDS Family Oscilloscope Programmer Manual 2–37 V ertical Commands V ertical commands control the display of channels and of main and reference waveforms. T able 2–22 lists these commands. The SELect:<wfm> command also selects the waveform many commands in other command groups use. Y ou may replace VOLts for SCAle in the ver[...]

  • Página 53

    Command Groups 2–38 TDS Family Oscilloscope Programmer Manual W aveform Commands W aveform commands let you transfer waveform data points to and from the digitizing oscilloscope. W aveform 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 envel[...]

  • Página 54

    Command Groups TDS Family Oscilloscope Programmer Manual 2–39 values range from 0 to 255. When the byte width is two, the values range from –32768 to 32767. The defined binary formats also specify the order in which the bytes are transferred. The four binary formats are RIBinary , RPBinary , SRIbinary , and SRPbinary . RIBinary is signed intege[...]

  • Página 55

    Command Groups 2–40 TDS Family Oscilloscope Programmer Manual Each waveform that you transfer has an associated waveform preamble that contains information such as the horizontal scale, the vertical scale, and other settings in place when the waveform was created. Refer to the WFMPre commands starting on page 2–345 for more information about th[...]

  • Página 56

    Command Groups TDS Family Oscilloscope Programmer Manual 2–41 W aveform commands also work with extended-acquisition-length mode. This mode lets the oscilloscope acquire extended acquisition lengths of 2M, 4M, and 8M while maintaining waveform record lengths limited to 500K. In other words, the acquisition data for a channel may be bigger than a [...]

  • Página 57

    Command Groups 2–42 TDS Family Oscilloscope Programmer Manual T able 2–23 below shows the correlation between the number of channels in use and the waveform record length. T able 2–23: Extended-Acquisition-Length Mode Channels and Record Lengths # of Channels in Use Extended Acquisition Length W aveform Record Length 1 of 4 (not on the TDS 52[...]

  • Página 58

    Command Groups TDS Family Oscilloscope Programmer Manual 2–43 T able 2–24: W aveform Commands Header Description CURVe T ransfer waveform data DATa The format and location of the waveform data that is transferred with the CURV e command DATa:DESTination Destination for waveforms sent to digitizing oscilloscope DATa:ENCdg W aveform data encoding[...]

  • Página 59

    Command Groups 2–44 TDS Family Oscilloscope Programmer Manual T able 2–24: W aveform Commands (Cont.) Header Description WFMPre:ZMUlt Z-axis scale factor WFMPre:ZOFf Z-axis offset WFMPre:ZUNit Z-axis units WFMPre:ZZEro Z-axis origin offset WFMPre:<wfm>:NR_Pt Number of points in the curve WFMPre:<wfm>:PT_Fmt Format of curve points WF[...]

  • Página 60

    Command Groups TDS Family Oscilloscope Programmer Manual 2–45 Zoom Commands Zoom commands let you expand and position the waveform display horizontally and vertically without changing the time base or vertical settings. T able 2–25 lists these commands. T able 2–25: Zoom Commands Header Description ZOOm Reset zoom parameters to defaults ZOOm:[...]

  • Página 61

    TDS Family Oscilloscope Programmer Manual 2–47 Command Descriptions Y ou can use commands to either set instrument features or query instrument values. Y ou can use some commands to do both, some to only set, and some to only query . This manual marks set only commands with the words “No Query Form” included with the command name. It marks qu[...]

  • Página 62

    Command Descriptions 2–48 TDS Family Oscilloscope Programmer Manual When extended-acquisition-length mode is on, this command can still set and return values. However , this acquire:autosave feature will not actually work while extended-acquisition-length mode is on. Acquisition ACQuire:AUTOSAve { OFF | ON | <NR1> } ACQuire:AUTOSAve? ON ACQ[...]

  • Página 63

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–49 When extended-acquisition-length mode is on, this command can still set and return values. However , the oscilloscope will treat all modes, except Peak Detect, as the Sample mode. Acquisition ACQuire:NUMA Vg, ACQuire:NUMENv , CUR V e?, DA T a:WIDth For the TDS 400A, 510A, 500C &a[...]

  • Página 64

    Command Descriptions 2–50 TDS Family Oscilloscope Programmer Manual CUR V e? query , but the lower-order 8 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[...]

  • Página 65

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–51 ACQuire:NUMACq? ACQuire : NUMACq ? <NR1> ACQUIRE:NUMACQ? might return 350 , indicating that 350 acquisitions took place since an AC- QUIRE:ST A TE RUN command was executed. ACQuire:NUMA Vg Sets the number of waveform acquisitions that make up an averaged waveform. This is e[...]

  • Página 66

    Command Descriptions 2–52 TDS Family Oscilloscope Programmer Manual ACQuire:NUMEnv 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 ACQuire:MODe     ?[...]

  • Página 67

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–53 ACQuire:REPEt TDS 400A, 510A, 500C, & 700C Only Controls repetitive signal acquisition. This is equivalent to setting Repetitive Signal in the Acquire menu. When the digitizing oscilloscope is in real-time operation, this setting has no effect. The ACQuire:REPEt command speci[...]

  • Página 68

    Command Descriptions 2–54 TDS Family Oscilloscope Programmer Manual  might return  , indicating that repetitive signal acquisition mode is on. ACQuire:ST A TE Starts or stops acquisitions. This is the equivalent of pressing the front-panel RUN/STOP button. If ACQuire:ST OP After is set to SEQuence, oth[...]

  • Página 69

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–55 ACQuire:ST OP After T ells the digitizing oscilloscope when to stop taking acquisitions. This is equivalent to setting Stop After in the Acquire menu. When extended-acquisition-length mode is on, this command can still set and return values. However , this acquire:stopafter featu[...]

  • Página 70

    Command Descriptions 2–56 TDS Family Oscilloscope Programmer Manual NOTE . If you set the acquisition system to single sequence, envelope mode, and set the number of envelopes to infinity , the digitizing oscilloscope will envelope a maximum of 2001 acquisitions. ACQUIRE:STOPAFTER RUNSTop sets the oscilloscope to stop acquisition when the user pr[...]

  • Página 71

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–57 ALIas:CA T alog? (Query Only) Returns a list of the currently defined alias labels, separated by commas. If no aliases are defined, the query returns the string "" . Alias ALIas:CATalog? ? ALIas : CATalog <QString>[,<QString>...] ALIAS:CATALOG? might return [...]

  • Página 72

    Command Descriptions 2–58 TDS Family Oscilloscope 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; other characters are not allowed. The label must be ≤ 12 characters. The second <QString> or <Bl[...]

  • Página 73

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–59 ALIas:DELEte:ALL (No Query Form) Deletes all existing aliases. Alias ALIas:DELEte:ALL ALIas : DELEte : ALL ALIAS:DELETE:ALL deletes all aliases. ALIas:DELEte:NAMe (No Query Form) Removes a specified alias. This command is identical to ALIas:DELEte. Alias ALIas:DELEte:NAMe <QSt[...]

  • Página 74

    Command Descriptions 2–60 TDS Family Oscilloscope Programmer Manual %   #    %   or  = 0 turns alias expansion off. If a defined alias is sent when ALIas:ST A TE is OFF , a command error (102) will be generated[...]

  • Página 75

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–61 <Command> is the command that caused the error and may be returned when a command error is detected by the digitizing oscilloscope. As much of the command will be returned as possible without exceeding the 60 character limit of the <Message> and <Command> string[...]

  • Página 76

    Command Descriptions 2–62 TDS Family Oscilloscope Programmer Manual indicating that 500 data points are allocated to each of the first three reference memory locations. ALLOcate:W A VEform:FREE? (Query Only) Returns the approximate number of data points that have not been allocated. Save and Recall ALLOcate:WAVEform:FREE? WAVEform : ALLOcate : FR[...]

  • Página 77

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–63 <NR1>  0 specifies the number of data points. T able 2–26 shows the number of data points supported for reference locations by TDS model. In the TDS 500C and 600B all invalid values less than the maximum will be forced to the next highest valid value, and those higher [...]

  • Página 78

    Command Descriptions 2–64 TDS Family Oscilloscope Programmer Manual APPMenu? APPMenu <Space> ? ACTivate ACTivate displays the Application menu. Use the CLEARMenu command to deactivate the Application menu. Once the Application menu is activated, whenever a front-panel menu button is pressed an event is generated that tells which button was [...]

  • Página 79

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–65 APPMenu:LABel:BOTT OM<x> Defines a label for the main menu button that is specified by <x>. Main menu buttons are located along the bottom of the display , and are numbered from 1 to 7 starting with the left-most button. Application Menu APPMenu:LABel:BOTTOM<x> [...]

  • Página 80

    Command Descriptions 2–66 TDS Family Oscilloscope Programmer Manual itself is not altered. The entire label can be returned as a query response regardless of what is displayed.   assigns the label “SETUP1” to the third main menu button. APPMenu:LABel:RIGHT&[...]

  • Página 81

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–67 Application Menu APPMenu, APPMenu:LABel APPMenu:TITLe <QString> APPMenu:TITLe? TITLe <Space> <QString> ? APPMenu : <QString> is the side menu title and can include any of the characters shown in the TDS Character Chart in Appendix A. The maximum length of [...]

  • Página 82

    Command Descriptions 2–68 TDS Family Oscilloscope Programmer Manual     autosets the displayed waveform. BELl (No Query Form) Beeps the audio indicator of the digitizing oscilloscope. Miscellaneous    rings the bell. BUSY? (Quer[...]

  • Página 83

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–69 T able 2–27: Commands that Affect BUSY? Response Operation Command Single sequence acquisition ACQuire:ST A TE ON or ACQuire:ST A TE RUN (when ACQuire:ST OP After is set to SEQuence) Hardcopy output HARDCopy ST ARt  might return  , indicating that the instrume[...]

  • Página 84

    Command Descriptions 2–70 TDS Family Oscilloscope Programmer Manual V ertical CH<x>? CH <x> ? CH1? might return the string :CH1:SCALE 10.0E-3;POSITION 0.0E+0; OFFSET 0.0E+0;COUPLING DC;IMPEDANCE MEG;BANDWIDTH FULL for chan- nel 1. CH<x>:BANdwidth Sets or queries the bandwidth setting of the specified channel. This is equivalent [...]

  • Página 85

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–71  might return  , which indicates that there is no bandwidth limiting on channel 1. CH<x>:COUPling Sets or queries the input attenuator coupling setting of the specified channel. This is equivalent to setting Coupling in [...]

  • Página 86

    Command Descriptions 2–72 TDS Family Oscilloscope Programmer Manual CH<x>:DESKew TDS 500C, 600B, & 700C Only Sets or queries the deskew time for this channel. This is equivalent to setting Deskew in the V ertical menu and entering a value with the keypad or general purpose knob. Deskew allows you to compensate for time delay differences[...]

  • Página 87

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–73   !  "           sets the specified channel to 50 [...]

  • Página 88

    Command Descriptions 2–74 TDS Family Oscilloscope Programmer Manual T able 2–28: Offset Ranges for the TDS 400A, 510A, 540C, 600B, 754C, & 784C (All Channels) and the TDS 520C & 724C (Channel 1 & Channel 2) using a 1x Probe CH<x>:SCAle OFFSet Range 1 mV/div – 99.5 mV/div ± 1 V 100 mV/div – 995 mV/div ± 10 V 1 V/div – 1[...]

  • Página 89

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–75 POSition CH <x> : ? <Space> <NR3> <NR3> is the desired position, in divisions from the center graticule. The range is ± 5 divisions. CH2:POSITION 1.3E+00 positions the channel 2 input signal 1.3 divisions above the center of the display . CH1:POSITION? mi[...]

  • Página 90

    Command Descriptions 2–76 TDS Family Oscilloscope Programmer Manual ? PROBECal CH : <x> FAIl signifies that probe cal has failed for the selected channel. INIT signifies the probe cal has not yet been run for the selected channel PASS signifies that probe cal has passed for the selected channel. CH2:PROBECAL? might return PASS indicating th[...]

  • Página 91

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–77 CH<x>:PROBEFunc:EXTDBatten:<NR3> PROBEFunc CH : <x> EXTDBatten : ? <Space> <NR3> <NR3> is the attenuation value specified in the range –120.00 dB to 120.00 dB. The default is 0.00 dB. CH2:PROBEFUNC:EXTDB 2.5 sets the external attenuation to 2[...]

  • Página 92

    Command Descriptions 2–78 TDS Family Oscilloscope Programmer Manual CH<x>:VOLts Sets or queries the vertical gain of the specified channel. This command is identical to the CH<x>:SCAle command and is included for compatibility purposes. Only CH<x>:SCAle is returned in response to a CH<x>? query . V ertical CH1:SCAle CH<[...]

  • Página 93

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–79 *CLS (No Query Form) Clears the digitizing oscilloscope status data structures. Status and Error DESE, *ESE, *ESR?, EVENT?, EVMsg?, *SRE, *STB?   The *CLS command clears the following: H the Event Queue H the Standard Event Status Register (SESR) H the Sta[...]

  • Página 94

    Command Descriptions 2–80 TDS Family Oscilloscope Programmer Manual CURSOR? might return :CURSOR:FUNCTION OFF;VBARS:UNITS SECONDS; POSITION1 500.0E-6;POSITION2 4.50E-3;SELECT CURSOR1; :CURSOR:HBARS:POSITION1 3.20E+0;POSITION2 -3.20E+0; SELECT CURSOR1 as the current cursor settings. CURSor:FUNCtion Selects and displays the cursor type. Cursors are[...]

  • Página 95

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–81 Cursor CURSor:HBArs? CURSor : HBArs ? CURSOR:HBARS? might return :CURSOR:HBARS:POSITION1 0;POSITION2 0;SELECT CURSOR1 . CURSor:HBArs:DEL T a? (Query Only) Returns the voltage difference between the two horizontal bar cursors. Cursor CURSor:HBArs:DELTa? CURSor : HBArs : DELTa ? &l[...]

  • Página 96

    Command Descriptions 2–82 TDS Family Oscilloscope Programmer Manual <NR3> specifies the cursor position relative to ground, in volts. CURSOR:HBARS:POSITION1 25.0E-3 positions one of the horizontal cursors at 25.0 mV . CURSOR:HBARS:POSITION2? might return -64.0E-3 , indicating that one of the horizontal bar cursors is at –64.0 mV . CURSor:[...]

  • Página 97

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–83 CURSor:HBArs:SELect Selects which horizontal bar cursor is active for front-panel control. The active cursor will be displayed as a solid horizontal line and can be moved using the front-panel general purpose knob when the cursor menu is active. The unselected cursor will be disp[...]

  • Página 98

    Command Descriptions 2–84 TDS Family Oscilloscope Programmer Manual CURSor : HBArs : UNIts <Space> ? IRE BASe BASe specifies base as the unit of measure. IRE specifies IRE as the unit of measure. These units are typically used with video signals. CURSOR:HBARS:UNITS BASE sets the units for the horizontal bar cursors to base. CURSOR:HBARS:UNI[...]

  • Página 99

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–85 CURSOR:MODE? might return :TRACK showing the two cursors move in unison. CURSor:P AIred Positions the paired cursors. Also, returns the current paired cursor settings. In extended-acquisition-length mode, the cursors are limited to the waveform record section of the acquisition d[...]

  • Página 100

    Command Descriptions 2–86 TDS Family Oscilloscope Programmer Manual CURSor:PAIred:HDELTA? CURSor : PAIred : ? HDELTA CURSOR:PAIRED:HDELTA? might return 5.08E+0 for the voltage difference between the two cursors. CURSor:P AIred:HPOS1 (Query Only) Queries the horizontal bar (voltage) position of the first paired cursor . Cursor CURSor:FUNCtion CURS[...]

  • Página 101

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–87 CURSor:P AIred:POSITION<x> Sets or queries the vertical bar (time) position of the first or second paired cursor . x is either 1 or 2 and refers to the first or second cursor . The CURSor:VBArs:UNITS command specifies the units for these cursors. In extended-acquisition-len[...]

  • Página 102

    Command Descriptions 2–88 TDS Family Oscilloscope Programmer Manual Cursor CURSor:PAIred:POSITION<x>Pcnt <NR3> CURSor:PAIred:POSITION<x>Pcnt? CURSor : PAIred : POSITION <x> ? <Space> <NR3> Pcnt <NR3> has a range of 0 to 100 (%). It specifies the cursor position relative to the record length of the selecte[...]

  • Página 103

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–89   selects the second paired cursor as the active cursor .  returns  when the first paired cursor is the active curs[...]

  • Página 104

    Command Descriptions 2–90 TDS Family Oscilloscope Programmer Manual Cursor CURSor:FUNCtion CURSor:PAIred:VDELTA? CURSor : PAIred : ? VDELTA CURSOR:PAIRED:VDELTA? might return 1.064E+00 , indicating that the time between the paired cursors is 1.064 seconds. CURSor:VBArs Positions the vertical bar cursors and the CURSor:VBArs? query returns the cur[...]

  • Página 105

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–91 CURSOR:VBARS SNAP specifies that the cursors positions are the same as the current DA T A:ST AR T and DA T A:STOP values. CURSOR:VBARS? might return :CURSOR:VBARS:UNITS SECONDS;POSITION1 1.00E-6;POSIĆ TION2 9.00E-6;SELECT CURSOR2 . CURSor:VBArs:DEL T a? (Query Only) Returns the [...]

  • Página 106

    Command Descriptions 2–92 TDS Family Oscilloscope Programmer Manual In extended-acquisition-length mode, the cursors are limited to the waveform record section of the acquisition data (see Figure 2–4 on page 2–41). Cursor CURSor:VBArs:UNIts CURSor:VBArs:POSITION<x> <NR3> CURSor:VBArs:POSITION<x>? CURSor : VBArs : POSITION &l[...]

  • Página 107

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–93 CURSor : VBArs : POSITION <x> ? <Space> <NR3> Pcnt <NR3> has a range of 0 to 100 (%). It specifies the cursor position relative to the record length of the selected waveform. CURSOR:VBARS:POSITION1PCNT? might return 4.50 E+1 , indicating cursor 1 is positi[...]

  • Página 108

    Command Descriptions 2–94 TDS Family Oscilloscope Programmer Manual CURSor:VBArs:UNITS Sets or queries the units for the vertical bar cursors. This command is equivalent to setting Time Units ( Horiz Units in the TDS 400A) in the Cursor menu. Cursor CURSor:VBArs:DEL T a?, CURSor:VBArs:POSITION<x> CURSor:VBArs:UNITS { SECOnds | HERtz | LINE [...]

  • Página 109

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–95 ment, it will convert it to BASE or INVER T depending on the selected wave- form. The TDS 400A will not output this argument in response to a query . LINE specifies a video line as the unit of measure. This is most useful if you have option 05 video trigger installed. On some mod[...]

  • Página 110

    Command Descriptions 2–96 TDS Family Oscilloscope Programmer Manual CURV e T ransfers waveform data to and from the digitizing oscilloscope in binary or ASCII format. Each waveform that is transferred has an associated waveform preamble which contains information such as data format and scale. Refer to the WFMPre command starting on page 2–345 [...]

  • Página 111

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–97 is the curve data. <newline> is a single byte newline character at the end of the data. See the GETWFM.C or GETWFM.BAS examples in the accompanying disk for more specifics. <asc curve> is the waveform data in ASCII format. The format for ASCII data is <NR1>[,<[...]

  • Página 112

    Command Descriptions 2–98 TDS Family Oscilloscope Programmer Manual channel, this is how to set up to get a waveform’ s data over GPIB. It also works when extended acquisition length mode is off. DATA SNAP assigns the current position of the vertical bar cursors to DA T A:ST AR T and DA T A:STOP . DATA? might return the string :DATA:ENCDG RPBIN[...]

  • Página 113

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–99 DA T a:DESTination Sets or queries the reference memory location for storing waveform data that is transferred into the digitizing oscilloscope by the CUR V e command. This command is identical to the DA T a:T ARget command. W aveform DATa:DESTination REF<x> DATa:DESTinatio[...]

  • Página 114

    Command Descriptions 2–100 TDS Family Oscilloscope Programmer Manual            specifies the ASCII representation of signed integer (  ) [...]

  • Página 115

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–101 T able 2–30: DA T a and WFMPre Parameter Settings ATa N g e i g WFMPre Settings D ATa :E N Cd g S e tt i n g :ENCdg :BN_Fmt :BYT_Or ASCIi ASC N/A N/A RIBinary BIN RI MSB RPBinary BIN RP MSB SRIbinary BIN RI LSB SRIbinary BIN RP LSB DATA:ENCDG RPBINARY sets the data encoding fo[...]

  • Página 116

    Command Descriptions 2–102 TDS Family Oscilloscope Programmer Manual SOUrce DATa : <Space> ? <wfm> <Comma> <wfm> <wfm> is the location of the waveform data that will be transferred from the digitizing oscilloscope to the controller . DATA:SOURCE REF2, CH2, MATH1, CH1 specifies that four waveforms will be transferred [...]

  • Página 117

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–103 In extended-acquisition-length mode, <NR1> ranges up to the extended acquisition length as opposed to the waveform record length.   specifies that the waveform transfer will begin with data point 10.  mig[...]

  • Página 118

    Command Descriptions 2–104 TDS Family Oscilloscope Programmer Manual In extended-acquisition-length mode, <NR1> ranges up to the extended acquisition length as opposed to the waveform record length. DATA:STOP 15000 specifies that the waveform transfer will stop at data point 15000. DATA:STOP? might return 14900 as the last data point that w[...]

  • Página 119

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–105 DATa : WIDth ? <Space> <NR1> <NR1> = 1 specifies that there is 1 byte (8 bits) per point. This format is useful when the acquisition mode is set to SAMple, ENV elope, or PEAKdetect (one byte per point). If used for A VErage or HIRes (two bytes per point), the l[...]

  • Página 120

    Command Descriptions 2–106 TDS Family Oscilloscope Programmer Manual *DDT Allows the user to specify a command or a list of commands that are executed when the instrument receives a *TRG command or the GET GPIB interface message. *DDT is just a special alias that *TRG uses. Miscellaneous ALIAS:DEFINE, *TRG  $   % [...]

  • Página 121

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–107 *RCL, RECAll:SETUp, *RST , *SA V , SA V e:SETUp, TEKSecure DELEte:SETUp { <NR1> | ALL } DELEte : SETUp <Space> ALL <NR1> <NR1> is a value in the range 1 to 10, and specifies a setup storage location. Using an out-of-range value causes an execution error .[...]

  • Página 122

    Command Descriptions 2–108 TDS Family Oscilloscope Programmer Manual DELETE:WAVEFORM ALL removes all the waveforms stored in reference memory . DELETE:WAVEFORM REF2 removes the waveform stored at REF2. DESE Sets and queries the bits in the Device Event Status Enable Register (DESER). The DESER is the mask that determines whether events are report[...]

  • Página 123

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–109  might return the string   , showing that the DESER contains the binary value 101 1 1010. DIAg:RESUlt:FLAg? (Query Only) Returns the pass/fail status from the last diagnostic test sequence execution. The DIAg:RESUlt:LOG? query can be used t[...]

  • Página 124

    Command Descriptions 2–1 10 TDS Family Oscilloscope Programmer Manual : DIAg : ? LOG RESUlt <QString> in the following format: <Status>,<Module name>[,<Status>,<Module name>...] DIAG:RESULT:LOG? might return :DIAG:RESULT:LOG "pass--Processor,pass--Display, pass--FP/Proc Interface,FAIL--Front Panel" DIAg:SEL[...]

  • Página 125

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–1 1 1 DIAg:SELect:CPU (No Query Form) Selects the processor system test sequence that will be run when the DIAg:ST A TE EXECUte command is sent. This command is equivalent to setting Area in the Utility menu when System is set to Diag/Err . Calibration and Diagnostic [...]

  • Página 126

    Command Descriptions 2–1 12 TDS Family Oscilloscope Programmer Manual         selects self diagnostic tests. DIAg:ST A TE (No Query Form) Executes the diagnostic tests that have been specified with the DIAg:SELect commands. When the test sequence has comp[...]

  • Página 127

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–1 13 H DESE 128 H *ESE 128 H *SRE 32 H *PSC 0 DIAg:STATE EXECUTE executes all the diagnostic tests that have been selected. DISplay? (Query Only) Returns the current display settings. Display DISplay? DISplay ? DISPLAY? might return :DISPLAY:FORMAT YT;STYLE VECTORS;FILTER SINX;PERSI[...]

  • Página 128

    Command Descriptions 2–1 14 TDS Family Oscilloscope Programmer Manual ON DISplay : CLOCk <Space> ? <NR1> OFF <OFF> or <NR1> = 0 removes the clock from the display . <ON> or <NR1>  0 displays the clock on the display . DISPLAY:CLOCK ON sets the display to show time and date. DISPLAY:CLOCK? might return 1 indi[...]

  • Página 129

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–1 15 DISplay:COLOr:MAP:<item name>: BYCONT ents TDS 6X4B & 700C Only Determines if the color for a math or reference waveform is set to the color assigned to the waveform contents (the constituent waveform) or to a specific color index. This is equivalent to pressing Map M[...]

  • Página 130

    Command Descriptions 2–1 16 TDS Family Oscilloscope Programmer Manual DISplay:COLOr:MAP:<item name>: T O TDS 6X4B & 700C Only Defines the color index to use if setting the color for a math or reference waveform to the color assigned to a specific index. This is similar , but not identical, to pressing Map Math Colors or Map Refer ence C[...]

  • Página 131

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–1 17 DISplay:COLOr:P ALEtte:PERSistence TDS 6X4B & 700C Only Sets the current persistence palette to one of the preset persistence palettes. This is equivalent to selecting Palette from the main Color menu, Persistence Palettes from the resulting side menu, and T emperature , Sp[...]

  • Página 132

    Command Descriptions 2–1 18 TDS Family Oscilloscope Programmer Manual   "       !   "   ?[...]

  • Página 133

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–1 19 BOLd NORMal DISplay : COLOr PALEtte : MONo HARDCopy RESET : : DISPLAY:COLOR:PALETTE:HARDCOPY:RESET resets the hardcopy palette to its initial, factory-default settings. DISplay:COLOr:P ALEtte:<palette name>:<item name> TDS 6X4B & 700C Only Sets the color of a se[...]

  • Página 134

    Command Descriptions 2–120 TDS Family Oscilloscope Programmer Manual BACKGround SCROLLBAR GRAticule COLLision DISplay : COLOr PALEtte : : TEXt REF MATH CH3 ZONe CH1 CH2 CH4 SCROLLTEXT BOLd MONo NORMal HARDCopy : <Space> <NR1> <NR1> ? <NR1> , , HISTOMask BACKGround specifies the display background color . CH1 specifies the [...]

  • Página 135

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–121 SCROLLBAR specifies the color of the scrollbar . For example, you will find a scrollbar in various file system menus. HISTOMask (TDS 700C) specifies the color of the histogram’ s box, the histogram itself, and masks, in the different palettes. <NR1>, <NR1>, <NR1[...]

  • Página 136

    Command Descriptions 2–122 TDS Family Oscilloscope Programmer Manual DISplay : FILTer ? SINX LINEAr <Space> LINEAr specifies linear interpolation where acquired points are connected with straight lines. SINX specifies sin(x)/x interpolation where acquired points are fit to a curve. DISPLAY:FILTER LINEAR sets the interpolation filter type to[...]

  • Página 137

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–123 T able 2–31: XY Format Pairs X-Axis Source Y -Axis Source Ch 1 Ch 2 Ch 3 (or AUX 1) (All models except TDS 430A) Ch 4 (or AUX 2) (All models except TDS 430A) Ref 1 Ref 2 Ref 3 Ref 4 YT sets the display to a voltage versus time format and is the normal mode. DISPLAY:FORMAT YT s[...]

  • Página 138

    Command Descriptions 2–124 TDS Family Oscilloscope Programmer Manual FULl specifies a frame, a grid, and cross hairs. GRId specifies a frame and a grid. NTSc specifies a special NTSC frame. PAL specifies a special P AL frame. DISPLAY:GRATICULE GRID sets the graticule type to display a frame and a grid. DISPLAY:GRATICULE? returns FULL when all gra[...]

  • Página 139

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–125 DISplay:INStavu:STYle TDS 500C & 700C Only Selects how the data is displayed with InstaV u. Display DISplay:INStavu:STYle { DOTs | VECtors } DISplay:INStavu:STYle? <Space> ? DOTs VECtors STYle INStavu : DISplay : DOTs displays individual data points. VECtors connects a[...]

  • Página 140

    Command Descriptions 2–126 TDS Family Oscilloscope Programmer Manual VARpersist ? <Space> <NR3> INStavu : DISplay : <NR3> specifies the time, in seconds, that the waveform points are displayed on the screen. The range is 250 ms to 10 s. DISPLAY:INSTAVU:VARPERSIST 3 specifies that the waveform points are displayed on the screen f[...]

  • Página 141

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–127 DISplay:INTENSITy:CONTRast? DISplay : CONTRast ? <Space> <NR1> INTENSITy : <NR1> ranges from 100 to 250 percent. DISPLAY:INTENSITY:CONTRAST 140 sets the intensity of the intensified portion of a waveform. DISplay:INTENSIT y:OVERAll TDS 4X0A, 510A, 5X0C, & 6[...]

  • Página 142

    Command Descriptions 2–128 TDS Family Oscilloscope Programmer Manual DISplay:INTENSIT y:TEXt Sets the intensity of the text and the graticule. This command is equivalent to setting T ext/Grat in the Display Intensity side menu. Display !$$#  !$?[...]

  • Página 143

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–129 DISplay:MODe TDS 500C & 700C Only Selects whether or not to turn on InstaV u. Display DISplay:MODe { INStavu | NORMal } DISplay:MODe? MODe DISplay : <Space> ? NORMal INStavu INStavu turns on InstaV u. This mode can help you view infrequent deviations in a signal. It on[...]

  • Página 144

    Command Descriptions 2–130 TDS Family Oscilloscope Programmer Manual " !  " ! "   !     specifies the length, in seco[...]

  • Página 145

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–131  !!" leaves acquired data points on the display for a period of time specified by DISplay:PERSistence. " ! connects adjacent data points. New points immediately replace old ones.  causes the display to show[...]

  • Página 146

    Command Descriptions 2–132 TDS Family Oscilloscope Programmer Manual LONG displays, as the indicator , a horizontal line in the center of the graticule for each displayed trigger signal. DISPLAY:TRIGBAR LONG sets the display to show a long trigger indicator bar (or bars). DISplay:TRIGT Controls the display of the trigger point indicator . This is[...]

  • Página 147

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–133 Status and Error *CLS, DESE, *ESR?, EVENT?, EVMsg? *SRE, *STB?         is a value in the range from 0 through 255. The binary bits of the ESER are set according to this va[...]

  • Página 148

    Command Descriptions 2–134 TDS Family Oscilloscope Programmer Manual     might return the value  , showing that the SESR contains binary 1 1010101. EVENT? (Query Only) Returns from the Event Queue an event code that provides information about the results of the last *ESR? read. EVENT? also rem[...]

  • Página 149

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–135 ? EVMsg The event code and message in the following format: <Event Code><Comma><QString>[<Event Code><Comma><QString>...] <QString>::= <Message>;[<Command>] where <Command> is the command that caused the error and may b[...]

  • Página 150

    Command Descriptions 2–136 TDS Family Oscilloscope Programmer Manual F ACtory (No Query Form) Resets the digitizing oscilloscope to its factory default settings. This command is equivalent to selecting Recall Factory Setup in the W aveform Save/Recall menu. Miscellaneous *PSC, *RCL, RECAll:SETUp, *RST , *SA V , SA V e:SETUp  [...]

  • Página 151

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–137 FILESystem:COPy (No query form) File System Only Copies a named file or files to a new file. The new file may be in a totally separate directory than the old file. Also, you can use wild card characters (*.*) to copy multiple files with one command. File system FILESystem:COPy {[...]

  • Página 152

    Command Descriptions 2–138 TDS Family Oscilloscope Programmer Manual FILESYSTEM:COPY fd0:/YOURDIR/TEK00001.SET",fd0:/MYDIR" copies the file named TEK00001.SET on the fd0: drive and the YOURDIR directory to the MYDIR directory on the same drive. FILESYSTEM:COPY YOURDIR",fd0:/MYDIR" copies the files in the YOURDIR di[...]

  • Página 153

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–139 FILESystem:DELEte <file path> : DELEte FILESystem <file path> <Space> <file path> is a quoted string that defines the file name and path. Input the file path using the form <drive>/<dir>/<filename> . <drive> and one or more <dir[...]

  • Página 154

    Command Descriptions 2–140 TDS Family Oscilloscope Programmer Manual FILESYSTEM:DELWARN OFF disables the front-panel delete warning. FILESYSTEM:DELWARN? might return 0 indicating the front-panel warning is disabled. FILESystem:DIR (Query only) File System Only Returns a list of quoted strings. Each string contains the name of a file or directory [...]

  • Página 155

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–141  & formats the media on drive fd0:. FILESystem:FREESpace (Query only) File System Only Returns the amount of freespace (in bytes) on the current drive. File system %"#?[...]

  • Página 156

    Command Descriptions 2–142 TDS Family Oscilloscope Programmer Manual FILESYSTEM:MKDIR NEATPICS" creates the directory named NEATPICS on the current drive. FILESystem:OVER Write File System Only T urns on or off the file-overwrite protection. T urning on file-overwrite protection prevents writing over existing files. File system FILESystem[...]

  • Página 157

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–143 CENtronics RS232 GPIb : PRInt FILESystem <file path> , <file path> is a quoted string that defines the file name and path. Input the file path using the form <drive>/<dir>/<filename> . <drive> and one or more <dir> s are optional. If you[...]

  • Página 158

    Command Descriptions 2–144 TDS Family Oscilloscope Programmer Manual FILESYSTEM:READFILE hd0:/TEK00000.IBM" sends a hard–disk-based file named TEK00000.IBM out the GPIB port. FILESystem:REName (No query form) File System Only Assigns a new name to a file. File system FILESystem:REName <old file path>,<new file path> : REName[...]

  • Página 159

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–145   ' +()#  ')%'+ &) &  ')%'+ &) is a quoted string that defines the directory . Input the directory using the form ' * '?[...]

  • Página 160

    Command Descriptions 2–146 TDS Family Oscilloscope Programmer Manual Symbol Meaning <DChar> A character with the hex equivalent of 00 through FF hexadecimal (0 through 255 decimal) <Block> A block of data bytes, defined as: <Block> ::= { #<NZDig><Dig>[<Dig>...][<DChar>...] | #0[<DChar>...]<termin[...]

  • Página 161

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–147 "  !   !   ! terminates the hardcopy output in process. NOTE . DCL does NOT clear the output queue once a har dcopy is in pr ocess. The only way to abort the har dcopy p[...]

  • Página 162

    Command Descriptions 2–148 TDS Family Oscilloscope Programmer Manual <file path> FILEName : HARDCopy ? <Space> <file path> specifies that the hardcopy is sent to the named file. <file path> is a quoted string that defines the file name and path. Input the file path using the form <drive>/<dir>/<filename> [...]

  • Página 163

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–149 HARDCopy:FORMat? RLE PCXCOLOR INTERLeaf LASERJet THInkjet FORMat : HARDCopy <Space> ? TIFf EPSOn HPGl PCX EPSColor EPSImage EPSMono BMPCOLOR DESKJETC BMP DPU411 DPU412 EPSCOLImg DESKJET HARDCopy:FORMat { BMP | BMPCOLOR | DESKJET | DESKJETC (not on 400A & 510A) | DPU411[...]

  • Página 164

    Command Descriptions 2–150 TDS Family Oscilloscope Programmer Manual   !" !, (%$!, ,  )*- * !  " ( &  )&)+ '#! )() [...]

  • Página 165

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–151 HARDCopy:LA Y out Selects the printing orientation. This is equivalent to setting Layout in the Hardcopy menu. Hardcopy HARDCopy:LAYout { LANdscape | PORTRait } HARDCopy:LAYout? LAYout : <Space> ? LANdscape HARDCopy PORTRait LANDscape specifies that the bottom of the hardc[...]

  • Página 166

    Command Descriptions 2–152 TDS Family Oscilloscope Programmer Manual HARDCopy:PALEtte PALEtte : <Space> ? CURRent HARDCopy HARDCopy HARDCOPY:PALETTE HARDCOPY would print each copy made using the hardcopy palette. HARDCopy:PORT Selects where to send the hardcopy data on the next hardcopy command (i.e. HARDCOPY ST AR T command). This is equiv[...]

  • Página 167

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–153 HARDCOPY:PORT? might return GPIB as the selected hardcopy output port. HDR This command is identical to the HEADer query and is included for compatibili- ty with older T ektronix instruments. Miscellaneous HDR { <NR1> | OFF | ON } HDR? <Space> <NR1> HDR ON OFF [...]

  • Página 168

    Command Descriptions 2–154 TDS Family Oscilloscope Programmer Manual <Space> <NR1> HEADer ON OFF ? ON or <NR1>  0 sets the Response Header Enable State to true. This causes the digitizing oscilloscope to include headers on applicable query responses. Y ou can then use the query response as a command. OFF or <NR1> = 0 se[...]

  • Página 169

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–155 HIStogram:BOX TDS 500C & 700C Only Defines the left, top, right, and bottom positions of the histogram box, in source waveform coordinates. Histogram HIStogram:BOX <NR3> , <NR3> , <NR3> , <NR3> HORizontal:BOX? : HIStogram BOX <Space> <NR1>[...]

  • Página 170

    Command Descriptions 2–156 TDS Family Oscilloscope Programmer Manual HIStogram:BOXPcnt TDS 500C & 700C Only Defines the left, top, right, and bottom positions of the histogram box, in percentage coordinates. The upper left has the value 0,0 and the lower right has the value 100, 100 when the horizontal trigger position is 50%. Histogram HISto[...]

  • Página 171

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–157 HIStogram:COUNt TDS 500C & 700C Only Zeros the counts for histograms. If histograms are on then the counts start counting up again. Histogram ! !   ! !   ?[...]

  • Página 172

    Command Descriptions 2–158 TDS Family Oscilloscope Programmer Manual OFF to turn off histogram displays. Histogram counting and measurements can continue. The histogram box is not turned off. HISTOGRM:DISPLAY LINEAR would display the count in each bin. HIStogram:MODe TDS 500C & 700C Only Selects the type of histogram to create or turns the hi[...]

  • Página 173

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–159 HIStogram:SIZe TDS 500C & 700C Only Controls the width or height of the histogram on the screen. Histogram HIStogram:MODe HIStogram:SIZe <NR3> HIStogram:SIZe? : SIZe HIStogram <Space> <NR3> ? <NR3> varies from 0.1 to 10.0 in div units. It varies from [...]

  • Página 174

    Command Descriptions 2–160 TDS Family Oscilloscope Programmer Manual : SOUrce HIStogram <Space> CH<x> ? <x> indicates CH #. It may be 1, 2, 3, or 4. HISTOGRAM:SOURCE CH1 would enable CH1 to be compared against the histogram box. HORizontal? (Query Only) Returns all settings for the horizontal commands. The commands HORizon- tal:[...]

  • Página 175

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–161 ACQDURATION ? HORizontal : In seconds, # points * (time/point). The default is 5 ms. HORizontal:ACQLENGTH? (Query Only) TDS 500C & 700C Only Returns the acquisition length, either the extended one when the extended acquisition length mode is on or the record length when this[...]

  • Página 176

    Command Descriptions 2–162 TDS Family Oscilloscope Programmer Manual      ! #" ! ! enables the internal clock mode. ! enables the external clock mode. [...]

  • Página 177

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–163 HORizontal:DELay? (Query Only) Returns all horizontal delayed time base parameters. The commands HORizon- tal:DELay:SECdiv and HORizontal:DELay:SCAle are identical so only HORizontal:DELay:SCAle will be returned. Horizontal HORizontal?, HORizontal:DELay:MODe?, HORizontal:DELay:S[...]

  • Página 178

    Command Descriptions 2–164 TDS Family Oscilloscope Programmer Manual TRIGAfter specifies that the delayed time base is triggerable after the main time base triggers. HORIZONTAL:DELAY:MODE? returns either RUNSAFTER or TRIGAFTER , indicating the delayed time base mode. HORizontal:DELay:SCAle Sets the time per division for the delayed time base. Thi[...]

  • Página 179

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–165 the 1–2–5 sequence (1–2.5–5 on the TDS 620B, 640B, & 644B), it is automati- cally set to the closest valid value. HORIZONTAL:DELAY:SCALE? might return 1.0E-3 , indicating that the delay time is 1 ms per division. HORizontal:DELay:SECdiv This command is identical to t[...]

  • Página 180

    Command Descriptions 2–166 TDS Family Oscilloscope Programmer Manual HORIZONTAL:DELAY:TIME 2.0E-3 sets the delay time between the main and delayed time base to 2 ms. HORizontal:DELay:TIMe? (Query Only) Returns the delay time parameters. Horizontal HORizontal:DELay:TIMe:RUNSAfter?, HORizontal:DELay:TIMe:TRIGAfter? HORizontal:DELay:TIMe? : DELay : [...]

  • Página 181

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–167 RUNSAfter ? <Space> <NR3> : DELay : HORizontal TIMe : <NR3> is the time, in seconds, between the main trigger and the delayed trigger . The range is from 16 ns (10 ns on the TDS 400A) to 250 seconds (20 s on the TDS 400A) with a resolution of 4 ns. HORIZONTAL:D[...]

  • Página 182

    Command Descriptions 2–168 TDS Family Oscilloscope Programmer Manual HORizontal:EXTDACQ TDS 500C & 700C Only Enable or disable extended-acquisition-length mode. The InstaV u display mode must be off in order to turn the extended-acquisition-length mode on. Horizontal $ # %  & [...]

  • Página 183

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–169 HORizontal:FASTframe:COUNt? : : FASTframe HORizontal COUNt ? <Space> <NR1> <NR1> indicates the number of frames to acquire. HORIZONTAL:FASTFRAME:COUNT 2 Sets up FastFrame mode to acquire two frames (segments) of data. HORizontal:F ASTframe:LENgth TDS 500C &[...]

  • Página 184

    Command Descriptions 2–170 TDS Family Oscilloscope Programmer Manual known as memory segmentation, lets users capture a series of triggered acquisitions with minimal, intervening, time between them. Horizontal &$"$  &$[...]

  • Página 185

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–171 : : FASTframe HORizontal STATE ? <Space> <NR1> ON OFF <NR1> indicates OFF if it’ s a 0 or ON if it’ s a 1 (or any other nonzero value). ON means turn on FastFrame. OFF means turn off FastFrame. The query form only returns 0 or 1. HORIZONTAL:FASTFRAME:STATE [...]

  • Página 186

    Command Descriptions 2–172 TDS Family Oscilloscope Programmer Manual ON means turn on waveform compress. OFF means turn off waveform compress. HORIZONTAL:FITTOSCREEN ON turns on waveform compress. HORizontal:MAIn? (Query Only) Returns the time per division of the main time base. The commands HORizon- tal:MAIn:SECdiv and HORizontal:MAIn:SCAle are [...]

  • Página 187

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–173 HORizontal:MAIn:SCAle <NR3> HORizontal:MAIn:SCAle? : SCAle HORizontal : MAIn ? <Space> <NR3> <NR3> is the time per division. For the TDS 400A series, the range is 20 s to 1 ns. For the TDS 510A, 500B, 600B, and 700A, the range is 10 s to 500 ps (or 200 ps[...]

  • Página 188

    Command Descriptions 2–174 TDS Family Oscilloscope Programmer Manual Horizontal DISplay:INTENSIT y:CONTRast HORizontal:MODe { DELAYEd | INTENSIFied | MAIn } HORizontal:MODe? INTENSIFied MODe <Space> ? DELAYEd : MAIn HORizontal DELAYEd means that the selected waveform is horizontally scaled relative to the delayed time base. INTENSIFied uses[...]

  • Página 189

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–175 "!!  ! "!      is from 0 to 100, and is the percent of the waveform that is displayed left of the center graticule. In [...]

  • Página 190

    Command Descriptions 2–176 TDS Family Oscilloscope Programmer Manual T able 2–32: Record Length V alues (<NR1>) Configuration TDS 420A, TDS 430A, TDS 460A TDS 510A, TDS 520C, TDS 724C TDS 600B TDS 540C, TDS 754C, TDS 784C Standard 500, 1000, 2500, 5000, 15000, 30000 500, 1000, 2500, 5000, 15000 50000 500, 1000, 2500, 5000, 15000 500, 1000[...]

  • Página 191

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–177         is the units of percent. It ranges from 0% to 93.75% (for 4M and 8M) or 95% (for 2M). If fit-to-screen is on or extreme zoom factors are on, then the reco[...]

  • Página 192

    Command Descriptions 2–178 TDS Family Oscilloscope Programmer Manual HORizontal:SCAle Sets the time per division for the main time base and is identical to the HORi- zontal:MAIn:SCAle command. It is included here for compatibility purposes. Horizontal HORizontal:SCAle <NR3> HORizontal:SCAle? : SCAle ? <Space> <NR3> HORizontal HO[...]

  • Página 193

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–179  might return   . HORizontal:TRIGger:POSition Sets or queries the position of the trigger . This is equivalent to setting T rigger P[...]

  • Página 194

    Command Descriptions 2–180 TDS Family Oscilloscope Programmer Manual ID? (Query Only) Returns identifying information about the instrument and its firmware. Status and Error *IDN? ID? ID ? The instrument id in the following format: TEK/<model number>,CF:92.1CT,FV:<firmware version number> ID? might return ID TEK/TDS 784C,CF:91.1CT,FV:[...]

  • Página 195

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–181 LIMit:BELl Rings the bell when the waveform data exceeds the limits set in the limit test, if the limit state is on. Limit T est LIMit:COMP ARE:CH<x>, LIMit:ST A TE         ?[...]

  • Página 196

    Command Descriptions 2–182 TDS Family Oscilloscope Programmer Manual CURve, LIMit:COMP ARE:MA TH<x>, LIMit:TEMPLate, LIMit:TEM- PLate:DEST ination, LIMit:TEMPLate:SOUrce, WFMPre       ?[...]

  • Página 197

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–183             is a reference waveform.  specifies that no template testing is to be done for the specified channel. [...]

  • Página 198

    Command Descriptions 2–184 TDS Family Oscilloscope Programmer Manual  or   0 turns on the hardcopy operation for the waveform when any waveform data exceeds the limits set by the limit test.  or  = 0 turns off the hardcopy operation.   specifies that t[...]

  • Página 199

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–185   specifies that limit testing of waveforms is in effect.  returns either  or  , indicating whether limit testing of waveforms is in effect. LIMit:TEMPLate (No Query Form) Creates a template which y[...]

  • Página 200

    Command Descriptions 2–186 TDS Family Oscilloscope Programmer Manual            specifies the reference waveform destination in w[...]

  • Página 201

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–187 LIMIT:TEMPLate:SOUrce CH2 specifies that the template waveform for limit tests is the waveform currently acquired using channel 2. LIMIT:TEMPLate:SOUrce? might return MATH3 , specifying that the template waveform for limit tests is the waveform currently stored as the MA TH3 wav[...]

  • Página 202

    Command Descriptions 2–188 TDS Family Oscilloscope Programmer Manual LIMit:TEMPLate:T OLerance:VERT ical Sets or queries the amount, in units of vertical divisions, by which the source waveform is varied vertically when creating the destination waveform. Limit T est LIMit:COMP ARE:CH<x> LIMit:TEMPLate:TOLerance:VERTical <NR3> LIMit:TE[...]

  • Página 203

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–189              disables all front panel controls.  enables all front panel controls. This is equivalent to the UNLock ALL command. NOTE . If the d[...]

  • Página 204

    Command Descriptions 2–190 TDS Family Oscilloscope Programmer Manual NOTE . The *LRN? query always r eturns a string including command headers, r egar dless of the setting of the HEADer command. This is because the returned string is intended to be sent back to the digitizing oscilloscope as a command string. The VERBose command can still be used[...]

  • Página 205

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–191 0.0E+0,0.0E+0;:MASK:MASK8:POINTSP 0.0E+0,0.0E+0;:MASK:STAN OC1;DIS 1;COUN:STATE 0;:MASK:FILT ENA;AUTOS:OFFSETA 1;MOD MAN;:MASK:SOU CH1;TBP 0.0E+0 MASK:AUT OSet:MODe TDS 500C & 700C Only Controls whether or not an autoset will automatically be done after a standard mask is se[...]

  • Página 206

    Command Descriptions 2–192 TDS Family Oscilloscope Programmer Manual following standards, offset will not be adjusted if this feature is OFF: T1.102, DS–0, E2, E2, and E3. For all other standards, offset will be adjusted regardless of how this feature is set. Mask    [...]

  • Página 207

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–193   clears the mask counts. MASK:COUNt:ST A TE TDS 500C & 700C Only Controls whether or not mask counting is being done. Mask         ?[...]

  • Página 208

    Command Descriptions 2–194 TDS Family Oscilloscope Programmer Manual COUNt ? MASK : TOTal <NR1> MASK:COUNt:W A VEFORMS? (Query Only) TDS 500C & 700C Only Returns the number of waveforms that have contributed to mask counting. This can be much smaller than the ACQUIRE:NUMACQ number since the acquire number just counts how many triggers h[...]

  • Página 209

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–195          or  = 0 removes the masks from the display .  or   0 displays the masks on the display . This is the default value. ?[...]

  • Página 210

    Command Descriptions 2–196 TDS Family Oscilloscope Programmer Manual MASK:FILTer { ENAbled | DISAbled } MASK:FILTER? <Space> ? ENAbled DISAbled FILTer MASK : ENAbled enables the digital filter . This is the default value. DISAbled disables the digital filter . MASK:FILTER ENABLED enables the digital filter . MASK:MASK<n>? (Query Only)[...]

  • Página 211

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–197 Mask MASK:MASK<NR1> DELEte MASK <NR1> MASK : DELEte <NR1> is 1 to 8. MASK:MASK3 DELETE deletes the points in mask 3. MASK:MASK<n>:COUNt? (Query Only) TDS 500C & 700C Only Returns the number of hits in the specified mask. This will be zero unless the M[...]

  • Página 212

    Command Descriptions 2–198 TDS Family Oscilloscope Programmer Manual MASK ? <NR1> MASK : NR_Pt : <NR1> is 1 to 8. The default is 0. MASK:MASK3:NR_PT? might return: MASK:MASK:NR_PT 5 MASK:MASK<n>:POINTS TDS 500C & 700C Only Defines points in the specified mask, in user coordinates. Any currently existing points in the mask ar[...]

  • Página 213

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–199 pair is input then they are ignored and the mask is marked as undefined. The default is no points in the mask. MASK:MASK7:POINTS -2.3e-9, 44e-3, -2.5e-9, 47e-3, 1.2e-9, 40e-3 defines the points in mask 7. MASK:MASK<n>:POINTSPcnt TDS 500C & 700C Only Defines points in t[...]

  • Página 214

    Command Descriptions 2–200 TDS Family Oscilloscope Programmer Manual MASK:MASK7:POINTSPCNT 20.4, 10.5, 90, 10.5, 50, 80 defines the points in mask 7. MASK:SOUrce TDS 500C & 700C Only Selects which trace will be compared against the mask(s) when counting is turned on. Mask MASK:SOUrce CH<x> MASK:SOUrce? : SOUrce <Space> MASK ? CH &[...]

  • Página 215

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–201 : MASK <Space> FDDI ? NONe D1 STANdard D2 FC1063E FC531E FC266E FC133E FC1063 FC531 STS3_Max STS3 STS1Eye MS4NA DS3 DS2 DS1C DS1A DS1 STM1E_1 STM1E_0 USERMask OC1 OC3 OC12 E1Coax E2 E3 E4_0 E4_1 E5 DS4NA_Max DS0Timing DS0Timing DS0Contra DS0Double DS0Single E1Symmetrical S[...]

  • Página 216

    Command Descriptions 2–202 TDS Family Oscilloscope Programmer Manual DS0Double means delete any user defined masks and then create masks 1 .. 2 as specified by the DS–0 Double Pulse standard (64 kb/s). DS0Contra means delete any user defined masks and then create masks 1 .. 2 as specified by the DS–0 Data Pulse, Contradirectional standard (64[...]

  • Página 217

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–203  means delete any user defined masks and then create masks 1 .. 2 as specified by the DS3 standard (44.736 Mb/s).  means delete any user defined masks and then create masks 1 .. 4 as specified by the DS4NA eye standard (139.26 Mb/s). [...]

  • Página 218

    Command Descriptions 2–204 TDS Family Oscilloscope Programmer Manual FDDI means delete any user defined masks and then create masks 1 .. 2 as implied by the FDDI standard (125 Mb/s). NONe causes all masks to be deleted. This even includes user masks. USERMask is a no-op when received by the SET form of this command. It is allowed because a SET? c[...]

  • Página 219

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–205  )  MA TH<x>:DEFINE Allows the user to define new waveforms using mathematical expressions. This is equivalent to selecting Change Math waveform definition in the Math<x> side menu. V ertical ) &[...]

  • Página 220

    Command Descriptions 2–206 TDS Family Oscilloscope Programmer Manual <source> refers to a signal channel. V alid choices are: CH1 , CH2 , CH3 , CH4 , REF1 , REF2 , REF3 , or REF4 . (The TDS 410A does not include CH3 and CH4 .) <window> refers to an FFT window . V alid choices are: RECTangular , HAMming , HANning , or BLAckmanharris . [...]

  • Página 221

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–207 !  !      !    specifies the number of times to successively average the math waveform bef[...]

  • Página 222

    Command Descriptions 2–208 TDS Family Oscilloscope Programmer Manual OFF turns off waveform averaging. AVErage turns on waveform averaging. MATH1:PROCESSING OFF ensures that waveform averaging is not in use on math waveform 1. MATH1:PROCESSING AVERAGE turns on waveform averaging on math waveform 1. MEASUrement? (Query Only) Returns all measuremen[...]

  • Página 223

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–209 Measurement "$!# $ !# $ "$   MEASUrement:GA Ting Sets or queries measurement gat[...]

  • Página 224

    Command Descriptions 2–210 TDS Family Oscilloscope Programmer Manual MEASUrement:IMMed? (Query Only) Returns all immediate measurement setup parameters. Measurement % " #'      % " #'  might return ?[...]

  • Página 225

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–21 1 IMMed : : MEASUrement DELay : DIREction <Space> ? BACKWards FORWards BACKWards means that the search starts at the end of the waveform and looks for the last rising or falling edge in the waveform. The slope of the edge is specified by MEASUrement:IMMed:DELay:EDGE2. FORWa[...]

  • Página 226

    Command Descriptions 2–212 TDS Family Oscilloscope Programmer Manual             specifies the falling edge.  specifies the rising edge. ?[...]

  • Página 227

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–213 RISe specifies the rising edge. MEASUREMENT:IMMED:DELAY:EDGE2 RISE specifies that the rising edge be used for the immediate delay measurement. MEASUREMENT:IMMED:DELAY:EDGE2? returns FALL showing that the falling or negative edge of the waveform is used for the immediate delay me[...]

  • Página 228

    Command Descriptions 2–214 TDS Family Oscilloscope Programmer Manual MEASUrement:IMMed:SOURCE2 Specifies the source to measure “to” when taking an immediate delay measure- ment or phase measurement. Measurement MEASUrement:IMMed:SOURCE2 { CH<x> | MATH<x> | REF<x> | HIStogram (TDS 500C and 700C) } MEASUrement:IMMed:SOURCE2? R[...]

  • Página 229

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–215 500C and 700C) | EXTINCTRATIO (TDS 500C and 700C) | FALL | FREQuency | HIGH | HITs (TDS 500C and 700C) | LOW | MAXimum | MEAN | MEANDBM (TDS 500C and 700C) | MEDian (TDS 500C and 700C) | MINImum | NDUty | NOVershoot | NWIdth | PDUty | PEAKHits (TDS 500C and 700C) | PERIod | PHAs[...]

  • Página 230

    Command Descriptions 2–216 TDS Family Oscilloscope Programmer Manual AREa is the area between the curve and ground over the entire waveform. BURst is the time from the first MidRef crossing to the last MidRef crossing. CARea (cycle area) is the area between the curve and ground over one cycle. CMEan is the arithmetic mean over one cycle. CRMs is [...]

  • Página 231

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–217 ' is the distance (time) between MidRef (usually 50%) amplitude points of a negative pulse. ') is the ratio of the positive pulse width to the signal period expressed as a percentage. !'& (TDS 500C and 700C) ?[...]

  • Página 232

    Command Descriptions 2–218 TDS Family Oscilloscope Programmer Manual MEASUrement:IMMed:UNITS? (Query Only) Returns the units for the immediate measurement. Measurement MEASUrement:IMMed:TYPe          ?[...]

  • Página 233

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–219 MEASUrement:MEAS<x>? (Query Only) Returns all measurement parameters for the displayed measurement specified by <x>. Measurement MEASUrement:MEAS<x>? : MEASUrement MEAS <x> ? MEASUREMENT:MEAS3? might return: :MEASUREMENT:MEAS3:STATE 0;TYPE PERIOD; UNITS &[...]

  • Página 234

    Command Descriptions 2–220 TDS Family Oscilloscope Programmer Manual Measurement & " #()*  & " #(  )   *  might return ?[...]

  • Página 235

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–221  might return  for the search direction. MEASUrement:MEAS<x>:DELay:EDGE1 Sets or queries the slope of the edge that is used for the delay “from?[...]

  • Página 236

    Command Descriptions 2–222 TDS Family Oscilloscope Programmer Manual MEASUrement:MEAS<x>:DELay:EDGE2 { FALL | RISe } MEASUrement:MEAS<x>:DELay:EDGE2? MEAS : : MEASUrement DELay : EDGE2 <x> <Space> ? FALL RISe FALL specifies the falling edge. RISe specifies the rising edge. MEASUREMENT:MEAS2:DELAY:EDGE2 RISE specifies that [...]

  • Página 237

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–223 MEASUrement:MEAS<x>:MEAN? (Query Only) TDS 500C & 700C Only Returns the mean value accumulated for this measurement since the last statistical reset. Measurement MEASUrement:MEAS<x>:MEAN? : MEASUrement MEAS <x> ? : MEAN <NR3> MEASUREMENT:MEAS1:MEAN? m[...]

  • Página 238

    Command Descriptions 2–224 TDS Family Oscilloscope Programmer Manual MEASUrement:MEAS<x>:SOURCE[1] Sets or queries the source for all single channel measurements and specifies the source to measure “from” when taking a delay measurement or phase measure- ment. Measurement MEASUrement:MEAS<x>:SOURCE[1] { CH<x> | MATH<x>[...]

  • Página 239

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–225                    is an[...]

  • Página 240

    Command Descriptions 2–226 TDS Family Oscilloscope Programmer Manual OFF or <NR1> = 0 turns measurements off. Y ou can also turn the state off by deselecting the source. ON or <NR1>  0 turns measurements on. MEASUREMENT:MEAS1:STATE ON turns measurement defined as MEAS1 on. MEASUREMENT:MEAS4:STATE? returns either 0 or 1 , indicating[...]

  • Página 241

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–227 MAXimum | MEAN | MEANDBM (TDS 500C and 700C) | MEDian (TDS 500C and 700C) | MINImum | NDUty | NOVershoot | NWIdth | PDUty | PEAKHits (TDS 500C and 700C) | PERIod |PHAse | PK2pk | POVershoot | PWIdth | RISe | RMS | SIGMA[1-3] (TDS 500C and 700C) | STDdev (TDS 500C and 700C) | WAV[...]

  • Página 242

    Command Descriptions 2–228 TDS Family Oscilloscope Programmer Manual BURst is the time from the first MidRef crossing to the last MidRef crossing. CARea (cycle area) is the area between the curve and ground over one cycle. CMEan is the arithmetic mean over one cycle. CRMs is the true Root Mean Square voltage over one cycle. DELay is the time betw[...]

  • Página 243

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–229 %' is the ratio of the positive pulse width to the signal period expressed as a percentage. %$ (TDS 500C and 700C)          [...]

  • Página 244

    Command Descriptions 2–230 TDS Family Oscilloscope Programmer Manual MEASUrement:MEAS<x>:UNITS? (Query Only) Returns the units for the measurement specified by MEASUre- ment:MEAS<x>:TYPe. Measurement !    ?[...]

  • Página 245

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–231 MEASUrement:METHod Sets or queries the method used to calculate the 0% and 100% reference level. This is equivalent to setting the High-Low Setup in the Measure menu. Measurement MEASUrement:METHod { HIStogram | MINMax } MEASUrement:METHod? MEASUrement : METHod <Space> ? M[...]

  • Página 246

    Command Descriptions 2–232 TDS Family Oscilloscope Programmer Manual MEASUrement:REFLevel:ABSolute:HIGH Sets or queries the high reference level, and is the 100% reference level when MEASUrement:REFLevel:METHod is set to ABSolute. This command is equivalent to setting the Reference Levels in the Measure menu. Measurement MEASUrement:REFLevel:ABSo[...]

  • Página 247

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–233 LOW ? <Space> <NR3> MEASUrement : REFLevel : ABSolute : <NR3> is the low reference level, in volts. The default is 0.0 V . MEASUREMENT:REFLEVEL:ABSOLUTE:LOW? might return 0.0E+0 as the low reference level. MEASUrement:REFLevel:ABSolute:MID Sets or queries the m[...]

  • Página 248

    Command Descriptions 2–234 TDS Family Oscilloscope Programmer Manual MEASUrement:REFLevel:ABSolute:MID2 Sets or queries the mid reference level for the “to” waveform when taking a delay measurement, and is the 50% reference level when MEASUrement:RE- FLevel:METHod is set to ABSolute. This command is equivalent to setting the Reference Levels [...]

  • Página 249

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–235 "&% specifies that the reference levels are set explicitly using the MEASUrement:REFLevel:ABSolute commands. This method is useful when precise values are required. For instance, when designing to published interface specifications such as RS-232-C. ?[...]

  • Página 250

    Command Descriptions 2–236 TDS Family Oscilloscope Programmer Manual MEASUrement:REFLevel:PERCent:LOW Sets or queries the percent, where 100% is equal to HIGH, that is used to calculate the low reference level when MEASUrement:REFLevel:METHod is set to PERCent. This command is equivalent to setting the Reference Levels in the Measure menu. Measur[...]

  • Página 251

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–237 MID ? <Space> <NR3> MEASUrement : REFLevel : PERCent : <NR3> ranges from 0 to 100 percent, and is the mid reference level. The default is 50%. MEASUREMENT:REFLEVEL:PERCENT:MID 60 specifies that the mid reference level is set to 60% of HIGH. MEASUrement:REFLevel[...]

  • Página 252

    Command Descriptions 2–238 TDS Family Oscilloscope Programmer Manual MEASUrement:SNAPShot Displays the measurement snapshot. Measurement MEASUrement:SNAPShot SNAPShot MEASUrement : MEASUREMENT:SNAPSHOT MEASUrement:ST A TIstics:MODE TDS 500C & 700C Only Controls the operation and display of measurement statistics. Measurement MEASUrement:STATI[...]

  • Página 253

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–239 MEASUrement:ST A TIstics:WEIghting TDS 500C & 700C Only Controls the responsiveness of mean and standard deviation to waveform changes. Measurement !#"#"#  ![...]

  • Página 254

    Command Descriptions 2–240 TDS Family Oscilloscope Programmer Manual   clears the message from the window . MESSage:BOX Defines the size and position of the message window . This command does not display the window unless MESSage:ST A TE is ON. Display  ?[...]

  • Página 255

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–241 0 34 84 480 134 184 234 284 334 384 434 0 24 74 124 174 224 274 324 374 424 474 524 640 Figure 2–5: Message Window Coordinates MESSage:SHOW Clears the contents of the message window and displays the new message in the window . Display  ?[...]

  • Página 256

    Command Descriptions 2–242 TDS Family Oscilloscope Programmer Manual The message is left-justified, and is displayed on a single line starting with the top most line in the window . A line feed character can be embedded in the string to position the message on multiple lines. Y ou can also use white space and tab characters to position the messag[...]

  • Página 257

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–243  #  $  $  %           or  = 0 removes the mes[...]

  • Página 258

    Command Descriptions 2–244 TDS Family Oscilloscope Programmer Manual complete discussion of the use of these registers and the output queue, see page 3–1. Status and Error BUSY?, *W AI     The *OPC command allows you to synchronize the operation of the digitizing oscilloscope with your application progr[...]

  • Página 259

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–245 *OPT? OPT? Might return: 13:Rs232/cent,1M:extended record length, 2F:math pack,05:video trigger,0,CD:color display . P ASSWord (No Query Form) Enables the *PUD and NEWpass set commands. Sending P ASSW ord without any arguments disables these same commands. Once the password is s[...]

  • Página 260

    Command Descriptions 2–246 TDS Family Oscilloscope Programmer Manual *PSC Sets and queries the power-on status flag that controls the automatic power -on handling of the DESER, SRER, and ESER registers. When *PSC is true, the DESER register is set to 255 and the SRER and ESER registers are set to 0 at power-on. When *PSC is false, the current val[...]

  • Página 261

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–247 Miscellaneous P ASSW ord *PUD <Block> *PUD? *PUD ? <Space> <Block> <Block> is a string containing up to 100 characters. *PUD #229This instrument belongs to me stores the string “This instrument belongs to me” in the user protected data area. *PUD? mig[...]

  • Página 262

    Command Descriptions 2–248 TDS Family Oscilloscope Programmer Manual *RCL 3 restores the digitizing oscilloscope from a copy of the settings stored in memory location 3. RECAll:ACQDA T A (No Query Form) TDS 500C & 700C Only Replaces the indicated channel’ s live acquisition data with that saved in the indicated file. Save and Recall RECAll:[...]

  • Página 263

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–249 DELEte:SETUp, F ACtory , *RCL, *RST , *SA V , SA V e:SETUp RECAll:SETUp { FACtory | <NR1> | <file path> } <file path> <Space> RECAll : FACtory SETUp <NR1> FACtory selects the factory setup. <NR1> is a value in the range from 1 to 10 and specif[...]

  • Página 264

    Command Descriptions 2–250 TDS Family Oscilloscope Programmer Manual RECAll:WAVEform <file path>,REF<x> RECAll : WAVEform <file path> REF <x> , <Space> REF<x> is the location in internal reference memory where the waveform is recalled from. <file path> is a quoted string that defines the file name and pat[...]

  • Página 265

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–251 Status and Error F ACtory , *PSC, *RCL, RECAll:SETUp, *SA V , SA V e:SETUp   *RST returns the instrument settings to the factory defaults (see Appendix D: Factory Initialization Settings ). The *RST command does not alter the following: H The state of the[...]

  • Página 266

    Command Descriptions 2–252 TDS Family Oscilloscope Programmer Manual BAUd : <Space> ? RS232 <NR1> <NR1> where <NR1> can be 300, 600, 1200, 2400, 4800, 9600 or 19200. RS232:BAUD 9600 sets the transmission rate to 9600 baud. RS232:HARDFlagging RS-232/Centronics Hardcopy Interface Only Sets or queries the input and output har[...]

  • Página 267

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–253 RS232:P ARity RS-232/Centronics Hardcopy Interface Only Sets or queries the parity used for all RS-232-C data transfers. Parity adds a bit to the character sequence. When parity is odd or even, the digitizing oscilloscope generates the selected parity on output and checks all in[...]

  • Página 268

    Command Descriptions 2–254 TDS Family Oscilloscope Programmer Manual RS232:SOFTFlagging { ON | OFF | <NR1> } RS232:SOFTFlagging? : RS232 SOFTFlagging <Space> ON ? OFF <NR1> ON or <NR1>  0 turn on softflagging. OFF or <NR1> = 0 turn off softflagging. RS232:SOFTFLAGGING ON turns on soft flagging. RS232:STOPBits RS-2[...]

  • Página 269

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–255 RS232? (Query Only) RS-232/Centronics Hardcopy Interface Only Queries the RS232 settings. RS232 RS232? RS232 ? None RS232? queries for RS232 settings. It might return: RS232 BAUD: 9600, SOFTFLAGGING: OFF, HARDFLAGGING: ON, PARITY: NONE, STOPBITS: 1 *SA V (No Query Form) (Save) s[...]

  • Página 270

    Command Descriptions 2–256 TDS Family Oscilloscope Programmer Manual *SAV 2 saves the current settings in memory location 2. SA V e:ACQDA T A (No Query Form) TDS 500C & 700C Only W rites out the acquisition data and its characteristics to the indicated file. When extended-acquisition-length mode is on, this command will only write in the inte[...]

  • Página 271

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–257 Save and Recall DELEte:SETUp, RECAll:SETUp, *RCL, *SA V SAVe:SETUp { <NR1> | <file path> } <NR1> SAVe : SETUp <Space> <file path> <NR1> is a value in the range from 1 to 10 and specifies a location. Using an out-of-range value causes an execut[...]

  • Página 272

    Command Descriptions 2–258 TDS Family Oscilloscope Programmer Manual DELEte:W A VEform, SA VE:W A VEform:FILEFormat SAVe:WAVEform <wfm>,{ REF<x> | <file path> } <file path> <wfm> SAVe : WAVEform <Space> REF <x> , <wfm> is CH<x>, MA TH<x>, or REF<x>, and is the waveform that will be[...]

  • Página 273

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–259 SAVe:WAVEform:FILEFormat{ INTERNal | SPREADSheet | MATHCad } SAVe:WAVEform:FILEFormat? SPREADSheet <Space> ? INTERNal MATHCad FILEFormat SAVe : WAVEform : INTERNal specifies the internal format. Internal format files usually have a .wfm extension. When Extended-Acquisition[...]

  • Página 274

    Command Descriptions 2–260 TDS Family Oscilloscope Programmer Manual SELect? (Query Only) Returns the selected waveform and the display status of all waveforms. V ertical SELect? SELect ? SELECT? might return :SELECT:CH1 1;CH2 0;CH3 0;CH4 0;MATH1 0; MATH2 0;MATH3 0;REF1 0;REF2 0;REF3 0;REF4 0;SELECT CH1 SELect:<wfm> Controls the display and[...]

  • Página 275

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–261   turns the channel 2 display on and selects channel 2.  returns either  or  , indicating whether the REF1 waveform is selected. SELect:CONTROl Sets or queries the waveform that is currently affected b[...]

  • Página 276

    Command Descriptions 2–262 TDS Family Oscilloscope Programmer Manual SET ? NOTE . The SET? query always r eturns a string with command headers, r egar dless of the setting of the HEADer command. This is because the returned string is intended to be able to be sent back to the digitizing oscilloscope as a command string. The VERBose command can st[...]

  • Página 277

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–263 The power-on default for SRER is 0 if  is 1. If  is 0, the SRER maintains its value through a power cycle.   sets the bits in the SRER to 001 10000 binary .  might return a value of  , showing that the bits in the SR[...]

  • Página 278

    Command Descriptions 2–264 TDS Family Oscilloscope Programmer Manual Miscellaneous TEKSecure TEKSecure TIMe Sets or queries the time that the digitizing oscilloscope can display . Miscellaneous DA TE, DISplay: CLOCk TIMe <QString> TIMe? <QString> TIMe <Space> ? <QString> is a date in the form hh:mm:ss" . hh refers [...]

  • Página 279

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–265 T rigger TRIGger FORCe TRIGger? TRIGger FORCe ? <Space> FORCe creates a trigger event. If TRIGger:ST A TE is REAdy , the acquisition will complete, otherwise this command will be ignored. This is equivalent to pressing the front-panel FORCE TRIGGER button. TRIGGER FORCe fo[...]

  • Página 280

    Command Descriptions 2–266 TDS Family Oscilloscope Programmer Manual TRIGger : DELay SETLevel ? <Space> SETLevel sets the delayed trigger level to half way between the MIN and MAX amplitudes of the trigger source input. This is equivalent to selecting Set to 50% in the Delayed Edge Level side menu. TRIGGER:DELAY SETLEVEL sets the delayed tr[...]

  • Página 281

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–267  sets the delayed trigger to occur after a set number of trigger events after the main trigger . The number of events is specified by TRIGger:DELay:EVENTS:COUNt.  sets the delayed trigger to be ready to occur a set time after the main trigger event.[...]

  • Página 282

    Command Descriptions 2–268 TDS Family Oscilloscope Programmer Manual "#  $  (TDS 400A, 510A) %  %  (TDS 400A, 510A) %  (TDS 400A, 510A) % "" (TDS 500C, 600B & 700C only) % &[...]

  • Página 283

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–269   !  "  #           ?[...]

  • Página 284

    Command Descriptions 2–270 TDS Family Oscilloscope Programmer Manual  specifies one of the input channels.   selects channel 1 as the input source for the delayed trigger . TRIGger:DELay:EVENTS? (Query Only) Returns the current delayed trigger event[...]

  • Página 285

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–271 TRIGGER:DELAY:EVENTS:COUNT 4 specifies that the delayed trigger will occur four trigger events after the main trigger . TRIGGER:DELAY:EVENTS:COUNT? might return 2 , indicating that two events must occur after the main trigger before the delayed trigger can occur . TRIGger:DELay:[...]

  • Página 286

    Command Descriptions 2–272 TDS Family Oscilloscope Programmer Manual T rigger HORizontal:DELay:MODe, HORizontal:DELay:TIME:RUNSAfter , HORizontal:DELay:TIME:TRIGAfter TRIGger:DELay:TIMe <NR3> TRIGger:DELay:TIMe? TRIGger : : DELay ? <Space> <NR3> TIMe <NR3> is the delay time, in seconds. TRIGGER:DELAY:TIME 4E-6 sets the del[...]

  • Página 287

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–273 TRIGger:MAIn Sets the main trigger level and returns the current main trigger parameters. T rigger TRIGger:MAIn SETLevel TRIGger:MAIn? TRIGger : MAIn SETLevel ? <Space> SETLevel sets the main trigger level to half way between the MIN and MAX amplitudes of the trigger sourc[...]

  • Página 288

    Command Descriptions 2–274 TDS Family Oscilloscope Programmer Manual %   "  $ "  " ("'#"  %!  #%! " corresponds to the[...]

  • Página 289

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–275 TRIGger:MAIn:COMMunication:AMI:THReshold:LOW TDS 500C & 700C Only Sets or queries the AMI communication trigger ’ s low threshold value in volts. T rigger TRIGger:MAIn:COMMunication:AMI:THReshold:LOW <NR3> TRIGger:MAIn:COMMunication:AMI:THReshold:LOW? TRIGger : : MAI[...]

  • Página 290

    Command Descriptions 2–276 TDS Family Oscilloscope Programmer Manual TRIGger : : MAIn : <Space> ? COMMunication BITRate <NR3> <NR3> is the bit rate in bits per second. The default is 1.544e+6. TRIGGER:MAIN:COMM:BITRATE 1.053 E+8 sets the bit rate to 105.3 Mb/s. TRIGger:MAIn:COMMunication:CMI:PULSEForm TDS 500C & 700C Only Se[...]

  • Página 291

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–277 TRIGGER:MAIN:COMM:CMI:PULSEFORM PLUSONE selects a trigger on a positive mark. TRIGger:MAIn:COMMunication:CODe TDS 500C & 700C Only Sets or queries the communication trigger signal code. T rigger TRIGger:MAIn:COMMunication:CODe { AMI | CMI | NRZ } TRIGger:MAIn:COMMunication:C[...]

  • Página 292

    Command Descriptions 2–278 TDS Family Oscilloscope Programmer Manual PATTERN5 | PATTERN6 | PATTERN7 | P0 | P1 | P2 | P3 | P4 | P5 | P6 |P 7} TRIGger:MAIn:COMMunication:NRZ:PULSEForm? TRIGger : : MAIn : <Space> P5 ? P6 COMMunication NRZ EYEdiagram : PULSEForm P4 P3 P2 P1 PATTERN7 PATTERN6 PATTERN5 PATTERN4 PATTERN3 PATTERN2 PATTERN1 FALL RIS[...]

  • Página 293

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–279 PATTERN4 causes a trigger on Pattern4 x 100 1. PATTERN5 causes a trigger on Pattern5 x 101 x. PATTERN6 causes a trigger on Pattern6 0 1 10 x. PATTERN7 causes a trigger on Pattern7 0 1 1 1 0. P0 is a synonym for P A TTERN0. P1 is a synonym for P A TTERN1. P2 is a synonym for P A [...]

  • Página 294

    Command Descriptions 2–280 TDS Family Oscilloscope Programmer Manual CH<x> specifies one of the input channels. TRIGGER:MAIN:COMMUNICATION:SOURCE CH2 selects Channel 2 as the source for the main communication trigger . TRIGger:MAIn:COMMunication:ST ANdard TDS 500C & 700C Only Sets or queries the communication trigger standard which iden[...]

  • Página 295

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–281 TRIGger : : MAIn : <Space> D1 ? D2 FDDI STANdard COMMunication FC1063 FC531 FC266 FC133 STM1E OC12 OC3 OC1 STS3 STS1 E5 E4 E3 E2 E1 DS4NA DS3 DS2 DS1C DS1A DS1 CUSTom DS1 refers to DS1 (1.544 Mb/s) AMI standard. DS1A refers to DS1A (2.048 Mb/s) AMI standard. DS1C refers to[...]

  • Página 296

    Command Descriptions 2–282 TDS Family Oscilloscope Programmer Manual E1 refers to E1 (2.048 Mb/s) AMI standard. E2 refers to E2 (8.44 Mb/s) AMI standard. E3 refers to E3 (34.368 Mb/s) AMI standard. E4 refers to E4 (139.26 Mb/s) CMI standard. E5 refers to E5 or CEPT (565 Mb/s) NRZ standard. STS1 refers to STS–1 (51.84 Mb/s) AMI standard. STS3 re[...]

  • Página 297

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–283   "     might return     TRIGger:MAIn:EDGE:COUPling Sets or queries the type of co[...]

  • Página 298

    Command Descriptions 2–284 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:EDGE:SLOpe Selects a rising or falling slope for the main edge trigger . This is equivalent to setting Slope in the T rigger menu. T rigger   #  $  %  ?[...]

  • Página 299

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–285 LINE : MAIn TRIGger EDGE : : SOUrce <Space> ? AUXiliary CH <x> AUXiliary specifies an external trigger using the Auxiliary T rigger Input connector located on the rear panel of the oscilloscope. The TDS 520C and 724C do not have an Auxiliary T rigger input and so do [...]

  • Página 300

    Command Descriptions 2–286 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:HOLDOff:ACTUal? (Query Only) TDS 500C, 600B and 700C Only Returns the main trigger holdoff value in seconds. This is equivalent to selecting Mode & Holdoff from the main T rigger menu and viewing the value in the side menu Holdoff Default or Holdoff Time items ([...]

  • Página 301

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–287 1 msec/division then the default holdoff will be 1 msec/division × 25 divs = 25 msec.   sets the holdoff to the by time setting. This enables the user to set the holdof f time. TRIGger:MAIn:HOLDOff[...]

  • Página 302

    Command Descriptions 2–288 TDS Family Oscilloscope Programmer Manual " #  " #  "     #   ?[...]

  • Página 303

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–289 TRIGGER:MAIN:LEVEL 0.5 sets the main trigger level to 0.5 V . TRIGger:MAIn:LOGIc? (Query Only) Not on TDS 400A Returns all main logic trigger parameters. T rigger TRIGger:MAIn:LOGIc? : MAIn TRIGger : ? LOGIc TRIGGER:MAIN:LOGIC? might return :TRIGGER:MAIN:LOGIC:CLASS PATTERN; FUN[...]

  • Página 304

    Command Descriptions 2–290 TDS Family Oscilloscope Programmer Manual   !         "" #! #! means that the instrument triggers when the specified logical combina- tions of channels 1, 2, 3, [...]

  • Página 305

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–291   $     "  %    &!#"  specifies that the instrument will trigger if all the conditions are true.  specifies that the instrument[...]

  • Página 306

    Command Descriptions 2–292 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:LOGIc:INPut:CH<x> Not on TDS 400A Sets or queries the main logic trigger input for the specified channel. The channel is specified by <x> and is 1, 2, or 3. This is equivalent to setting the inputs in the Logic Pattern Inputs side menu. T rigger TRIGger:[...]

  • Página 307

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–293  ! "! #  $  $%  ! "! !  ?[...]

  • Página 308

    Command Descriptions 2–294 TDS Family Oscilloscope Programmer Manual MOREThan LESSThan FALSe <Space> ? TRUe : MAIn TRIGger LOGIc : : PATtern WHEn : TRUe specifies the trigger to occur when the pattern becomes true. FALSe specifies the trigger to occur when the pattern becomes false. LESSThan specifies trigger to occur if the specific patter[...]

  • Página 309

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–295  %  ! $    %$! !     #  time to hold pattern true. TRIGger:MAIn:LOGIc:P A Ttern:WHEn:MORELimit Not on TDS 400A Sets or queries th[...]

  • Página 310

    Command Descriptions 2–296 TDS Family Oscilloscope Programmer Manual "    !    "        ?[...]

  • Página 311

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–297 TRIGGER:MAIN:LOGIC:SETHOLD:CLOCK:LEVEL 1.4 sets the main logic trigger setup/hold clock level to 1.4 volts. TRIGger:MAIn:LOGIc:SETHold:CLOCk:SOUrce TDS 500C, 600B & 700C Only Sets or queries the source for the clock for the main logic trigger setup/hold input. The channel is[...]

  • Página 312

    Command Descriptions 2–298 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:LOGIc:SETHold:DATa:LEVel? <NR3> <Space> ECL ? TTL TRIGger : : LOGIc MAIn : : SETHold DATa LEVel : ECL specifies a preset ECL level of –1.3 V . TTL specifies a preset TTL level of 1.4 V . <NR3> is the main trigger level, in volts. TRIGGER:MAIN:LOG[...]

  • Página 313

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–299 TRIGGER:MAIN:LOGIC:SETHOLD:DATA:SOURCE CH2 selects Channel 2 as the source for the main logic trigger set/hold. TRIGger:MAIn:LOGIc:SETHold:HOLDT ime TDS 500C, 600B & 700C only Sets or queries the main logic trigger hold time. This is equivalent to selecting Setup/Hold Times [...]

  • Página 314

    Command Descriptions 2–300 TDS Family Oscilloscope Programmer Manual TRIGger : : LOGIc MAIn : : ? <Space> <NR3> SETTime SETHold <NR3> specifies the setup time setting in seconds. Positive values occur before the clock edge. Negative values occur after the clock edge. TRIGGER:MAIN:LOGIC:SETHOLD:SETTIME 600 E-12 sets the main logi[...]

  • Página 315

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–301 TRIGger:MAIn:LOGIc:ST A TE:WHEn Not on TDS 400A Sets or queries the main logic state trigger . T rigger TRIGger:MAIn:LOGIc:STATE:WHEn { TRUe | FALSe } TRIGger:MAIn:LOGIc:STATE:WHEn? : MAIn TRIGger LOGIc : : STATE <Space> ? TRUe FALSe WHEn : TRUe specifies the trigger to oc[...]

  • Página 316

    Command Descriptions 2–302 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:LOGIc:THReshold:CH<x> Not on TDS 400A Sets or queries the main logic trigger threshold voltage for the channel specified by <x>. This is equivalent to setting the thresholds in the Logic State Threshold and Logic Pattern Threshold side menus. T rigger TR[...]

  • Página 317

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–303              specifies that the main logic trigger when the logic pattern is t[...]

  • Página 318

    Command Descriptions 2–304 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:PULse? TRIGger : : PULse MAIn ? TRIGGER:MAIN:PULSE? might return :TRIGGER:MAIN:PULSE:CLASS GLITCH;SOURCE CH1; GLITCH:WIDTH 2.0E-9;FILTER ACCEPT;POLARITY POSITIVE;:TRIGGER: MAIN:PULSE:RUNT:POLARITY POSITIVE;THRESHOLD:HIGH 2.00E+0;LOW 800.0E-3;:TRIGGER:MAIN:PULSE:WIDT[...]

  • Página 319

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–305 ger:MAIn:PULse:RUNT :THReshold:HIGH commands. The crossing can be either positive or negative as specified by TRIGger:MAIn:PULse: RUNT :PO- Larity . WIDth triggers when a pulse is found that has the specified polarity and is either inside or outside the limits as specified by TR[...]

  • Página 320

    Command Descriptions 2–306 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:PULse:GLItch:FILTer { ACCept | REJect } TRIGger:MAIn:PULse:GLItch:FILTer? ACCept TRIGger : : PULse MAIn : : FILTer GLItch REJect <Space> ? ACCept specifies that the digitizing oscilloscope will trigger only on pulses that are narrower than the specified width [...]

  • Página 321

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–307 <Space> EITher ? POSITIVe NEGAtive TRIGger : MAIn POLarity : PULse : : GLItch TRIGGER:MAIN:PULSE:GLITCH:POLARITY EITHER specifies that the polarity of the glitch can be either positive or negative. TRIGger:MAIn:PULse:GLItch:WIDth Not on TDS 400A Sets or queries the width f[...]

  • Página 322

    Command Descriptions 2–308 TDS Family Oscilloscope Programmer Manual T rigger TRIGger:MAIn:PULse:RUNT? TRIGger : : PULse MAIn RUNT ? : TRIGGER:MAIN:PULSE:RUNT? might return :TRIGGER:MAIN:PULSE:RUNT:POLARITY POSITIVE;THRESHĆ OLD:HIGH 2.00E+0;LOW 800.0E-3 . TRIGger:MAIn:PULse:RUNT :POLarity Not on TDS 400A Sets or queries the polarity for the main[...]

  • Página 323

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–309 TRIGger:MAIn:PULse:RUNT :THReshold? (Query Only) Not on TDS 400A Returns the upper and lower thresholds for the main pulse runt trigger . T rigger TRIGger:MAIn:PULse:RUNT:THReshold? TRIGger : : PULse MAIn RUNT : ? THReshold : TRIGGER:MAIN:PULSE:RUNT:THRESHOLD? might return :TRIG[...]

  • Página 324

    Command Descriptions 2–310 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:PULse:RUNT :THReshold:HIGH TDS 510A, 500C, 600B, & 700C Only Sets or queries the upper limit for the main pulse runt trigger . This command is equivalent to setting the threshold in the Pulse Runt Threshold side menu. T rigger TRIGger:MAIn:PULse:RUNT:THReshold:H[...]

  • Página 325

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–31 1 THReshold TRIGger : : PULse MAIn RUNT : : ? <Space> <NR3> LOW <NR3> is the threshold, in volts. TRIGGER:MAIN:PULSE:RUNT:THRESHOLD:LOW 50E-3 sets the lower limit of the pulse runt trigger to 50 mV . TRIGger:MAIn:PULse:RUNT :WHEn TDS 500C, 600B & 700C Only S[...]

  • Página 326

    Command Descriptions 2–312 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:PULse:RUNT :WIDth TDS 500C, 600B, & 700C Only Sets or queries the minimum width for a valid main pulse runt trigger . This command is equivalent to entering a value in the T rigger menu’ s Wider Than side menu. T rigger TRIGger:MAIn:PULse:RUNT:WIDth <NR3>[...]

  • Página 327

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–313 TRIGger : : PULse MAIn SLEWRate : : ? <Space> <NR3> DELTATime <NR3> is the delta time in seconds. TRIGGER:MAIN:PULSE:SLEWRATE:DELTATIME 15E-6 sets the slew rate trigger ’ s delta time to 15 m s. TRIGger:MAIn:PULse:SLEWRate:POLarity TDS 500C, 600B & 700C O[...]

  • Página 328

    Command Descriptions 2–314 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:PULse:SLEWRate:SLEWRate? (Query Only) TDS 500C, 600B, & 700C Only Returns the slew rate value. This is the ((Upper Threshold – Lower Threshold) / Delta T ime) The value is limited to the three most significant digits. T rigger TRIGger:MAIn:PULse:SLEWRate:SLEwr[...]

  • Página 329

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–315 TRIGGER:MAIN:PULSE:SLEWRATE:THRESHOLD:BOTH TTL sets the trigger threshold to TTL. TRIGger:MAIn:PULse:SLEWRate:THReshold:HIGH TDS 500C, 600B, & 700C Only Sets or queries the upper (most positive) limit of the two threshold levels that a pulse edge must traverse for the slew r[...]

  • Página 330

    Command Descriptions 2–316 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:PULse:SLEWRate:THReshold:LOW? THReshold TRIGger : : PULse MAIn : : ? <Space> <NR3> LOW SLEWRate <NR3> is the threshold, in volts. TRIGGER:MAIN:PULSE:SLEWRATE:THRESHOLD:LOW 50E-3 sets the lower limit of the pulse slew rate trigger to 50 mV . TRIGger[...]

  • Página 331

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–317   sets the slew rate trigger to work when the slew is faster than the set volts/second rate. TRIGger:MAIn:PULse:SOUrce TDS 510A, 500C, 600B, & 700C O[...]

  • Página 332

    Command Descriptions 2–318 TDS Family Oscilloscope Programmer Manual <Space> EITher ? STAYSHigh STAYSLow TRIGger : MAIn POLarity : PULse : : TIMEOut STAYSLow (or NEGAtive ) indicates that a pulse edge must stay low the required time period for timeout triggering to occur . STAYSHigh (or POSITIVe ) indicates that a pulse edge must stay high [...]

  • Página 333

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–319 TRIGGER:MAIN:PULSE:TIMEOUT:TIME 3.134E-6 sets the timeout time to 3.134 m s. TRIGger:MAIn:PULse:WIDth? (Query Only) TDS 510A, 500C, 600B, & 700C Only Returns the width parameters for the main pulse width trigger . T rigger TRIGger:MAIn:PULse:WIDth? TRIGger : : PULse MAIn WID[...]

  • Página 334

    Command Descriptions 2–320 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:PULse:WIDth:LOWLimit TDS 510A, 500C, 600B, & 700C Only Sets or queries the lower limit for the main pulse width trigger . This is equiva- lent to setting Lower Limit in the Pulse W idth Trig When side menu. T rigger TRIGger:MAIn:PULse:WIDth:LOWLimit <NR3> [...]

  • Página 335

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–321 POSITIVe specifies a positive pulse. TRIGger:MAIn:PULse:WIDth:WHEn TDS 510A, 500C, 600B, & 700C Only Selects the condition when the trigger occurs. This is equivalent to selecting the condition in the Pulse W idth T rig When side menu. T rigger TRIGger:MAIn:PULse:WIDth:WHEn [...]

  • Página 336

    Command Descriptions 2–322 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:TYPe { EDGE | LOGIc | PULse | COMMunication (TDS 500C & 700C) | VIDeo } (Only the TDS 510A, 500C, 600B, & 700C use the LOGIc and PULse argu- ments. Only the TDS 500C and 700C use the COMMunication argument. Only digitizing oscilloscopes with option 05 use th[...]

  • Página 337

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–323 TRIGger:MAIn:VIDeo? (Query Only) Option 05 Only Returns the main video trigger parameters. T rigger TRIGger:MAIn:VIDeo? TRIGger : : VIDeo MAIn ? TRIGGER:MAIN:VIDEO? might return: NTS;CH1;NEGA;NUMER;2;1;COLO;COLO;787; 59.94E+0;1050;2;890.0E-9;3.56E-6;15.00E-6;11.56E-6; 15.89E-6 a[...]

  • Página 338

    Command Descriptions 2–324 TDS Family Oscilloscope Programmer Manual this argument, it will convert it to LINE. The TDS 400A will not output this argument in response to a query . LINE specifies a delay by a number of video lines. TRIGGER:MAIN:VIDEO:BY TIME specifies a delay by time. TRIGger:MAIn:VIDeo:FIELD TDS 400A Option 05 Only Sets or querie[...]

  • Página 339

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–325 argument, it will convert it to EVEN. The TDS 400A will not output this argument in response to a query . FIELDEither specifies alternating both video field 1 and video field 2. For the TDS 400A, this argument is available only for backward compatibility . If the TDS 400A receiv[...]

  • Página 340

    Command Descriptions 2–326 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:VIDeo:FIELDT ype TDS 510A, 500C, 600B, & 700C Option 05 Only Sets or queries the field the video trigger acts on. This is equivalent to pressing Field in the video main menu and then Field , Odd , Even or All in the side menu. T rigger TRIGger:MAIn:VIDeo:FIELDTy[...]

  • Página 341

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–327 TRIGger : : VIDeo MAIn ? FLEXformat : TRIGGER:MAIN:VIDEO:FLEXFORMAT? might return: 59.94E+0;1050;2;890.0E-9;3.56E-6;15.00E-6;11.56E-6; 15.89E-6 as the flexible-format video trigger parameters. TRIGger:MAIn:VIDeo:FLEXformat:FIELDRA TE TDS 510A, 500C, 600B, & 700C Option 05 On[...]

  • Página 342

    Command Descriptions 2–328 TDS Family Oscilloscope Programmer Manual   !    !    [...]

  • Página 343

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–329 TRIGger:MAIn:VIDeo:FLEXformat:NEGSyncwidth TDS 510A, 500C, 600B, & 700C Option 05 Only Sets or queries the flexible-format negative sync width. The HDTV horizontal sync is a tri-level sync. The first of the two consecutive sync pulses used is negative and the second is posit[...]

  • Página 344

    Command Descriptions 2–330 TDS Family Oscilloscope Programmer Manual "  "#"##  "# "##  !  "    ?[...]

  • Página 345

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–331 TRIGger:MAIn:VIDeo:FLEXformat:V2ST Arttime TDS 510A, 500C, 600B, & 700C Option 05 Only Sets or queries the time from the positive edge of the tri-sync pulse for the last line in the selected field (t 0 ) to the leading edge (positive) of the second vertical sync pulse. Note:[...]

  • Página 346

    Command Descriptions 2–332 TDS Family Oscilloscope Programmer Manual V2STOptime ? <Space> <NR3> TRIGger : : VIDeo MAIn : FLEXformat : <NR3> the v2 stoptime. TRIGGER:MAIN:VIDEO:FLEXFORMAT:V2STOPTIME? returns the specified v2 stoptime. TRIGger:MAIn:VIDeo:HDTv TDS 510A, 500C, 600B, & 700C Option 05 Only Sets or queries the high[...]

  • Página 347

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–333 TRIGger:MAIn:VIDeo:HOLdoff? (Query Only) TDS 400A Option 05 Only Returns the video trigger holdoff value. T rigger !   !     ?[...]

  • Página 348

    Command Descriptions 2–334 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:VIDeo:INTERLAce TDS 400A Option 05 Only Sets or queries the video trigger interlace format. This is equivalent to setting Interlace in the Scan Rate and Interlace main menu of the video trigger menu when Class is set to Custom . T rigger ?[...]

  • Página 349

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–335            specifies a number of lines to delay by .   selects 5 lines for the desir[...]

  • Página 350

    Command Descriptions 2–336 TDS Family Oscilloscope Programmer Manual TRIGger:MAIn:VIDeo:NTSc { MONo | COLOr } TRIGger:MAIn:VIDeo:NTSc? <Space> ? TRIGger : : MONo COLOr VIDeo MAIn NTSc : MONo specifies mode for noncolor signals. COLOr specifies mode for color field triggering and enables numeric triggering. TRIGGER:MAIN:VIDEO:NTSC MONO speci[...]

  • Página 351

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–337 SECAm specifies mode for SECAM signals. TRIGGER:MAIN:VIDEO:PAL MONO specifies non-color P AL signals. TRIGger:MAIn:VIDeo:SCAN TDS 400A Option 05 Only Sets or queries the video trigger scan parameters. This is equivalent to using the V ideo Scan Parameters side menu. T rigger TRI[...]

  • Página 352

    Command Descriptions 2–338 TDS Family Oscilloscope Programmer Manual T rigger TRIGger:MAIn:VIDeo:SCANPeriod <NR3> TRIGger:MAIn:VIDeo:SCANPeriod? TRIGger:MAIn:VIDeo:SOUrce Option 05 Only Sets or queries the source for the main video trigger . This is equivalent to selecting the Source in the video main menu and a desired channel from the sid[...]

  • Página 353

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–339 $!"$ '  (  ( & ( "$ %) $!"$ "$ % ?[...]

  • Página 354

    Command Descriptions 2–340 TDS Family Oscilloscope Programmer Manual <Space> ? TRIGger : : POSITIVe NEGAtive VIDeo MAIn SYNc : POSITIVe specifies a positive going voltage. NEGAtive specifies a negative going voltage. TRIGGER:MAIN:VIDEO:SYNC POSITIVE selects a positive going voltage for the desired synchronization pulse. TRIGger:MAIn:VIDeo:S[...]

  • Página 355

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–341 CUST om selects a condition that adheres to the frequency range of the video signal as you have defined them from the available ranges. TRIGGER:MAIN:SYSTEM NTSC selects triggering to occur on an NTSC compatible signal. TRIGger:MAIn:VIDeo:TIMe TDS 400A Option 05 Only Sets or quer[...]

  • Página 356

    Command Descriptions 2–342 TDS Family Oscilloscope Programmer Manual ARMed indicates that the instrument is acquiring pretrigger information. All triggers are ignored when TRIGger:ST A TE is ARMING. AUTO indicates that the digitizing oscilloscope is in auto mode and acquires data even in the absence of a trigger . FASTframe (TDS 500C and 700C onl[...]

  • Página 357

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–343  immediately executes all commands that have been defined by *DDT . *TST? (Query Only) (Self-T est) T ests the GPIB interface and returns a 0. Miscellaneous     and is always 0. UNLock (No Query Form) Unlocks the front pan[...]

  • Página 358

    Command Descriptions 2–344 TDS Family Oscilloscope Programmer Manual VERBose Sets and queries the V erbose State that controls the length of keywords on query responses. Keywords can be both headers and arguments. This command does not affect IEEE Std 488.2-1987 Common Commands (those starting with an asterisk). Miscellaneous HEADer , *LRN?, SET?[...]

  • Página 359

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–345 BUSY?, *OPC   W A VFrm? (Query Only) Returns WFMPre? and CUR V e? data for the waveform or waveforms as specified by the DA T a:SOUrce command. This command is equivalent to sending WFMPre?; CUR V e? TDS 400A: when the TDS 400A is in external clock mode, [...]

  • Página 360

    Command Descriptions 2–346 TDS Family Oscilloscope Programmer Manual WFMPre ? The format of the response is: BYT_Nr <NR1>;BIT_Nr <NR1>;ENCdg { ASC | BIN }; BN_Fmt { RI | RP };BYT_Or { LSB | MSB }; <wfm>:WFID <Qstring>;NR_PT <NR1>;PT_FMT { EN V|Y} ; XUNit <QString>;XINcr <NR3>;PT_Off <NR1>;YUNit <[...]

  • Página 361

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–347  might return  , indicating that there are 8 bits per waveform point. WFMPre:BN_Fmt Sets or queries the format of binary data for the first ordered waveform as specified by the DA T a:SOUrce command. W aveform DA T a:ENCdg, WFMPre:BYT[...]

  • Página 362

    Command Descriptions 2–348 TDS Family Oscilloscope Programmer Manual WFMPre:BYT_Nr <NR1> WFMPre:BYT_Nr? ? <Space> <NR1> WFMPre : BYT_Nr <NR1> is the number of bytes per point and can be 1 or 2. WFMPRE:BYT_NR 2 specifies that there are 2 bytes per waveform data point. WFMPre:BYT_Or Selects which byte of binary waveform data[...]

  • Página 363

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–349 WFMPre:ENCdg Sets or queries the type of encoding for waveform data transferred with the CUR V e command. W aveform DA T a:ENCdg, WFMPre:BYT_Or , WFMPre:BN_Fmt  !  "  #  ?[...]

  • Página 364

    Command Descriptions 2–350 TDS Family Oscilloscope Programmer Manual        specifies that the waveform is transmitted as maximum and minimum point pairs. Only y values are explicitly transmitted. Absolute coordinates are given by: X n  XZEr o  XINcr ( n–PT_O[...]

  • Página 365

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–351 WFMPre:XINcr (No Query Form) Specifies the horizontal sampling interval for the reference waveform specified by the DA T a:DEST ination command. W aveform       ?[...]

  • Página 366

    Command Descriptions 2–352 TDS Family Oscilloscope Programmer Manual <NR3> is the vertical offset in digitizing levels. WFMPre:YZEro (No Query Form) Specifies the offset voltage for the reference waveform specified by the DA T a:DEST ination command. W aveform WFMPre:YZEro <NR3> WFMPre : YZEro <Space> <NR3> <NR3> is [...]

  • Página 367

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–353 NOTE . When r eturning WFMPRE:<wfm> information fr om the oscilloscope, <wfm> specifies the waveform sour ce (CH<x>, MA TH<x>, or REF<x>). The sour ce must also be set using the DAta:SOUr ce command. When sending WFMPRE:<wfm> information to th[...]

  • Página 368

    Command Descriptions 2–354 TDS Family Oscilloscope Programmer Manual WFMPre:<wfm>:NR_Pt Sets or queries the number of points that are in the transmitted waveform record. This value is ignored on input. In extended-acquisition-length mode, it will set or query the number of points that are in the transmitted the acquisition record. DA T a:DE[...]

  • Página 369

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–355 WFMPre:<wfm>:PT_Fmt? <Space> ? ENV PT_Fmt Y WFMPre : : <wfm> ENV specifies that the waveform is transmitted as minimum and maximum point pairs. Only y values are explicitly transmitted. Absolute coordinates are given by: X n  XZEr o  XINcr ( n–PT_Off ) [...]

  • Página 370

    Command Descriptions 2–356 TDS Family Oscilloscope Programmer Manual ? <Space> <NR1> WFMPre : <wfm> : PT_Off <NR1> is the position of the trigger point relative to DA T a:ST ARt when queried. In extended-acquisition-length mode, <NR1> refers to the acquistion length. WFMPRE:CH1:PT_OFF? returns 0 indicating the trigge[...]

  • Página 371

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–357 W aveform !$!  !$!     !  $  !  is the sampling interval. WFMPre:<wfm>[...]

  • Página 372

    Command Descriptions 2–358 TDS Family Oscilloscope Programmer Manual WFMPre:<wfm>:XZEro TDS 500C, 600B, & 700C Only Sets or queries the horizontal (X-axis) origin offset. On input <wfm> always defaults to the reference location specified by DA T a:DEST ination regardless of what is sent. W aveform WFMPre:<wfm>:XZEro <NR3&[...]

  • Página 373

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–359 WFMPre:<wfm>:YOFf Sets or queries the vertical position of the waveform. On input <wfm> always defaults to the reference location specified by DA T a:DEST ination regardless of what is sent. W aveform #%   ?[...]

  • Página 374

    Command Descriptions 2–360 TDS Family Oscilloscope Programmer Manual WFMPre:<wfm>:YZEro Sets or queries the vertical (Y -axis) offset voltage. On input <wfm> always defaults to the reference location specified by DA T a:DEST ination regardless of what is sent. W aveform WFMPre:<wfm>:YZEro <NR3> WFMPre:<wfm>:YZEro? ? [...]

  • Página 375

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–361 ZOOM? might return :ZOOM:STATE OFF;HORIZONTAL:SCALE 2.00E+0;POSITION 500.0E-3;LOCK LIVE;:ZOOM:VERTICAL:SCALE 2.0E+0;POSITION 0.0E+0 . ZOOm:DUAl TDS 400A, 500C, 600B, & 700C Only T urns Dual Zoom mode on and off. Zoom ZOOm:DUAl { OFF | ON | <NR1> } ZOOm:DUAl? ZOOm <S[...]

  • Página 376

    Command Descriptions 2–362 TDS Family Oscilloscope Programmer Manual ZOOm:DUAl:OFFSet? ? <Space> <NR3> ZOOm : : DUAl OFFSet <NR3> is the offset time in seconds. ZOOM:DUAL:OFFSET 100.0E-6 adjusts the offset time in seconds between the centers of the main and second zoom boxes. ZOOm:GRAticule TDS 400A, 500C, 600B, & 700C Only [...]

  • Página 377

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–363 ZOOm:HORizontal:LOCk Specifies the waveforms that the horizontal zoom parameters affect. This is equivalent to setting Horizontal Lock in the Zoom side menu. Zoom ZOOm:HORizontal:LOCk { ALL | LIVe | NONe } ZOOm:HORizontal:LOCk? <Space> ? ZOOm : : LIVe NONe LOCk HORizontal [...]

  • Página 378

    Command Descriptions 2–364 TDS Family Oscilloscope Programmer Manual Zoom ZOOm:HORizontal:POSition <NR3> ZOOm:HORizontal:POSition? ? <Space> <NR3> ZOOm : : HORizontal POSition <NR3> is from 0 to 100, and is the percent of the waveform or extended acquisition that is to the left of graticule. ZOOM:HORIZONTAL:POSITION 50 cen[...]

  • Página 379

    Command Descriptions TDS Family Oscilloscope Programmer Manual 2–365 ZOOm:ST A TE T urns Zoom mode on and off. When Zoom mode is on, the horizontal and vertical position and scale commands affect the waveform display , not the acquisition. This is the only way to position and scale math and reference waveforms. This command is equivalent to turni[...]

  • Página 380

    Command Descriptions 2–366 TDS Family Oscilloscope Programmer Manual ZOOm:VERT ical:POSition Sets or queries the vertical position of waveforms. Zoom ZOOm:VERTical:POSition <NR3> ZOOm:VERTical:POSition? ? <Space> <NR3> ZOOm : : VERTical POSition <NR3> is the vertical position in divisions. ZOOM:VERTICAL:POSITION? might ret[...]

  • Página 381

    TDS Family Oscilloscope Programmer Manual 3–1 Status and Events The digitizing oscilloscope provides a status and event reporting system for the GPIB interface. This system informs you of certain significant events that occur within the digitizing oscilloscope. The digitizing oscilloscope status handling system consists of five 8-bit registers an[...]

  • Página 382

    Status and Events 3–2 TDS Family Oscilloscope Programmer Manual PON URQ CME EXE DDE QYE RQC OPC 76543210 Figure 3–1: The Standard Event Status Register (SESR) T able 3–1: SESR Bit Functions Bit Function 7 (MSB) PON (Power On). Shows that the digitizing oscilloscope was powered on. The completion of the diagnostic tests also sets this bit. 6 U[...]

  • Página 383

    Status and Events TDS Family Oscilloscope Programmer Manual 3–3 T able 3–2: SBR Bit Functions Bit Function 7 (MSB) Not used. 6 RQS (Request Service), obtained from a serial poll. Shows that the digitizing oscilloscope requests service from the GPIB controller . 6 MSS (Master Status Summary), obtained from *STB? query . Summarizes the ESB and MA[...]

  • Página 384

    Status and Events 3–4 TDS Family Oscilloscope Programmer Manual PON URQ CME EXE DDE QYE RQC OPC 76543210 Figure 3–4: The Event Status Enable Register (ESER) The Service Request Enable Register (SRER) — is shown in Figure 3–5. It controls which bits in the SBR generate a Service Request and are summarized by the Master Status Summary (MSS) b[...]

  • Página 385

    Status and Events TDS Family Oscilloscope Programmer Manual 3–5 Queues The digitizing oscilloscope status and event reporting system contains two queues: the Output Queue and the Event Queue. The digitizing oscilloscope stores query responses in the Output Queue. It empties this queue each time it receives a new command or query message after an [...]

  • Página 386

    Status and Events 3–6 TDS Family Oscilloscope Programmer Manual Event Handling Sequence Figure 3–6, on page 3–6, shows how to use the status and event handling system. In the explanation that follows, numbers in parentheses refer to numbers in Figure 3–6. Device Event Status Enable Register (DESER) Read using DESE? Write using DESE Standard[...]

  • Página 387

    Status and Events TDS Family Oscilloscope Programmer Manual 3–7 When output is sent to the Output Queue, the MA V bit in the SBR is set to one (5). When a bit in the SBR is set to one and the corresponding bit in the SRER is enabled (6), the MSS bit in the SBR is set to one and a service request is generated (7). Synchronization Methods Although [...]

  • Página 388

    Status and Events 3–8 TDS Family Oscilloscope Programmer Manual  Processing Time Acquiring W aveform Data   Figure 3–7: Command Processing Without Using Synchronization T o ensure the digitizing oscilloscope completes waveform ac[...]

  • Página 389

    Status and Events TDS Family Oscilloscope Programmer Manual 3–9 /* T ake amplitude measurement on acquired data */  Though *W AI is one of the easiest ways to achieve synchronization, it is also the most costly . The processing time of the digitizing oscilloscope is slowed si[...]

  • Página 390

    Status and Events 3–10 TDS Family Oscilloscope Programmer Manual Serial Poll Method. Enable the OPC bit in the Device Event Status Enable Register (DESER) and the Event Status Enable Register (ESER) using the DESE and *ESE commands. When the operation is complete, the OPC bit in the Standard Event Status Register (SESR) will be enabled and the Ev[...]

  • Página 391

    Status and Events TDS Family Oscilloscope Programmer Manual 3–1 1 *ESE 1 *SRE 32 /* Acquire waveform data */ ACQUIRE:STATE ON /* Set up the measurement parameters */ MEASUREMENT:IMMED:TYPE AMPLITUDE MEASUREMENT:IMMED:SOURCE CH1 /* W ait until the acquisition is complete before taking the measurement */ *OPC Program can now do different tasks such[...]

  • Página 392

    Status and Events 3–12 TDS Family Oscilloscope Programmer Manual Messages T ables 3–3 through 3–9 list all the programming interface messages the digitizing oscilloscope generates in response to commands and queries. For most messages, a secondary message from the digitizing oscilloscope gives more detail about the cause of the error or the m[...]

  • Página 393

    Status and Events TDS Family Oscilloscope Programmer Manual 3–13 T able 3–4: Command Error Messages – CME Bit 5 (Cont.) Code Message 111 Header separator error 11 2 Program mnemonic too long 11 3 Undefined header 11 8 Query not allowed 120 Numeric data error 121 Invalid character in number 123 Exponent too large 124 T oo many digits 128 Numer[...]

  • Página 394

    Status and Events 3–14 TDS Family Oscilloscope Programmer Manual T able 3–5 lists the execution errors that are detected during execution of a command. In these error messages, you should read “macro” as “alias.” T able 3–5: Execution Error Messages – EXE Bit 4 Code Message 200 Execution error 201 Invalid while in local 202 Settings[...]

  • Página 395

    Status and Events TDS Family Oscilloscope Programmer Manual 3–15 T able 3–5: Execution Error Messages – EXE Bit 4 (Cont.) Code Message 2203 Measurement error , No period, second waveform 2204 Measurement error , Low signal amplitude 2205 Measurement error , Low amplitude, second waveform 2206 Measurement error , Invalid gate 2207 Measurement [...]

  • Página 396

    Status and Events 3–16 TDS Family Oscilloscope Programmer Manual T able 3–5: Execution Error Messages – EXE Bit 4 (Cont.) Code Message 2239 EAL turned off (EAL = extended-acquisition-length mode) 2240 Invalid password 2241 W aveform requested is invalid 2242 Data start and stop > record length 2243 W aveform requested is not a data source [...]

  • Página 397

    Status and Events TDS Family Oscilloscope Programmer Manual 3–17 T able 3–5: Execution Error Messages – EXE Bit 4 (Cont.) Code Message 2301 Cursor error , Off-screen 2302 Cursor error , cursors in different frames 231 1 Group requested has not been selected or has been deleted T able 3–6 lists the device errors that can occur during digitiz[...]

  • Página 398

    Status and Events 3–18 TDS Family Oscilloscope Programmer Manual T able 3–7: System Event Messages (Cont.) Code Message 440 Query UNTERMINA TED after indefinite response (QYE bit 2 set) 450 Right menu button #1 pushed (URQ bit 6 set) 451 Right menu button #2 pushed (URQ bit 6 set) 452 Right menu button #3 pushed (URQ bit 6 set) 453 Right menu b[...]

  • Página 399

    Status and Events TDS Family Oscilloscope Programmer Manual 3–19 T able 3–8: Execution W arning Messages – EXE Bit 4 (Cont.) Code Message 544 Measurement warning, Uncertain edge 545 Measurement warning, Invalid in minmax 546 Measurement warning, Need 3 edges 547 Measurement warning, Clipping positive/negative 548 Measurement warning, Clipping[...]

  • Página 400

    TDS Family Oscilloscope Programmer Manual 4–1 Programming Examples The example programs illustrate methods you can use to control the digitizing oscilloscope from the GPIB interface. The disk that comes with this manual contains listings for these programs written in Microsoft QuickBASIC 4.5 and Microsoft QuickC 2.5. The programs run on a PC-comp[...]

  • Página 401

    Programming Examples 4–2 TDS Family Oscilloscope Programmer Manual H GETWFM : reads a waveform from an oscilloscope and stores it in a file. H CURSOR : uses cursors to measure waveform parameters. H TL : a talker-listener program. Compiling the Example Programs The example programs diskette contains programs written in Microsoft QuickBASIC 4.5 an[...]

  • Página 402

    Programming Examples TDS Family Oscilloscope Programmer Manual 4–3  1'*&- )*2 +/#%  4. For this installation, you will also want to copy  and  from your T ektronix S3FG210 (National Instruments GPIB-PCII/IIA) GPIB drivers directory to this direct[...]

  • Página 403

    Programming Examples 4–4 TDS Family Oscilloscope Programmer Manual hard disk C, you want to store the examples in drive C, and the examples diskette is in drive B, you might type: mkdir examples cd examples copy b:q-basic*.* . 4. For this installation, you will also want to copy QBDECL.BAS and QBIB.OBJ from your T ektronix S3FG210 (National Ins[...]

  • Página 404

    Programming Examples TDS Family Oscilloscope Programmer Manual 4–5  is a collection of input/output routines used by the other programs and is included for proper file compilation. 6. Run the program by simply typing the program name. T o run  , type:  T o run  , type: [...]

  • Página 405

    TDS Family Oscilloscope Programmer Manual A–1 Appendix A: Character Charts The characters in T able A–1 are available for the digitizing oscilloscope. Numbers in the lower left corners are character widths in pixels. T able A–1: The TDS Character Set 0 1 2 3 4 5 6 7 0 NUL 00 12 16 space 53 2 0 10 48 @ 14 64 P 10 80 ‘ 59 6 p 11 11 2 1 251 1 [...]

  • Página 406

    Appendix A: Character Charts A–2 TDS Family Oscilloscope Programmer Manual T able A–2: ASCII & GPIB Code Chart B7 B6 B5 T 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 BI T S B4 B3 B2 B1 CONTROL NUMBERS SYMBOLS UPPER CASE L OWER CASE 0 0 0 0 0 NUL 00 20 DLE 10 16 40 LA0 SP 20 32 60 LA16 0 30 48 100 TA 0 @ 40 64 120 T A16 P 50 80 140 SA0 6[...]

  • Página 407

    TDS Family Oscilloscope Programmer Manual B–1 Appendix B: Reserved W ords The following is a list of the reserved words of the digitizing oscilloscope. Do not use these words for aliases. Capital letters identify the required minimum spelling. Hint: Use the full spelling for the most robost code as the minimum spelling rules may change over time [...]

  • Página 408

    Appendix B: Reserved W ords B–2 TDS Family Oscilloscope Programmer Manual F ALL F ALSe F ASTERthan F ASTframe FFT FIELD FIELD1 FIELD2 FIELDEither FIELDRA TE FIELDS FIELDT ype FIFty FILEName FILESystem FIL T er FIRst FITtoscreen FLAg FLEXformat FORCe FORMat FORW ards FP Anel FRAme FREE FREESpace FREQuency FULl FUNCtion GA Ting GLItch GND GPIb GRAt[...]

  • Página 409

    Appendix B: Reserved W ords TDS Family Oscilloscope Programmer Manual B–3 REName REPEt RESET RESET All RESUltRI RIBinary RIGHT1 RIGHT2 RIGHT3 RIGHT4 RIGHT5 RISe RLE RMDir RMS ROLL RP RPBinary RS232 RUN RUNSAfter RUNST op RUNT SAMple SA V e SCAle SCAN SCANPeriod SCROLLBAR SCROLL TEXT SECAm SECdiv SECOnds SELect SEQuence SET SETHold SETLevel SETT i[...]

  • Página 410

    TDS Family Oscilloscope Programmer Manual C–1 Appendix C: Interface Specifications This appendix describes details of the GPIB remote interface of the digitizing oscilloscope. Normally , you will not need this information to use the digitizing oscilloscope, but the information is useful when connecting to controllers of unusual configuration. GPI[...]

  • Página 411

    Appendix C: Interface Specifications C–2 TDS Family Oscilloscope Programmer Manual H DT1 (Device T rigger). When acting as a listener , the digitizing oscilloscope responds to the GET (Group Execute T rigger) interface message. H C0 (Controller). The digitizing oscilloscope cannot control other devices. H E2 (Electrical). The digitizing oscillosc[...]

  • Página 412

    TDS Family Oscilloscope Programmer Manual D–1 Appendix D: Factory Initialization Settings The factory initialization settings provide you a known state for the digitizing oscilloscope. Factory initialization sets values as shown in T able D–1. T able D–1: Factory Initialization Settings Control Changed by Factory Init to Acquire mode Sample A[...]

  • Página 413

    Appendix D: Factory Initialization Settings D–2 TDS Family Oscilloscope Programmer Manual T able D–1: Factory Initialization Settings (Cont.) Control Changed by Factory Init to Delayed edge trigger coupling (TDS 400A only) DC Main T rigger Delayed edge trigger level 0 V Delayed edge trigger slope Rising Delayed edge trigger source Channel 1 Del[...]

  • Página 414

    Appendix D: Factory Initialization Settings TDS Family Oscilloscope Programmer Manual D–3 T able D–1: Factory Initialization Settings (Cont.) Control Changed by Factory Init to Display trigger bar style Short Display trigger “T” On Display variable persistence 500 ms Edge trigger coupling DC Edge trigger level 0.0 V Edge trigger slope Risin[...]

  • Página 415

    Appendix D: Factory Initialization Settings D–4 TDS Family Oscilloscope Programmer Manual T able D–1: Factory Initialization Settings (Cont.) Control Changed by Factory Init to Logic trigger class TDS 500C, 600B, & 700C: Pattern Logic trigger input (pattern and state) TDS 510A, 500C, 600B, & 700C: Channel 1 = H (high), Channels 2 & [...]

  • Página 416

    Appendix D: Factory Initialization Settings TDS Family Oscilloscope Programmer Manual D–5 T able D–1: Factory Initialization Settings (Cont.) Control Changed by Factory Init to Measure gating Of f Measure high ref 90% and 0 V (units) Measure high-low setup Histogram Measure low ref 10% and 0 V (units) Measure mid ref 50% and 0 V (units) Measure[...]

  • Página 417

    Appendix D: Factory Initialization Settings D–6 TDS Family Oscilloscope Programmer Manual T able D–1: Factory Initialization Settings (Cont.) Control Changed by Factory Init to Saved waveforms No change Stop after R/S button V ertical bandwidth (all channels) Full V ertical coupling (all channels) DC V ertical impedance (termination) (all chann[...]

  • Página 418

    TDS Family Oscilloscope Programmer Manual Glossary–1 Glossary ASCII Acronym for the American Standard Code for Information Interchange. Controllers transmit commands to the digitizing oscilloscope using ASCII character encoding. Address A 7-bit code that identifies an instrument on the communication bus. The digitizing oscilloscope must have a un[...]

  • Página 419

    Glossary Glossary–2 TDS Family Oscilloscope Programmer Manual Real-time sampling A sampling mode where the digitizing oscilloscope samples fast enough to completely fill a waveform record from a single trigger event. Use real-time sampling to capture single-shot or transient events. GPIB Acronym for General Purpose Interface Bus, the common name [...]

  • Página 420

    TDS Family Oscilloscope Programmer Manual Index–1 Index Numbers 2 + 2 channel operation, viii A Abbreviating, command, 2–4 ACQUIRE?, 2–47 ACQUIRE:AUT OSA VE, 2–47 ACQUIRE:MODE, 2–48 ACQUIRE:NUMACQ?, 2–50 ACQUIRE:NUMA VG, 2–51 ACQUIRE:NUMENV , 2–52 ACQUIRE:REPET , 2–53 ACQUIRE:ST A TE, 2–54 ACQUIRE:ST OP AFTER, 2–55 Acquisition[...]

  • Página 421

    Index Index–2 TDS Family Oscilloscope Programmer Manual CH<x>:PROBE?, 2–75 CH<x>:PROBECAL?, 2–75 CH<x>:PROBEFUNC:EXT A TTEN, 2–76 CH<x>:PROBEFUNC:EXTDBA TTEN, 2–76 CH<x>:SCALE, 2–77 CH<x>:VOL TS, 2–78 Channel, command mnemonic, 2–7 CH<x>, command mnemonic, 2–7 Clear Status, 2–79 CLEARMEN[...]

  • Página 422

    Index TDS Family Oscilloscope Programmer Manual Index–3 CURSOR:FUNCTION, 2–80 CURSOR:HBARS?, 2–80 CURSOR:HBARS:DEL T A?, 2–81 CURSOR:HBARS:POSITION<x>, 2–81 CURSOR:HBARS:POSITION<x>PCNT , 2–82 CURSOR:HBARS:SELECT , 2–83 CURSOR:HBARS:UNITS, 2–83 CURSOR:MODE, 2–84 CURSOR:P AIRED, 2–85 CURSOR:P AIRED:HDEL T A, 2–85 CU[...]

  • Página 423

    Index Index–4 TDS Family Oscilloscope Programmer Manual DISPLA Y :COLOR:P ALETTE:PERSISTENCE, 2–1 17 DISPLA Y :COLOR:P ALETTE:REGULAR, 2–1 17 DISPLA Y :COLOR:P ALETTE:RESET ALL, 2–1 18 DISPLA Y :DA TE/TIME. See DISPLA Y :CLOCK DISPLA Y :FIL TER, 2–121 DISPLA Y :FORMA T , 2–122 DISPLA Y :GRA TICULE, 2–123 DISPLA Y :INST A VU:PERSISTENC[...]

  • Página 424

    Index TDS Family Oscilloscope Programmer Manual Index–5 HARDCOPY :P ALETTE, 2–151 HARDCOPY :POR T , 2–152 HARDCOPY :FILENAME, 2–147 HARDCOPY :FORMA T , 2–148 HARDCOPY :LA YOUT , 2–151 HARDCOPY :P ALETTE, 2–151 HARDCOPY :POR T , 2–152 HDR, 2–153 HEADER, 2–153 Header Command, 2–2 , 2–153 Included in query response, 2–153 , 2[...]

  • Página 425

    Index Index–6 TDS Family Oscilloscope Programmer Manual L Limit test command group, 2–22 Limit T est commands LIMIT :BELL, 2–181 LIMIT :COMP ARE:CH<x>, 2–181 LIMIT :COMP ARE:MA TH<x>, 2–182 LIMIT :HARDCOPY , 2–183 LIMIT :ST A TE, 2–184 LIMIT :TEMPLA TE, 2–185 LIMIT :TEMPLA TE:DESTINA TION, 2–185 LIMIT :TEMPLA TE:SOURCE[...]

  • Página 426

    Index TDS Family Oscilloscope Programmer Manual Index–7 MEASUREMENT :MEAS<x>: DELA Y :EDGE2, 2–221 MEASUREMENT :MEAS<x>: DELA Y :SOURCE1, 2–224 MEASUREMENT :MEAS<x>: DELA Y :SOURCE2, 2–224 MEASUREMENT :MEAS<x>: ST A TE, 2–225 MEASUREMENT :MEAS<x>: TYPE, 2–226 MEASUREMENT :MEAS<x>: UNITS?, 2–230 MEAS[...]

  • Página 427

    Index Index–8 TDS Family Oscilloscope Programmer Manual Messages, Status and error , 1–2 Miscellaneous, LOCK, 2–188 Miscellaneous command group, 2–26 Miscellaneous commands AUTOSET , 2–67 BELL, 2–68 DA TE, 2–105 *DDT , 2–106 F ACTOR Y , 2–136 HDR, 2–153 HEADER, 2–153 *IDN?, 2–180 *LRN?, 2–189 NEWP ASS, 2–243 P ASSWORD, 2[...]

  • Página 428

    Index TDS Family Oscilloscope Programmer Manual Index–9 RS232:HARDFLAGGING, 2–252 RS232:P ARITY , 2–253 RS232:SOFTFLAGGING, 2–253 RS232:STOPBITS, 2–254 *RST , 2–250 Rules, command forming, 2–1 Runt trigger , 2–304 , 2–307 , 2–308 , 2–309 , 2–310 , 2–31 1 , 2–312 S *SA V , 2–255 Save and recall command group, 2–28 Sav[...]

  • Página 429

    Index Index–10 TDS Family Oscilloscope Programmer Manual T erminator , command message, 2–6 TIME, 2–264 T ime base, Manual trigger simulation, 2–342 T imeout trigger , 2–317 , 2–318 *TRG, 2–342 TRIGGER, 2–264 T rigger command group, 2–29 T rigger commands TRIGGER, 2–264 TRIGGER:DELA Y , 2–265 TRIGGER:DELA Y :BY , 2–266 TRIGG[...]

  • Página 430

    Index TDS Family Oscilloscope Programmer Manual Index–1 1 TRIGGER:MAIN:PULSE:SLEWRA TE: THRESH- OLD:HIGH, 2–315 TRIGGER:MAIN:PULSE:SLEWRA TE:DEL T A- TIME, 2–312 TRIGGER:MAIN:PULSE:SLEWRA TE:POLARITY , 2–313 TRIGGER:MAIN:PULSE:SLEWRA TE:SLEW- RA TE, 2–314 TRIGGER:MAIN:PULSE:SLEWRA TE:THRESH- OLD:BOTH, 2–314 TRIGGER:MAIN:PULSE:SLEWRA TE:[...]

  • Página 431

    Index Index–12 TDS Family Oscilloscope Programmer Manual TRIGGER:MAIN:LOGIC:CLASS, 2–289 TRIGGER:MAIN:LOGIC:FUNCTION, 2–290 TRIGGER:MAIN:LOGIC:INPUT?, 2–291 TRIGGER:MAIN:LOGIC:INPUT : CH<x>?, 2–292 TRIGGER:MAIN:LOGIC:P A TTERN: INPUT :CH4?, 2–292 TRIGGER:MAIN:LOGIC:P A TTERN: WHEN, 2–293 TRIGGER:MAIN:LOGIC:P A TTERN: WHEN:LESSLI[...]

  • Página 432

    Index TDS Family Oscilloscope Programmer Manual Index–13 TRIGGER:MAIN:VIDEO:NTSC, 2–335 TRIGGER:MAIN:VIDEO:P AL, 2–336 TRIGGER:MAIN:VIDEO:SCAN, 2–337 TRIGGER:MAIN:VIDEO:SCANPERIOD, 2–337 TRIGGER:MAIN:VIDEO:SOURCE, 2–338 TRIGGER:MAIN:VIDEO:ST ANDARD, 2–338 TRIGGER:MAIN:VIDEO:SYNC, 2–339 TRIGGER:MAIN:VIDEO:SYSTEM, 2–340 TRIGGER:MAIN[...]

  • Página 433

    Index Index–14 TDS Family Oscilloscope Programmer Manual WFMPRE:ZZERO, 2–352 W A VFRM?, 2–345 <wfm>, command mnemonic, 2–7 WFMPRE?, 2–345 WFMPRE:<wfm>?, 2–353 WFMPRE:<wfm>:NR_PT , 2–354 WFMPRE:<wfm>:PT_FMT , 2–354 WFMPRE:<wfm>:PT_OFF , 2–355 WFMPRE:<wfm>:WFID, 2–356 WFMPRE:<wfm>:XINCR, 2[...]