Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/newdedyk/domains/bkmanuals.com/public_html/includes/pages/manual_inc.php on line 26
Agilent Technologies 1670G manuale d’uso - BKManuals

Agilent Technologies 1670G manuale d’uso

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
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626

Vai alla pagina of

Un buon manuale d’uso

Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso Agilent Technologies 1670G. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica Agilent Technologies 1670G o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.

Che cosa è il manuale d’uso?

La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso Agilent Technologies 1670G descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.

Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.

Quindi cosa dovrebbe contenere il manuale perfetto?

Innanzitutto, il manuale d’uso Agilent Technologies 1670G dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo Agilent Technologies 1670G
- nome del fabbricante e anno di fabbricazione Agilent Technologies 1670G
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature Agilent Technologies 1670G
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti

Perché non leggiamo i manuali d’uso?

Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio Agilent Technologies 1670G non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti Agilent Technologies 1670G e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio Agilent Technologies in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche Agilent Technologies 1670G, come nel caso della versione cartacea.

Perché leggere il manuale d’uso?

Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo Agilent Technologies 1670G, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.

Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso Agilent Technologies 1670G. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.

Sommario del manuale d’uso

  • Pagina 1

    Programm er’s Guid e Publication number 01670-97021 March 20 02 For Safety information, Warranties, and R egulatory infor matio n, see the pages behin d the Inde x © Copyright Agilent Technol ogies 1992-2002 All Right s Reserv ed Agilent Technologies 1670G-Series Logic Analyzers[...]

  • Pagina 2

    ii[...]

  • Pagina 3

    In This Book This programm er’ s guide co ntains gene ral informati on, inst rument level commands, logic anal yzer co mmands, os cillosco pe module co mmands , pattern generator module co mmands, and pro gramm ing example s for prog ramming the Agi lent Technologi es 167 0G-se ries logic analyzers . This guide focus es o n how to program t he in[...]

  • Pagina 4

    Part 1 Part 1, consis ts of chapters 1 throug h 7 and contains general informati on ab out pro gramming b asi cs, GP IB and RS-232-C i nterface requirem ents , document ation co nventi ons, st atus report ing, and erro r messages . If you are already familiar with IEEE 488. 2 programm ing and G PIB or RS-232 -C, you m ay want to just s can these ch[...]

  • Pagina 5

    The commands explained in this part give you access to all the com mands used t o operate the log ic analyze r portio n of the Agilent 1670 -se ries syst em. This part i s designed t o provide a co ncise descript ion of each command. Part 4 Part 4, chapters 2 8 throug h 36 explain each command in the s ubsys tem command se t fo r the o scill oscope[...]

  • Pagina 6

    Part 6 Part 6, chapte r 43 , contai ns pro gram exam ples of actual t ask s that show you how to get start ed in programming the Agil ent 1670G- series lo gic analyz ers. The co mple xity of y our programs and t he tasks they accomplish are limit ed only by your imaginatio n. T he se example s are written in HP Basic 6.2; however, the program conce[...]

  • Pagina 7

    MEA Sure Subsyst em 33 TIMeba se Subs yste m 34 MARKer Subsy s te m 32 DI SPlay Sub syste m 31 TRIGge r Subs ys tem 35 WAVef orm Su bsystems 36 Pr ogramming the Pattern Gener ato r 37 FORM at Subs yste m 38 SEQuenc e Subs ys tem 39 MA CRo Subsy stem 40 SYM Bol Sub system 41 DATA a nd SETup Comma nds 42 Programmi ng E xamples 43 Index vii[...]

  • Pagina 8

    viii[...]

  • Pagina 9

    Table o f Con tents Part 1 G enera l Informa tion 1 In troduct ion to Prog ramming the Agilent T echnologies 1670G- Series Log ic Analy zer Talk ing to th e In strument 1–3 Init ializat ion 1–4 Instructio n Synt ax 1–5 Output Command 1–5 Device Address 1–6 Instructio ns 1–6 Instructio n Termi nator 1–7 Header Type s 1–8 Duplicat e K[...]

  • Pagina 10

    Bus Commands 2–6 3 Programming Over RS-232-C Interface O perat ion 3–3 RS-232 -C Cables 3–3 Minimum Three- Wire Int erface with So ftware P rotoco l 3–4 Extended Int erface wi th Hardware Hands hake 3–4 Cable E xam ples 3–6 Configuring the Log ic Analyzer Interface 3–8 Interface Capab ilities 3–9 RS-232 -C Bus Address ing 3–10 Loc[...]

  • Pagina 11

    Key F eatures 6–6 Serial P oll 6–7 7 Error Messag es Device Dependent Errors 7–3 Command Erro rs 7–3 Execut ion Errors 7–4 Internal Erro rs 7–4 Query E rrors 7–5 Part 2 Instrument Comma nds 8 Common Commands *CLS (Clear Stat us) 8–5 *ESE (Eve nt St atus Enab le) 8–6 *ESR (Event St atus Regis ter) 8 –7 *IDN ( Ident ificatio n N u[...]

  • Pagina 12

    LER (L CL Event Regist er) 9–11 LO CKout 9 –12 MEN U 9–12 MESE<N> ( Mo dule Event Stat us Enable ) 9–14 MESR<N> ( Modul e Event St atus Regi ster) 9–16 RMODe 9–18 RTC (Real-t ime Clock) 9–18 SELect 9–19 SETColor 9– 21 STARt 9–22 STOP 9–22 XWINdow 9– 23 10 Module Lev el Commands ARMLine 10 –5 DBLock 10–5 MACHi[...]

  • Pagina 13

    LOAD [:CONFig ] 12–1 4 LOAD:IASSe mbler 12–1 5 MKDir (Mak e D irecto ry) 12– 16 MSI (Mass Sto rage Is) 12–17 PACK 1 2–1 8 PURG e 12 –18 PWD ( Prese nt W o rking D irect ory) 12–1 9 REName 1 2–19 STORe[:CONF ig] 12–20 UPLoad 12–21 VOLume 12 –22 Part 3 Logic Analy zer Commands 13 MA CHine Subsyst em MACHine 13–4 ARM 13–5 ASS[...]

  • Pagina 14

    15 SFORma t Subsy stem SF ORmat 1 5–6 CLO Ck 15– 6 LABel 15–7 MASTer 15–9 MOPQ ual 15–10 MQ Ual 15–1 1 REMove 15–1 2 SETHold 1 5–12 SLAVe 15– 14 SOPQ ual 15–15 SQ Ual 15–1 6 THReshol d 1 5–16 16 STRigg er (STRa ce) Subsy st em Qualifie r 16– 7 STRigger (S T Race) (State Trigge r) 16–9 ACQ uisitio n 1 6 –9 BRANch 16 –[...]

  • Pagina 15

    CLRPatt ern 17–8 DATA 17–9 LIN E 17–9 MMODe (Marker Mode) 17–10 OPATtern 17–1 1 OSEarch 17–12 OS Tate 1 7–1 3 OTA G 17–1 4 OVERlay 17 –15 REMove 17–1 5 RUNTil (Run Unt il) 17–16 TAVerage 17– 17 TMAXimum 17–17 TMINimum 17–1 8 VRUN s 17–1 8 XOTag 17–19 XOTime 17– 19 XPATte rn 1 7–20 XSEarch 17–21 XSTate 17–21 X[...]

  • Pagina 16

    19 SCHart Subsystem SCHart 19 –4 ACCumulate 1 9–4 CENTer 19–5 HAXis 1 9–5 VAXis 1 9–6 20 CO MPare Subsyst em COMPare 20–4 CLEar 20–5 CMASk 2 0–5 CO PY 20–6 DATA 20–6 FIND 20 –8 LIN E 20–8 MEN U 20–9 RAN Ge 2 0– 9 RUNTil (Run Unt il) 20–10 SET 20–12 21 TFO Rmat Subsyst em TFORmat (Timing Format ) 21–4 ACQMode 21–5[...]

  • Pagina 17

    MLENgt h 22–15 RAN Ge 22 –16 SEQuence 22–17 SP ERiod 2 2– 18 TCONt rol (Tim er Contro l) 22–19 TERM 2 2–2 0 TIMER 2 2–2 1 TPOSit io n (Tri gger Po sition) 2 2–22 23 TWAVeform Subsyst em TWAVe form 23– 7 ACCumulate 23–7 ACQ uisitio n 23–8 CENTer 23–8 CLRPatt ern 23–9 CLRStat 23–9 DELay 23–9 INSert 23–10 MLENgt h 23–[...]

  • Pagina 18

    XSEarch 23–23 XTIMe 23–24 24 TLIS t Subsy stem TLISt 24– 7 COLumn 24–7 CLRPatt ern 24–8 DATA 24–9 LIN E 24–9 MMODe (Marker Mode) 24–10 OCON d it io n 24–11 OPATtern 24–1 2 OSEarch 24–13 OS Tate 2 4–1 4 OTA G 24–1 4 REMove 24–1 5 RUNTil (Run Unt il) 24–1 5 TAVerage 24– 16 TMAXimum 24–16 TMINimum 24–1 7 VRUN s 24?[...]

  • Pagina 19

    OVER V iew:O MARk er 25–13 OVE RView:O VS Tatist ic 25–1 4 OVER V iew:XMA Rker 25–1 5 HIS T ogram: HSTat istic 25–16 HIS T ogram: LABel 2 5–17 HIS T ogram: OT Her 25 –18 HIS T ogram: QUALi fier 25–19 HIS T ogram: RANGe 25–20 HISTogram: T TYPe 25–2 1 TINTerval:AUTorange 2 5–22 TINTerval:Q UALifier 2 5–22 TINTerval:TINTerval 25?[...]

  • Pagina 20

    28 Oscilloscope Root Le vel Commands AUToscale 2 8–3 DIGit iz e 28–5 29 ACQuire Subsy stem CO UNt 29– 4 TYPE 2 9–5 30 CH ANnel S ubsystem COUP ling 30–4 ECL 30– 5 OFFSet 30–6 PROBe 30– 7 RAN Ge 3 0– 8 TT L 3 0– 9 31 DISPla y Subsy stem ACCumulate 3 1–4 CO N N ect 31–5 INSert 3 1–6 LABel 31–7 MINus 31 –8 OVERlay 31 –8[...]

  • Pagina 21

    RUNTil (Run Unt il) 32–11 SH O W 32–1 2 TAVerage? 32 –12 TMAXimum? 32– 13 TMINimum? 32–13 TMOD e 32–1 4 VMOD e 32–1 5 VOTime? 32–16 VRUN s? 32 –16 VXTime? 32 –17 XAU To 32–1 8 XOTime? 32–1 9 XTIMe 32–19 33 MEASure S ubsyst em ALL? 33–4 FALLt ime ? 33–5 FREQ uency? 33–5 NWID t h? 3 3–6 OVE Rshoot? 33–6 PERio d? 3 [...]

  • Pagina 22

    35 TRIG ger Subsyst em CO NDit io n 3 5– 5 DELay 3 5–7 LEVel 3 5–8 LO Gi c 3 5– 10 MODE 35– 11 PATH 3 5–1 2 SLO Pe 35 –12 SO URce 35–1 3 36 WAVeform Subsy st em Format for D ata Transfer 36–3 Data Co nversion 36–5 CO UNt? 36 –8 DATA? 36– 8 FORMat 36–9 PO I Nts ? 36–9 PREamb le? 36–1 0 RECord 36–11 SO URce 36–1 1 SP[...]

  • Pagina 23

    Example Pattern Generat or Pro gram 37–3 Selecting the Patt ern Generat or 37–4 Command Set Organiz ation 37–5 Pattern Generator Level Commands 37–7 STEP 37–8 RESume 3 7–10 38 FORMa t S ubsyst em FORMat S ubsystem 3 8–2 CLO Ck 38–3 DELay 3 8–4 LABel 38–5 MODe 38– 7 REMove 38 –8 39 SEQuence Subsy stem SEQue nce Subsyste m 39?[...]

  • Pagina 24

    41 SYMBol Subsyst em SYMB ol S u bsyste m 41– 2 BASE 41–4 PATT ern 41– 5 RAN Ge 41 –6 REMove 41–7 WIDTh 41–8 42 DATA and SET up Comma nds Data and Setu p Command s 42–2 SYSTem:DATA 4 2–4 SYSTem:SETup 42–5 Part 6 Programming Examples 43 Programming Examples Making a Tim ing A nalyzer Me asurement 43–3 Making a St ate Analyze r Me[...]

  • Pagina 25

    Pa rt 1 Gener al Informatio n[...]

  • Pagina 26

    [...]

  • Pagina 27

    1 Introdu ct ion to Pro gramming the A gilent Tech nologies 1670G-S eries Logic A nalyzer[...]

  • Pagina 28

    Introd uction This chap ter intro duces you to the basi cs o f remote pr o gramming and is org anized in two secti on s . The firs t section , "Talk ing to th e Ins trument," concen trates on initiali zing the bu s, program syntax an d the eleme nts of a s yntax i nstructi on. The s econ d secti on, "Rece ivin g Informatio n from the[...]

  • Pagina 29

    Talki ng to the Instr umen t In g eneral, compu ters actin g as controll ers communicate wi th th e instru ment by sendi ng an d rece iving message s over a remote interface, such as G PIB or R S-232 - C. Instr uctio n s for prog ramming the Agilen t Te chnolog ies 1670G -series logi c anal yzer will n ormall y appear as ASC II character strin gs e[...]

  • Pagina 30

    Initialization To make sure the bus and all appropriate i nterfaces are in a k nown state, begin every program wit h an initial izatio n st atement . BASIC provi des a CLEAR com mand t hat clears t he interface buffer. If yo u are using G PIB, CLEAR will also reset the parser in the logic analyz er. The parser is the program res ident in the logi c[...]

  • Pagina 31

    Inst ruction Syntax To program the logic analyze r remotely, you must have an understanding of the command format and structure. The IEEE 488.2 standard governs syntax rules pertaining to how individual element s, such as he aders, separators, parameters and terminat ors, may be grouped toge ther to form complet e instructi ons. Syntax definitio ns[...]

  • Pagina 32

    Device A ddress The locati on whe re the devi ce address mus t be specifi ed als o depends o n th e host language that you are using. In some languages, this could be specified outside the output comm and. In BASIC, this is always specifie d after the keyword OUTPU T. The examples in t his manual use a generic address of XXX. When writi ng programs[...]

  • Pagina 33

    When yo u look up a que ry in this prog rammer’s reference, yo u’ll fi nd a paragraph labe led "Returne d F ormat" unde r the one labele d "Query. " The syntax definition by "Returne d format" will always show the inst ructio n header in square brack ets, like [:SYSTem:MENU ], which means the text betwe en t he bra[...]

  • Pagina 34

    Header Types There are three types of headers: Simple Command, Compo und Command, and Commo n Command. Simple Com m and H eade r Simple co mmand he aders contai n a single key word. START and STO P are example s of simple command headers typi cally used i n this logic analyzer. The syntax is : <function><terminator> When parame ters ( i[...]

  • Pagina 35

    Com mon C o mmand He ader Common comm and headers cont rol IEEE 488. 2 functio ns within t he logi c analyzer, such as , clear st atus. The syntax is: *<command header><terminator> No whi te space o r se parator is allo wed bet ween the as teri sk and the command header. *CLS is an e x ample of a common command header. Comb ined Com man[...]

  • Pagina 36

    Query Usage Logic anal yzer ins truct ions that are immediate ly fo llowed b y a quest ion mark (?) are queries . After receivi ng a query , the lo gic analyzer pars er place s the response in the output buffer. The output mess age remains in the buffer until it is read o r until ano the r logic anal yzer ins truct ion is i ssued. W hen read, the m[...]

  • Pagina 37

    Program Header Opt ions Program headers can b e s ent using any comb ination o f uppercas e or lowercase ASCII characters. Lo gic analyz er response s, however, are al ways returned in uppercase. Both pro gram co mmand and q uery headers m ay be sent in ei ther long form (compl ete spelling) , short for m (ab bre viated spelling) , or any combinati[...]

  • Pagina 38

    Parameter Data Types There are thre e mai n types o f data which are used in parameters . They are numeric, st ring, and keywo rd. A fourth ty pe, b lock data, is us ed o nly for a fe w instructi ons: the DATA and SE Tup instructio ns in the SYSTem s ubsystem (see chapter 11); the CATalog, UP Load, and DO WNload instruct ions in the MMEMory sub sy [...]

  • Pagina 39

    When a syntax definit ion specifies that a number is an integ er, t hat means that the number shoul d be whole. Any fractional part would be ignore d, truncating the numb er. Numeric paramete rs that accept fractio nal values are called real numb ers. All numbers are expect ed to be strings of ASCII characters. Thus, when sending the number 9, you [...]

  • Pagina 40

    Select ing Multip le Subsystems You can send multiple program commands and program queries for different subsys tem s on the same line by se parating each co mmand with a sem icol on. The colon foll owing the sem icolon e nabl es you t o enter a new sub system. <instruction header><data>;:<instruction header><data> <termi[...]

  • Pagina 41

    Rece i v ing Inform ation from the Instr ume nt After rece iving a query ( logic analyz er instruct ion fol lowe d by a q uestio n mark), the lo gic analyz er interro gate s the req uested functio n and pl aces the answer in it s output queue. The answer rem ains i n the out put que ue unt il it is read, or, until anot her co mmand is issued. When [...]

  • Pagina 42

    Response Header Options The format of t he returned ASCII string depends on the current sett ings of the SYSTEM H EADER and LON G F ORM commands. The general fo rmat is <instruction_header><space><data><terminator> The header ident ifie s the dat a that fo llows ( the paramet ers) and is co ntrolle d by is suing a :SYSTEM:HE[...]

  • Pagina 43

    Response Data F ormats Both numb ers and strings are returned as a s eries of ASCII charact ers, as describe d in the fo llowing sections . Keywo rds in the data are ret urned i n the same form at as the header, as specifie d by t he LON Gform co mmand. Li ke the headers , the k eywords wil l always be i n uppercase. Example The fo llowing are pos [...]

  • Pagina 44

    String Variables Because there are so many ways to code num bers, the Agilent Technologi es 1670G -series log ic analyzer handles almost all data as ASCII strings. Dependi ng o n your hos t language, you may be able to use othe r types whe n reading in re spons es. Someti mes it is he lpful to use string variab les in pl ace o f constant s to s end[...]

  • Pagina 45

    The output of the logic analyzer may be numeric or character data depending on what i s querie d. Refer t o the s pecific commands, i n Parts 2 and 3 of this guide, fo r the formats and ty pes of dat a returned fro m querie s. Example The fo llowing e xam ple shows logic analy zer data being re turned to a st ring variable with headers off: 10 O UT[...]

  • Pagina 46

    This time the format of the number (such as, whether or not e xpone ntial notati on is used) is dependent upon your host lang uage. The output will resemb le 1.E-5 in BASIC. Defin ite-Length Block Response Data Definit e-l ength b lock res ponse data, also refe rred to as block dat a, allows any type o f device-depende nt dat a to be transm it ted [...]

  • Pagina 47

    Multiple Queries You can send multiple queries to the logic analyzer within a single pro gram message, but y ou m ust also read t hem back within a singl e program m essag e. This can b e accomplishe d by either reading them back into a st ring variable or into mul tiple numeric variable s. Example You can read the result of the query :SYSTEM:HE AD[...]

  • Pagina 48

    Instrument Stat us Status re gist ers track the current st atus of t he l ogic analyz er. By checki ng the inst rument status , y ou can fi nd out whether an operat ion has b een complet ed, whether the inst rument is receiving t riggers, and more. Chapter 6, "St atus Report ing, " explains ho w to check t he status of the instrument . In[...]

  • Pagina 49

    2 Programming Over GPIB[...]

  • Pagina 50

    Introd uction This secti on d escrib es the GP I B interface functi ons and some gene ral con cepts of G PIB. In gene ral, thes e functio ns are defin ed by IEE E 488 .1 (GPI B bus s tand ard). The y d eal wi th gene ral b us manag ement issu es, as well as mes sages which can be sent over the bus as bus commands. 2– 2[...]

  • Pagina 51

    Interface Capabilit ies The interface capabi lities of the Agilent 167 0G-se ries logic analyze r, as defined by IEEE 488 .1 are SH1, AH1, T5, TE0, L3, LE0, SR1, RL1, PP0 , DC1, DT1, C0 , and E2. Com mand and Data Concepts GPIB has two mo des of o perat ion: com mand mod e and data m ode. The b us is in command mode when the ATN line is true. The c[...]

  • Pagina 52

    If the co ntro ller addresse s the ins trume nt to talk, i t wi ll remain co nfigured to talk until it receives: • an interface clear m essage (IF C) • another i nstrum ent’s talk addres s (OTA) • its own lis ten address (MLA) • a universal unt alk (UNT) comman d If the controller addresse s the instrume nt to list en, it will remain conf[...]

  • Pagina 53

    Example F or e xample, if the ins trume nt address i s 4 and t he interface sele ct code i s 7, the inst ructi on will caus e an actio n in the i nstrum ent at de vice addre ss 704. D EV IC E AD DR ES S = (I nt er fa ce S el ec t Co de ) × 10 0 + (I ns tr um en t Ad dr es s) Local, Re m ote, and L ocal L ockout The local, remo te, and rem ote wit [...]

  • Pagina 54

    Bus Commands The follo wing commands are IEEE 4 88.1 bus co mmands (A TN true). IEEE 488.2 de fines many of t he actions which are taken when the se co mmands are received b y t he logi c analyz er. Device Clear The device cle ar ( DCL) or s elect ed device cl ear ( SDC) comm ands cle ar the input and o utput b uffers, reset the parse r, clear any [...]

  • Pagina 55

    3 Pro gramm ing Over R S- 232-C[...]

  • Pagina 56

    Introd uction This chap ter des cribes the inte rface function s and some general con cepts of R S-232-C. The RS-232 -C interface on this instr umen t is Agilen t’s i mplemen tation of E IA R ecommended Stand ard RS -232-C, "Interface Betwe en Data Terminal Eq ui pment and Data Commu nications Equipmen t Employ ing Serial Bin ary Data Inter [...]

  • Pagina 57

    Interface Operation The Agilent 1 670G-seri es logi c analyzer can b e programme d wit h a contro ller over RS-2 32-C usi ng either a mini mum three- wire or ex tended hardwi re interface. The operatio n and exact connecti ons for these interfaces are describe d in more detai l in the foll owing sections. When you are programming an Agilent 167 0G-[...]

  • Pagina 58

    Minimu m Three-Wire Interface with Software Protocol With a three-wire int erface, the software (as compare d to interface hardware) co ntro ls t he data flo w bet ween the l ogic analyz er and the control ler. The three-wi re interface provides no hardware means to control data flow betwee n the control ler and the lo gic analyze r. Therefore, XON[...]

  • Pagina 59

    • Pin 7 SG ND (Si gnal Ground) • Pin 2 TD ( Transmi t Dat a from logic anal yzer) • Pin 3 RD (Re ceive Data int o log ic analyze r) The additio nal lines y ou us e depends o n your cont rol ler’s i mplementat ion of the ex tended hardwire int erface. • Pin 4 RTS (Reque st To Send) is an o utput from t he lo gic analyz er whic h can be use[...]

  • Pagina 60

    Cable Examples HP 900 0 Series 300 Figure 3-1 is an exampl e of how to connect t he Agile nt 1 670G-se ries to the HP 98628A inte rface card of an HP 9000 series 300 controll er. F or more informati on o n cabling , refer to the refe rence m anual for yo ur specific control ler. Because thi s exampl e does no t have t he correct connect ions fo r h[...]

  • Pagina 61

    Figu re 3 -2 25- pin (F) to 25-pi n (M) Cab le Figure 3-3 sho ws the s chemat ic of a 2 5-pi n male to 25-pi n male cab le 5 meters in le ngth. The fo llowing cabl e supports thi s configurat ion: • 1324 2G, DB-25 (M) to DB- 25 (M), 5 mete r Figu re 3-3 25-p in (M ) t o 2 5-pi n (M) Cabl e Programmin g O ver RS-23 2-C Cable Ex ampl es 3–7[...]

  • Pagina 62

    Figure 3-4 shows the schemat ic of a 9-pin female to 25-pin male cabl e. The followi ng cab les suppo rt t his config uratio n: • 2454 2G, DB-9( F) to DB-25 (M), 3 meter • 24542H , DB-9( F) to D B-2 5 ( M), 3 meter, shie lded • 4591 1- 6000 9, D B-9(F ) to D B-2 5(M) , 1 .5 met er Figu re 3-4 9 -p in (F ) t o 25 -p in (M ) C a bl e Configurin[...]

  • Pagina 63

    Interface Capabilit ies The baud rat e, stopbi ts, parity, pro tocol , and dat abits must be co nfigured exactl y the sam e for b oth the cont roller and the log ic analyze r to properly communicat e over t he RS-2 32-C bus. The RS- 232-C inte rface capab ilities of the Agi lent 1670 G-serie s lo gic analyz er are lis ted be low: • Baud Rat e: 11[...]

  • Pagina 64

    The contro ller and the Agilent 1 670 G-serie s logic analyz er must be in th e same bit mode to properly communicate over the RS-232-C. This means that the control ler must have the capability to send and recei ve 8-b it data. See Al so For m ore informatio n on the RS-2 32-C int erface, refer to the A gilent 1670G-Seri es Lo g ic Analyzers U ser?[...]

  • Pagina 65

    Lo ckout Com mand To lock out the front -panel cont rol s, use t he instrume nt co mmand LO CKout. When this functio n is on, all co ntrols (e xcept the power switch) are entirely locked out . Local cont rol can only be restored by sending the :LOCKout OFF command. CAUT ION Cycli ng the power will a lso res tore local c ontrol, but this will als o [...]

  • Pagina 66

    3– 12[...]

  • Pagina 67

    4 Pro gramm ing an d Docu mentation Co nven tion s[...]

  • Pagina 68

    Introd uction This chap ter covers the programmin g conven tions used in programmin g the in strumen t, as well as the documentati on con ventions used in th is manual . Th is chap ter also contains a d etail ed descri ptio n of the comm and tree and command tree traversal. 4– 2[...]

  • Pagina 69

    Truncation Rule The truncation rule for the keywords used in headers and parameters is: If the lo ng form has four or fewer characters, there is no change in the short form. When the long form has more than four characters the short form is just t he first fo ur charact ers, unless the fourt h charact er is a vo wel. In that case only the first t h[...]

  • Pagina 70

    Infinity Representation The represent atio n of infini ty is 9 .9E+37 fo r real numb ers and 32 767 fo r integers . This is also the value returned when a measurement cannot be made. Sequ ential and Over lapp ed Comman ds IEEE 48 8.2 m akes the dist inction betwee n seq uential and ove rlapped commands. Seq uential co mmands finish thei r task befo[...]

  • Pagina 71

    Not ation Convent ions an d Def inition s The follo wing convent ions are us ed in this manual when des cribing programming rules and exampl e. < > Angular b racket s enclos e words o r characte rs that are used to symbo li ze a program code parameter or a bus command ::= "is define d as." For example, A ::= B i ndicate s that A can[...]

  • Pagina 72

    Comm and Types As shown in chapter 1, in the topic, "Header Types," there are three types of headers. Each header has a corresponding command type . This section shows ho w the y relate to the com mand tree. System Com m ands The s ystem commands resi de at the top le vel of the com mand t ree. The se commands are always pars able if they[...]

  • Pagina 73

    The follo wing exam ples are writ te n using HP BASIC 6.2. The q uot ed string is placed on t he b us, fol lowe d by a carri age re turn and linefe ed ( CRLF) . The three Xs (XXX) s hown in thi s manual after an EN TER or O UTP UT stat ement represents the device address required by yo ur control ler. Example 1 In this exam ple, the colon bet ween [...]

  • Pagina 74

    Figu re 4 -1 Agilent 16 70G- Series Command Tr ee Programming and D ocument ation Con ventio ns Tree Tra vers al Rules 4– 8[...]

  • Pagina 75

    Figu re 4 -1 (c ont inu ed) Agil ent 16 70G- Ser ies Comma nd Tree ( cont inue d) Programming and D ocument ation Con ventio ns Tree T raversal Rules 4–9[...]

  • Pagina 76

    Tab le 4-2 Alph abet ic Command Cross -Referen ce Command Subs yst em ACCumulat e SCHart, SWA Veform , TWAV eform, ACQMod e TFO Rmat ACQuisition STRigger, SW AVe form, TTRigger, TW AVefor m ARM MACHine ASSign MACHine AUTolo ad M MEM ory AUToran ge TINTer val BASE SYMBol BEEPer Mainframe BRANch STRigger, TTR igger BUCKet OVERView CAPab il ity Ma i n[...]

  • Pagina 77

    Tab le 4-2 ( contin ued) Alph abet ic Command Cross -Referen ce Command Su bsystem OTIMe TWAV eform, WLISt OV ERlay SLI St OVERView SP A OV STatist ic OV ERView PACK MME Mor y PA TTer n SYMB o l PRINt SYSTem PURGe M MEMory PWD MME Mor y RA NGe CO MPare , STRigger , SWA Vef orm , SYMB ol , TTRigger , TWA Vefor m, WLI St, HI ST ogra m REMo ve SFORma [...]

  • Pagina 78

    Com mand Set Organization The command s et for t he A gilent 1 670G -series logic analy zers is divide d into 19 separate groups : commo n commands, syst em commands, and 17 set s of subsys tem commands. Each o f the 19 groups o f commands is de scribed i n a separate chapter in Parts 2 and 3, "Commands." Each of the chapters cont ain a b[...]

  • Pagina 79

    • TTRigger - allows access to the timing trig ger functions. • TWAVe form - allows access to the timing waveform s funct ions. • TLISt - all ows access to the timing list ing functions. • SYMBol - al lows access to the sy mbol specificatio n funct ions. • SPA - allo ws access t o the Sy ste m Perfo rmance A nalysis ( SPA) functions . Prog[...]

  • Pagina 80

    4– 14[...]

  • Pagina 81

    5 Message Commun ication and System Functions[...]

  • Pagina 82

    Introd uction This chap ter des cribes the ope ration of ins truments that oper ate in compl iance with the IEEE 4 88.2 (syntax) s tand ard . It is in ten ded to give you enou gh bas ic information about the IEEE 48 8.2 standard to succes sfully p rog ram the log ic an alyzer. You can find addition al detailed information ab out the IEEE 488.2 stan[...]

  • Pagina 83

    Protocols The protocols of IEEE 4 88.2 define the overall scheme used b y the control ler and the ins trume nt to communicate . This include s defi ning when it is appropriate for devices to talk or listen, and what happens when the protocol is not followe d. Fun ction al Elemen ts Before pro ceeding with the descri ption o f the protoco l, a few s[...]

  • Pagina 84

    Protoco l O ve r view The instrume nt and controll er co mmunicate us ing <program message> s and <response message> s. These mes sages serve as t he contai ners into which sets of program commands o r instrume nt respons es are placed. <program message> s are sent by t he contro lle r to t he instrume nt, and <response message[...]

  • Pagina 85

    Protoco l Ex ceptio ns If an error occurs during the information ex change, the exchange may not be complet ed in a normal manne r. So me of t he proto col except ions are shown belo w. Comm an d Error A com mand error wil l be report ed if the inst rument detects a sy ntax erro r or an unrecogniz ed comm and header. Ex ecutio n Erro r An execut io[...]

  • Pagina 86

    Figu re 5 -1 Exampl e Syn tax Di agra m Mess age Commun ication an d Sy s t em Func tions Sy ntax D iag rams 5– 6[...]

  • Pagina 87

    Syn tax Over view This overvie w is intended t o g ive a qui ck glance at t he syntax defined b y IEEE 488.2. It will help you understand many of the things abo ut the syntax you need to kno w. IEEE 488.2 defines the bl ocks used to build messages which are sent to t he instrument . A who le string of commands can t herefo re be broken up int o ind[...]

  • Pagina 88

    Figu re 5 -2 <p ro gr am m es sa ge > Pa rse Tre e Mess age Commun ication an d Sy s t em Func tions Syn t ax Ov er vi e w 5– 8[...]

  • Pagina 89

    Upper/Low er Case Equ ivalence Upper and lo wer cas e lett ers are equivale nt. The mne moni c SINGLE has the same sem antic meaning as t he mnemo nic single . <white space> <white space> is defined to be one or more characters from the ASCII set of 0 - 32 decimal, excluding 10 decim al (N L). <white space> is use d by several ins[...]

  • Pagina 90

    Suffix Uni t The suffix units that the ins trument wi ll acce pt are sho wn i n ta bl e 5- 2. Tab le 5-2 <suffix unit> Suff ix Refer ence d Unit V Volt S Second Mess age Commun ication an d Sy s t em Func tions Syn t ax Ov er vi e w 5– 10[...]

  • Pagina 91

    6 Status R eporting[...]

  • Pagina 92

    Introd uction Statu s reportin g al lows you to u s e information about the instru me nt in your prog rams, so that you have better control of the measure ment proces s. For example, you can use status reporti ng to d etermine whe n a measuremen t is complete, thu s contro lling your program, so that it d oes not get ahead of the i nstrumen t. Thi [...]

  • Pagina 93

    Figu re 6-1 Stat us B y te Stru cture s and Conce pts Stat us Repor ting 6–3[...]

  • Pagina 94

    Event Status Register The Event St atus Regi ster is an IEEE 488. 2-defined re gister. The bits in this registe r are latched. Once an event happens which sets a b it, that bit will only b e cleared i f the regi s ter is read. Service Request Enable Register The Service Req uest Enabl e Register is an 8-b it regis ter. Each bit e nables the corre s[...]

  • Pagina 95

    MSG - m essage Indicates whether there i s a message in t he message queue (N ot implement ed in the Agilent 1670G- serie s logic analyzer) . PO N - po wer on Indicates po wer has been turned o n. URQ - user request Always ret urns a 0 fro m the A gilent 1 6 70G -series logic analy zer. CME - command err or Indicates whether the parser detect ed an[...]

  • Pagina 96

    LCL - remot e to lo cal Indicates whe ther a remote to local t ransitio n has occurred. MS B - mod ule summar y bi t Indicates t hat an enab l e event in one of t he st atus regi sters has occurred. Key Features A few of the most import ant features of Status Report ing are listed in the followi ng paragraphs. Operatio n Co mplete The IEEE 488 .2 s[...]

  • Pagina 97

    Figu re 6-2 Servi ce R equest Enabling Serial Poll The Agilent 1 670G-seri es logi c analyzer support s the IE EE 488.1 serial po ll feature. When a se rial poll of the i nstrum ent is re queste d, the RQ S bit is returned o n b it 6 of t he status byte . Stat us Repor ting Serial Po l l 6–7[...]

  • Pagina 98

    Using Serial Po ll (GPI B) This exam ple will show ho w t o use t he service re que st by conduct ing a seri al poll o f all instrument s on the G PIB b us. In this example, assume t hat t here are two instrument s on the bus: a logic analyzer at address 7 and a printer at address 1. The HP BASIC 6.2 program co mmand for serial po l l is S ta t = S[...]

  • Pagina 99

    7 Error M essages[...]

  • Pagina 100

    Introd uction This chapter l ists th e error messages that are r eturned by th e Ag ilent 16 7 0G-ser ies log ic analyzers . 7– 2[...]

  • Pagina 101

    Device Dependent Errors 200 L abel no t foun d 201 Pat tern string invalid 202 Quali fier i nvalid 203 Dat a not avail able 300 RS- 2 32-C error Com mand E rrors –100 Co mmand error ( unknown co mmand)(gene ric error) –101 Invali d character recei ved –110 Co mmand header error –111 H eader delim iter erro r –120 N umeric argument error ?[...]

  • Pagina 102

    Execut ion E r rors –200 Can not do (ge neric e xecution erro r) –201 Not ex ecutab le in Lo cal Mo de –202 Setti ngs lost due to return-to -local o r po wer on –203 Trigg er ignored –211 Legal co mmand, but sett ings confl ict –212 Argument out o f range –221 Busy doi ng somet hing else –222 Insufficient capabilit y or co nfigurati[...]

  • Pagina 103

    –321 RO M checksum –322 H ardware and firmware incompatib le –330 Powe r on tes t failed –340 Self te st failed –350 Too many errors ( error queue o verflow) Query Errors –400 Q uery error (generic) –410 Query INTERRUPTED –420 Q uery UNTERMIN ATED –421 Query received. Inde finit e block re sponse in progre ss –422 Addressed to t[...]

  • Pagina 104

    7– 6[...]

  • Pagina 105

    Pa rt 2 Instrument C ommands[...]

  • Pagina 106

    [...]

  • Pagina 107

    8 Com m on C ommand s[...]

  • Pagina 108

    Introd uction The common command s are d efined by th e IEEE 488 .2 s tandard . These commands mu st be s u ppo rted by all instru m e nts that comply with this stand ard. R efer to figu re 8-1 an d table 8-1 for the comm on command s syntax diagr am and par ameter values . The common command s contro l s ome of the b asic in strument fun ctions su[...]

  • Pagina 109

    Example Th is pro gram mes sage in itiali zes th e dis k, sele cts th e logic analyzer, the n store s the file. In this examp le, :MMEMORY must be s ent again in order to reente r th e memory s u bsystem and store the file. ": MM EM ORY: INIT IALI ZE;: SELE CT 1 ;:MM EMOR Y:ST ORE ’FIL E ’ , ’D ES CR IPTI ON’" Status R egisters Ea[...]

  • Pagina 110

    Figu re 8-1 Common C ommands Sy ntax Diagr am Common Command s 8– 4[...]

  • Pagina 111

    Tab le 8-1 Common Command Parame ter Values Par ameter Val ues mask An int eger, 0 t hrough 2 55. pre_mas k An intege r, 0 through 6 5535. *CLS ( Clear Status) Command *C LS The *CLS commo n command clears al l event stat us regist ers, que ues, a nd data struct ures, including t he device defined erro r q ueue and st atus by te. If the *CLS co mma[...]

  • Pagina 112

    *ESE (Event S tatus Enable) Command *ES E <m as k> The *ESE command sets the Standard Event Status Enable Register bits. The Standard Event Status Enable Re gister co ntains a b it to e nable t he status indicat ors detailed in table 8-2. A 1 in any bit positi on of the Standard Event St atus Enab le Regist er enables t he correspo nding stat[...]

  • Pagina 113

    Tab le 8-2 Sta ndard Ev ent Sta tus En able Regi ster B it Po s itio n B it We ig ht En ab le s 7 128 PON - P ower O n 6 64 URQ - User Req ues t 5 32 CME - Command Er r or 4 16 EXE - Exe cution Error 3 8 DDE - Dev ice Dependen t Er ror 2 4 QYE - Quer y Er ror 1 2 RQC - Reques t Control 0 1 OPC - Oper ation Comp lete *ESR (Event S tatus Register) Qu[...]

  • Pagina 114

    Table 8 -3 shows the Standard Event Status Re gister. The tabl e details the meaning o f each bit po sition in the St andard Event St atus Register and the bit weight. When you read Standard Event Status Register, the value returned is the total bit weight of all the b its that are high at the t i me you read the b y t e. Tab le 8-3 The Standard Ev[...]

  • Pagina 115

    *IDN (I d entification Numb er) Query *I DN? The *IDN? query allows the instrum ent to identify itself. It returns the string: "A gi le nt,1 670G ,0,R EV < revi sion _cod e>" An *IDN? que ry must be the last query in a message . Any querie s after th e *IDN? in the program message are ignored. Returne d Format Ag il en t,16 70G, 0, [...]

  • Pagina 116

    Figu re 8-2 *I ST Da t a S t ruc ture Common Command s *IST ( Indiv idual Status ) 8– 10[...]

  • Pagina 117

    *OPC (Operation Complete) Command *O PC The *OPC command will cause the instrument t o set t he operat ion complete bit in the Standard Event Status Regis ter when all pending device operatio ns have finished. The commands which affe ct this bit are the overlapped commands. An overlapped com mand is a command t hat allo ws execut ion of subseq uent[...]

  • Pagina 118

    *OPT (Option Identif ication) Query *O PT ? The *OPT? query ident ifies the software installed in the Agilent 1670G -series logic anal yzer. This query re turns nine paramete rs. The first parameter indicates whether yo u are in the s ystem . The next two paramete rs indicate any software optio ns instal led, and the next paramet er indicates wheth[...]

  • Pagina 119

    *PRE (Parallel Poll Enable Register Enable) Command *PR E <m as k> The *PRE co mmand sets the Parallel Poll Regi ster enab le bits. The P arallel Poll Enable Regis ter contains a mask value that is A N Ded with the bits in the Status Bi t Regist er to enable an "ist" duri ng a parallel poll . Re fer to tab le 8-4 for the bits in the[...]

  • Pagina 120

    Tab le 8-4 Para llel Poll Enab le Register B it Po s itio n B it We ig ht E n ab les 15 -8 Not use d 7 12 8 Not use d 6 64 MSS - M aster Summa ry Statu s 5 3 2 ES B - E ven t St at us 4 16 MAV - M essag e Availab l e 3 8 LCL - L ocal 2 4 Not use d 1 2 Not use d 0 1 MSB - Modu le Summar y *RST ( Reset) The *RST com mand is not impleme nted on the A [...]

  • Pagina 121

    *SRE (Ser vice Request Enable) Command *SR E <m as k> The *SRE co mmand set s the Servi ce Reques t Enabl e Register b its. The Service Request Enable Registe r contains a mask value for the b its to be enabled in the St atus Byte Register. A one in t he Service Re quest Enab le Registe r will enable the corresponding bit in the Status Byte R[...]

  • Pagina 122

    Tab le 8-5 A gi l ent 1 6 70 G-Seri es Serv ice Req ues t Enabl e Reg ister B it Po s itio n B it We ig ht E n ab les 15 -8 not us ed 7 12 8 not us ed 6 64 MSS - Mas ter Summary Status ( always 0) 5 3 2 ES B - Ev en t St at us 4 16 MAV - Mes sage Ava ilable 3 8 LC L- Loca l 2 4 not used 1 2 not used 0 1 MSB - M odule S ummary *ST B ( S tatus B yte [...]

  • Pagina 123

    Tab le 8-6 St atus By te Re gis te r Bit Pos ition B it Weight Bit Name Condit ion 7 12 8 not us ed 6 64 MSS 0 = instrumen t ha s no reason f or service 1 = instrumen t is r equesting se rvice 5 32 ESB 0 = no even t sta tus con ditions hav e occurred 1 = an e nabled even t statu s con dition h as oc curred 4 16 MAV 0 = no o utput message s are read[...]

  • Pagina 124

    *TST ( Test) Query *T ST ? The *TST ? query returns the res ults of the power-up sel f-test. The re sult of that t est is a 9- b it m apped value which i s placed in the o utput queue. A one in t he correspo nding b it means that the tes t failed and a zero in t he correspondi ng bit means that the t est passe d. Refer t o tab le 8-7 for the meanin[...]

  • Pagina 125

    *WA I (W ai t) Command *W AI The *WAI co mmand causes the de vice to wait until com pleting al l of the overlapped co mmands before execut ing any further com mands or querie s. An overlappe d command is a co mmand that allo ws executio n of sub s equent commands while the de vice operations init iated by t he overlappe d command are still in progr[...]

  • Pagina 126

    8– 20[...]

  • Pagina 127

    9 Instrument C ommands[...]

  • Pagina 128

    Introd uction Ins trument command s control th e basi c operatio n o f the instru ment for the A gilent 1670 G-serie s l ogic analyze rs. The Agile nt 1670G -se ries log ic analyzers are simi lar to an 1650 0 logic an alysis sy stem with a singl e logic an alyzer modu le (Agil ent 1670G). This chapter co ntains instru ment co mmands with a s y n ta[...]

  • Pagina 129

    Figu re 9-1 Mainf rame C ommands Synt ax Di agram Instr ument Comman ds 9–3[...]

  • Pagina 130

    Figu re 9-1 (cont inued) Mainf rame C ommands Sy ntax Diagram (cont inued) Instrume nt Commands 9– 4[...]

  • Pagina 131

    Tab le 9-1 Ma in f rame Parame ter Values Par ameter Val ues value An intege r from 0 t o 6553 5 module An intege r 0 or 1 (2 th r ough 10 unused) menu An intege r enable_v alue An intege r from 0 t o 255 index An intege r from 0 t o 5 day An intege r from 1 throug h 31 month An intege r from 1 throug h 12 year An intege r from 1 990 t hrough 2 089[...]

  • Pagina 132

    BEE Per Command :B EE Pe r [{ ON |1 }| {O FF |0 }] The BEEPe r command se t s the beeper m ode, which t urns t he bee per sou nd of the instrument on and off. When BEEP er is sent with no argument, the beeper will be sounded without affecting the current mode . Example O UTPU T XXX; ":BE EPER " O UTPU T XX X;": BEEP ON" Query :B[...]

  • Pagina 133

    CAPabilit y Query :C AP ab ilit y? The CAPab ility? q uery ret urns the sy s tem lang uage and lower leve l capabili ty sets i mplemente d in the de vice. Tabl e 9-2 list s the capab ility sets i mplemente d in the A gilent 1 670G-se ries logic anal yzer. Returne d Format [: CA Pabi lity ] IE EE 48 8,19 87,S H1,A H1,T 5,L4 ,SR1 ,RL1 ,PP1 ,DC1 ,DT1 [...]

  • Pagina 134

    CARDcage Query :C AR Dc age? The CARDcage? que ry returns 10 inte gers which identify the card setup that is installed in the logic analyz er. The Agilent 1670G -series logi c analyzers always ret urn the same series o f intege rs since t he analyze rs are not expandab le the way an 16500 logic analysis sy stem is . The string returned by the q uer[...]

  • Pagina 135

    CESE (Combin ed Event Status Enab le) Command :C ES E <v al ue > The CESE command sets the Comb ined Event Status Enab le register. This registe r is the enable regist er fo r the CESR register and contains the combi ned status of all o f the MESE (Module Event Status Enab l e) reg isters of the Agil ent 1670 G-serie s lo gic analyzers. Table[...]

  • Pagina 136

    CESR (Combin ed Event Status Register) Query :C ES R? The CESR? q uery ret urns the co ntents of t he Comb ined Event Stat us registe r. This regi ster cont ains the combine d status of all o f the MESRs (Module Event Status Regis ters) of the A gile nt 167 0G-se ries. Tab le 9-4 lis t s the bit values for the CESR registe r. Returne d Format [: CE[...]

  • Pagina 137

    EOI ( End Or Identify) Command :EO I {{ ON |1 }| {O FF |0 }} The EOI command specifies whether or not the last byte of a reply from the instrument is to be s ent with the EOI bus contro l l i ne set true or not. If EOI is turned off, the logic analyzer will no longer be sending IEEE 488.2 compliant responses. Example OUT PU T XX X; ": EO I ON [...]

  • Pagina 138

    LOCKout Command :LO CK ou t {{ ON |1 }| {O FF |0 }} The LOCK out com mand locks out o r restore s front pane l operati on. Wh en this funct ion is on, all contro ls (except the power swi tch) are entirely lock ed out . Example O UTPU T XXX; ":LO CKOU T ON" Query :L OC Ko ut? The LOCK out? que ry returns t he current stat us of the L OCKo [...]

  • Pagina 139

    Tab le 9-5 Me nu Paramet er Values Paramet ers Menu 0,0 System Exte rnal I/O 0,1 System Hard Disk 0,2 Sy stem Flexible Disk 0,3 System Uti l ities 0,4 System Test 1,0 Analyzer Con figuration 1,1 Format 1 1,2 Format 2 1,3 T rig ger 1 1,4 T rig ger 2 1,5 Wavefo rm 1 1,6 Wavefo rm 2 1,7 Listing 1 1,8 Listing 2 1,9 Mixed 1,10 Compare 1 1,11 Compare 2 1[...]

  • Pagina 140

    MESE<N> ( Modu le Event Stat us Enable) Command :ME SE <N > <e na bl e_ va lu e> The Agilent 167 0G-seri es logic analyz ers support t he MESE co mmand for compatib i l ity with other logic analyzer program s but do not tak e any action when the co mmand is sent. In 165 00 pro grams, the MESE comm and sets the Module Eve nt Status[...]

  • Pagina 141

    Tab le 9-6 A gilent 167 0G-Seri es L ogic A nal yzer Ma i nframe (Inte rmodule) Modul e Event Status Enable Regist er B it Po s itio n B it We ig ht E n ab les 7 12 8 not us ed 6 84 not us ed 5 32 not us ed 4 16 not us ed 3 8 not used 2 4 not used 1 2 RNT - Inter module R un Until Satis fied 0 1 MC - I ntermo dule Meas urement Complete Tab le 9-7 A[...]

  • Pagina 142

    MESR<N> (Module Event Status Register) Query :M ES R< N>? The MESR? q uery ret urns the co ntents of t he Module E vent Stat us register. The <N > index specifies t he m odule. F or the Agilent 1670G- series, t he <N> index 0 or 1 refers t o system or l ogic analyze r respective ly. Refer to ta ble 9-8 for information abo ut[...]

  • Pagina 143

    Tab le 9-8 A gilent 167 0G-Seri es L ogic A nal yzer Sy s tem Modul e Even t Statu s Regist er (<N>= 0 ) B it B it We ight B it Nam e Co nd it io n 7 128 not us ed 6 64 not us ed 5 32 not us ed 4 16 not us ed 3 8 not us ed 2 4 not us ed 1 2 RNT 0 = Run unt il not satisf i e d 1 = Run unt il sat i sf ied 0 1 MC 0 = Meas u r ement not sa tisfie[...]

  • Pagina 144

    RMODe Command :RM OD e {S IN Gl e| RE Pe ti ti ve } The RMOD e command s pecifies t he run mode for t he logic analyz er. After s pecify ing the ru n mode, use th e STARt command to start the acqu isition. Example O UTPU T XXX; ":RM ODE SI NGLE " Query :R MO De ? The query returns the current s etting. Returne d Format [ :R MO De ] {S IN [...]

  • Pagina 145

    <hour> integer from 0 to 23 <minute> integer from 0 to 59 <second> integer from 0 to 59 Example This e xample s ets the real-tim e clock for 1 January 1 992, 20:00:0 0 (8 P M). O UT PU T XX X; ": RT C 1, 1, 19 92 ,2 0, 0, 0" Query :R TC ? The RTC? q uery returns the real-t ime clo ck sett ing. Returne d Format [ :R TC ] [...]

  • Pagina 146

    The command parser in th e Agilent 1 6 70 G-series logic ana lyzer is des igned to accept p rograms written f or the 1 6500 log ic analys is s y st em with an 1 6550 A logic analy zer module; howev er, if the par ameters 2 through 10 ar e sent , an Agilent 167 0G-series logic analyzer will take no act ion. Example O UTPU T XX X;": SELE CT 0 &q[...]

  • Pagina 147

    SET Color Command :S ET Co lo r {< co lo r> ,< hu e> ,< sa t> ,< lu m> |D EF au lt } The SETColor comm and is used t o change a grayscale shade on the logic analyzer screen, or t o return to the default screen colors. The colors on a remote display are not affected. Four param e ters are sent with the command t o change a co[...]

  • Pagina 148

    ST A Rt Command :S TA Rt The STARt com mand s tarts the lo gic analyz er running in t he specifie d run mode ( see RMO De). The STARt command is an ove rlapped co mmand. An o v erlapp ed command is a command th at allows execut ion of s ubsequent commands while t he device operatio n s initia ted by the overlapped c ommand are st ill in progres s. [...]

  • Pagina 149

    XWINdow Command :X WI Nd ow { OF F|0} : XW IN do w {O N| 1} [, <d is pl ay n am e> ] The XWIN dow command ope ns or clo ses a window on an X Window dis play server, t hat is, a netwo rked workst ation o r personal comput er with X Wi ndow software. The XWINdo w ON comm and opens a window. If no display name is specifi ed, the di splay name al[...]

  • Pagina 150

    9– 24[...]

  • Pagina 151

    10 Mod ule Level C ommands[...]

  • Pagina 152

    Introd uction The lo gic an alyzer modu le-level co mmands acces s th e glob al function s of th e Agile nt 1 670G-se ries lo gic analyzer . These co mmands are: • ARMLin e • MACHi ne • WLISt • DBLock 10 –2[...]

  • Pagina 153

    Modul e L evel Sy ntax Di ag ram Figu re 10 -1 Modu le L evel Commands 10 –3[...]

  • Pagina 154

    Tab le 10 -1 Modul e Lev el Paramet er Value s Paramet er Type of Para meter or Command Ref erence machine_num MA CHin e{1| 2} arm_par m arm parame t e rs see c hapter 13 assign_p arm assignmen t parame ters see chapt er 13 level_p arm level par ameter s see c hapter 13 name_par m name pa ramete rs see c hapter 13 rename_p arm rename par ameters se[...]

  • Pagina 155

    ARMLin e Command :AR ML in e MA CH in e{ 1| 2} The ARMLine command selects which machi ne (analyz er) generat es the arm out signal. Thi s command is only valid when two analyzers are on. H owever, the q uery is always valid. Example OUT PU T XX X; ": AR ML IN E MA CH IN E1 " Query :A RM Li ne? Returne d Format [: AR MLin e]MA CHin e<N[...]

  • Pagina 156

    Query :D BL oc k? The DBLo c k query ret urns the current data b lock format sele ction. Returne d Format [: DB Lock ]{PA CKed | U NPac ked} <NL> Example O UTPU T XXX; ":DB Lock ?" MACHine Command :M AC Hi ne{1 |2 } The MACHine command select s which of the t wo machines ( analyzers) th e subseq uent commands or queri es will refer [...]

  • Pagina 157

    11 SYSTem Su bsyst em[...]

  • Pagina 158

    Introd uction SYSTem su b sys tem command s contro l function s that ar e common to the entire Agi lent 1670G-seri es logic analyzer, incl uding formatting query respons es and enabli ng read ing and writing to the advis ory line of the in str ument. T he command parser in the Agi lent 1670G -seri es log ic analyzer is des igned to accept prog rams[...]

  • Pagina 159

    Figu re 11 -1 SYSTem Subsy s tem Commands S yn tax Dia gr am SYSTem Sub system 11 –3[...]

  • Pagina 160

    Tab le 11 -1 SYSTem Parameter Va l ues Par ameter Val ues block_da t a Dat a in IEEE 4 88.2 format . strin g A str ing of u p to 68 alph anume ric characte rs. pathn ame A str ing of up to 1 0 alph anumeric cha racters for LIF in t he fol l o wing fo rm: NNNNNNNNNN or A st ring of u p to 64 alphanume ric cha racters f or DOS in one o f the f ollow [...]

  • Pagina 161

    DATA Command :S YS Te m:DA TA <bl oc k_ data > The DATA co mmand allo ws you t o send and re ceive acquired dat a to and from a co ntroller in blo ck form. This he lps saving b lock data fo r: • Reloading to the logic analyzer • Proces sing data later in the logic analyz er • Proces sing data in the control ler The format and length of [...]

  • Pagina 162

    Query :S YS Te m:DA TA ? The SYSTem:DA TA query re turns the block data. The dat a sent b y the SYSTem:DATA? query reflects the config uration of the machines when the last run was performed. Any changes made since then throug h eit her front-panel operatio ns or programmi ng commands do not affect the stored configurati on. Returne d Format [ :S Y[...]

  • Pagina 163

    ERR or Query :SY ST em :E RR or ? [N UM er ic |S TR in g] The ERRor q uery returns the oldest error from the erro r queue. The o ptional parameter de termines whethe r the error st ring should be returned alo ng with the erro r number. If no parameter is rece ived, or if the parameter is NUMeri c, then only the error num ber is returne d. If the va[...]

  • Pagina 164

    HEADer Command :SY ST em :H EA De r {{ ON |1 }| {O FF |0 }} The HEAD er comm and tells the instrument whether or not to o utput a header for query responses . When HEADer is set to ON , query respo nses will include the command header. Example O UTPU T XXX; ":SY STEM :HEA DER ON " Query :S YS Te m:HE AD er? The HEADer? query returns the c[...]

  • Pagina 165

    LONGform Command :S YS Te m:LO NG form { {O N|1} |{ OFF| 0} } The LON Gform co mmand sets t he longfo rm variable , which tel ls th e instrument how to format que ry response s. If the L ON Gform co mmand is set to OF F, command heade rs and al pha arguments are sent fro m the i nstrument in the ab breviated fo rm. If t he the LON Gform co mmand is[...]

  • Pagina 166

    PRINt Command :SYSTem:PRINt ALL[,DISK, <pathname>[,<msus>]] :SYSTem:PRINt PARTial,<start>,<end> [,DISK, <pathname>[,<msus>]] :SYSTem:PRINt SCReen[,DISK, <pathname> [,<msus>], {BTIF|CTIF|PCX|EPS}] The PR INt com mand initiate s a prin t of the sc reen or l isting b uffer over the curr ent PRI NTER com [...]

  • Pagina 167

    The print q uery shoul d NOT b e sent with any o ther command o r query o n the same com mand line. The print query never ret urns a header. Also , s ince response data from a print query may be sent directly to a printer without modificat ion, the data is no t returne d in b lock mode. Example O UTPU T 70 7;": SYST EM:P RINT ? SC REEN " [...]

  • Pagina 168

    Query :S YS te m:SE Tu p? The SYSt em:SETup? q uery ret urns a block of data that co ntains t he current configurati on to the controll er. Returne d Format [: SY St em:S ETup ] <b lock _dat a><N L> Example See "Transferring the lo gic analyz er configurat ion" in chapt er 28, "Prog ramming Ex amples" fo r an exam pl[...]

  • Pagina 169

    12 MMEMory Subsystem[...]

  • Pagina 170

    Introd uction The M MEMory (mass memory) sub system co mmands provid e access to th e dis k drives . T he Agi lent 167 0G-seri es logic anal yzers support both LIF (Logical Information Format) and DOS (Disk Oper ating System) formats . The A gilent 1 670G-se ries lo gic analyzer s have two disk dri ves, a h ard disk drive and a f l exible d i sk d [...]

  • Pagina 171

    Figu re 12 -1 MMEMo ry S ubsystem Command s Syntax Diagr am MMEM ory Sub system 12 –3[...]

  • Pagina 172

    Figu re 1 2-1 (Con t inued ) MME Mory S ubsyste m C ommands Synt ax Di agram ( continue d) MMEM o ry Subs ystem 12 –4[...]

  • Pagina 173

    Figu re 1 2-1 (Con t inued ) MME Mory S ubsyste m C ommands Synt ax Di agram ( continue d) MMEM ory Sub system 12 –5[...]

  • Pagina 174

    Tab le 12 -1 MMEM ory Paramete r Values Par ameter Val ues auto_ file A st ring of u p to 10 alphanume ric charac ters for LI F in the following form: "NNNNNNNNNN" or A st ring of u p to 12 alphanume ric cha racters f or DOS in the followi ng form: "NNNNNNNN.NNN" msus M ass St o rage Unit specifier. IN Te rn al 0 for the hard di[...]

  • Pagina 175

    AUTo load Command :M ME Mo ry :A UT ol oa d {{ OF F| 0} |{ <a ut o_ fi le >} }[ ,< ms us >] The AUToload command contro l s the autoload feature which designat es a set of config uration files t o be lo aded automat icall y the nex t time t he i nstrument is turned on. The O FF parameter (or 0) disables the autoload feature. A string pa[...]

  • Pagina 176

    <auto_file> A string of up to 10 alphanumeric characters for LIF in the following form: NNNNNNNNNN or A s tring of up to 12 alphanumeric characters for D O S in the followi ng form: NNNNNNNN.NNN Example O UTPU T XXX; ":MM EMOR Y:AU TOLO AD ?" CATalog Query :M ME Mo ry :C AT al og ? [[ Al l] [< ms us >] ] The CATalog q uery ret[...]

  • Pagina 177

    Returne d Format [: MM EMor y:CA Talo g] < bloc k_da ta> <block_data> ASCII block cont aining < filename> <file_type> <file_description> Example This e xample i s fo r sending t he CATALOG? ALL q uery: O UT PU T 70 7; ": MM EM OR Y: CA TA LO G? A LL " This exam ple is for sendi ng the CATALOG? query witho ut [...]

  • Pagina 178

    COPY Command :M ME Mo ry :C OP Y <n am e> [, <m su s> ], <n ew _n am e> [, <m su s> ] The COPY command copies one file to a new file or an entire disk’s conte nts to ano ther disk . The two <name> parameters are t he filenames. The first pair of parameters specifies the source file. The second pair s pecifies the des[...]

  • Pagina 179

    DOWNload Command :M ME Mo ry :D OW Nl oa d <n am e> [, <m su s> ], <d es cr ip ti on >, <t ype> ,< bl ock_ da ta> The DOWNload command downlo ads a file to the mass storage device. The <name> parameter specifies the fi lename , t he <description> parameter specifies the file descript or, and the <block_d[...]

  • Pagina 180

    Tab le 12 -2 File Ty pes Fi l e Fi l e T y pe 1660E/ ES and 16 70G ROM Soft ware -155 99 1660E/ ES and 16 70G Sys tem Sof tware -15598 1660E/ ES and 16 70G Sys tem Ext ernal I/O -1 5605 1660 E/ES Logic Ana l yze r Soft ware -15597 1660E/ ES Logic Ana lyzer Con figuration -16096 1670G Lo gic Analyzer Soft ware -15595 1670G Lo gic Analyzer Conf igura[...]

  • Pagina 181

    INI Tialize Command :M ME Mo ry :I NI Ti al iz e [{ LI F| DO S} [, <m su s> ]] The INITialize comm and formats the disk in eithe r LIF (Lo gical Informatio n Format ) or DOS ( Disk O perating Sy stem) . If no fo rmat is specifi ed, then th e initiali z e command will format the disk in the LIF format . <msus> Mass Sto rage Unit specifie[...]

  • Pagina 182

    LOAD[:CONFig] Command :MM EM or y: LO AD [: CO Nf ig ] <n am e> [, <m su s> ][ ,< mo du le >] The LOAD command loads a configuration file from the disk into t he logi c analyzer, s o ftware opt ions, or the system . The <name> parameter s pecifies the file name from t he disk. The o ptional <module> parameter s pecifie[...]

  • Pagina 183

    LOAD:IASSembler Command :M ME Mo ry:L OA D:IA SS em bler < IA_n am e> [,<m su s>], {1 |2 } [, <mod ul e> ] This variatio n of the LOAD co mmand allows inverse assemb ler files to be loaded into a module that perform s state analysis. The <IA_name> parameter s pecifies the inve rse assemb le r filename fro m the de sired <[...]

  • Pagina 184

    MKDir (Make Directory) Command :M ME Mo ry:M KD ir < di re ctor y_ name > [, <msu s> ] The MKDir command allows you to make a directory on the hard drive or a DOS disk in the fl exib le drive. D ire ctories cannot b e made on LIF disk s. MKDir will make a directo ry under the present working directory on the current drive if the o ption[...]

  • Pagina 185

    MSI (Mas s Storage Is) Command :M ME Mo ry:M SI [<m su s> ] The MSI command sele cts a default mass storag e device. <msus> Mass Sto rage Unit specifier. INTernal0 for the hard disk dri ve and INTernal1 fo r the flex i ble disk drive. Example OUT PU T XX X; ": MM EM OR Y: MS I" OU TP UT XXX ;":M MEM: MSI INTE RNAL 0"[...]

  • Pagina 186

    PA CK Command :M ME Mo ry :P AC K [< ms us >] The PACK command pack s the files o n a LIF disk. If a DOS di sk is in the drive when t he PACK command is sent, no action is take n. <msus> Mass Sto rage Unit specifier. INTernal0 for the hard disk dri ve and INTernal1 for the flexible disk drive. Example O UTPU T XXX; ":MM EMOR Y:PA C[...]

  • Pagina 187

    PWD (Present Working Dir ecto ry) Query :M ME Mo ry :P WD ? [< ms us >] The PWD query returns the present working direct ory for the specifie d drive. If the <msus> o ption i s not s ent, the prese nt worki ng directo ry will be returned fo r the current drive. Returne d Format [ :M ME Mo ry :P WD ] <d ir ec to ry >, <m su s>[...]

  • Pagina 188

    <msus> Mass Sto rage Unit specifier. INTernal0 for the hard disk dri ve and INTernal1 for the flexible disk drive. <new name> A s tring of up to 10 al phanumeric characters for LIF in the following form: NNNNNNNNNN or A s tring of up to 12 alphanumeric characters for D O S in the followi ng form: NNNNNNNN.NNN Example OUTP UT X XX ;"[...]

  • Pagina 189

    Example OUT PU T XX X; ": MM EM :S TO R ’D EF AU LT S’ ,’ SE TU PS F OR A LL M OD UL ES ’" O UT PU T XX X; ": MM EM OR Y: ST OR E: CO NF IG ’S TA TE DA TA ’, IN TE RN AL 0, ’A NA LY ZER 1 CO NFIG ’,1" The appro priate module de signator " _X" is adde d to all file s when t h ey are store d. "X"[...]

  • Pagina 190

    Example 1 0 DI M Bl ock$ [320 00] !a ll oc ate enou gh m emor y fo r bl ock data 2 0 DI M Sp ec ifie r$[2 ] 30 O UT PU T XX X; ": EO I ON " 40 O UT PU T XX X; ": SY ST EM H EA D OF F" 50 O UT PU T XX X; ": MM EM OR Y: UP LO AD ? ’F IL E1 ’" ! se nd u pl oa d qu er y 6 0 EN TER XXX USIN G "# ,2A" ;Spe cifi[...]

  • Pagina 191

    Pa rt 3 Logic A nalyzer C ommands[...]

  • Pagina 192

    [...]

  • Pagina 193

    13 MAC Hine Sub system[...]

  • Pagina 194

    Introd uction The M ACHine subsys tem contains th e commands that contro l the machine level of operatio n o f the logic analyzer. The function s of five of these commands resi de in the State/Timin g Config uration menu. These command s are • AR M • AS Si gn • LEVelarm • NAM E • TY PE Eve n thou gh the functi ons of the followin g comman[...]

  • Pagina 195

    MACHi ne Subs y ste m S yntax D iagram Figu re 13 -1 MACH ine Subsys tem 13 –3[...]

  • Pagina 196

    Tab le 13 -1 MACH ine Subs ystem Pa rameter Va l ues Par ameter Val ue arm_sou rc e { RU N | IN Te rm od ul e | MA CH in e {1 |2 }} pod_lis t {N ON E | <p od_n um>[ , <pod _num >].. .} pod_n um integer from 1 t o 8 arm_le vel i nteger from 1 t o 11 repres enting se quence leve l machine_name string of up to 1 0 alpha numeric character s[...]

  • Pagina 197

    ARM Command :M AC Hi ne {1 |2 }: AR M <a rm _s ou rc e> The ARM command specifies the arming source of the specified analyze r (machine) . The RU N opt ion disables the arm s ource. For example, if you do not want to use either t he interm odule b us or the other m achine to arm the current machine , you spe cify the RU N opt ion. <arm_sou[...]

  • Pagina 198

    ASSign Command :M AC Hi ne{1 |2 }:AS Si gn <po d_ list > The ASSign co mmand assigns pods to a part icular analyz er (machi ne). The ASSign command wil l assign two pods for each pod number you specify because pods must be assigned to analyzers in pairs. NO NE clears all pods from the specified analyz er (machine ) and places the m in the &qu[...]

  • Pagina 199

    LEVelarm Command :M AC Hi ne{1 |2 }:LE Ve la rm < ar m_le ve l> The LEVelarm command allo ws you to specify the sequence level for a specified machine that will be armed by the Intermodul e Bus or the other machine. This command is onl y valid if the s pecified machine is on and the arming so urce is not set to RUN wit h the ARM command. <[...]

  • Pagina 200

    NAME Command :M AC Hi ne{1 |2 }:NA ME < mach in e_na me > The NAME command allows you to assig n a name of up to 10 characters to a particular analy z er ( machine) for eas ier identi fication. <machine_name> string o f up to 10 alphanumeric charact ers Example O UTPU T XXX; ":MA CHIN E1:N AME ’D RA MTES T’" Query :M AC Hi[...]

  • Pagina 201

    <new_text> string o f up to 8 alphanumeric characters <state_terms> {A|B|C|D|E|F|G|I| RANGe1 | RANGe2 | TIMer1 | TIMer2} Example OUT PU T XX X; ": MA CH IN E1 :R EN AM E A, ’D AT A’ " Query :M AC Hi ne {1 |2 }: RE NA ME ? <r es _i d> The REName query returns the current names for specifie d terms assigne d to t he sp[...]

  • Pagina 202

    Query :M AC Hi ne{1 |2 }:RE SO UR CE? The RESource q uery returns t he current resource terms assigned t o the specified anal y zer. Returne d Format [ :M AC Hi ne {1 |2 }: RE SO UR CE ] <r es _i d> [, <r es _i d> ,. .. ]< NL > Example O UTPU T XXX; ":MA CHIN E1:R ESOU RC E?" TY PE Command :M AC Hi ne{1 |2 }:TY PE < a[...]

  • Pagina 203

    14 WLISt Subsystem[...]

  • Pagina 204

    Introd uction The commands in the WLISt (Waveforms/LIStin g) subsystem control the X a nd O marke r placemen t on the waveforms portion of th e mixed mode disp lay. Th e XSTate and OS Tate que ries re turn wh at state s the X and O markers are on. Becaus e the markers can only be placed on the timing wavefor ms, th e que ries return what state (sta[...]

  • Pagina 205

    WLISt Subsyst em Syntax Di a gram Figu re 14 -1 WLI St Subsy stem 14 –3[...]

  • Pagina 206

    Tab le 14 -1 WLISt Subsy stem Paramet er Values Par ameter Val ue delay_va l ue real number between - 2500 s and +250 0 s module_spe c 1 bit_id integer from 0 t o 31 label_na me string of up to 6 alphanu meric charact ers line_num_ mid_scree n integer fr om -1 032192 to +10321 92 time_value real number time_ran ge real nu mber b e tween 10 ns a nd [...]

  • Pagina 207

    DELay Command :W LI St :DEL ay <de la y_ valu e> The DELay command specifies the amount o f time be tween the timing trigger and the horizo ntal cent er o f the the timing waveform displ ay. The allowab le values fo r delay are − 25 00 s to +25 00 s. <delay_value> real number bet ween − 2500 s and +25 00 s Example OUT PU T XX X; &qu[...]

  • Pagina 208

    INS ert Command :W LI St :I NS er t [< mo du le _s pe c> ,] <l ab el _n am e> [, {<bi t_ id >|OV ER lay| AL L} ] The INSert command inserts waveforms in the timing waveform display. T he waveforms are added from top to bot tom up to a maximum of 96 waveforms. Once 9 6 waveforms are present, each time you ins ert another wavefo rm,[...]

  • Pagina 209

    LI N E Command :W LI St :L IN E <l in e_ nu m_ mi d_ sc re en > The LINE comm and allows you to scrol l the timing analyzer list ing vertically. The command s pecifies the st ate line numb er relati ve to the t rigger t hat the analyzer highli ghts at the center of the screen. <line_num_mid_ screen> integer from -10 3219 2 to +10 32192 [...]

  • Pagina 210

    OT IMe Command :W LI St :OTI Me <ti me _v alue > The OTIMe co mmand positions t he O Marker o n the ti ming waveform s in the mixed mode displ ay. If the data is no t valid, the command performs no action. <time_value> real number Example O UTPU T XXX; ":WL IST: OTIM E 40.0 E − 6" Query :W LI St :OTI Me ? The OTIMe q uery re[...]

  • Pagina 211

    Query :W LI St :RAN Ge ? The RANG e query returns the current full- screen time. Returne d Format [ :W LI St :R AN Ge ] <t im e_ va lu e> <N L> Example OUT PU T XX X; ": WL IS T: RA NG E? " REMove Command :W LI St :REM ov e The REMove co mmand deletes all waveforms from the displ ay. Example OUT PU T XX X; ": WL IS T: RE [...]

  • Pagina 212

    XST ate Query :W LI St :XST at e? The XSTate query returns the state where the X Marker is positioned. If data is not valid, the query returns 21 474836 47. Returne d Format [: WL IS t:XS Tate ] <s tate _num ><NL > <state_num> integer Example O UTPU T XXX; ":WL IST: XSTA TE?" XTI Me Command :W LI St :XTI Me <ti me _v [...]

  • Pagina 213

    15 SFORmat Subsystem[...]

  • Pagina 214

    Introd uction The S FORmat sub sy s tem contain s the co m man d s available f or th e State Format men u in the Agi lent 1670G-seri es logic analyzer. The se command s are: • CLOCk • LAB el • MA ST er • MOPQual • MQU al • RE Mo ve • SETHol d • SLA Ve • SOPQual • SQU al • THReshold 15 –2[...]

  • Pagina 215

    SFORmat Subsystem Sy ntax Di agram Figu re 15 -1 SFORma t Subsyste m 15 –3[...]

  • Pagina 216

    Figu re 1 5-1 (conti nued) SFORmat Subsy stem Sy n tax Di agram ( conti nued) SFORma t Subsyste m 15 –4[...]

  • Pagina 217

    Tab le 15 -1 SFORma t Subsyste m Parameter Values Par ameter Val ue <N> an integer from 1 t o 8 label_na me string of up to 6 alphanu meric chara cters polarity {P OSit ive | NE Gati ve} clock_bit s format (in teger from 0 t o 6553 5) for a clock (clocks are a ssigned in d ecr eas in g ord er) upper_b i ts fo rmat ( inte ger fr om 0 to 65 5 3[...]

  • Pagina 218

    SFORmat Selector :M ACHi ne {1|2 }: SF ORma t The SFO Rmat (St ate F ormat) selecto r is used as a part o f a compound header to access the settings in the State Fo rmat menu. It always follows the MACHine sele ctor because it selects a branch directly be low the MACHine level in the command tree. Example O UTPU T XX X;": MACH INE2 :SFO RMAT :[...]

  • Pagina 219

    Query :M AC Hi ne{1 |2 }:SF OR ma t:CL OC k<N> ? The CLOCk query returns the current clock ing mode for a given pod. Returne d Format [: MA CHin e{1| 2}:S FORm at:C LOCK <N>] <cl ock_ mode ><NL > Example OU TPUT XXX ; ": MACH INE1 :SFO RMAT :CLO CK2? " LABel Command :M AC Hi ne{1 |2 }:SF OR ma t:LA Be l <n ame&g[...]

  • Pagina 220

    <name> string o f up to 6 alphanumeric characters <polarity> {POSitive | NEGative} <clock_bits> format (int eger from 0 t o 63) for a clock (clo cks are assigne d in decreasing order) <upper_bits> format ( intege r from 0 to 65535) for a po d (pods are assigned in de creasing order) <lower_bits> format ( intege r from [...]

  • Pagina 221

    MASTer Command :M AC Hi ne{1 |2 }:SF OR ma t:MA ST er <c lock _i d> ,<cl oc k_sp ec > The MASTer clock command al lows you to specify a mast er clock for a given machine. The master clock is us ed in all clocking modes (Master, Slave, and Demult iplexe d). Each command deals wit h only one clo ck ( J ,K,L, M); therefore , a comple te cl[...]

  • Pagina 222

    MOPQual Command :M AC Hi ne{1 |2 }:SF OR ma t:MO PQ ual <c lock _p ai r_id >, <qua l_ op erat io n> The MOP Qual (master o peration q ualifier) command allows you to specify either the AND or the OR o peration bet ween master clock qual ifier pair 1 and 2, or betwee n master cl ock qualifie r pair 3 and 4 . Fo r exampl e, y ou can speci[...]

  • Pagina 223

    MQUal Command :M AC Hi ne{1 |2 }:SF OR ma t:MQ Ua l <q ual_ nu m> ,<cl oc k_id >, <q ual_ le vel> The MQUal (mast er qualifi er) com mand allows you to speci fy t he level qualifie r for the master clock. <qual_num> {1|2|3|4} <clock_id> {J|K|L|M} <qual_level> {OFF|LOW|HIGH} Example OUT PU T XX X; ": MA CH IN[...]

  • Pagina 224

    REMove Command :M AC Hi ne{1 |2 }:SF OR ma t:RE Mo ve { <n am e>|A LL } The REMove co mmand allows yo u to de lete all labels or any one label for a given machine . <name> string o f up to 6 alphanumeric characters Example O UTPU T XXX; ":MA CHIN E2:S FORM AT :REM OVE ’A ’" O UT PU T XX X;": MACH INE2 :SFO RMAT :REM O[...]

  • Pagina 225

    Tab le 15 -2 Setup an d hold v a lues For one cl ock and on e edge For one cloc k and both edges Multipl e Clock s 0 = 3.5/0.0 ns 0 = 4.0/0.0 ns 0 = 4.5/0.0 ns 1 = 3.0/0.5 ns 1 = 3.5/0.5 ns 1 = 4.0/0.5 ns 2 = 2.5/1.0 ns 2 = 3.0/1.0 ns 2 = 3.5/1.0 ns 3 = 2.0/1.5 ns 3 = 2.5/1.5 ns 3 = 3.0/1.5 ns 4 = 1.5/2.0 ns 4 = 2.0/2.0 ns 4 = 2.5/2.0 ns 5 = 1.0/2.[...]

  • Pagina 226

    SL AV e Command :M AC Hi ne{1 |2 }:SF OR ma t:SL AV e <c lock _i d> ,<cl oc k_sp ec > The SLA Ve clock co mmand allo ws you t o specify a slave clock fo r a given machine. The slave clock is onl y used in t he Slave and De multi plexe d clocking modes. Each command deals with only one clock (J ,K,L,M) ; therefore , a comple te clock spe[...]

  • Pagina 227

    SOP Qual Command :M AC Hi ne{1 |2 }:SF OR ma t:SO PQ ual <c lock _p ai r_id >, <qua l_ op erat io n> The SOPQual (slave operat i on qualifie r) command allows you to specify either the A N D or the OR operati on bet ween slave clock qualifi er pair 1 and 2, or b e tween slave clock quali fier pair 3 and 4. For example you can specify a [...]

  • Pagina 228

    SQUal Command :M AC Hi ne{1 |2 }:SF OR ma t:SQ Ua l <q ual_ nu m> ,<cl oc k_id >, <q ual_ le vel> The SQUal (slave qual ifier) command allo ws you to specify the level qualifie r for the slave clock. <qual_num> {1|2|3|4} <clock_id> {J|K|L|M} <qual_level> {OFF|LOW|HIGH} Example O UTPU T XX X;": MACH INE2 :SFO[...]

  • Pagina 229

    <N> pod number (an intege r from 1 to 8 ) <value> voltage (real num b er) − 6.00 to +6 .00 TTL default value of +1.6 V ECL default value of − 1 .3 V Example OUT PU T XX X; ": MA CH IN E1 :S FO RM AT :T HR ES HO LD 1 4. 0" Query :M AC Hi ne{1 |2 }:SF OR ma t:TH Re shol d< N> ? The THResho ld query returns the current [...]

  • Pagina 230

    15 –1 8[...]

  • Pagina 231

    16 STR igger (STR ace) Subsystem[...]

  • Pagina 232

    Introd uction The S TRigger subs ystem con tains th e commands availab le for the State Trigger menu in the A gilent 1 670G-se ries lo gic an alyzer. Th e State Trigger subsys tem will also accep t th e STRace selector as used in pr eviou s 165 00-se ries lo gic analyzer modules to elimin ate the n eed to r ewrite pr ograms con taining STR ace as t[...]

  • Pagina 233

    STR igger Subs yste m S ynt ax D iagra m Figu re 16 -1 STRigger ( STRace) Subsys tem 16 –3[...]

  • Pagina 234

    Figu re 1 6-1 (conti nued) STR igger Subs yste m S ynt ax D iagra m ( cont i n ued) STRigger ( STRace) Subsys tem 16 –4[...]

  • Pagina 235

    Figu re 1 6-1 (conti nued) STR igger Subs yste m S ynt ax D iagra m ( cont i n ued) STRigger ( STRace) Subsys tem 16 –5[...]

  • Pagina 236

    Tab le 16 -1 STRigger Subsy s tem Par ameter Val ues Par ameter Val ue branch_ qualifie r <q ua li fi er > to_lev_ num integer from 1 t o last level proceed _qualifier <q uali fier > occurr ence number f rom 1 t o 104 8575 label_na me s tring of up t o 6 alp hanumeric chara cters star t_pat tern "{ #B {0 |1} . . . | #Q {0 |1 |2|3 |[...]

  • Pagina 237

    Qualifier The qualifi er for the state trig ger subs ystem can be te rms A - J , Timer 1 and 2, and Range 1 and 2. In addition, q ualifiers can be t he NO T boolean funct ion of term s, time rs, and ranges. The q ualifier can also b e an expre ssion or combi nation o f ex pressions as shown b e l ow and figure 16-2, "Co mplex Qualifie r,"[...]

  • Pagina 238

    <term3a> { A | NOTA } <term3b> { B | NOTB } <term3c> { C | NOTC } <term3d> { D | NOTD } <term3e> { E | NOTE } <term3f> { F | NOTF } <term3g> { G | NOTG } <term3h> { H | NOTH } <term3i> { I | NOTI } <term3j> { J | NOTJ } <range3a> { IN _R ANGE 1 | OUT_ RANG E1 } <range3b> { IN _[...]

  • Pagina 239

    STRigger (S TRace) ( State Trigger) Selector :M ACHi ne {1|2 }: ST Rigg er The STRigger se lector is use d as a part of a co mpound header to access the settings fo und in the Stat e Trace menu. It al ways follows t he MACHi ne selecto r because it sel ects a branch directl y belo w the MACHine level in the command t ree. Example OUT PU T XX X; &qu[...]

  • Pagina 240

    BRA Nch Command :M AC Hi ne{1 |2 }:ST Ri gg er:B RA Nch< N> <b ranc h_ qu alif ie r>,< to _l evel _n umbe r> The BRANch co mmand defines the branch q ualifier for a given seq uence level. When thi s branch q ualifi er is mat ched, i t will caus e the t rigge r sequence to jump to the specified seq uence level. The terms used by th[...]

  • Pagina 241

    Example OUT PU T XX X; ": MA CH IN E1 :S TR IG GE R: BR AN CH 1 ’A NY ST AT E’ , 3" O UT PU T XX X; ": MA CH IN E2 :S TR IG GE R: BR AN CH 2 ’A ’, 7 " OUTPUT XXX;":MA CHIN E1:S TRIG GER: BRANCH3 ’((A OR B) O R NO TG)’, 1" Query :M AC Hi ne{1 |2 }:ST Ri gg er:B RA Nch< N> ? The BRANch q uery returns t [...]

  • Pagina 242

    Example The fo l lowing e xample wo uld be used to specify thi s complex qualifier. O UT PU T XX X; ": MA CH IN E1 :S TR IG GE R: BR AN CH 1 ’( (A O R B) A ND ( F OR G) )’ , 2" Terms A through E, RANGE 1, and TIMER 1 must be grouped t ogethe r and terms F thro ugh J, RANGE 2, and TIMER 2 must b e groupe d together. In the firs t level[...]

  • Pagina 243

    FIND Command :M AC Hi ne{1 |2 }:ST Ri gg er:F IN D<N> <p roce ed _q uali fi er>, <o cc urre nc e> The FIN D comm and define s the pro ceed quali fier for a g iven sequence l evel. The qualifier tells the s t ate analyzer when to proceed to the nex t seq uence level. When thi s proceed q ualifier i s matched t he specifie d number [...]

  • Pagina 244

    Query :M AC Hi ne{1 |2 }:ST Ri gg er:F IN D<N> ? The FIND quer y returns the current proceed qual ifier specification for a given seq uence leve l. Returne d Format [: MA CHin e{1| 2}:S TRig ger: FIND <N>] <p ro ce ed_q uali fier >,<o ccur renc e><N L> Example O UTPU T XXX; ":MA CHIN E1:S TRIG GE R:FI ND4? " [...]

  • Pagina 245

    RANGe Command :M ACHi ne {1|2 }: ST Rigg er :R ANGe <N > <l abel _n am e>,< st art_ pa tt ern> ,< stop _p at tern > The RANG e command al lows you to specify a range recogni zer term fo r the specified machine. Since a range can only be defined acro ss one l abel and, since a lab el must contain 32 or fewer bits, the value o[...]

  • Pagina 246

    Query :M AC Hi ne{1 |2 }:ST Ri gg er:R AN Ge<N >? The RANGe query returns the range recogniz er end point specificat ions for the range. Returne d Format [: MA CHin e{1| 2}:S TRig ger: RANG e<N> ] <l ab el _nam e>,< star t_pa tter n>, <s to p_ pa tt er n> <N L> Example O UTPU T XXX; ":MA CHIN E1:S TRIG GE R:[...]

  • Pagina 247

    Query :M AC Hi ne{1 |2 }:ST Ri gg er:S EQ uenc e? The SEQuence query returns the current sequence specifi cation. Returne d Format [: MA CH ine{ 1|2} :S TRig ger: SEQu ence ] <num ber_ of_l evel s>, <l ev el _o f_ tr ig ge r> <N L> Example OUT PU T XX X; ": MA CH IN E1 :S TR IG GE R: SE QU EN CE ?" STORe Command :M AC Hi[...]

  • Pagina 248

    Query :M AC Hi ne{1 |2 }:ST Ri gg er:S TO Re<N >? The STORe q uery returns the current st ore qual ifier specifi cation for a gi ven sequence level <N>. Returne d Format [: MA CH ine{ 1|2} :S TRig ger: STOR e<N> ] <sto re_q uali fier ><NL > Example O UTPU T XXX; ":MA CHIN E1:S TRIG GE R:ST ORE4 ?" TA G Comman[...]

  • Pagina 249

    Query :M AC Hi ne {1 |2 } :S TR ig ge r: TA G? The TAG query returns the current count tag specification. Returne d Format [: MA CHin e{1| 2}:S TRig ger: TAG] {O FF |T IME| <sta te_t ag_q uali fier >}<N L> Example OUT PU T XX X; ": MA CH IN E1 :S TR IG GE R: TA G? " TAKenb ranch Command :M AC Hi ne{1 |2 }:ST Ri gg er:T AK enbr[...]

  • Pagina 250

    TCONtrol Command :M AC Hi ne{1 |2 }:ST Ri gg er:T CO Ntro l< N> <ti me r_nu m> , {O FF|S TA Rt |PAU Se |CON Ti nu e} The TCONtrol (tim er contro l) command allows you to turn off, start, pause, or continue the time r for the specified level. The time value of the timer is defined b y the TIMER co mmand. There are two t imers and t hey a[...]

  • Pagina 251

    TERM Command :M AC Hi ne{1 |2 }:ST Ri gg er:T ER M <t erm_ id >, <lab el _nam e> ,< patt er n> The TERM command allows you t o specify a pat tern recog nizer t erm in the specified machine. Each command deals with only one label in the given term; therefo re, a complete specificat ion could require several commands. Since a lab el[...]

  • Pagina 252

    Query :M AC Hi ne{1 |2 }:ST Ri gg er:T ER M? <t erm_ id >, <lab el _nam e> The TERM query returns the spe cification of t he term specified b y term identificat i on and lab el name. Returne d Format [: MA CHin e{1| 2}:S TRAc e:TE RM] <t er m_ id>, <lab el_n ame> ,<pa tter n><N L> Example O UTPU T XX X;": MA[...]

  • Pagina 253

    TPOSit ion Command :M AC Hi ne{1 |2 }:ST Ri gg er:T PO Siti on { ST AR t| CE NT er |E ND | PO ST st or e, <p os ts to re >} The TPOSitio n (tri gger position) com mand allows you to set the trigge r at the start, cente r, end or at any position in the trace (post store) . Poststo re is defined as 0 t o 100 perce nt with a poststore of 100 per[...]

  • Pagina 254

    16 –2 4[...]

  • Pagina 255

    17 SLISt Subsystem[...]

  • Pagina 256

    Introd uction The S LISt su bsys tem contains th e commands available for the State Listi ng me nu in the Ag ilent 16 70G-ser ies logic an alyzer. Th ese command s are: • COLumn • RUN Til • CLRPatt ern • TAVerage • DATA • TMAXim um • LIN E • TMINimum • MMODe • VRUN s • OPATtern • XOTag • OSEarch • XOTime • OST a te •[...]

  • Pagina 257

    SLIS t Subsy s tem Sy n tax Di agram Figure 17 -1 SLI St Subsy stem 17 –3[...]

  • Pagina 258

    Figu re 1 7-1 (conti nued) SLIS t Subsy s tem Sy n tax Di agram (con t inu ed) SLISt Subsy stem 17 –4[...]

  • Pagina 259

    Figu re 1 7-1 (conti nued) SLIS t Subsy s tem Sy n tax Di agram (con t inu ed) SLI St Subsy stem 17 –5[...]

  • Pagina 260

    Tab le 17 -1 SLISt Subsy stem Paramet er Values P aramet e r V alue mo d_num 1 (2 throu gh 10 not used) ma ch_nu m {1 |2 } col_num integ e r fro m 1 to 61 line_numbe r integer fro m -103219 2 to +1 032192 label_name a st ring of up t o 6 alph anumeric cha racters b ase {B IN ar y| HE Xa de ci ma l| OC Ta l| DE Ci ma l| TW OS | AS Ci i| SY MB ol |I [...]

  • Pagina 261

    SLISt Selector :M ACHi ne {1|2 }: SL ISt The SLISt se lect or is used as part of a co mpound header to access tho se setti ngs no rmally fo und in t he State Lis ting menu. It always fol lows the MACHine sele ctor because it selects a branch directly be low the MACHine level in the command tree. Example OUT PU T XX X; ": MA CH IN E1 :S LI ST :[...]

  • Pagina 262

    <col_num> integer from 1 to 61 <module_num> 1 (2 t hrough 10 are not used) <label_name> a string of up to 6 alphanumeric characters <base> {BINary|HEXadecimal|OCTal|DECimal|TWOS|ASCii|SYMBol| IASSembler} for labels or {ABSolute|RELative} for tag s Example O UTPU T XXX; ":MA CHIN E1:S LIST :C OLUM N 4,’A ’,HE X"[...]

  • Pagina 263

    DATA Query :M AC Hi ne{1 |2 }:SL IS t: DATA ? <l ine_ nu mb er>, <l abel _n am e> The DATA q uery returns t he value at a speci fied line numbe r for a give n label. The format will be the same as the one shown in the listi ng display. Returne d Format [: MA CHin e{1| 2}:S LISt :DAT A] < line _num ber> ,<la bel_ name >, <[...]

  • Pagina 264

    Query :M AC Hi ne{1 |2 }:SL IS t: LINE ? The LINE quer y returns t he line numbe r for the state currently in the bo x at the cent er of the screen. Returne d Format [: MA CHin e{1| 2}:S LISt :LIN E] < line _num _mid _scr een> <NL> Example O UTPU T XXX; ":MA CHIN E1:S LIST :L INE? " MMODe (Marker M ode) Command :M AC Hi ne {1 [...]

  • Pagina 265

    Query :M AC Hi ne{1 |2 }:SL IS t: MMOD e? The MMOD e query returns the current marker mode s elected. Returne d Format [: MA CH ine{ 1|2} :S LISt :MMO De] <m arke r_mo de>< NL> Example OUT PU T XX X; ": MA CH IN E1 :S LI ST :M MO DE ?" OPATtern Command :M AC Hi ne{1 |2 }:SL IS t: OPAT te rn <l abel _n am e>,< la bel_ [...]

  • Pagina 266

    Query :M AC Hi ne {1 |2 }: SL IS t: OP AT te rn ? <l ab el _n am e> The OP ATtern que ry returns t he patte rn specificati on for a g iven label name . Returne d Format [: MA CHin e{1| 2}:S LISt :OPA Tter n] <l ab el _nam e>,< labe l_pa tter n><N L> Example O UTPU T XX X;": MACH INE1 :SLI ST:O PATT ERN? ’A’ " O[...]

  • Pagina 267

    Query :M AC Hi ne{1 |2 }:SL IS t: OSEa rc h? The OSEarch q uery returns t he search criteria fo r the O mark er. Returne d Format [: MA CH ine{ 1|2} :S LISt :OSE arch ] <occ urre nce> ,<or igin ><NL > Example OUT PU T XX X; ": MA CH IN E1 :S LI ST :O SE AR CH ?" OSTate Query :M AC Hi ne{1 |2 }:SL IS t: OSTa te ? The OSTa[...]

  • Pagina 268

    OT AG Command :M AC Hi ne{1 |2 }:SL IS t: OTAG {< time _v al ue>| <s tate _v al ue>} The OTAG comma nd specifies the tag value on which the O Marker should b e placed. The t ag value is time whe n time taggi ng is on, or stat es when state tagging is on. If the data is not valid tagge d data, no action is performed. <time_value> r[...]

  • Pagina 269

    OVERlay Command :M AC Hi ne{1 |2 }:SL IS t: OVER la y <c ol_n um >, <mod ul e_nu m> ,M ACHi ne {1|2 }, <l abel _n ame> The OVERlay command allows y ou to add ti me-correlat ed labels fro m th e other anal yzer to t he state li sting. <col_num> integer from 1 to 61 <module_num> 1 (2 t hrough 10 not us ed) <label_name[...]

  • Pagina 270

    RUNTil ( Run Un t il) Command :M AC Hi ne{1 |2 }:SL IS t: RUNT il <ru n_ un til_ sp ec> The RUNTil com mand allows you to define a stop condit ion when the trace mode is repetit ive. Specifying OFF causes the analyzer to mak e runs until either STOP is selected from the front panel or the STOP command is is s ued. There are four conditions ba[...]

  • Pagina 271

    TAVerage Query :M AC Hi ne{1 |2 }:SL IS t: TAVe ra ge? The TAVerage query returns the value of the average time be tween the X and O Markers. If the number of valid runs is zero , t he query returns 9.9E37. Valid runs are t hose where the pattern search fo r both the X and O markers was successful , resulti ng in valid de lta-tim e measureme nts. R[...]

  • Pagina 272

    TMINim um Query :M AC Hi ne{1 |2 }:SL IS t: TMIN im um? The TMINimum query returns t he value of the minimum time betwe en the X and O mark ers. If dat a is not valid, t he query returns 9. 9E37. Returne d Format [: MA CHin e{1| 2}:S LISt :TMI Nimu m] < time _val ue>< NL> <time_value> real number Example O UTPU T XXX; ":MA CH[...]

  • Pagina 273

    XOTag Query :M AC Hi ne{1 |2 }:SL IS t: XOTa g? The XOTag query returns the time from the X to the O marker when marker mode is t i me or t he number of states fro m the X to the O marker whe n marker mode is state. If there is no data in the time mode the query returns 9.9E3 7. If t here is no data in t he stat e mode, the query ret urns 214 74836[...]

  • Pagina 274

    XPATtern Command :M AC Hi ne{1 |2 }:SL IS t: XPAT te rn <l abel _n am e>,< la bel_ pa tt ern> The XPATt ern command allows y o u to co nstruct a pattern recogniz er term for the X marker which is then used with the XSEarch criteria when moving the mark er on patt erns. Since this co mmand deals wi th only one label at a time, a complet [...]

  • Pagina 275

    XSEar ch Command :M AC Hi ne {1 |2 }: SL IS t: XS Ea rc h <o cc ur re nc e> ,< or ig in > The XSEarch com mand defines the s earch criteria for the X mark er, which is then used with the associate d XPATte rn reco gnizer specificat ion when moving the markers on patterns. The origin paramet er tells the marke r to begi n a search with t[...]

  • Pagina 276

    Example O UTPU T XXX; ":MA CHIN E1:S LIST :X STAT E?" XTAG Command :M AC Hi ne{1 |2 }:SL IS t: XTAG {< time _v al ue>| <s tate _v al ue>} The XTAG command s pecifies t he tag value on which t he X marke r should b e placed. The t ag value is time whe n time t aggi ng is on or s tates whe n state tagging is on. If the data is n[...]

  • Pagina 277

    18 SWAVefor m Subsystem[...]

  • Pagina 278

    Introd uction The commands in the State Waveform sub system allow you to configur e th e display so that y ou can view state data as waveforms o n up to 96 ch annels iden tified by label n ame an d bit n umber. The 12 command s are an alogous to th eir counter parts in the Ti m i ng Wavefor m subsyste m . Howe ver, in this s ubsystem th e x-ax is i[...]

  • Pagina 279

    SWAVe f orm Sub system Sy ntax Di agram Fig ure 18 -1 SWAVef orm Subsystem 18 –3[...]

  • Pagina 280

    Tab le 18 -1 SWAVefo rm Subsy stem Pa rameter Va lues Par ameter Val ue number_o f_samples integer f rom -1 0321 92 to +103 2192 label_na me string of up to 6 a lphanu meric ch aracters bit_id {O VERl ay |< bi t_ num> |ALL } bit_num integer represent ing a label bit from 0 t o 31 range_v alues integer f rom 10 to 5 000 ( representing (10 × s[...]

  • Pagina 281

    AC Cumulat e Command :M AC Hi ne{1 |2 }:SW AV ef orm: AC Cumu la te {{ ON|1 }| {O FF|0 }} The ACCumulate command allows you to control whether the waveform display gets erased betwee n individual runs or whether sub sequent waveforms are displayed over t he previous wavefo rms. Example OUT PU T XX X; ": MA CH IN E1 :S WA VE FO RM :A CC UM UL A[...]

  • Pagina 282

    Query MA CH in e{1| 2} :SWA Ve fo rm:A CQ uisi ti on ? The ACQusi t ion q uery returns the current acq uisit ion mo de. Returne d Format [M AC Hine {1|2 }:SW AVef orm: ACQu isit ion] {AU TOma tic| MANu al}< NL> Example O UTPU T XXX; ":MA CHIN E2:S WAVE FO RM:A CQUI SITI ON?" CENTer Command :M AC Hi ne{1 |2 }:SW AV ef orm: CE NTer &l[...]

  • Pagina 283

    CLRStat Command :M AC Hi ne{1 |2 }:SW AV ef orm: CL RSta t The CLRStat command allows you to clear the waveform stat istics witho ut having to s t op and restart the acquis i tion. Example OUT PU T XX X; ": MA CH IN E1 :S WA VE FO RM :C LR ST AT " DELay Command :M AC Hi ne {1 |2 }: SW AV ef or m: DE La y <n um be r_ of _s am pl es >[...]

  • Pagina 284

    INS ert Command MA CH in e{ 1| 2} :S WA Ve fo rm :I NS er t <l ab el _n am e> , <b it_i d> The INSert command adds waveform s to the s tate wavefo rm display. Waveform s are added from top to b o ttom on the screen. When 96 waveforms are present, additio nal waveforms replace the last waveform. Bit num bers are zero- based, so a l abel [...]

  • Pagina 285

    Query :M AC Hi ne{1 |2 }:SW AV ef orm: ML ENgt h? The MLENg th query returns the current analyzer mem ory depth sele ction. Returne d Format [: MA CH ine{ 1|2} :S WAVe form :MLE Ngth ] <mem ory_ leng th>< NL> Example OUT PU T XX X; ": MA CH IN E1 :S WA VE FO RM :M LE NG TH ?" RANGe Command MA CH in e{1| 2} :SWA Ve fo rm:R AN G[...]

  • Pagina 286

    REMove Command :M AC Hi ne{1 |2 }:SW AV ef orm: RE Move The REMove command clears the waveform display. Example O UTPU T XXX; ":MA CHIN E1:S WAVE FO RM:R EMOV E" TAKenb ranch Command MA CH in e{1| 2} :SWA Ve fo rm:T AK enbr an ch {ST OR e|NO ST or e} The TAKenbranch com mand contro ls whether the stat es that cause branching are s t ored [...]

  • Pagina 287

    TPOSit ion Command MA CH in e{1| 2} :SWA Ve fo rm:T PO Siti on {S TARt |C EN Ter| EN D|PO ST st ore, <p erce nt >} The TPOSi t ion co mmand contro l s where t he trigger po int is placed. T he trigger point can be placed at the start, center, end, or at a percentage of postst ore. The po ststore opti on is the same as the User Defined option [...]

  • Pagina 288

    18 –1 2[...]

  • Pagina 289

    19 SCHart Subsystem[...]

  • Pagina 290

    Introd uction The S tate Chart s ubs ystem provide s the co m man ds ne cess ary fo r programmin g th e Agile nt 1670G -series lo gic analyzer State Chart display. The commands allow you to build charts of label activity , usin g data no rmally found i n the Lis ting d isplay. The ch art’s Y ax is is used to sho w data values for the lab el of yo[...]

  • Pagina 291

    SCHart Sub system Sy ntax Diagr am Tab le 19 -1 SCHart Subsy stem Paramet er Values Par ameter Val ue state_low_ value integer fro m -1032192 t o + 1032 192 state_h igh_value in t e ger f ro m <state_low_value> to + 103 2192 label_na me a string of up t o 6 alp hanumeric charact ers label_low_v alue string from 0 t o 2 32 - 1 ( #HF FFFF FFF) [...]

  • Pagina 292

    SCHart Selector :M ACHi ne {1|2 }: SC Hart The SCHart selecto r is used as part of a compound header to access t he setti ngs found in the State Chart menu. It always fol lows the MACHine selecto r because it sel ects a branch b elow the MACH ine leve l in the command t ree. Example O UTPU T XX X;": MACH INE1 :SCH ART: VAXI S ’A ’, ’ 0?[...]

  • Pagina 293

    CENTer Command MA CH in e{1| 2} :SCH ar t: CENT er <ma rk er _typ e> The CENTer command centers the waveform display about the specifi ed markers. The markers are placed on the waveform in the SLISt subs ystem. <marker_type> {X |O|X O| TR IGge r} Example OUT PU T XX X; ": MA CH IN E1 :S CH AR T: CE NT ER X O" HAXis Command MA [...]

  • Pagina 294

    Example O UTPU T XXX; ":MA CHIN E1:S CHAR T: HAXI S STAT ES, − 1 00 , 100" O UT PU T XX X;": MACH INE1 :SCH ART: HAXI S ’REA D’, ’ − 51 1’ , ’5 11’, 0, 30 0" Query MA CH in e{1| 2} :SCH ar t: HAXi s? The HAXi s query returns the current horizo ntal ax is labe l and scaling. Returne d Format [: MA CHin e{1| 2}:S C[...]

  • Pagina 295

    Query MA CH in e{1| 2} :SCH ar t: VAXi s? The VAXis q uery returns the current vertical axis label and scaling. Returne d Format [: MA CHin e{1| 2}:S CHar t:VA Xis] <l ab el _nam e>,< low_ valu e>,< high _val ue>< NL> Example OUT PU T XX X; ": MA CH IN E1 :S CH AR T: VA XI S? " SCHar t Subsyste m VAXis 19 –7[...]

  • Pagina 296

    19 –8[...]

  • Pagina 297

    20 COMPare Subsystem[...]

  • Pagina 298

    Introd uction Comman ds in the state COM Pare subsyste m provide the ability to do a bit - by-bi t compar ison betwee n the acq u ired state data l isting a nd a compare d ata image. Th e comman d s are: • CLE ar • CM AS k • COPY • DATA • FIND • LI N E • ME NU • RA NG e • RUNTil • SE T 20 –2[...]

  • Pagina 299

    COMPa re Subsyst em Synt ax Diag ram Figu re 20 -1 COMPa re Subsystem 20 –3[...]

  • Pagina 300

    Tab le 20 -1 COMPar e Subsy stem Pa rameter Va lues Par ameter Val ue label_na me string o f up to 6 character s car e_spec "{ *|.} ..." * car e . don’t car e line_num i nte ge r f rom -2457 60 to +24 5760 dat a_p atte rn "{#B {0 |1|X } . . . | #Q {0 |1 |2|3 |4|5 |6|7 |X} . . . | #H {0 |1 |2|3 |4|5 |6|7 |8|9 |A|B |C|D |E|F |X} . . [...]

  • Pagina 301

    CLEar Command :M AC Hi ne{1 |2 }:CO MP ar e:CL Ea r The CLEar com mand clears all "do n ’t cares " in the reference listing and replaces t hem with zero s except whe n the CLEar command immediat ely follows the SET command ( s e e SET command) . Example OUT PU T XX X; ": MA CH IN E2 :C OM PA RE :C LE AR CMASk Command :M AC Hi ne{1 [...]

  • Pagina 302

    Example O UTPU T XX X;": MACH INE2 :COM PARE :CMA SK ’ DATA ’?" COPY Command :M AC Hi ne{1 |2 }:CO MP ar e:CO PY The COPY command copies the current acqui red State Listing for th e specified m achine into the Com pare Listi ng templat e. It does not affect the compare range or channel mask settings. Example O UTPU T XXX; ":MA CH[...]

  • Pagina 303

    <label_name> a string of up to 6 alphanumeric characters <line_num> integer from –245 760 to +24 5760 <data_pattern> "{ #B {0 |1|X } . . . | #Q {0 |1 |2|3 |4|5 |6|7 |X} . . . | #H {0 |1 |2|3 |4|5 |6|7 |8|9 |A |B|C |D|E |F|X } . . . | {0 |1 |2 |3|4 |5|6 |7|8 |9} . . . }" Example OUT PU T XX X; ": MA CH IN E2 :C OM [...]

  • Pagina 304

    FIND Query :M AC Hi ne{1 |2 }:CO MP ar e:FI ND ? <d iffe re nc e_oc cu rren ce > The FIND query is used to get the line number of a specified difference occurrence ( first, second, third, et c ) within t he current co mpare range, as dictated by the RANGe com mand. A difference is counted for each line where at l east one of the current label[...]

  • Pagina 305

    Query :M AC Hi ne{1 |2 }:CO MP ar e:LI NE ? The LINE que ry returns t he current l ine number speci fied. Returne d Format [: MA CHin e{1| 2}:C OMPa re:L INE] <li ne_n um>< NL> Example OUT PU T XX X; ": MA CH IN E2 :C OM PA RE :L IN E? " ME NU Command :M AC Hi ne{1 |2 }:CO MP ar e:ME NU {RE Fe re nce| DI FFer en ce } The MENU [...]

  • Pagina 306

    Query :M AC Hi ne{1 |2 }:CO MP ar e:RA NG e? The RANG e query returns the current b oundaries fo r the compariso n. Returne d Format [: MA CH ine{ 1|2} :C OMPa re:R ANGe ] {FUL L | PART ial, <sta rt_l ine> , <s to p_ line >}<N L> Example 1 0 DIM St ring $[10 0] 20 O UT PU T 70 7; ": SE LE CT 2 " 30 O UT PU T 70 7; "[...]

  • Pagina 307

    End points for the INRange and O UTRange should be at least 8 ns apart since this is the mini mum time resolution of the t ime tag counter. There are two conditions which are based o n a compariso n of the acq uired state data and the compare data image. You can run until one of the followi ng conditi ons is true: • Every channel of every label h[...]

  • Pagina 308

    SET Command :M AC Hi ne{1 |2 }:CO MP ar e:SE T The SET command s ets eve ry state in the re ference list ing t o "don’t cares." If you send the SET com mand by mist ake you can imm ediately send the CLEar command t o restore t he previous data. This i s the o nly tim e the CLE ar command will not replace "don’ t cares" with [...]

  • Pagina 309

    21 TFORmat Subsystem[...]

  • Pagina 310

    Introd uction The TFOR mat su b s ystem con tains th e commands availab le for the Timin g Format menu in th e Agile nt 1670G -series logic an alyzer . Thes e command s are: • ACQMo de • LAB el • RE Mo ve • THReshold 21 –2[...]

  • Pagina 311

    TFORmat Subsystem Sy ntax Di agram Figu re 21 -1 TFORma t Subsys tem 21 –3[...]

  • Pagina 312

    Tab le 21 -1 T FO Rmat Subs ystem Para meter Val ues Par ameter Val ue <N> an integer from 1 t o 8, indicating po d name string of up to 6 alphanu meric charact ers polarity {P OSit ive | NE Gati ve} upper_b i ts format ( integer fr om 0 t o 6553 5) fo r a pod (pods ar e assigned in de creasing o rder) lower_ bits f ormat (inte ger fr om 0 to[...]

  • Pagina 313

    ACQMode Command :M AC Hi ne {1 |2 }: TF OR ma t: AC QM od e {F UL L | HA LF } The ACQMo de (acq uisitio n mode) command se lects the acq uisitio n mode fo r the timing analyz er. The options are : • conventio nal mode at full-channel 125 MHz • conventio nal mode at half-channel 250 MHz Example OUT PU T XX X; ": MA CH IN E2 :T FO RM AT :A C[...]

  • Pagina 314

    LABel Command :M AC Hi ne {1 |2 }: TF OR ma t: LA Be l <n am e> [, <pol ar it y>,< cl ock_ bi ts >, [ <c lock _b it s>,] <u pp er _b it s> , <l ow er _b it s> [, <u pp er _b it s> , <l ower _b it s>]. .. ] The LABel co mmand specifies po larity and assig ns channels to ne w or exist ing labels. If the[...]

  • Pagina 315

    <lower_bits> format ( intege r from 0 to 65535) for a po d (pods are assigned in de creasing order) <assignment> format ( intege r from 0 to 65535) for a po d (pods are assigned in de creasing order) Example OUT PU T XX X; ": MA CH IN E2 :T FO RM AT :L AB EL ’ ST AT ’, P OS IT IV E, 0, 12 7, 4031 2" O UT PU T XX X; ":[...]

  • Pagina 316

    TH R esho ld Command :M AC Hi ne{1 |2 }:TF OR ma t:TH Re shol d< N> {T TL|E CL |< valu e> } The THResho ld command allows y o u to se t the volt age thresho ld fo r a given pod to ECL, TT L , or a specific vo l tage fro m − 6.00 V to +6. 00 V in 0 . 0 5 volt increments . <N> pod number (int eger from 1 to 8) <value> voltag[...]

  • Pagina 317

    22 TTRigger (TTR ace) Subsystem[...]

  • Pagina 318

    Introd uction The TT Rig ger subs ystem contains the command s availabl e for the Timin g Trigg er menu in the Agilen t 1670G-seri es logic analyzer. The Timin g Trigg er subsy stem wi ll also accept the TTR ace s elector as used in pr eviou s 1650 0-ser ies log ic analyzer modules to elimin ate the need to rewrite programs contai n ing TTRace as t[...]

  • Pagina 319

    TTR igger Subs ystem S ynt ax D iagra m Figu re 22- 1 TTRigge r (TTRace) Sub s ys tem 22 –3[...]

  • Pagina 320

    Figu re 2 2-1 (conti nued) TTR igger Subs ystem S ynt ax D iagra m ( cont i n ued) TTRigger ( TTRace) Subs ystem 22 –4[...]

  • Pagina 321

    Tab le 22 -1 TTRigge r Paramete r Val ues P aramet e r V alue bran ch_qualifier <qua li fi er > to_ level_n um integ er f rom 1 to las t lev el proc eed_qualif i er <qua li fi er > occur r e nce n umber fr om 1 to 1048 575 label_name st ring of up t o 6 alphanume ric characters s tart _p atte rn "{ #B {0 |1 } . . . | #Q {0 |1 |2 |3[...]

  • Pagina 322

    Qualifier The qualifi er for the ti ming trig ger s ubsystem can b e te rms A thro ugh G and I, Timer 1 and 2, and Rang e 1 and 2 . In addition, qualifiers can be the N OT boolean funct i on of terms, timers, and ranges. The quali fier can also b e an express ion or comb ination of expre ssions as shown belo w and figure 22-2 , "Complex Quali [...]

  • Pagina 323

    <term3a> { A | NOTA } <term3b> { B | NOTB } <term3c> { C | NOTC } <term3d> { D | NOTD } <term3e> { E | NOTE } <term3f> { F | NOTF } <term3g> { G | NOTG } <term3i> { I | NOTI } <range3a> { IN _R ANGE 1 | OUT_ RANG E1 } <range3b> { IN _R ANGE 2 | OUT_ RANG E2 } <edge3a> { ED GE 1 | NO [...]

  • Pagina 324

    Qual ifier Ru les The follo wing rules appl y to quali fiers: • Qualifie rs are quo ted st rings and, therefo re, need q uotes. • Express ions are e valuated from left t o right. • Parenthe ses are use d to change the order evaluatio n and, therefo re, are optio nal. • An expre ssion mus t map int o the co mbinat ion log ic presented in t h[...]

  • Pagina 325

    ACQuisition Command :M AC Hi ne{1 |2 }:TT Ri gg er:A CQ uisi ti on {A UTOm at ic |MAN ua l} The ACQuis i tion co mmand specifi e s the acq uisiti on mode for t he Timing analyzer. Example OUT PU T XX X; ": MA CH IN E1 :T TR IG GE R: AC QU IS IT IO N AU TO MA TI C" Query :M AC Hi ne{1 |2 }:TT Ri gg er:A CQ uisi ti on ? The ACQuis i tion q [...]

  • Pagina 326

    Withi n the limitat ions sho wn by the s yntax de finitions , co mplex e xpre ssions may be formed using the AND and OR operato rs. E xpressi ons are limit ed to what you could manually enter through the Timing Tri gger menu. As far as required and opt ional parenthese s, the syntax de finitions on the nex t page show onl y t he require d one s. Ad[...]

  • Pagina 327

    Query :MACHine{1|2}:TTRigger:BRANch<N>? The BRANch query returns the current branch q ualifier specification for a given sequence level. Return ed Format [:MACHine{1|2}:TTRigger:BRANch<N>] <branch_qualifier>,<to_level_num><NL> Examp le OUTPUT XXX;":MACHINE1:TTRIGGER:BRANCH3?" Comp lex Qu alif ier Figur e 22- [...]

  • Pagina 328

    Terms A th rough E, RANGE 1 , and ED GE 1 must be group ed t ogether and terms F, G, RA NGE 2 , and ED GE2 , and mus t be gr oupe d toget her. In t he firs t level, terms f rom one gr oup ma y not b e mixed wit h terms fro m the other. F or example, the expres sion ((A OR IN_RANGE2) AND (C OR G)) is no t allowed becaus e the te rm C cannot be spec [...]

  • Pagina 329

    EDGE Command :M AC Hi ne{1 |2 }:TT Ri gg er:E DG E<N> < la bel_ na me>, <e dge_ sp ec > The EDG E command de fines edge specificatio ns for a g iven label. Edge specificati ons can be R (ris ing), F (fal ling), E ( e ither) , or "." ( don’ t care) . Edges are sent in t he same s tring wit h the right most string charac[...]

  • Pagina 330

    FIND Command :M AC Hi ne{1 |2 }:TT Ri gg er:F IN D<N> <t ime_ qu al ifie r> ,<co nd it ion_ mo de> The FIN D comm and define s the q ualifier fo r a given se quence level. The qualifie r te lls the timing analyz er when t o proceed to the next seque nce le vel. When this proceed qual ifier is matched for either the specified time [...]

  • Pagina 331

    Example OUT PU T XX X; ": MA CH IN E1 :T TR IG GE R: FI ND 1 ’A NY ST AT E’ , GT , 10 E − 6" O UT PU T XX X; ": MA CH IN E1 :T TR IG GE R: FI ND 3 ’( (N OT A AN D NO TB ) OR G )’ , OC CU RR EN CE , 10 " Query :M AC Hi ne{1 |2 }:TT Ri gg er:F IN D<N> ? The FIN D que ry returns t he curre nt time qualifie r specifi[...]

  • Pagina 332

    Query :M AC Hi ne{1 |2 }:TT Ri gg er:M LE Ngth ? The MLENg th query returns the current analyzer mem ory depth sele ction. Returne d Format [: MA CHin e{1| 2}:T TRig ger: MLEN gth] <me mory _len gth> <NL> Example O UTPU T XXX; ":MA CHIN E1:T TRIG GE R:ML ENGT H?" RANGe Command :M AC Hi ne{1 |2 }:TT Ri gg er:R AN Ge<N > &[...]

  • Pagina 333

    Example OUT PU T XX X; ": MA CH IN E1 :T TR IG GE R: RA NG E1 ’ DA TA ’, ’ 12 7’ , ’2 55 ’ " O UT PU T XX X; ": MA CH IN E1 :T TR IG GE R: RA NG E2 ’ AB C’ , ’# B0 00 01 11 1’ , ’# HC F’ " Query :M AC Hi ne{1 |2 }:TT Ri gg er:R AN Ge<N >? The RANGe query returns the range recogniz er end point speci[...]

  • Pagina 334

    Query :M AC Hi ne{1 |2 }:TT Ri gg er:S EQ uenc e? The SEQuence query returns the current sequence specifi cation. Returne d Format [: MA CH ine{ 1|2} :T TRig ger: SEQu ence ] <num ber_ of_l evel s>, <l ev el _o f_ tr ig ge r> <N L> Example O UTPU T XXX; ":MA CHIN E1:T TRIG GE R:SE QUEN CE?" SP E Rio d Command :M AC Hi ne[...]

  • Pagina 335

    TCONtrol (Timer Control) Command :M AC Hi ne{1 |2 }:TT Ri gg er:T CO Ntro l< N> <ti me r_nu m> , {O FF|S TA Rt |PAU Se |CON Ti nu e} The TCONt rol com mand turns o ff, starts, pause s , or co ntinues t he timer for the speci fied level. The time value of t he time r is defined by the TIMER command. <N> integer from 1 to the number[...]

  • Pagina 336

    TERM Command :M AC Hi ne{1 |2 }:TT Ri gg er:T ER M <t erm_ id >, <lab el _nam e> ,< patt er n> The TERM command specifies a patt ern recognizer term in the s pecified machine. E ach command deal s with o nly one l abel in the given term ; therefore , a complete specificatio n could require several commands. Since a label can cont [...]

  • Pagina 337

    Query :M AC Hi ne{1 |2 }:TT Ri gg er:T ER M? <t erm_ id >, <lab el _nam e> The TERM query returns the spe cification of t he term specified b y term identificat i on and lab el name. Returne d Format [: MA CHin e{1| 2}:T TRig ger: TERM ] <t er m_ id>, <lab el_n ame> ,<pa tter n><N L> Example OUT PU T XX X; "[...]

  • Pagina 338

    TPOSit ion (Trigger Position) Command :M AC Hi ne{1 |2 }:TT Ri gg er:T PO Siti on {S TARt |C EN Ter| EN D|DE La y, <tim e_ val> | PO STst or e, <pos ts tore >} The TPOSi tion co mmand sets the trigger at the start , center, end or any positi on i n the trace (post store) . Postst ore is de fined as 0 t o 100 percent with a poststo re of[...]

  • Pagina 339

    23 TWAVeform Subsystem[...]

  • Pagina 340

    Introd uction The TW AVe form su bsystem con tains th e commands available for the Timin g Waveforms m enu in the Agilen t 16 70G-ser ies log ic analyzer. These command s are • ACCumulate • ACQui sition • CENTer • CLRPattern • CLRStat • DELay • INSert • MLE Ngth • M MODe • OCONditio n • OPAT tern • OSE arch • OTIMe • R A[...]

  • Pagina 341

    TWAVe form Subsy stem Syntax Di a gram Figu re 23 -1 TWAVef orm Subsyste m 23 –3[...]

  • Pagina 342

    Figu re 2 3-1 (conti nued) TW AVe form Sub syst em Sy n t ax Diagr am (cont inue d) TWAVef orm Subsyste m 23 –4[...]

  • Pagina 343

    Figu re 2 3-1 (conti nued) TW AVe form Sub syst em Sy n t ax Diagr am (cont inued) TWAVef orm Subsyste m 23 –5[...]

  • Pagina 344

    Tab le 23 -1 TWAVef orm Paramet er Values Par ameter Val ue delay_va l ue real number between - 2500 s and +2 5 00 s module_spe c 1 bit_id i nte ger fr om 0 to 31 label_na me string of up to 6 alphanu meric chara cters label_pa t ter n "{ #B {0 |1 |X} . . . | #Q {0 |1 |2|3 |4|5 |6|7 |X} . . . | #H {0 |1 |2|3 |4|5 |6|7 |8|9 |A |B|C |D|E |F|X } [...]

  • Pagina 345

    TWAV eform Selector :M ACHi ne {1|2 }: TW AVef or m The TWAVeform sel ector is used as part of a compound he ader to access t he setti ngs found in the Timing Wave forms menu. It always follows the MACHine sele ctor because it selects a branch belo w the MACHine level in the command t ree. Example OUT PU T XX X; ": MA CH IN E1 :T WA VE FO RM :[...]

  • Pagina 346

    ACQuisition Command :M AC Hi ne{1 |2 }:TW AV ef orm: AC Quis it io n {A UTOm at ic |MAN ua l} The ACQuis i tion co mmand specifies the acq uisition m ode for t he timing analyzer. The acquisiti on modes are autom atic and manual. Example O UTPU T XX X;": MACH INE2 :TWA VEFO RM:A CQUI SITI ON A UTOM ATIC " Query MA CH in e{1| 2} :TWA Ve fo[...]

  • Pagina 347

    CLRPattern Command :M AC Hi ne{1 |2 }:TW AV ef orm: CL RPat te rn {X| O| ALL} The CLRPat tern command clears the patterns in the se lected Speci fy Patterns m enu. Example OUT PU T XX X; ": MA CH IN E1 :T WA VE FO RM :C LR PA TT ER N AL L" CLRStat Command :M AC Hi ne{1 |2 }:TW AV ef orm: CL RSta t The CLRStat command clears the waveform s[...]

  • Pagina 348

    Query :M AC Hi ne{1 |2 }:TW AV ef orm: DE Lay? The DELay query returns the current tim e offset (delay) value from the trigger. Returne d Format [: MA CH ine{ 1|2} :T WAVe form :DEL ay] <t ime_ valu e><N L> Example O UTPU T XXX; ":MA CHIN E1:T WAVE FO RM:D ELAY ?" INS ert Command :M AC Hi ne{1 |2 }:TW AV ef orm: IN Sert [< [...]

  • Pagina 349

    MLENgth Command :M AC Hi ne {1 |2 }: TW AV ef or m: ML EN gt h <m em or y_ le ng th > The MLENg th command specifies the anal yzer me mory dept h. Valid memory depths range from 4096 state s (or sample s ) thro ugh the m a ximum s ystem memory depth minus 81 92 states. Me mory depth is affected by acquisi tion mode. If the <memory_ depth&g[...]

  • Pagina 350

    MMODe (Marker Mode) Command :M AC Hi ne{1 |2 }:TW AV ef orm: MM ODe {O FF|P AT Te rn|T IM E|MS Ta ts } The MMO De command s elects the m ode cont rolling m arker move ment and the display of the marker readouts . When PA TTern i s select ed, the markers will b e placed on patt erns. When TIME i s select ed, the m arkers mo ve based on tim e. In MST[...]

  • Pagina 351

    Query :M AC Hi ne{1 |2 }:TW AV ef orm: OC ONdi ti on ? The OCO Ndition q uery returns the current setting. Returne d Format [: MA CHin e{1| 2}:T WAVe form :OCO Ndit ion] {EN Teri ng|E XITi ng}< NL> Example OUT PU T XX X; ": MA CH IN E1 :T WA VE FO RM :O CO ND IT IO N? " OPATtern Command :M AC Hi ne{1 |2 }:TW AV ef orm: OP ATte rn &l[...]

  • Pagina 352

    Query :M AC Hi ne {1 |2 }: TW AV ef or m: OP AT te rn ? <l ab el _n am e> The OP ATtern que ry, in patt ern m arker mode , returns t he patter n specificati on for a g iven labe l name. In the time mark er mode, the query returns t he pattern under the O marker for a given labe l. If the O marker is not place d on valid data, do n’t cares ([...]

  • Pagina 353

    Query :M AC Hi ne{1 |2 }:TW AV ef orm: OS Earc h? The OSEarch q uery returns t he search criteria fo r the O mark er. Returne d Format [: MA CH ine{ 1|2} :T WAVe form :OSE arch ] <occ urre nce> ,<or igin ><NL > Example OUT PU T XX X; ": MA CH IN E1 :T WA VE FO RM :O SE AR CH ?" OT IMe Command :M AC Hi ne {1 |2 }: TW AV e[...]

  • Pagina 354

    RANGe Command :M AC Hi ne {1 |2 }: TW AV ef or m: RA NG e <t im e_ va lu e> The RANG e command s pecifies the full -screen time i n the timing waveform menu. It is eq uivalent t o ten t imes t he seconds- per-divisio n setti ng on the display. The allowab le values for RANGe are from 10 ns to 10 ks. <time_value> real numb er between 1 0[...]

  • Pagina 355

    RUNTil (Run Until) Command :M AC Hi ne{1 |2 }:TW AV ef orm: RU NTil < ru n_un ti l_sp ec > The RUNTil com mand defi nes sto p criteria b ased on the tim e b etween t he X and O mark ers when t he trace mo de is in repetitive. Whe n OFF i s select ed, the analyzer will run unti l either S T OP is selecte d from the front panel or the STOP co m[...]

  • Pagina 356

    SP E Rio d Command :M AC Hi ne {1 |2 }: TW AV ef or m: SP ER io d <s am p_ pe ri od > The SPERio d command sets the sampl e period o f t he timing analyzer. <samp_period> real numb er from 4 ns to 100 us Example O UTPU T XX X;": MACH INE1 :TWA VEFO RM:S PERI OD 5 0E − 9" Query :M AC Hi ne{1 |2 }:TW AV ef orm: SP ERio d? The [...]

  • Pagina 357

    TMAXimum Query :M AC Hi ne{1 |2 }:TW AV ef orm: TM AXim um ? The TMAXimum query returns the value of the maximum tim e bet ween t he X and O mark ers. If there is no valid data, the query re turns 9.9 E37. Returne d Format [: MA CHin e{1| 2}:T WAVe form :TMA Ximu m] < time _val ue>< NL> <time_value> real number Example OUT PU T XX[...]

  • Pagina 358

    the Us er Define d opt ion when sett ing the trigger posit ion from the front panel. The TPOSi t ion co mmand is o nly availab le when the acquisit i on mo de is set to manual. <time_val> real number from (2 × sample_pe riod) to (516 096 × sam ple_period) <percent> integer from 1 to 100 Example O UTPU T XX X;": MACH INE2 :TWA VEF[...]

  • Pagina 359

    XCONdition Command :M AC Hi ne{1 |2 }:TW AV ef orm: XC ONdi ti on {E NTer in g| EXIT in g} The XCON dition command speci fies where t he X marker is placed. The X marker can b e placed on t he entry o r exit po int of t he XPA Ttern when in t he PAT T ern mark er mode. Example OU TPUT XXX ; ": MACH INE1 :TWA VEFO RM:X COND ITIO N EN TERI NG&qu[...]

  • Pagina 360

    XPATtern Command :M AC Hi ne{1 |2 }:TW AV ef orm: XP ATte rn <l abel _n am e>,< la bel_ pa tt ern> The XPATt ern command const ructs a pattern re cognizer te rm for the X marker which is then used with the XSEarch criteri a and XCONdit ion when moving the marker on patte rns. Since this comm and deals with only one label at a time, a co[...]

  • Pagina 361

    XSEar ch Command :M AC Hi ne{1 |2 }:TW AV ef orm: XS Earc h <o ccur re nc e>,< or igin > The XSEarch com mand defines the s earch criteria for the X mark er which is then used with the asso ciated XPATte rn recognizer specificat i o n and the XCON dition whe n moving m arkers on patterns. The origin parameter t ells the mark er to b egi[...]

  • Pagina 362

    XTI Me Command :M AC Hi ne {1 |2 }: TW AV ef or m: XT IM e <t im e_ va lu e> The XTIMe command positions the X marker in time when the marker mod e is TIME . If data is no t valid, t he command perform s no acti on. <time_value> real number from − 10 .0 ks to + 10. 0 k s Example OUTP UT X XX ; ": MA CH IN E1 :T WA VE FO RM :X TI [...]

  • Pagina 363

    24 TLISt Subsystem[...]

  • Pagina 364

    Introd uction The TLISt s u bsyste m contains the commands availabl e for the Timing Listi ng me nu in the Ag ilent 16 70G-ser ies logic an alyzer and is the same as th e SL I St subsystem (ex cept the OCONdition an d XCONdi tion command s). The TLISt sub system co mmands are: • COLumn • TAVerage • CLRPatt ern • TMAXimum • DATA • TMIN i[...]

  • Pagina 365

    TLIS t Subsy s tem Sy n tax Di agram Figu re 24 -1 TLISt Sub s yste m 24 –3[...]

  • Pagina 366

    Figu re 2 4-1 (conti nued) TLIS t Subsy s tem Sy n tax Di agram (con t inu ed) TLISt Subsy stem 24 –4[...]

  • Pagina 367

    Figu re 2 4-1 (conti nued) TLIS t Subsy s tem Sy n tax Di agram (con t inu ed) TLISt Sub s yste m 24 –5[...]

  • Pagina 368

    Tab le 24 -1 T L ISt Paramete r Values Par ameter Val ue mod_nu m 1 (2 throu gh 10 not used) col_num i nte ger from 1 to 61 line_numb er integer f rom -1 0 321 92 to +103 2192 label_na me a string of up t o 6 alp hanumeric chara cters bas e {BIN ary| HEXa deci mal| OCTa l|DE Cima l|TW OS| AS Ci i| SYMB ol|I ASSe mble r} f or labels or {A BS ol ute|[...]

  • Pagina 369

    TLISt Selector :M ACHi ne {1|2 }: TL ISt The TLISt selector is used as part of a compound he ader to access those settings no rmally found in t he Timing List ing menu. It al ways follows t he MACHine sele ctor because it selects a branch directly be low the MACHine level in the command tree. Example OUT PU T XX X; ": MA CH IN E1 :T LI ST :L I[...]

  • Pagina 370

    <col_num> integer from 1 to 61 <module_num> 1 (2 thro ugh 10 not used ) <label_name> a string of up to 6 alphanumeric characters <base> {BINary|HEXadecimal|OCTal|DECimal|TWOS|ASCii|SYMBol| IASSembler} for labels or {ABSolute|RELative} for tag s Example O UTPU T XXX; ":MA CHIN E1:T LIST :C OLUM N 4,2, ’A’, HEX" [...]

  • Pagina 371

    DATA Query :M AC Hi ne{1 |2 }:TL IS t: DATA ? <l ine_ nu mb er>, <l abel _n am e> The DATA q uery returns t he value at a speci fied line numbe r for a give n label. The format will be the same as the one shown in the Listi ng display. Returne d Format [: MA CHin e{1| 2}:T LISt :DAT A] < line _num ber> ,<la bel_ name >, <[...]

  • Pagina 372

    Query :M AC Hi ne{1 |2 }:TL IS t: LINE ? The LINE quer y returns t he line numbe r for the state currently in the bo x at the cent er of the screen. Returne d Format [: MA CHin e{1| 2}:T LISt :LIN E] < line _num _mid _scr een> <NL> Example O UTPU T XXX; ":MA CHIN E1:T LIST :L INE? " MMODe (Marker M ode) Command :M AC Hi ne {1 [...]

  • Pagina 373

    OCONdition Command :M AC Hi ne{1 |2 }:TL IS t: OCON di tion { EN Teri ng |EXI Ti ng } The OCO Ndition co mmand specifies where the O mark er is placed. The O marker can b e placed on t he entry o r exit po int of t he OP ATtern when i n the PAT T ern mark er mode. Example OU TPUT XXX ; ": MACH INE1 :TLI ST:O COND ITIO N EN TERI NG" Query [...]

  • Pagina 374

    OPATtern Command :M AC Hi ne{1 |2 }:TL IS t: OPAT te rn <l abel _n am e>,< la bel_ pa tt ern> The OPATtern comm and allows you to const ruct a patt ern recogni z e r ter m for the O Marker which is then used with the OSEarch criteria when moving the mark er on patt erns. Since this co mmand deals wi th only one label at a time, a comple[...]

  • Pagina 375

    OSEarch Command :M AC Hi ne {1 |2 }: TL IS t: OS Ea rc h <o cc ur re nc e> ,< or ig in > The OSEarch co mmand defines the search crite ria for the O marker, whi ch is then used with associate d OPATtern recogni z er specificati on when moving the markers on patterns . The origin parameter tel ls the marker to b egin a search with the tr[...]

  • Pagina 376

    OSTate Query :M AC Hi ne{1 |2 }:TL IS t: OSTa te ? The OSTate query returns t he line numbe r in the l isting whe re the O marker resides. If data is not valid , t he query returns 2147 483647 . Returne d Format [: MA CHin e{1| 2}:T LISt :OST ate] <st ate_ num> <NL> <state_num> integer from -10 3219 2 to +10 32192 or 21474 8364 7 [...]

  • Pagina 377

    REMove Command :M AC Hi ne{1 |2 }:TL IS t: REMo ve The REMove command removes all labe ls, except the left most labe l, from the lis ting menu. Example OUT PU T XX X; ": MA CH IN E1 :T LI ST :R EM OV E" RUNTil (Run Until) Command :M AC Hi ne{1 |2 }:TL IS t: RUNT il <ru n_ un til_ sp ec> The RUNTil com mand defi nes a stop co nditi o[...]

  • Pagina 378

    The RUNTil query returns the current stop criteria. Returne d Format [: MA CHin e{1| 2}:T LISt :RUN Til] <ru n_un til_ spec ><NL > Example O UTPU T XXX; ":MA CHIN E1:T LIST :R UNTI L?" TAVerage Query :M AC Hi ne{1 |2 }:TL IS t: TAVe ra ge? The TAVerage query returns the value of the average time be tween the X and O markers. I[...]

  • Pagina 379

    TMINim um Query :M AC Hi ne{1 |2 }:TL IS t: TMIN im um? The TMINimum query returns t he value of the minimum time betwe en the X and O mark ers. If dat a is not valid, t he query returns 9. 9E37. Returne d Format [: MA CHin e{1| 2}:T LISt :TMI Nimu m] < time _val ue>< NL> <time_value> real number Example OUT PU T XX X; ": MA [...]

  • Pagina 380

    XCONdition Command :M AC Hi ne{1 |2 }:TL IS t: XCON di tion { EN Teri ng |EXI Ti ng } The XCON dition command speci fies where t he X marker is placed. The X marker can b e placed on t he entry o r exit po int of t he XPA Ttern when in t he PAT T ern mark er mode. Example OUTP UT X XX ; ": MA CH IN E1 :T LI ST :X CO ND IT IO N EN TE RI NG &quo[...]

  • Pagina 381

    XOTim e Query :M AC Hi ne{1 |2 }:TL IS t: XOTi me ? The XOTime query returns the tim e fro m the X to O markers. If t here is no data in t he time mode the query returns 9.9 E37. Returne d Format [: MA CHin e{1| 2}:T LISt :XOT ime] <XO _tim e><N L> <XO_time> real number Example OUT PU T XX X; ": MA CH IN E1 :T LI ST :X OT IM [...]

  • Pagina 382

    Query :M AC Hi ne {1 |2 }: TL IS t: XP AT te rn ? <l ab el _n am e> The XPATt ern query returns the pattern s pecification for a given lab e l name. Returne d Format [: MA CHin e{1| 2}:T LISt :XPA Tter n] <l ab el _nam e>,< labe l_pa tter n><N L> Example O UTPU T XX X;": MACH INE1 :TLI ST:X PATT ERN? ’A’ " XSEa[...]

  • Pagina 383

    XST ate Query :M AC Hi ne{1 |2 }:TL IS t: XSTa te ? The XSTate q uery returns the line number in the listing where the X marker resides. If data is not valid, the query returns 2 1 474836 47. Returne d Format [: MA CHin e{1| 2}:T LISt :XST ate] <st ate_ num> <NL> <state_num> integer from -10 3219 2 to +10 32192 or 21474 8364 7 Exa[...]

  • Pagina 384

    24 –2 2[...]

  • Pagina 385

    25 SPA Su bsystem[...]

  • Pagina 386

    25 –2[...]

  • Pagina 387

    SPA Sub system 25 –3[...]

  • Pagina 388

    SPA Subs ys te m 25 –4[...]

  • Pagina 389

    SPA Sub system 25 –5[...]

  • Pagina 390

    Tab le 25 -1 SPA Subs ystem Par ameter Val ues Par ameter Val ue bucket _num 0 to (n umber of valid buck ets - 1) high_pat t <p at tern > label_na me a string of up t o 6 alphanu meric chara cters low_pat t <p at tern > memory {40 96 | 8 19 2 | 16 38 4 | 32 76 8 | 65 53 6 | 1 31 07 2 | 26 21 44 | 5 24 28 8 | 10 32 19 2 } o_patt <p at[...]

  • Pagina 391

    MODE Command : SP A{ 1| 2} :M OD E {O VE RV ie w| HI ST og ra m| TI NT er va l} The MOD E command s elects whi ch menu to displ ay: State Overview, State Histogram , or Time Interval. A query returns the current menu mode. Example OUT PU T XX X; ": SP A1 :M OD E OV ER Vi ew " O UT PU T XX X; ": SP A2 :M OD E HI ST og ra m" O UT [...]

  • Pagina 392

    OVERView:BUCKet Query :S PA {1 |2}: OV ERVi ew :B UCKe t? {S IZE| NU MB er|< bu cket _n um >} The OVERView:BU CKet query returns data relat ing to the State O verview measurement . You specify SIZ E for width of each bucket, NUMBer for number of bucke ts, or <bucket_num> for the number of hits in t he specified bucket numbe r Returne d [...]

  • Pagina 393

    OVERView:HIGH Command :S PA {1 |2 }: OV ER Vi ew :H IG H <h ig h_ pa tt er n> The OVERView:HIG H command sets the upper boundary of the State Overview measure ment. A query returns the current set ting of the upper boundary. Setting the upper bo undary defaults the data accumulato rs, stat istic counters, and the number o f buck ets and t hei[...]

  • Pagina 394

    OVERView:LABel Command :S PA{1 |2 }:OV ER Vi ew:L AB el <la be l_na me > The OVERView:L ABel comm and selects a new lab el for co llecting the SPA measurement s . A query returns the name of the currently select ed label. Selecting a new label de faults the State Overview dat a accumulators, st atistic counters, and the number o f buck ets an[...]

  • Pagina 395

    OVERView:LOW Command :S PA{1 |2 }:OV ER Vi ew:L OW < low_ pa tter n> The OVERView:L O W co mmand sets the lo wer bo undary o f the Stat e Overview measure ment. A query returns the current setting of the lowe r boundary. Setting the lower b oundary defaults t he data accumulato rs, statist ic counters , and the numb er of buckets and their s [...]

  • Pagina 396

    OV ERView:MLENgth Command :S PA{1 |2 }:OV ER Vi ew:M LE Ng th < me mory _l en gth> The MLENg th command specifies t he memo ry depth. Valid me mory dept hs range from 4096 states (or samples ) through the maximum syste m memory depth minus 8192 states. Memory dept h is affect ed by acquis ition m ode. If the <mem ory_depth> value sent w[...]

  • Pagina 397

    OVERView:OMA Rker Command :S PA{1 |2 }:OV ER Vi ew:O MA Rk er < o_ patt er n> The OVERView:OMARk er command sends the O marke r to the lower boundary of the b ucket where t he specifie d pattern is lo cated. A request to place the marker outside the defined boundary forces the marker to the appropriate end bucke t . A query returns the patter[...]

  • Pagina 398

    OV ERView:OVST atistic Query :S PA {1|2 }: OV ERVi ew :OVS Ta ti stic ? {X HITs |O HI Ts|T OT al} The OVERView:OVSTatis tic query returns the numbe r of hits associat ed with the request ed stat istic or returns the number of hits in t he specified buck e t . XHITs reques ts the number of hits in the bucket where the X marker is located. OHI Ts req[...]

  • Pagina 399

    OVERView:XMARker Command :S PA{1 |2 }:OV ER Vi ew:X MA Rk er < x_ patt er n> The OVERView:X MARker com mand sends t he X marker to the lo wer boundary of the b ucket where t he specifie d pattern is lo cated. A request to place the marker outside the defined boundary forces the marker to the appropriate end bucke t . A query returns the patte[...]

  • Pagina 400

    HIS Togram:HSTatistic Query :S PA {1|2 }: HI STog ra m:HS Ta ti stic ? {T OTal |O TH er|< ra nge_ nu mb er>} The HISTogram :HSTatistic q uery ret urns the t otal numb er of s amples or returns t he number of s amples in the s pecified range. Specify TOTal for th e total number o f sam ples, OTHer for the num ber of hits in "other" r[...]

  • Pagina 401

    HIS Togram:LABel Command :S PA {1 |2 }: HI ST og ra m: LA Be l <l ab el _n am e> The HISTogram :LABel co mmand s elects a new label for coll ecting SP A measurement s . A query returns the name of the currently select ed label. Selecting a new label de faults the State Histo gram range name s, bucket sizes, and hit accumul a tors. <label_n[...]

  • Pagina 402

    HIS Togram:OTHer Command :S PA {1 |2 }: HI ST og ra m: OT He r {I NC Lu de d| EX CL ud ed } The HISTogram :OTHer comm and selects includi ng or ex cluding the " other" histog ram b ucket. A query returns dat a indicating whether the " other" bucket is current ly included o r exclude d. Example O UTPU T XX X;": SPA2 :HIS Tog[...]

  • Pagina 403

    HIS Togram:QUALifier Command :S PA {1 |2 }: HI ST og ra m: QU AL if ie r <l ab el _n am e> , <p atte rn > The HISTogram :QUAL ifier comm and sets t he patte rn associat ed wit h the specified labe l. T he pattern i s a condit ion for trigg ering and st oring the measurement . A query of a label returns the current patt ern sett ing for [...]

  • Pagina 404

    HISTogram:RANGe Command :S PA{1 |2 }:HI ST og ram: RA NG e {O FF | <r ange _n um >,<r an ge_n am e> ,<lo w_ patt >, <h igh_ pa tt>} The HISTogram:RAN Ge command turns off all ranges or defines the range name, lo w boundary, and hig h boundary of the specifie d range. Defining a specified rang e turns o n that range . For the[...]

  • Pagina 405

    HIS Togram:TTYP e Command :S PA {1 |2 }: HI ST og ra m: TT YP e {A LL |Q UA Li fi ed } The HISTogram :TTYPe command set s the t rigger t o trigg er o n anystate or on qualifie d state. A que ry returns t he curre nt trace t ype setting . Example OUT PU T XX X; ": SP A2 :H IS To gr am :T TY Pe A LL " Query :S PA {1|2 }: HI STog ra m:TT YP [...]

  • Pagina 406

    TINTerval:AUTorange Command :S PA{1 |2 }:TI NT er val: AU To rang e {L OGar it hm ic|L IN ear} ,< mi n_ti me >,<m ax _t ime> The TINTerval:AU Torange command automat ically sets the Time Interval ranges in a lo g arithmic o r linear dist ri b ution o ver the s pecified range of time . When t he AUTorange command is execut ed, the dat a [...]

  • Pagina 407

    <end_pattern> "{#B{0|1}...| #Q{0|1|2|3|4|5|6|7}...| #H{0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F}.. .| {0|1|2|3|4|5|6|7|8|9}...}" Example OUT PU T XX X; ": SP A1 :T IN Te rv al :Q UA Li fi er ’ A’ ,’ #Q 23 1’ ,’ #Q 45 5’ " O UT PU T XX X; ": SP A2 :T IN Te rv al :Q UA Li fi er ’ DA TA ’, ’# H3 A’ ,’ 25 5?[...]

  • Pagina 408

    TINTerval:TINT erval Command :S PA{1 |2 }:TI NT er val: TI NT erva l <i nter va l_ numb er >,<m in _t ime> ,< max_ ti me > The TINTe rval:TINTerval co mmand specifie s the mi nimum and maximum time l imits fo r the gi ven interval. A query ret urns these limits for a specified interval. <interval_ number> 0 to 7 <min_time[...]

  • Pagina 409

    TINTerval:TSTatistic Query :S PA {1|2 }: TI NTer va l:TS Ta ti stic ? {T MINi mu m| TMAX im um|T AV er age| TO Tal| TT OT al| <i nter va l_ numb er >} The TINTe rval:TSTatistic query ret urns either the time o r t he number of samples associ ated with the request ed stati stic. The statist ics you can request are: • TMINimum - overall minim[...]

  • Pagina 410

    25 –2 6[...]

  • Pagina 411

    26 SYMBol S u bsystem[...]

  • Pagina 412

    Introd uction The S Y MBol subs ystem con tains the command s to define symbols on the controll er and download them to th e Agil ent 1670 G-s eries l ogic anal yzer. The commands in this subsys tem are : • BA SE • PAT Tern • RA NG e • RE Mo ve • WIDTh 26 –2[...]

  • Pagina 413

    SYMBo l Subsyst em Syntax Di agram Figu re 26 -1 SYMBol Sub system 26 –3[...]

  • Pagina 414

    Tab le 26 -1 SYMBol Para mete r Values Par ameter Val ue label_na me s tring of up to 6 a lphanu meric ch aracters symbol_na me s t ring o f up to 16 alphanumer ic char acters pat tern _va lue "{ #B {0 |1|X } . . . | #Q {0 |1 |2|3 |4|5 |6|7 |X} . . . | #H {0 |1 |2|3 |4|5 |6|7 |8|9 |A |B|C |D|E |F|X } . . . | {0 |1 |2 |3|4 |5|6 |7|8 |9} . . . }[...]

  • Pagina 415

    SYMBol Selector :M ACHi ne {1|2 }: SY MBol The SYMBol se lector is use d as a part o f a compound header t o access the commands us ed to create symb ols. It always follows the MACHine select or because it selects a branch directly below the MACH ine level in the command tre e. Example OUT PU T XX X; ": MA CH IN E1 :S YM BO L: BA SE ’ DA TA [...]

  • Pagina 416

    PATTern Command :M AC Hi ne{1 |2 }:SY MB ol :PAT Te rn < la be l_na me >, <s ymbo l_ na me>, <p atte rn _v alue > The PATTern co mmand creates a pat tern symbo l fo r the speci fied labe l. Because don’t cares ( X) are allowed in the pattern value, it must always b e express ed as a string. You may still use different base s , b[...]

  • Pagina 417

    RANGe Command :M AC Hi ne{1 |2 }:SY MB ol :RAN Ge <la be l_ name >, <s ymbo l_ na me>, <s tart _v al ue>, <s top_ va lu e> The RANG e command cre ates a range sym b ol co ntaining a start value and a stop val ue for the specified labe l. The values may be in binary ( #B ), oct al ( #Q ), hexadecim al ( #H ) or decimal ( defa[...]

  • Pagina 418

    REMove Command :M AC Hi ne{1 |2 }:SY MB ol :REM ov e The REMove command deletes all symb ols from a specifie d machine. Example O UTPU T XXX; ":MA CHIN E1:S YMBO L: REMO VE" WIDTh Command :M AC Hi ne{1 |2 }:SY MB ol :WID Th <la be l_ name >, <w idth _v al ue> The WIDTh comman d specifies the width (num b er of characters) in w[...]

  • Pagina 419

    27 DATA and SETup Com mands[...]

  • Pagina 420

    Introduction The DATA and SETup commands are S Y STem comm ands that send and re ceive block d ata between the Ag ilent 1670G-s eries l ogic anal yzer and a controll er. Use the DATA instr uctio n to transfer acqu ired ti m ing a nd state data, and the S ETup instru ction to tr a nsfe r instru ment configurati on data. Th is is u s eful for: • Re[...]

  • Pagina 421

    Data Fo rmat To understand the format of the data within the block data, keep these important things in mind. • Data is sent to the controll er in b inary form. • Each byt e, as describ ed in this chapter, co ntains 8 b i ts. • The first bit of each b yte is t he MSB (mo st sig nificant bit). • Byte descripti ons are printed in binary, deci[...]

  • Pagina 422

    SYSTem:DA TA Command :S YS Te m:DA TA <bl oc k data > The SYSTem:DA TA command t ransmits the acq uisition m emory dat a from the control ler to the Agil ent 1670G-s eries lo gic analyz er. The blo ck data co nsists of a vari abl e number of byt es containing information captured b y the acq uisition chips . Because no parameter checking is p[...]

  • Pagina 423

    <block data> <block length specifier><section>... <block length specifier #8<length> <length> the to tal length o f all sect i ons in b yte format (must be re presented wi th 8 digits) <section> <section header><section data> <section header> 16 b ytes, describ ed on the fo llowing page <s[...]

  • Pagina 424

    Section Header Descr iption The sectio n header uses byte s 1 through 16 (this manual beg ins counting at 1; there is no byte 0). The 16 byt es of t he secti on header are as fo llows: Byte Position 1 10 b ytes - Section name ( " DAT A sp ac e sp ac e sp ac e sp ac e sp ac e sp ac e " in A SCII for the DA TA inst ruction) . 11 1 b y te - [...]

  • Pagina 425

    The values store d in the preamb le re present the capt ured data currently stored in this struct ure and not the current analyzer configurat ion. For example , the mo de of t he data ( bytes 33 and 1 0 3) may be STATE with tagging, while the current s etup o f the analyzer is TIMING. The next 70 byt es are for Analyzer 1 Dat a Information . Byte P[...]

  • Pagina 426

    Byte Position 41 4 bytes - Master chip for this analy z er 45 4 bytes - Maxim um hardware memo ry de pth available fo r this anal y zer 49 4 bytes - Unused 53 8 by tes - Sam ple period in picoseco nds (t iming onl y) Example The fo ll o wing 64 bits represe nt a sample period of 8,000 picose conds (8 nano seco nds): 00 00 00 00 0 0000 000 0000 0000[...]

  • Pagina 427

    Byte Position 173 88 b ytes - Numb er of valid rows of data (starting at b y te 5 91) for each pod. Bytes 1 73 through 2 28 are unused. Byte Position Bytes 229 through 23 2 - contain the number of valid rows o f data for pod 8. Bytes 233 through 236 - contain the number of valid ro ws of data for pod 7. Bytes 237 through 240 - contain the number of[...]

  • Pagina 428

    Acquisition Data Descrip t ion The acquisi t ion dat a sectio n consist s of a variable numb er of b ytes de pending on the acquisit ion mode and the tag se tting. The data is grouped in rows of byte s with o ne sample fro m each pod in a single row. Model Clock Po d Bytes Data B yte s Tota l Byt es Per Row 1672 G 4 by tes 8 byte s 12 byte s 1670 G[...]

  • Pagina 429

    The clock pods contain data mapped according to the clock desig nator and the board (se e below) . U nused clock lines should be ignored. po d8 -- 5 po d4 -- 1 Cl oc k Pod 1 < XXXX MLKJ > Where x = not used. Byte Position 591 1 byte - Not use d (MSB of clock pod 2). 592 1 byte - LSB of clock pod 2. Not Used. 593 1 by te - MSB o f clock pod 1.[...]

  • Pagina 430

    Tag Data Descri ption If tags are enabled for one o r bot h analyze rs, the t ag data fo llows th e acquisit i o n data. The fi rst by te of t he tag dat a is det ermined as fo llows: 591 + (bytes per row × maximum number of valid rows) Each row o f the tag data array co nsists o f o ne (sing le tags enabled) or two (both analyz er’s tags enab l[...]

  • Pagina 431

    <block data> <block length specifier><section>... <block length specifier #8<length> <length> the to tal length o f all sect i ons in b yte format (must be re presented wi th 8 digits) <section> <section header><section data> <section header> 16 byt es in the followi ng fo rmat: 10 b ytes for[...]

  • Pagina 432

    27 –1 4[...]

  • Pagina 433

    Pa rt 4 Oscillo scope Co m mands[...]

  • Pagina 434

    [...]

  • Pagina 435

    28 Oscillo scope Ro ot Level Co m mand s[...]

  • Pagina 436

    Introd uction Osci lloscop e Root Leve l commands control th e basi c operatio n of the oscillo scope. Refe r to fi gur e 28-1 for the mod u le le vel syn tax command di agram. The Root Level commands ar e: • AUTo scale • DIGitize This chapter o nly app lies to the os cillo scope o ption. 28 -2[...]

  • Pagina 437

    Figu re 28-1 Root L evel Co mmand Sy ntax Diag ram AUTo scale Command :A UT os cale The AUToscal e co mmand causes t he oscil loscope to auto matically select the vertical s ensitivit y, verti cal offset, t rigger so urce, trigg er le vel, and ti meb ase settings for optim um viewing of any input signals. The trigger source is the lowest numbered c[...]

  • Pagina 438

    Example This pro gram selects the osci lloscope in slot B, issues an autos cale co mmand, waits 5 seco nds for t he oscill oscope t o coll ect data, and then gets and prints the meas urement. 10 O UT PU T XX X; ": SE LE CT 2 " 20 O UT PU T XX X; ": AU TO SC AL E" 2 5 WA IT 5 3 0 DI M Me $[ 200] 40 O UT PU T ;" :M EA SU RE :[...]

  • Pagina 439

    DIGit iz e Command :D IG it ize The DIGitize command is used to acquire waveform data for transfer over GPIB and RS-232- C. The comm and initiat es Repetitive Run for the oscillo sco pe and the analyzer if it is grouped with the oscillo scope via G roup Run. If a RU N til condit ion has b een speci fied i n any module , the o scillosco pe and the g[...]

  • Pagina 440

    28 -6[...]

  • Pagina 441

    29 ACQui re Subsystem[...]

  • Pagina 442

    Introd uction The Acqu ire S u b s ystem commands are u s ed to set up acqu isition con ditions for the DIGiti ze command of th e oscill oscope system. The subsys tem contains commands to s elect the type of acq u isitio n and the nu mber of aver ages to be tak en if the averag e type i s chosen. Re fer to Figure 28-1 for the A CQuir e Subsystem Sy[...]

  • Pagina 443

    Figu re 29 -1 ACQ uire Su bsyst em Synt ax Diag ram Tab le 29 -1 ACQuire Parame t er Valu es Par ameter Val ue coun t_arg {2 |4 |8 |16| 32|6 4|12 8|25 6} The number of av erages to be taken of ea ch time point . ACQu ire Subsys tem 29 -3[...]

  • Pagina 444

    COUNt Command :A CQ ui re:C OU Nt < co un t> The COUNt command s pecifies the numb er of acquis itions for the runni ng weighted average. The COUN t com mand is onl y availabl e when the acquisit i on mo de is AVERage. This command generate s error 211 ("Leg al command b ut Settings conflict") if Norm al acquisi t ion mode is specif[...]

  • Pagina 445

    TY PE Command :A CQ ui re :T YP E {N OR Ma l| AV ER ag e} The TYPE command selects the type of acquisit ion that is t o take place when a D IGit ize or STARt command is execute d. One of two acqui sition types may be chosen: the NORMal or AVERage mode. In the NORMal mode, with the ACCumulat e command OFF , the oscil loscope acquires waveform data a[...]

  • Pagina 446

    29 -6[...]

  • Pagina 447

    30 CHANnel Subsystem[...]

  • Pagina 448

    Introd uction The C hannel Su bsystem command s contro l the ch annel d isplay and the vertical ax is of the oscillo scope. Each ch annel mu st b e programmed in depende ntly for al l offset, ran ge, and prob e function s . When ECL or T TL commands ar e execu ted, the vertical ran ge, offset, and tri gger le vels are automatically s et for optimum[...]

  • Pagina 449

    Figu re 30 -1 CHA Nnel Subs ystem Syn t ax Di agram CHAN nel Subsys tem 30 -3[...]

  • Pagina 450

    Tab le 30 -1 CHANnel Parame t er Valu es Par ameter Val ue channel_nu mber {1 |2} offset _arg a rea l number def ining th e volt age at t he center of the display . Th e offset ran ge is as follows (f or a 1:1 pro be setting) : Verti ca l Sen s itivi ty Vertical Ran ge Offset V oltage 4 mV - 10 0 mV/div 16 mV - 400 m V ± 2 V >1 00 m V - 40 0 mV[...]

  • Pagina 451

    Query : CHA Nn el<N >: CO UPli ng ? The COUPli ng query returns the current input impe dance for the speci fied channel. Returne d Format [: CH ANne l<N> :COU Plin g:] {D C|AC |DCF ifty }<NL > Example OUT PU T XX X; ": CH AN NE L1 :C OU PL IN G? " ECL Command :CHA Nn el <N >: EC L The ECL com mand sets the vertical[...]

  • Pagina 452

    OF FSet Command :C HANn el <N>: OF FS et < va lu e> The OF FSet command se ts t he volt age that is re presented at center s creen for the selected channel. The allowab le offset voltage values are shown in the table below. The t able represe nts values for a Probe sett ing of 1:1. The offset value is recompens ated whenever the probe a[...]

  • Pagina 453

    PROBe Command :C HA Nn el <N >: PR OB e <a tt en > The PRO Be command specifies t he atte nuation fact or for an external probe connected t o a channel . The command changes the channel voltage references s uch as range, offset , trigg er level, and automat ic measurements. The actual se nsitivit y is not changed at the channel input. T[...]

  • Pagina 454

    RANGe Command :C HA Nn el <N >: RA NG e <r an ge > The RANG e co mmand defines the full-scale ( 4 × Vo lts/D iv) vert ical axi s of the sel ected channel. The values fo r the RANGe co mmand are dependent on the current probe atte nuation factor for the select ed channel. The allowab le range fo r a probe att enuation factor o f 1:1 i s[...]

  • Pagina 455

    TT L Command :C HA Nn el<N >: TTL The TTL command sets the vertical range, offse t, and trigger level for the selecte d input channel for opti mum viewing of T TL signals. TTL val ues are: Range: 6. 0 V ( 1.50 V per division) Offset : 2.5 V Trigger Leve l : 1.62 V <N> {1|2 } Example OUT PU T XX X; ": CH AN NE L1 :T TL " To ret[...]

  • Pagina 456

    30 -1 0[...]

  • Pagina 457

    31 DISPlay Subsystem[...]

  • Pagina 458

    Introd uction The Dis play S u bsys tem is used to contr ol th e dis play of d ata from the oscillo scope. Refer to Figure 31-1 for the DISPlay Su b s ystem Syntax Diagra m. The DISPlay S ubsy stem comman d s are: • ACCumulate • CONNect • INSert • LAB el • MINus • OVE Rlay • PLUS • RE Mo ve This chapter ap plies on ly to the oscillo[...]

  • Pagina 459

    Figu re 31 -1 DISPl ay Subs ystem Syn t ax Di agram DISPlay Subsys tem 31 -3[...]

  • Pagina 460

    Tab le 31 -1 DISPlay Parameter Values Par ameter Val ue slot_# 1 or 2 1=ana l yzer, 2=oscillosc ope. bit_id an integer fr om 0 t o 31. channel_# 1 or 2 . label_s t r up to fiv e char ac ter s enclose d in single quo tes mak ing up a label name. label_id a st ring o f 1 alp ha and 1 numeric character fo r the oscilloscope , or 6 characte rs for the [...]

  • Pagina 461

    CONNect Command :D IS Pl ay:C ON Nect { {O N|1} |{ OFF| 0} } The CONNe ct command s ets t he Connect Dots mo de. When O N, each displayed s ample dot will be co nnected to t he adjace nt dot by a st raight li ne. When OF F, only the sampling point s will be display ed. Example OUT PU T XX X; ": DI SP LA Y: CO NN EC T ON " Query :D IS Pl a[...]

  • Pagina 462

    INS ert Command :D IS Pl ay:I NS ert {[ 2, ]<la be l> | 1 ,< labe l> ,<bi t_ id >} The INSert command ins erts waveforms i nto the current display. Time-correl ated waveforms fro m the logic analyzer m ay be adde d to t he current displ ay. The wavefo rms are added j ust below any currently displaye d signals. Only two o scillosco[...]

  • Pagina 463

    LABel Command :DI SP la y: LA Be l CH AN ne l< N> ,< la be l_ st r> The LABel co mmand is used t o assign a label stri ng to an osci l loscope channel. For singl e channel traces, the labe l string (up to five characters) appears on t he left of the waveform area of the display. Note that the label string cannot be used in place of the [...]

  • Pagina 464

    MINus Command :DI SP la y: MI Nu s [< mo du le _n um be r> ,] <l ab el >, <l ab el > The MINus co mmand algebrai cally subtract s one channel from another and inserts the result ant waveform on the display . The first parameter is an optio nal module specifier, al ways 2 fo r the os cillosco pe. The nex t t wo parameters are the l[...]

  • Pagina 465

    PLUS Command :D IS Pl ay :P LU S [< mo du le _n um be r> ,] <l ab el >, <l ab el > The PLU S command al gebraically adds two channels and ins erts the resultant waveform to t he current di splay. The first parameter i s an optional module specifie r, always 2 for the oscilloscope . The next two paramet ers are the labels of the wa[...]

  • Pagina 466

    31 -1 0[...]

  • Pagina 467

    32 MAR Ker Sub system[...]

  • Pagina 468

    Introd uction The os cill oscope ha s four marker s for making time and voltag e measuremen t. These measuremen ts may be made automaticall y or manu ally. A ddition al featu res in clude the ru n until time (R UNTil) mode and th e ab ility to ce nter on trig ger or mark ers in the disp lay area (CENT er) and . The RU NTil mode allows yo u to set a[...]

  • Pagina 469

    Figu re 32 -1 MARKe r Subsy stem Synt ax Diagra m MA RKer Subsyste m 32 -3[...]

  • Pagina 470

    Figu re 3 2-1 (conti nued) MARKe r Sub system Synt ax Diagr am (cont inue d) MARKer Subsy s te m 32 -4[...]

  • Pagina 471

    Figu re 3 2-1 (conti nued) MARKe r Sub system Synt ax Diagr am (cont inue d) Tab le 32 -1 M ARKer Parameter Values Par ameter Val ue channel_# {1 |2} marker _time time in se conds lt_arg time in second s gt_arg time in second s inrange_g t time in se conds inrange_lt time in second s level level in volts outrange_ gt time in second s outrange_ lt t[...]

  • Pagina 472

    AVOL t Command :M AR Ke r: AV OL t CH AN ne l< N> ,< le ve l> The AVOLt com mand moves the A m arker to the specified vo ltage o n th e indicated channe l. <N> {1|2} <level> the desi red marker vo ltage l evel, ± (2 × maximum offset) Example O UTPU T XXX; ":MA RKER :AVO LT CHA NN EL1, 2.75 " Query :M AR Ke r:AV O[...]

  • Pagina 473

    ABVolt ? Query :M AR Ke r:AB Vo lt? The ABVolt query ret urns t he difference betwee n the A m arker volt age and the B mark er voltage ( Vb – Va). Returne d Format [: MA RKer :ABV olt] <lev el>< NL> <level> level in volts of the B marker minus the A marke r Example OUT PU T XX X; ": MA RK ER :A BV OL T? " BVOL t Comma[...]

  • Pagina 474

    CENTer Command :M AR Ke r:CE NT er { TR IG ger| X| O} The CENTer co mmand allows yo u to positio n the indicat ed marker (TRIGger, X, or O ) at the cent er of the wavefo rm area on t he scope display. The CENTer co mmand adjusts the timebase delay to cause the trace t o be centered aro und the indicated marke r (s/Div remains unchanged) . Example O[...]

  • Pagina 475

    OAUTo Command :M AR Ke r: OA UT o {M AN ua l| CH AN ne l< N> ,< ty pe >, <l ev el >, <s lope >, <o ccur re nce> } The OAU To co mmand specifi es the aut omatic placeme nt specificat ion for the O marker. T he first parameter specifi e s i f automark er placement is t o be in the m anual mode or o n a specified channel.[...]

  • Pagina 476

    OT IMe Command :M AR Ke r: OT IM e <O _m ar ke r_ ti me > The OTIMe co mmand move s the O marker t o the specified time with respect to t he t rigger mark er. <O_marker _time> time i n seconds fro m trigger mark er to O marke r Example O UTPU T XX X;": MARK ER:O TIME 1E- 6" Query :M AR Ke r:OT IM e? The OTIMe q uery returns th[...]

  • Pagina 477

    RUNTil (Run Unt il) Command :M AR Ke r:RU NT il {O FF|L T, <t ime> |G T,<t im e> |INR an ge,< ti me >,<t im e>| OU TRan ge ,< time >, <tim e> } The RU NTil com mand allows you to set a stop condi t ion b ased on t he time interval bet ween the X marker and the O marker. In repet itive runs, when the ti me s pecif[...]

  • Pagina 478

    SHOW Command :MA RK er :S HO W {S AM Pl e| MA RK er } The SHOW comma nd allows you t o select either SAMP le rate or MARKer data (when markers are enabled) to appear on the oscillosco pe menus above the wavefo rm area. The SAMPle rate or MARKer data appears o n the channel, trigge r, display, and auto-m easure menus. Mark er data is always present [...]

  • Pagina 479

    TMAXimum ? Query :M AR Ke r:TM AX imum ? The TMAXimum query returns the value of the maximum tim e bet ween t he X and O mark ers. If there is no valid data, the query re turns 9.9 E37. Returne d Format [: MA RKer :TMA Ximu m] < time _val ue>< NL> <time_value> real number Example OUT PU T XX X; ": MA RK ER :T MA XI MU M? &quo[...]

  • Pagina 480

    TMODe Command :M AR Ke r: TM OD e {O FF |O N| AU TO } The TMODe command allows you to select the time marker mode. The choices are OFF, O N, and AUTO. When OF F, time marker measure ments cannot b e made. When the time m arkers are turned o n, the X and O markers can be m oved to mak e time and voltage measurements. The AUTO mode allows you to make[...]

  • Pagina 481

    VMODe Command :M AR Ke r:VM OD e {{ OF F| 0} | { ON|1 }} The VMODe command allows you to select the voltage marke r mode. T he choices are O F F o r O N. When O FF, vo ltage m arker measurement s canno t be made. W hen the vo ltage m arkers are t urned o n, the A and B markers can be moved to make volt age measurements. When used in co njunction wi[...]

  • Pagina 482

    VOTim e ? Query :M AR Ke r: VO Ti me ? CH AN NE L< N> The VOTi me query ret urns the current voltag e level o f the se lected so urce at the O marker. Returne d Format [: MA RKer :VOT ime] <lev el>< NL> <N> {1|2} <level> level in volts whe re the O marker cro sses the wavefo rm Example O UTPU T XX X;": MARK ER:V O[...]

  • Pagina 483

    VXTime? Query :M AR Ke r:XV OL t? C HA Nn el<N > The VXTime q uery returns the current vol tage leve l of the selected channel at the X marker. Returne d Format [: MA RKer :VXT ime] <lev el>< NL> <N> {1|2} <level> level in volts where the X marker crosses the waveform Example OUT PU T XX X; ": MA RK ER :V XT IM E?[...]

  • Pagina 484

    XAUTo Command :M AR Ke r: XA UT o {M AN ua l| CH AN ne l< N> ,< ty pe >, <l ev el >, <s lope >, <o ccur re nce> } The XAUTo command specifies the automat ic placement speci fication for the X m arker. The first parameter specifies if automarker placement is t o be in the Manual mode or on a specified channe l . If a ch[...]

  • Pagina 485

    XOTim e? Query :M AR Ke r:XO Ti me? The XOTime query returns the time i n seconds fro m the X mark er to the O marker. If data is not valid, the query returns 9.9 E37. Returne d Format [: MA RKer :XOT ime] <tim e><N L> <time> real number Example OUT PU T XX X; ": MA RK ER :X OT IM E? " XTI Me Command :M AR Ke r: XT IM e [...]

  • Pagina 486

    32 -2 0[...]

  • Pagina 487

    33 MEASu re Subsystem[...]

  • Pagina 488

    Introd uction The commands in the Meas ure S u b system are used to make automatic par ametric meas urements o n oscill oscope waveforms. Ex cept for SOU Rce, n o co mmands in the MEAS ure s ubsystem s et values. T he MEASure s ubsystem command s are: • ALL • SOU Rc e • FALLtime • VA MPlitud e • FRE Quency • VB A S e • NWIDth • VM A[...]

  • Pagina 489

    Figu re 33 -1 MEASu re Subsy stem Sy ntax Diag ram Tab le 33 -1 MEASu re Paramet er Val ues Par ameter Val ue channel_# {1 |2} MEASu re Subsyste m 33 -3[...]

  • Pagina 490

    ALL? Query :M EA Su re:[ SO URce C HA Nnel <N >;]A LL ? The ALL query make s a set of measurem ents on the displayed waveform using the s electe d source. <N> {1|2} Returne d Format [: ME AS ure: ALL PE Ri od] <r eal nu mber >; [ RI Se ti me ] <r ea l nu mb er >; [ FA LL ti me ] <r ea l nu mb er >; [F RE Qu ency ] <[...]

  • Pagina 491

    FAL Ltim e? Query :ME AS ur e: [S OU Rc e CH AN ne l< N> ;] FA LL ti me ? The FALLtim e query make s a fall time measurement on the selected channel. The measureme nt is made between t he 90% to the 1 0% vol tage point o f the first fall ing edge displaye d on screen. If a parameter cannot b e measure d, the instrument responds with 9.9E3 7. [...]

  • Pagina 492

    NWIDth ? Query :ME AS ur e: [S OU Rc e CH AN ne l< N> ;] NW ID th ? The NWIDt h query makes a ne gative width t ime measure ment on the selecte d channel. The m easurement is made b e t ween the 5 0% po ints of the first falling and the next rising edge display ed on screen. If a parameter cannot b e measured, the inst rument responds with 9.[...]

  • Pagina 493

    PERiod ? Query :ME AS ur e: [S OU Rc e CH AN ne l< N> ;] PE Ri od ? The PERiod query make s a period measure ment of the first complet e cycle displayed o n the se lected channel at the 5 0% l evel. The measurem ent is equivale nt to the inverse of the frequency. If a paramete r cannot be measured, t he instrument responds with 9 . 9E37 . Ret[...]

  • Pagina 494

    PWI Dth? Query :ME AS ur e: [S OU Rc e CH AN ne l< N> ;] PW ID th ? The PWIDth query makes a positive pulse width measure ment on the selecte d channel. The measurem ent is made b y finding the t ime difference betwe en the 5 0 % points of t he first rising and t he next falli ng edge displayed on screen. If a parameter canno t be measured, t[...]

  • Pagina 495

    SOURce Command :M EA Su re :S OU Rc e CH AN ne l< N> The SOURce com mand specifies the so urce to be used for sub s e quent measurement s . If t he source is no t specifie d, the last wave form source is assumed. <N> {1|2} Example OUT PU T XX X; ": ME AS UR E: SO UR CE C HA N1 " Query :M EA Su re:S OU Rce? The SOURce query ret[...]

  • Pagina 496

    VAM Plit ude? Query :ME AS ur e: [S OU Rc e CH AN ne l< N> ;] VA MP li tu de ? The VAMPlit ude query makes a voltage measure ment on the selected channel. The m easurement is m ade by finding t he relative max imum (V T OP) and minimum (VBASe) point s on screen. If a parame ter cannot be measured, t he instrument responds with 9 . 9E37 . Retu[...]

  • Pagina 497

    VMAX? Query :M EA Su re:[ SO URce C HA Nnel <N >;]V MA X? The VMAX que ry returns t he absolut e maxim um voltag e of the selecte d source. If a parameter cannot be measured, the instrument responds with 9. 9E3 7. Returne d Format [: ME AS ure: VMAX ] <v alue ><NL > <N> {1|2} <value> maximum voltage of sele cted wavefo[...]

  • Pagina 498

    VP P? Query :M EA Su re:[ SO URce C HA Nnel <N >;]V PP ? The VPP quer y makes a peak -to-peak vo ltage me asurement o n the se lected source. The measurement is made b y finding the absolute max imum (VMA X) and mi nimum (VMIN ) poi nts on t he displayed wavefo rm. If a parameter canno t be measured, t he instrum ent responds wit h 9.9E37 . R[...]

  • Pagina 499

    34 TIM eb ase Subsystem[...]

  • Pagina 500

    Introd uction The command s of the TIMe base Subsystem con trol the Timebase , Tri gger Delay Time, and th e Time base M ode . If TRIGg ered mod e is to be used, ensu re that th e tr igger speci fication s of the Trigger Subsys tem have be en set. The command s of the TIMebas e subsystem are : • DELay • MODe • RAN Ge This chapter ap plies on [...]

  • Pagina 501

    Figu re 34 -1 TIM ebase Sub syst em Sy ntax Di agra m Tab le 34 -1 T I Mebase Para meter Values Par ameter Val ue delay_ar g delay time in sec onds, fr om -2500 se conds thro ugh +2500 s econds. range_a rg a rea l number from 1 ns through 5 s TIMe base Subsys tem 34 -3[...]

  • Pagina 502

    DELay Command :T IM eb as e: DE La y <d el ay _t im e> The DELay command sets the time between the trig ger and the center of the screen. The full range is available for panning the waveform when acquisi tion is s topped. <delay_time> delay time in seconds, from -2500 seconds thro ugh +2500 seconds. Example O UTPU T XXX; ":TI M:DE [...]

  • Pagina 503

    MODE Command :TI Me ba se :M OD E {T RI Gg er ed |A UT O} The MOD E command s ets the oscillo scope t imebase t o either Auto o r Triggered mo de. When the AUTO mode is chosen, the oscill oscope wai ts approxim ately 5 0 ms fo r a trigge r to occur. If a trigger is not generat ed within t hat time , then aut o trigger is execut ed. If a signal i s [...]

  • Pagina 504

    RANGe Command :T IM eb as e: RA NG e <r an ge > The RANG e command sets the full -scale hori zontal time i n seconds. The RANGE value is ten t imes t he value in the s / Div fi eld. <range> time i n secon ds Example O UTPU T XX X;": TIME BASE :RAN GE 2 US" Query :T IM eb ase: RA NGe? The RANG e query returns the current setti [...]

  • Pagina 505

    35 TRIGger Subsystem[...]

  • Pagina 506

    Introd uction The command s of the Trigger S u b s ystem se t all the trigger co ndition s necess ary for ge nerating a trigger for the o scillos cope. M any of the command s in the Trigger subs ystem may be used in either the EDG E or the PATTern trigger mo de. If a command is a valid comm and for the chosen trigger mode, th en that s etting wi ll[...]

  • Pagina 507

    Figu re 35 -1 TRIGg er Subsyst em Synt ax Diag ram TRIGg er Subsys tem 35 -3[...]

  • Pagina 508

    Figu re 3 5-1 (conti nued) TRIGg er Subsyst em Synt ax Diag ram ( continu ed) Tab le 35 -1 TRIGger Par ameter Values Par ameter Val ue channel_# An integer from 1 t o 2 count_ # an integer from 1 thr ough 3 2000 level_v alue a rea l number from -6 .0 V to +6.0 V time a rea l number from 20 ns t h rough 160 ms TRIGg er Subsys tem 35 -4[...]

  • Pagina 509

    CONDition Command :TR IG ge r: [M OD E PA TT er n: ] CO ND it io n {E NT er |E XI T| GT ,<ti me >| LT,< ti me>| RA NG e,<t im e>,< ti me >} The C ON Dition command specifie s if a trigger is to be generated on entry (EN Ter) to a specific logi c pattern, when exit ing (EXIT) the specifi ed pattern, or if a spe cified pattern[...]

  • Pagina 510

    When LT (le ss than) is selected, the o s cillosco pe will t rigger on the first transiti on t hat causes the pattern specificat ion to be fals e, after the patte rn has b een true for the number of times specifi ed b y the trigg er eve nt count (DELAY co mmand). The firs t event in the se quence will o ccur when the specified patte rn is true for [...]

  • Pagina 511

    DELay Command :T RI Gg er:D EL ay [ EV EN t,]< co unt> The DELay command i s used to specify the number of events at which trigger occurs. The t ime delay (see TIMe:D ELay) is counted after the event s delay. The D ELay co mmand cannot b e used in t he IMMediate trigger mode . In pattern mode, the DELay value corresponds to the Count field di[...]

  • Pagina 512

    LEV el Command Fo r EDGE trigg er mod e: : TR IG ge r: [M OD E ED GE :S OU Rc e CH AN ne l< N> ;] LE Vel< va lu e> For PATT ern trigger mo de: :T RIGg er :[ MODE P ATTe rn :P ATH CH ANne l< N> ;] LE Vel< va lu e> The LEVel command sets the trigger level voltage for the selected source or path. This command cannot be used in [...]

  • Pagina 513

    Query Fo r EDGE trigg er mod e: : TR IG ge r: [M OD E ED GE ;S OU Rc e CH AN ne l< N> ;] LE Ve l? For PATT ern trigger mo de: :T RIGg er :[ MODE P ATTe rn ;P ATH CH ANne l< N> ;]LE Ve l? The LEVel q uery returns t he trigger leve l for the current path or source. Returne d Format [: TR IGge r:LE Vel] <va lue> <NL> Example F [...]

  • Pagina 514

    LOGic Command :T RI Gg er:[ MO DE P AT Te rn;P AT H CH AN ne l<N> ;] LOG ic {H IGH| LO W| DONT ca re} The LOG ic command s ets the lo gic for each trigger path in the PATTern trigger mode . The choices are HIGH, LOW, and D O NTcare. T he trigger level set by t he LEVel co mmand dete rmines logic hi gh and low t hresho ld levels . Any voltage [...]

  • Pagina 515

    MODE Command :T RI Gg er :M OD E {E DG E| PA TT er n| IM Me di at e} The MOD E command al lows you to s e lect the trigger mode for the oscillo sco pe. In the IMMediate trigg er mode, the osci ll o scope goes to a freerun mode and does not wait for a trigger. Generally , the IMMediate mode is used when correlati ng measureme nts with the analyzer. [...]

  • Pagina 516

    PA TH Command :TR IG ge r: [M OD E PA TT er n; ]P AT H CH AN ne l< N> The PATH com mand is use d to se lect a t rigge r path for t he subs e quent LOGic and LE V el co mmands. This comm and can only b e used in the PAT T ern tri gger mode. <N> {1|2} Example O UTPU T XX X;": TRIG GER: PATH CHA NNEL 1" Query :T RI Gg er:P AT H? [...]

  • Pagina 517

    Query :T RI Gg er:S LO Pe? The SLOP e query returns t he slope of the current t rigger source. Returne d Format [ :T RI Gg er :S LO Pe ] {P OS it iv e| NE Ga ti ve }< NL > Example OUT PU T XX X; ": TR IG :S OU R CH AN 1; SL OP ?" SOURce Command :T RI Gg er:[ MO DE E DG E; ]SOU Rc e CH AN ne l<N> The SOURce command is used t o [...]

  • Pagina 518

    35 -1 4[...]

  • Pagina 519

    36 WAVeform Subsystem[...]

  • Pagina 520

    Introd uction The command s of the Waveform subs ystem are use d to transfer waveform data from th e o scilloscope to a contr oller. The waveform reco rd i s actually contain e d in two portio n s; the waveform data and preamble . T he waveform d ata is the actual data acqu ired for each point when a DIGitize comm a n d i s executed . Th e preamble[...]

  • Pagina 521

    Format for Data Transfer There are thre e formats for transferring waveform data over the re mote interface. These formats are WORD, BYTE, or ASCII. WORD and BYTE form atted wavefo rm records are t ransmit ted using the arbitrary block program data format specifi ed in IEEE-48 8.2. Whe n you use this fo rmat, the ASCII character s tring "#8 &l[...]

  • Pagina 522

    WORD Form at Word dat a is two byt es wide wit h the mo st significant byte of each wo rd being transmitt ed first. In W ORD form at, the 15 leas t signifi cant bit s represent the waveform data. The possible range of data is divi ded into 32768 verti cal increment s . The WORD data structure for normal and average acquisit i o n types are shown in[...]

  • Pagina 523

    Data Convers ion Data sent from the osci lloscope is raw data and must be scaled for useful interpret ation. T he values used to interpret the data are t he X and Y references, X and Y origins, and X and Y increm ents. These values are rea d from the waveform preamble (see the PREamb le command) or by the queries of thes e values. Conversio n f r o[...]

  • Pagina 524

    Figu re 36 -3 WAVef orm Subs ystem Syn tax Di agram WAVefo rm Subsys tem Data Conv e rsi on 36 -6[...]

  • Pagina 525

    Figu re 3 6-3 (conti nued) WAVef orm Subs ystem Syn tax Di agram (Cont inued) Tab le 36 -1 WAVefo rm Paramete r Values Par ameter Val ue channel_# {1 |2} WAVef orm Subsyste m Data Con version 36 -7[...]

  • Pagina 526

    COUNt? Query :W AV ef orm: CO UNt? The C OUN t query returns the count last specified in the ACQuire Subsyst em. Returne d Format [: WA Ve form :COU Nt ] <cou nt>< NL> <count> {2|4|8|16|32|64|128|256} Example O UTPU T XXX; ":WA VEFO RM:C OUNT ?" DATA? Query :W AV ef or m: [S OU Rc e CH AN ne l< N> ;] DA TA ? The DA[...]

  • Pagina 527

    FOR Mat Command :W AV ef orm: FO RMat { BY TE|W OR D|AS Ci i} The FORMat co mmand specifies the dat a transmis sion mo de of wavefo rm data over the remote inte rface. See "Format for Data Transfer" earlier in this chapter for information o n the formats. Example OUT PU T XX X; ": WA V: FO RM W OR D" Query :W AV ef orm: FO RMat [...]

  • Pagina 528

    PREam ble? Query :W AV ef or m[ :S OU Rc e CH AN ne l< N> ;] PR Ea mb le ? The PREamb le q uery returns the preamb le of the specifi ed channel. The channel is specifie d using the SOURCE comm and. Returne d Format [: WA Vefo rm:P REam ble] <for mat> ,<ty pe>, <poi nts> ,<co unt> , <X in cr emen t>,< Xori gin&[...]

  • Pagina 529

    REC or d Command :W AV ef orm: [S OURc e CH ANne l< N>;] RE Co rd { FU LL|W IN Do w} The RECord co mmand specifies t he data yo u want to receive o ver the b us. The choices are FULL or WINdo w. When FULL i s chosen, the entire 8000-po int record of the specified channel is transmi tted over the bus. In WINdo w mode, only the data displayed o[...]

  • Pagina 530

    Query :W AV ef orm: SO URce ? The SOURce query returns the presently sele cted channel. Returne d Format [: WA Vefo rm:S OURc e] C HANn el<N ><NL > Example O UTPU T XXX; ":WA VEFO RM:S OURC E? " SP E Rio d ? Query :W AV ef orm: SP ERio d? The SPERio d q uery ret urns the pres ent sampling peri od. The sample pe riod is determi[...]

  • Pagina 531

    VA Lid ? Query :W AV ef orm: VA Lid? The VALid query checks the osci l loscope for acquired data. If a measurement is com pleted, and data has been acq uired b y all channels , the n the query report s a 1 . A 0 i s reported if no data has been acquire d for the last acquisi tion. Returne d Format [: WA Ve form :VAL id ] {0|1 }<NL > 0 No dat [...]

  • Pagina 532

    XORigin? Query :W AV ef or m: [S OU Rc e CH AN ne l< N> ;] XO Ri gi n? The XORig in query returns the X origi n value currently in the preamble. The value represents the tim e of the first data point in memory with respect to the tri gger point . Returne d Format [: WA Vefo rm:X ORig in]< valu e><N L> <N> {1|2} <value>[...]

  • Pagina 533

    YINCre m en t? Query :W AV ef or m: [S OU Rc e CH AN ne l< N> ;] YI NC re me nt ? The YIN Crement q uery ret urns the Y i ncrement value currently in the preamble . This value is the vo ltage di fference be tween cons ecutive dat a values. Returne d Format [: WA Vefo rm:Y INCr emen t]<v alue ><NL > <N> {1|2} <value> Y [...]

  • Pagina 534

    YREF erence? Query :W AV ef orm: YR EFer en ce ? The YREFere nce query returns the Y refe rence value currently in the preamble . This value specifi es the dat a value at center scree n where Y origin occurs. Returne d Format [: WA Vefo rm:Y REFe renc e]<v alue ><NL > <value> Y reference data value in preamb l e Example O UTPU T X[...]

  • Pagina 535

    Pa rt 5 Pattern Gen erator Command s[...]

  • Pagina 536

    [...]

  • Pagina 537

    37 Programming the Pattern Generator[...]

  • Pagina 538

    Prog ramm i ng the Patte rn Gene rator This chapter p rovides you wi th the i nformatio n n eeded to p rogr am the pattern generator of the A gilent 1 670G-se ries lo gic an alyzer. • Programming overvi ew an d instructi ons to h elp you get started • Pattern G e n erator command tree • Alphabeti c command-to-subsy stem dire ctory The next se[...]

  • Pagina 539

    Prog ram ming Ov e r v i ew This secti o n introdu ces you to the basic command structu re used to program th e pattern gener ator. Example Pattern Generator Program A typical pattern g enerator pro gram includes the fol lowing t asks: • select the patt ern generato r • set program param eters • define a pat tern generator program • run the[...]

  • Pagina 540

    Line 30 assigns lab el ’A’ , positive pol arity and ass igns the seven least significant bits of pod 5 Line 40 assigns lab el ’B’ and assigns all eight bits of pod 4 Line 50 rem oves all program line s Line 60 inserts a new line (after l ine 0) in the IN IT SEQUEN CE portio n of the program. Line 70 inserts a new line (after line 4) in t he[...]

  • Pagina 541

    Com mand Set Organization The command set for the Agile nt 1670G pattern generat or is divided into four separate s ubsystems. The subsy stems are : FORMat, SEQ uence, MACRo, and the SYMBol subsys tem . Each of t he subs y stems comm ands are covered in their indi vidual secti ons late r in this chapter. Each of these sections contain a descriptio [...]

  • Pagina 542

    Table 3 7-1 sho ws t he alphabe tical com mand to subs y stem di rectory. Tab le 37 -1 Alphabet i c al Command t o Sub syste m Direc tory Command W here Used BASE S YMBol CLOCk F ORMat COLumn S EQuence DELay F ORMat EPATt ern SEQue nce INSer t MAC Ro, SEQuence LABel FORMat MODe F ORMat NAME M ACRo PAR ameter M AC Ro PATTern S YMBol PROGra m SEQue n[...]

  • Pagina 543

    Patte rn Ge nera tor Level Comm ands The Patt ern Generat or Level Commands co ntrol the o peration of patter n generato r programs. The two commands are STEP and RESume. Patter n Generator Lev e l Syn tax Di agram count = intege r from 1 to 1 00,000 spe cifying the numb er of vect ors st epped. 37 –7[...]

  • Pagina 544

    STEP Command/Que ry The STEP co mmand consis ts of fo ur types: the STEP Count command, the STEP command, the the ST EP query, and the STEP FSTate command. The STEP Co unt command specifi es the ve ctor range for t he STEP command. The valid vector range for the STEP Count command is from 1 t o 100,00 0. The defaul t is 1. If <count> is great[...]

  • Pagina 545

    Query :S TE P? Returne d Format [S TEP] < co unt> Example 10 DI M Sc $[ 10 0] 20 OUT PU T XXX; ": STEP ?" 3 0 EN TE R XX X; Sc $ 4 0 PR IN T Sc $ 50 END This exam ple queries and prints the st ep count. STEP FSTa t e command Sy n tax :S TE P FS Ta te Example OU TPUT XXX ;":S TEP FSTA TE" Programming the Patt ern Ge nerator[...]

  • Pagina 546

    RESum e Command W hen the pat tern generator encount ers a BREAK instruct ion, program execut ion is hal ted. The RESume co mmand allows the prog ram to conti nue until ano ther BREAK inst ruction is enco untered, or unt i l the e nd of the program is reached. Command Sy ntax :RES um e Example O UTPU T XXX; ":RE SUME " Programming the Pat[...]

  • Pagina 547

    38 FORMat Subsystem[...]

  • Pagina 548

    FOR M a t Subsyste m The commands of the F ormat sub system cont rol the pattern generato r values such as data output rate, delay, and t he channels that y ou want t o be active. The Form at subs ystem al so lets yo u specify t he clock source and al lows yo u to gro up channels toge ther under a co mmon, us er-defined name. Fo rmat Su bsy s t em [...]

  • Pagina 549

    CLOCk Command/Que ry The CLOCk command is used to speci fy the clo ck source for the patte rn generato r. The choices are INTernal or EXTernal. Wit h an internal clock source, t he cl ock perio d must al s o be specified ( real number val ue). With an external clock source , t he clock freq uency range must be specifi ed as one o f the follo wing: [...]

  • Pagina 550

    DELay Command/Que ry The DELay command is used to speci fy the clo ck out delay. The clock o ut delay setti ng all ows positioning of the clock with respect to the data. The delay set ting t hat correspo nds to zero i s uncalibrat ed and must be me asured by t he user to determi ne the b asic clock/dat a t iming. Sub se quent s ettings delay the cl[...]

  • Pagina 551

    LABel Command/Que ry The LABel command insert s a new label or modifies the contents of an exist ing lab el. If more than 126 lab els are specified, and an atte mpt is made to insert anot her new label, the last label (b ottom lab e l) will be modifi ed. Only 16 lab els may be insert ed or modifie d at a time. If more than 16 labe ls are specifie d[...]

  • Pagina 552

    <channel assignment> a string in one o f the fol lowing fo rms: ’#B01...’ for binary ’#Q01234567..’ for oct al ’#H0123456789ABCDEF...’ for hex adecimal ’0123456789...’ for decimal . Example Fu l l chan nel mode, all bi ts on po d 4: OU TP UT X XX ;" :F OR MA T: LA BE L ’D AT A’ ,P OS ,2 55 ,2 55 ,0 ,0 " Example H[...]

  • Pagina 553

    MODe The MOD e command i s used to spe cify eithe r FULL or HA LF channel output mode. Half channel mode allows a higher output data rate (greater than 100 MHz) , but with only 20 channels per . Full channe l output mode limit s t he maxim um dat a rate to 100 MHz but allows us e o f 40 channel s per . The output mode select ion sets the upper limi[...]

  • Pagina 554

    REMove Command The REMo ve is used to delete a single lab el, or al l lab els fro m t he format menu. If a l abel name is specifi ed, it m ust ex actly mat ch a label name currently active in the format menu. Command Sy ntax: :FORMat:REMove {ALL|<label name>} <label name> a s tring of up to 6 alphanumeric characters Example O UTPU T XXX[...]

  • Pagina 555

    39 SEQuen ce Subsystem[...]

  • Pagina 556

    SE Quence Subsy stem The commands of the Seque nce subsyste m allow y ou to write a pat tern generato r program using t he parameters set in the Format subsystem . SEQuenc e Subsystem Syn tax Di agram 39 –2[...]

  • Pagina 557

    SEQuenc e Subsystem Syn tax Di agram (cont .) column_num = an int eger s pecifying the c olumn t hat i s to rece ive t he new label label _name = the label name that is to be r emoved pr og_li ne_ num = an intege r specifying t he program line numbe r label _val ue = a string in one of the fo ll ow ing forms : ’#B01...’ for bina ry ’#Q0123456[...]

  • Pagina 558

    COLum n Command/Que ry The COLumn comm and allows you to reorder the label s in the Sequence and Macro menus and set the numerical base for each label . L abel order in the Format menu is not changed when the COLUMN comm and is used. The first paramete r of the command specifies the colum n number, foll owed by a l abel name and an optional number [...]

  • Pagina 559

    EPATtern Command/Que ry The EPATt ern command i s used to specify the e vent patt erns used b y the WAIT and IF commands. The patte rn generato r has three ex ternal input qualifie rs (W AIT2, WA IT1, and WAIT0) . There are e ight combinatio ns of th e three input qualifi ers that may be OR’ed toget her to create an event pattern specificati on. [...]

  • Pagina 560

    Example To specify an event pattern of (0, 1, 0) [ Wait 2=0 , Wait 1=1, Wait 0=0] use a <pattern_s pec> of 4 ( 000 0 0 100 ). To specify an event pattern of (0 , 0, 0 ) use a <pattern_spe c> of 1 (00 00 00 01 ). To specify an event pat tern of (0 , 1, 1) OR (1 , 1, 0) OR ( 1, 1, 1) use a <pattern_s pec> of 200 (1100 1000). SEQuen [...]

  • Pagina 561

    INS ert Command The IN Sert command is the b asic command used to build a pat tern gene rator sequence . This com mand is used t o inse rt (o r add) a se quence state ment after the specified line num b er. The first paramete r is the line number. The instructi on i s inserte d in the sequence after the specified l ine number. Se quence li nes with[...]

  • Pagina 562

    Instru ctio ns NO O P The NOOP instruct ion means there is no inst ruction for thi s line. BREak The BRE ak instructio n causes the execut ion of the s equence t o stop at this l ine. Us e the RESum e command to advance to t he next sequence line . SIGNal The SIGN al instruct ion is the complement of the W AIT IMB instructi on. When the pattern gen[...]

  • Pagina 563

    inserting lines as needed. The re peat loo p is assi gned a loop numb er by the system and is used to conne ct the l imits o f the repe at loop. Not e that there are locati on restri ctions on the use of the REPeat inst ructio n. MACRo# The MACRo# inst ruction i s used to invoke a previ ously defined user macro. The macro num b er is part o f the i[...]

  • Pagina 564

    PROGram Command/Que ry The PROGram command is used t o modi fy an existing pat tern generat or sequence line . The first paramete r is the line number. The instructi on t o b e modified is at the speci fied line num ber. No t e that some l ines cannot b e modifie d (SEQ UENCE STAR T and END) and some i nstructio ns can have parameters modified, but[...]

  • Pagina 565

    Instru ctio ns NO O P The NOOP instruct ion means there is no inst ruction for thi s line. BREak The BRE ak instructio n causes the execut ion of the s equence t o stop at this l ine. Us e the RESume co mmand to advance to t he next li ne sequence. When opera ting at 20 0 MH z you ca n not have t wo Break e v ents in s uccession. SIGNal The SIGN al[...]

  • Pagina 566

    REPeat The REP eat ins truct ion allo ws a group o f seque nce state s to be execut ed repetitivel y so me numb er of ti mes. The repeat count is specified i n the optio nal instruct ion argument parame ter. The REPeat and END L O OP seque nce lines cannot be mo dified ot her than b y changing the l oop co unt. MACRo# The MACRo# inst ruction i s us[...]

  • Pagina 567

    <line_number> integer where instruct i on/dat a will be modifie d <optional_ label> a string of up to 6 alphanumeric characters specifying the label where modificat ion b egins. <event> {A|B|C|D|IF|IMB} <count> integer repeat count <#> macro numb er <data_value> a string in one o f the fol lowing fo rms: ’#B01.[...]

  • Pagina 568

    REMove Command The REMo ve command allo ws you t o remove one or several line s from t he pattern g enerator program. If only one param eter number i s gi ven, that line number i s delete d. If two numbers are given, t he range of lines b etween t hose two value s inclusive is de l eted. The command REMove AL L deletes t he entire program. Command [...]

  • Pagina 569

    40 MACRo Su bsyst em[...]

  • Pagina 570

    MACR o Subs y ste m The commands of t he MACRo subs y stem allow you to write and edit macros for use in the patt ern generat or program. Up to 1 0 0 macros may b e called into the main listing program. The macros are labeled Macro0 thro ugh Macro99. Macro0 is always available (init ial conte nts are START/END lines only ). All other m acros are cr[...]

  • Pagina 571

    Figu re 40- 1 MACRo Subs ystem Syntax D iagram MACRo Sub s ys tem 40 –3[...]

  • Pagina 572

    Figu re 40- 1 ( conti nued) MACRo Subs ystem Syntax D iagram ( cont.) prog_l ine_ num = an intege r specifying t he program line numbe r macro_n ame = character str ing up to 6 cha racters in length macro_n umber = an integer 0 through 9 9 specif ying mac ro to act on param_name = character str ing up to 6 cha racters in length param_n umber = an i[...]

  • Pagina 573

    INS ert Command The IN Sert command is the b asic command used to build a pat tern gene rator macro. This command is used t o inse r t (o r add) a macro state ment after the specified l ine number. The first paramete r is the line number. The instructi on and/or data will be inserted in the macro after the specified line numb er. You cannot insert [...]

  • Pagina 574

    SIGNal The SIGN al instruct ion outputs a si gnal to the inte rnal Intermodul e Bus (IMB). This signal is used to t rigger the logic analyz er. WAIT The WAI T instructio n causes the pattern generator to stop and wait for the occurrence of the specifi ed event pat tern(s ). The e vent to be waited for by t his particular command is specified by the[...]

  • Pagina 575

    Command Sy ntax :MAC Ro <m #>:I NS ert <l in e_nu mb er>, { N OOP | WA IT,< ev en t> | S IGNa l | REPe at ,<co un t> | B RE AK } ,< data _v al ue>, <d ata_ va lu e>,. .. <line_number> integer which li ne instruct ion/data will be inserted after <event> { A | B | C | D | IMB } <count> integer rep[...]

  • Pagina 576

    NAME Command/Que ry The NAME comm and is used to specify a name for a macro. This name will then appear i n the front panel lists and displ ays in place of t he more generi c "Macro #" string. The name cannot be used to reference the macro in programs. It is intended for use as a means to cl arify or document sequence listing s and displa[...]

  • Pagina 577

    PARameter Command/Que ry The PARame ter command is used to enable and name paramete rs for a macro. The parameter name is optional , and if used, is for us e on displ ays and listi ngs only. When a parameter is enabled, macro calls from the sequence can pass values to the macro . These val ues can then b e used as data values in t he body of the ma[...]

  • Pagina 578

    PROGram Command/Que ry The PROGram command is used t o modi fy an existing pat tern generat or macro line . The first paramete r is the line number of the instructi on to be modified. Note that so me lines cannot b e modifi ed (MACRO and MACRO EN D) and som e instructi ons can have paramete rs modifie d. The instructio n type cannot be changed (REP[...]

  • Pagina 579

    Instru ctio ns NO O P The NO O P i nstruct ion means there is no operatio n for this line. BREak The BRE ak instructio n causes the e xecut ion of the macro t o stop at this l ine. Us e the RESume co mmand to advance to t he next li ne macro. SIGNal The SIGN al instruct ion outputs a si gnal to the inte rnal Intermodul e Bus (IMB). This signal is u[...]

  • Pagina 580

    Command Sy ntax :MAC Ro <m #>:P RO Gram < li ne_n um ber> , [< opti on al _lab el >,]{ N OO P | WA IT,< ev en t> | S IGNa l | REPe at ,< coun t> | B RE AK } ,< data _v al ue>, <d ata_ va lu e>,. .. <line_number> integer specifying t he line o f instruct ion/data to be mo dified <optional_ label>[...]

  • Pagina 581

    REMove Command The REMo ve allows yo u to remove one or several line s from t he macro. If only o ne parameter is g iven, only that li ne is dele ted. If two num b ers are specified, the range of lines bet ween those values, inclusi ve, is delete d. The command RE Move ALL can be use d to t otally clear the co ntents of a macro, but it does not rem[...]

  • Pagina 582

    40 –1 4[...]

  • Pagina 583

    41 SYMBol S u bsystem[...]

  • Pagina 584

    SYM Bol Subs yste m The SYMBol sub system co ntains the com mands that allow yo u to defi ne symbo ls on the co ntroller and do wnload them to t he Patt ern Generat or. SYMBo l Subsyst em Syntax Di agram 41 –2[...]

  • Pagina 585

    <labe l_name> = st ring of up t o 6 alph anumeric cha racters <symbo l_name> = st ring of up t o 16 alphanumer ic charact ers <patt ern_v alue> = st ring of one of the f ollowing f orms: ’#B01X...’ for binary ’#Q01234567X..’ for octal ’#H012 345678 9ABCDEF X... ’ for h exadecimal ’0123456789...’ for decimal <s t[...]

  • Pagina 586

    BASE Command The BASE command sets the base in which symb ols for the specified label will be displayed in the symb ol menu. It also specifies the bas e in which the symbo l offsets are displayed when sym b ols are use d. Not e that BINary is not availab le for l abels with more than 20 bits assig ned. In this case t he base will default t o HEXade[...]

  • Pagina 587

    PATTern Command The P ATTern co mmand allows you to specify a symbo l fo r a pattern on t he specified l abel. The pattern m ay contain "don’t cares" in t he form of XX ...X’s. Command Sy ntax: :SYMBol:PATTern<label_name>,<symbol_name>,<pattern_value> <label_name> string o f up to 6 alphanumeric characters <[...]

  • Pagina 588

    RANGe Command The RAN Ge command al lows yo u to create a symbo l for a range of values on a lab el. Note that Don’ t Cares are not allowed in range symbo ls. Command Sy ntax: :S YM Bo l: RANG e< la bel_ na me>, <s ym bol_ na me>, <s tart _v al ue>, <s top_ va lu e> <label_name> string o f up to 6 alphanumeric charac[...]

  • Pagina 589

    REMove Command The REMove command delet es all symbol s fro m the symb ol menu. Command Sy ntax: :S YM Bo l: REMo ve Example OUTPUT XXX;":SYMBol:REMove" SYMBol Sub system REMove 41 –7[...]

  • Pagina 590

    WIDTh Command The WID Th command specifies the numb er of characters displayed when symbols are used. Note that the WIDTh command does not affect the display ed le ngth of the symbo l value. Command Sy ntax: :S YM Bo l: WI DT h <l ab el _n am e> ,< wi dt h_ va lu e> <label_name> string o f up to 6 alphanumeric characters <width[...]

  • Pagina 591

    42 DATA and SETup Com mands[...]

  • Pagina 592

    Data a nd Se tup C ommands The DATA and SETup commands are sys tem commands t hat allo w you to send and receive instrument configurat ion, setup and program data t o and from a co ntroller in block form. Thi s is useful for saving b l ock data for re-loading the patt ern generat or. Thi s chapt er explai ns how to use the se commands. The blo ck d[...]

  • Pagina 593

    <section data> The section dat a format varies fo r each section and may be any l ength. Not e that t he tot al lengt h of a sectio n is 16 (for t he secti on header) plus the length o f the sectio n data. Thus, when calculating the length o f a blo ck of configurati on data, do n’t fo rget t o add the lengt h of the headers. Example 10 DI [...]

  • Pagina 594

    SYSTem:DA TA The DATA command is us ed to send and receive the patt ern generato r mai n program listi ngs and the macro listings . The comple te pattern generato r data block co nsists o f two s ections not count ing the SYMBO L se ction. The sectio ns are: Section 1 "DATA " Section 2 "MA CROS " Command Sy ntax: :S YS Te m: DAT[...]

  • Pagina 595

    SYST em:SETup The SETup command for the pattern generato r is used to configure syste m parameters, such as the pod and bit assig nment, clo ck rates, and o utput mode b y l oading saved configuratio ns. The "CONF IG" section consi sts of 4082 b ytes of informati on which fully describe the main paramet ers for t he pattern generator. The[...]

  • Pagina 596

    42 –6[...]

  • Pagina 597

    Pa rt 6 Pro gramm ing E xamples[...]

  • Pagina 598

    [...]

  • Pagina 599

    43 Pro gramm ing E xamples[...]

  • Pagina 600

    Introd uction This chap ter contain s short, usable , and tested p rogra m examples that cover the most asked for cases. HP BASIC 6.2 . • Mak ing a timin g analyzer measuremen t • Mak ing a s tate analyzer m easu rement • Making a state comp are analyzer measuremen t • Tran sferrin g logic an alyzer confi guration between the log ic analyze[...]

  • Pagina 601

    Making a Timing Analyzer Measurement This program s ets up t he l ogic analyzer t o mak e a simple ti ming analyz er measurement . This example can be us ed with t he E2433 Log ic Analyzer Training Board to acquire and display the out put of the ripple counter. It can also b e modifi ed to make any timing analyz er measure ment. 1 0 ! * ** ** ** **[...]

  • Pagina 602

    3 60 O UT PU T 70 7; ": MA CH 1: TW AV EF OR M: RE MO VE " 3 70 O UT PU T 70 7; ": MA CH 1: TW AV EF OR M: IN SE RT ’ CO UN T’ , AL L" 3 80 O UT PU T 70 7; ": MA CH 1: TW AV EF OR M: RA NG E 1E -6 " 39 0 OUTP UT 7 07;" :MEN U 1, 5" 40 0 ! 41 0 ! ** **** **** **** **** **** **** **** **** **** **** **** **[...]

  • Pagina 603

    Making a State Analyzer M eas urement This stat e analyzer prog ram select s t he Agilent 167 0G-seri es logi c analyzer, displays t he configuratio n menu, define s a state machi ne, displays the s t ate trigger menu, and sets a state trigg er for multile vel trigg ering. This program then starts a single acquis i tion measurem ent while checking [...]

  • Pagina 604

    33 0 ! 34 0 OUTP UT 7 07;" :MEN U 1, 3" 35 0 ! 3 60 ! C re at e a 5 le ve l tr ig ge r sp ec if ic at io n wi th t he t ri gg er o n th e 37 0 ! fo urth lev el. 38 0 ! 3 90 O UT PU T 70 7; ": MA CH IN E1 :S TR IG GE R: SE QU EN CE 5 ,4 " 40 0 ! 4 10 ! D ef in e pa tt er n te rm s A, B , C, D , an d E to b e 11 , 22 , 33 , 44 a n[...]

  • Pagina 605

    78 0 ! ** **** **** **** **** **** ** N OTE **** **** **** **** **** *** 79 0 ! T he F IND comm and sele cts the trig ger in t he 8 00 ! se qu en ce l ev el s pe ci fi ed a s th e tr ig ge r le ve l. 81 0 ! ** **** **** **** **** **** **** **** **** **** **** **** **** *** 82 0 ! 8 30 O UT PU T 70 7; ": MA CH IN E1 :S TR IG GE R: FI ND 4 ’E [...]

  • Pagina 606

    12 40 ! di spla y. 12 50 ! 1 26 0 O UT PU T 70 7; ": MA CH IN E1 :S LI ST :C OL UM N 1, ’ SC OU NT ’, D EC IM AL " 12 70 OUTP UT 7 07;" :MEN U 1, 7" 1 28 0 O UT PU T 70 7; ": MA CH IN E1 :S LI ST :L IN E -1 6" 12 90 ! 13 00 END Programming Examples Makin g a State Analyzer Measu rement 43 –8[...]

  • Pagina 607

    Making a State Com pare Measurement This program example acqui res a state listing, copie s the listi ng to the compare listi ng, acq uires another stat e listing, and compares bo th list ings to find differences . This program is written so that y ou can run it with the E2 433 Logi c Analyze r Training Board. This exam ple is the same as the "[...]

  • Pagina 608

    34 0 ! no sta tes unti l th e tr igge r is fou nd. 35 0 ! 3 60 O UT PU T 70 7; ": MA CH IN E1 :S TR IG GE R: SE QU EN CE 2 ,1 " 3 70 O UT PU T 70 7; ": MA CH IN E1 :S TR IG GE R: TE RM A ,’ SC OU NT ’, ’# HF F’ " 3 80 O UT PU T 70 7; ": MA CH IN E1 :S TR IG GE R: ST OR E1 ’ NO ST AT E’ " 39 0 OUTP UT 7 07;&[...]

  • Pagina 609

    7 60 O UT PU T 70 7; ": MA CH IN E1 :C OM PA RE :L IN E 61 43 9" 7 70 O UT PU T 70 7; ": ST AR T" 78 0 ! 79 0 ! Th e la st l ine of t he l isti ng i s no w di spla yed at c ente r sc reen 80 0 ! in ord er t o sh ow t he l ast four sta tes acqu ired . I n th is 81 0 ! ex ampl e, t he l ast four sta tes are stab le. How ever , in [...]

  • Pagina 610

    11 90 !*** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** * 12 00 ! Di mens ion stri ngs in w hich the com pare fin d qu ery (COM PARE :FIN D?) 12 10 ! en ters the lin e nu mber s an d er ror numb ers. 12 20 ! 12 30 DIM Line $[20 ] 12 40 DIM Erro r$[4 ] 12 50 DIM Comm a$[1 ] 12 60 ! 12 70 ! ** **** **** **** **[...]

  • Pagina 611

    16 20 ! ** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 63 0 ! T es t fo r th e la st e rr or . Th e er ro r nu mb er o f th e la st e rr or i s th e sa me 1 64 0 ! a s th e er ro r nu mb er o f th e fi rs t nu mb er a ft er t he l as t er ro r. 16 50 ! 16 60 Erro r_li ne=I VAL( Line $,10 ) 1 67 0 I F Er ro[...]

  • Pagina 612

    Transferring the Logic Analyzer Configu ration This program uses the SYSTem:SETup ? query to transfer the log ic analyze r configurati on to your controll er. T hi s program also uses the SYSTem:SETup command to transfer a logic analyzer configurat ion from the controll er back to the logic analyzer. The SYSTem:SETup command differs from the SYSTem[...]

  • Pagina 613

    34 0 ! 3 50 ! * ** ** ** ** ** ** ** ** ** * TR AN SE R TH E SE TU P ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** 36 0 ! Tr ansf er t he s etup fro m th e lo gic anal yzer to the buff er. 37 0 ! 38 0 ! ** **** **** RE- INIT IALI ZE T RANS FER BUFF ER P OINT ERS **** **** **** **** 3 90 A SS IG N @B uf f TO B UF FE R [N um by te s] 40 0 CONT ROL [...]

  • Pagina 614

    7 80 ! * ** ** ** ** ** * TR AN SF ER S ET UP T O TH E Ag il en t 16 70 G ** ** ** ** ** ** ** ** 79 0 ! Tr ansf er t he s etup fro m th e bu ffer to the Agil ent 1670 G. 80 0 ! 81 0 TRAN SFER @Bu ff T O @C omm; COUN T Nu mbyt es,W AIT 82 0 ! 83 0 ! ** **** **** **** **** **** RES TORE BUF FER POIN TERS *** **** **** **** **** **** 84 0 ! Re stor e[...]

  • Pagina 615

    Checkin g fo r Measurement Com pletion You can append this program or insert it into another program when you need to know when a measurement is complete. If it is at the end of a program it will tell you when measureme nt is complet e. If you insert it into a program, i t wi ll halt the pro gram until the current measurement i s complet e. This pr[...]

  • Pagina 616

    Sending Queries to the Logic Analyz er This program example cont ains the steps required to send a query to the logic analyz er. Sending the query alone only puts the req uested informat ion in an out put buffer of the l ogic analyz er. Yo u must fo l low the query wi th an ENTER state ment to transfer t he query response to the cont roller. When t[...]

  • Pagina 617

    3 10 ! S en d th e qu er y. In t hi s ex am pl e th e ME NU ? qu er y is s en t. Al l 3 20 ! q ue ri es e xc ep t th e SY ST em :D AT A an d SY ST em :S ET up c an b e se nt w it h 33 0 ! th is p rogr am. 34 0 ! 35 0 OUTP UT 7 07;" MENU ?" 36 0 ! 37 0 ! ** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ** 38 0 [...]

  • Pagina 618

    43 –2 0[...]

  • Pagina 619

    Index ! *CLS comman d, 8–5 *ESE co mmand , 8–6 *ESR comman d, 8–7 *IDN comman d, 8–9 *IST comman d, 8–9 *OPC comman d, 8–11 *OPT co mmand, 8–12 *PRE command , 8–13 *RST comman d, 8–14 *SRE comman d, 8–15 *STB comman d, 8–16 *TRG comman d, 8 –17 *TS T co mmand , 8–18 *WAI command , 8–19 .. ., 4 – 5 32767, 4 –4 9.9E+37[...]

  • Pagina 620

    OVERVie w:HI GH, 25–9 OVERVie w:LABel, 25–10 OVERVie w:LOW, 25–11 OVERVie w:OM ARker, 25–13 OVERVie w:XMAR ker, 2 5–15 PACK, 12–18 PATTe rn, 26–6 PR I Nt, 11–10 PURGe , 1 2–18 RANGe, 14–8, 16–15, 1 8–9, 20–9, 22–16, 23–17, 26–7 RE M ove , 1 4–9, 15–12, 17–15, 18–10, 21–7, 23–17, 24–15, 26–8 REName, 12[...]

  • Pagina 621

    G GET, 2–6 Group ex ecute trigger, 2–6 H HAXis command /query, 19–5 HEADer command , 1–16 , 11–8 Headers, 1–6, 1– 8, 1–11 HISTogram: H STatisti c q uery, 25–16 HIST o gram: LABel co mmand /query, 25–17 HISTogram: OTHer command/query, 25 –18 HISTogram: QUALifie r command/query, 25 –19 HISTogram: RANGe comman d/qu ery, 25 –2[...]

  • Pagina 622

    P PACK command , 1 2–18 Paramet er sy ntax r ules, 1–12 Paramet ers, 1–7 Parit y, 3– 9 Parse tree , 5 –8 Parser , 5–3 PATTern command, 26–6 PON, 6–5 Preamb le descri ption, 27–6 PRINt command, 11–10 program example se nding queries to the logi c analyze r, 28 –18 st ate analy z e r, 2 8 –5 st ate compare, 28–9 SYSTem: S ET[...]

  • Pagina 623

    XTAG , 17–22, 24–21 XTIMe, 14–10 , 23–25 Query errors, 7–5 query program e xamp le, 28–18 Query res pon se s, 1–15, 4 –4 Q ue sti on m ar k, 1– 10 QYE, 6–5 R RANGe command, 26–7 RANGe command /query , 14–8, 16 – 15 , 18–9, 20–9, 22–16, 23 –1 7 Recei ve Data (R D), 3–4, 3–5 Remote , 2–5 Remote enabl e, 2– 5 [...]

  • Pagina 624

    SF O Rmat Subsyste m, 1 5–3 SLISt Subsyste m, 1 7–3 STRigger Su bsystem, 16–3, 16 – 4, 16–5 SWAVeform Subsystem, 18–3 SYMB ol Su bsyst em, 26–3 TFOR mat Su b syst em, 21–3 TLIS t Sub syst em , 24–3 TTRig g e r S ubsyst em, 22–3 TWAVe form S ubsy stem, 23–3, 23–4 WLIS t Sub syst em, 14–3 Syntax diagrams IEEE 488.2, 5–5 Sy[...]

  • Pagina 625

    © Copyright Agilent Technologies 1992-2 002 All Rights Reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws. Restricted Rights Legen d Use, duplication, or disclosure by the U.S. Government is subject to restrictions set forth in subparag raph (C) (1) ( ii) of[...]

  • Pagina 626

    Produc t Warranty This Agilent Technologies product has a warranty against defects in material and workmanship for a period of one year from date of shipment. During the warranty period, Agilent Technologies will, at its option, either repair or replace products that prove to be defective. For warranty ser vice or repair, this product must be retur[...]