Agilent Technologiesメーカー1660ASの使用説明書/サービス説明書
ページ先へ移動 of 576
Programmer’s Guide Publicati on n umber 01 660-9 7 03 3 Secon d ed ition , Janu ary 2 000 For Safe ty inform ation, W arranties, and Regulato ry informati on, see the pages behind t he inde x Co.
ii.
In This Book This programm er’s gui de co ntains gene ral informati on, mainframe leve l commands, logic anal yzer co mmands, oscillo sco pe module co mmands, and pro gramming example s for prog ramming the 1660 -series logic analy zers. This gui de focuses o n ho w to pro gram the instrument over t he GPIB and the RS-232 C interfaces.
If you are already famili ar wit h IEEE 488.2 pro gramming and GPIB o r RS-232 C, you may want to just scan these chapt ers. If yo u are new t o programmiung the system , you sho uld read part 1.
The commands explained in this part give you access to all the com mands used t o operate the oscilloscope port ion of the 1660 -series system. This part i s des igned to pro vide a concis e descripti on of each command.
vi.
CHAN nel Subs ystem 29 DI SPlay Su bsys tem 30 MARKer Subsyste m 31 MEA Sure Subsyst em 32 TIMeba se Subs ystem 33 TRIGge r Subs ystem 34 WAVefor m Subsyste m 35 Programmin g Exa mples 36 Ind ex vii.
viii.
Cont ents Part 1 Genera l Information 1 Introduct ion to Programming Talk ing to th e Instru ment 1–3 Initializ at ion 1–4 Instructio n Syntax 1–5 Output Command 1–5 Device Address 1–6 Instr.
3 Prog ramming Over RS-232C Interface O perat ion 3–3 RS-2 32C Cables 3 –3 Minimum Three- Wire Interface wi th So ftware Prot ocol 3– 4 Extended Int erface with H ardware Hands hake 3–4 Cable .
7 E rror Messag es Device Dependent Erro rs 7–3 Command Erro rs 7–3 Execut ion Errors 7–4 Internal Erro rs 7–4 Query E rrors 7–5 Part 2 Mainframe Commands 8 Common Comma nds *CLS (Clear Stat.
MESE<N> ( Module E vent Stat us Enable ) 9–14 MESR<N> ( Module Eve nt Status Registe r) 9–16 RMODe 9–18 RTC (R eal-time Clock) 9–19 SELect 9–20 SETColor 9– 22 STARt 9–23 STOP.
12 IN T ermodule Subsy st em :INTermodule 12 –5 DELet e 12–5 HTIMe 12–6 IN Port 1 2–6 INSert 1 2– 7 SKEW<N> 12 –8 TREE 12–9 TTIMe 12–10 Part 3 Log i c Analyzer C ommands 13 MACHi.
15 S FORma t Subsy st e m SF ORmat 1 5–6 CLO Ck 15– 6 LABel 15–7 MASTer 15–9 MO DE 15– 10 MOPQual 1 5–11 MQ Ual 15–1 2 REMo ve 1 5–1 3 SETHold 1 5–13 SLAVe 15–15 SOPQ ual 15–16 S.
CLRPatt ern 1 7–8 DATA 17–9 LIN E 17–9 MMODe 17–10 OPATtern 1 7–11 OSEarch 17–12 OS Tate 1 7–13 OTA G 1 7–13 OVE Rlay 17–1 4 REMo ve 1 7–1 5 RUNTil 17–15 TAVerage 17–17 TMAXimu.
19 SCHart Subsy st e m SCHart 19 –4 ACCumulate 1 9–4 HAXis 19– 5 VAXis 19– 7 20 COMPare Subsystem COMPare 20–4 CLEar 20–5 CMASk 20–5 CO PY 20–6 DATA 20–7 FIND 20 –9 LIN E 20–1 0 .
SEQuence 22– 17 SPERio d 22– 18 TCON trol 22– 19 TERM 22–20 TIMER 22–21 TPO Sitio n 22–22 23 T WAVeform Subsyst em TWAVe form 23–7 ACCumulate 23– 7 ACQ uisitio n 23–8 CENTer 23–8 C.
24 TLISt Subsy stem TLISt 24–7 COLumn 24– 7 CLRPatt ern 2 4–8 DATA 2 4–9 LIN E 24–9 MMODe 24–10 OCON di tio n 24 –11 OPATtern 24–11 OSEarch 24–12 OS Tate 24–1 3 OTA G 2 4–14 REMo.
26 DAT A and SET up Commands Data F ormat 26–3 :SYSTem:DATA 26–4 Section Header D escriptio n 26–6 Section Data 2 6–6 Data P reamble D escriptio n 26–6 Acquisi tion D ata D e scription 26–.
LABel 3 0–7 MINus 30–8 OVERlay 30–8 PLUS 30–9 REMove 3 0 –9 31 MARKer S ubsystem AVO Lt 31–6 ABVolt? 3 1–7 BVOLt 3 1–7 CENTer 31–8 MSTats 31–8 OAUTo 31– 9 OTIMe 31–10 RUNTil 31.
PWID t h? 32–9 RISet ime? 32–9 SOURce 32–1 0 VAMPlitude? 32– 1 1 VBASe? 3 2–11 VMAX? 3 2–12 VMIN? 3 2 –12 VPP ? 3 2 –13 VT OP ? 32 –1 3 33 TI M eb ase Subsy stem DELay 33–4 MO DE 3.
SP ERiod? 35–1 3 TYPE? 35–13 VALid? 3 5 –14 XINCrement? 3 5–15 XORigi n? 35–1 6 XREFere nce? 35– 16 YINCrement ? 35–17 YOR igin? 35–1 7 YREFerence ? 35–18 Part 5 Prog ramming Example.
Pa rt 1 Gener al Information.
.
1 Introdu ct ion t o Pro gramming.
Introd uction This chap ter intro duces you to th e b asics o f remote programming and is org anized i n two secti ons. The firs t se ction, "Talk ing to th e Ins trument," con centrates on in itializi ng the bus, pr ogram syn tax and the eleme nts of a s yntax instuctio n.
Talki ng to the Instrume nt In general, comput ers acting as contro llers co mmunicate wi th the i nstrum ent by se nding and receivi ng message s over a re mote i nterface, such as GPIB or RS-232 C.
Initialization To make sure t he bus and all appropriat e interface s are in a k nown state, begin every program with an ini tializ ation st atement . BASIC provi des a CLEAR com mand that clears t he interface b uffer. If yo u are using G PIB, CLEAR will also reset the parser i n the logic anal yzer.
Instruct ion Syntax To program the logic analy zer remote ly, you must have an understanding o f the com mand format and st ructure. The IEE E 4 8 8.2 standard gove rns syntax rules pert aining t o how individual element s, such as he aders, separat ors, parameters and te rminators, may be gro uped toge ther t o form com plete instructi ons.
Device A d dr ess The locati on whe re the devi ce address must be specifi ed also de pends on t he host l anguage that yo u are using. In some language s, this could be speci fied outside the output command. In BASIC, this is always s pecifie d after the keyword OUTPUT.
When yo u look up a que ry in this programmer’ s reference , you’ ll find a paragraph labe led "Returne d Format " unde r the one lab ele d "Query.
Header T ypes There are thre e types of headers: Simple Co mmand, Compo und Command, and Commo n Command. Simple Comm and H eader Simple co mmand headers co ntain a si ngle key word. START and STO P are example s of simple co mmand headers typi cally used i n thi s lo gic analyz er.
Co mmo n Com man d H ead er Common command headers cont rol IEEE 4 88. 2 functio ns within t he logic analyzer, such as , clear st atus. The s yntax i s: *<command header><terminator> No whi te space o r separato r is allowed b etween t he asteri sk and the command heade r.
Query Usage Logic anal yzer ins tructions that are imme diately fo llowed b y a q uestion mark (?) are queries . After receiving a q uery, t he logic analyzer pars er places t he response in t he output b uffer. The out put message re mains in t he buffer until it is read or unt il anothe r logic anal yzer ins truct ion is i ssued.
Program Header Options Program headers can b e sent using any co mbinati on of uppercas e or lowercase ASCII characters. Logic anal yzer res ponses, ho wever, are al ways returned in uppercase.
Parameter Data Types There are thre e main ty pes o f data which are used in parame ters. They are numeric, st ring, and keywo rd. A fourt h type, b lock data, is us ed only fo r a fe w instructi ons:.
When a s yntax de finition specifi es that a number i s an integ er, that means that t he number should b e who le. Any fractional part would b e ignore d, truncating the numb er. Numeric param eters t hat accept fract ional value s are called real numb ers.
Select ing M ultip le Su bsystems You can send multiple program com mands and program queries for different subsys tem s o n the same line by se parating each command with a sem icolon. The colon foll owing the semicol on e nables y ou to enter a new subsyst em.
Rece i vi ng Inform ation fr om the Instrume nt After rece iving a query ( logic analyzer i nstructio n followe d by a q ues tion mark), the logic anal yzer int errogate s the req uested function and pl aces the answer in it s output queue. The ans wer remains i n the output queue unt il it is read, o r, unt il anot her command i s issued.
Response Header Options The format of the re turned ASCII string depends on t he current s ettings of the SYSTEM H EADER and LONGFO RM commands. The general fo rmat is <instruction_header><sp.
Response Data Formats Both numb ers and strings are returned as a series 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 LONGfo rm co mmand.
String Variables Because the re are so many ways to co de numbe rs, the 1 660-serie s lo gic analyzers handle almost all data as ASCII string s. Depending on y our host language, y ou m ay be ab le to use other t ypes when re ading in respo nses.
Example The fo llowing e xample s hows log ic analyzer data being re turned to a st ring variable with headers off: 10 OUT PU T XX X; ": SYST EM :H EA DE R OFF" 2 0 DI M Ra ng $[ 30 ] 30 O U.
This time the format o f the numb er (s uch as, whethe r or not exponential notati on i s used) is dependant upon your ho st languag e. In Basic, the output will look like: 1.
Multiple Queries You can send mult iple que ries to the logic anal yzer within a singl e program message, but y ou must also read t hem back wit hin a singl e program m essag e. This can be accomplishe d by ei ther reading them b ack into a string variable or into mul tiple nume ric variable s.
Instrument Stat us Status re gist ers track the current status of the l ogic analyz er. By checki ng the inst rument s tatus , yo u can find out whether an operatio n has bee n complet ed, whe ther the instrument is receivi ng trigge rs, and more . Chapter 6, "St atus Report ing," ex plains ho w to check the st atus of the instrument .
2 Programming Over GPIB.
Introd uction This secti on describ es the interface fu nctions and some gener al con cepts of th e GPIB. In gene ral, these fu nctio n s are defin ed by IEEE 488 .1 (GPIB bus s tandard). The y deal wi th gene ral b u s management issu es, as well as messag es which can be sent o ver th e bus as bu s commands.
Interface Capabilities The interface capabi lities of the 1 660- series lo gic analyzers, as defined b y IEEE 48 8.1 are SH1, AH1, T5 , TE0, L 3, LE0 , SR1, RL1 , PP 0, DC1, DT1 , C0, and E2. Com mand and Data Concept s The GPIB has two m odes of operat ion: command m ode and data mode .
If the co ntro ller addresse s the instrume nt t o talk, i t will re main configure d to talk unt il it receives: • an interface clear m essage (IF C) • another i nstrum ent’s talk addres s (O TA) • its own lis ten address (ML A) • a universal unt alk (UNT) command.
Example F or exam ple, if the ins trument addre ss is 4 and the int erface sele ct code i s 7, the inst ructi on will caus e an actio n in the i nstrument at device addre ss 704 .
Bus Commands The follo wing commands are IEEE 488.1 bus co mmands (A T N t rue). IEEE 488.2 de fines many of t he actions which are tak en when the se commands are received b y the l ogic analyz er.
3 Pro gramm ing Over R S-232C.
Introd uction This chap ter des cribes the interface fun ction s and some general con cepts of the RS-23 2C. The RS-23 2C inte rface on this ins trume nt i s Agilen t Te chnolog ies’ impleme ntation.
Interface Operation The 166 0-series lo gic analyzers can be prog rammed with a control ler over RS-232 C using either a minimum t hree-wire o r exte nded hardwire int erface. The operati on and e x act connect ions for these int erfaces are de scribed i n more det ail in the fo llowing secti ons.
Minimu m Three-Wire Interface with Software Protocol With a three-wire interface, the soft ware ( as compare d to int erface hardware) co ntro ls the dat a flow b etween t he logi c analyzer and the control ler. The t hree-wi re interface provides no hardware means t o cont rol data flow betwee n the cont roller and the log ic analyze r.
• Pin 7 SGND ( Signal G round) • Pin 2 TD (Transmi t Dat a from logic anal yzer) • Pin 3 RD (Re ceive Dat a int o log ic analyze r) The additio nal lines y ou use depe nds on yo ur cont roller’ s implementat ion of the exte nded hardwire int erface.
Cable Examples HP 900 0 Series 300 Figure 3-1 is an exampl e of how to conne ct t he 1660- series lo gic analyzer t o the H P 9862 8A Interface card of an H P 90 00 series 300 co ntro ller. F or mo re informati on o n cabling , refer to the reference m anual fo r your speci fic control ler.
Figu re 3 -2 25- pin (F) to 25-pi n (M) Cable Figure 3-3 sho ws the s chematic o f a 2 5-pin male to 25-pi n male cab le 5 meters in le ngth. The fo llowing cabl e suppo rts thi s configurat ion: • .
Figure 3-4 sho ws the s chematic o f a 9 -pin female to 25-pin male cabl e. The followi ng cab les suppo rt this configuratio n: • HP 24 542G , DB -9( F) t o DB-25 (M) , 3 me te r • HP 2454 2 H , DB- 9(F ) to D B-25( M), 3 met er, shiel ded • HP 4591 1-600 09, DB- 9(F ) to DB-25 (M), 1.
Interface Capabilities The baud rat e, stopbi ts, parity, pro tocol , and databits must be co nfigured exactl y the sam e for b oth the control ler and the log ic analyze r to pro perly communicat e o ver the RS-2 32C bus.
The contro ller and the 1660 -series logic analyze r must b e in the same bit mode t o pro perly com municate over t he RS-2 3 2 C. This me ans that t he control ler m ust have t he capability to send and recei ve 8 bit data.
Lo ckout Com mand To lock out the front -panel cont rols, us e the SYSTem command LO CKout. When t his functio n is on, all contro ls (e xcept t he power s witch) are ent irely locked out. L ocal control can only be re stored b y sending the :LO CKout O FF command.
3– 12.
4 Pro gramm ing an d Docu mentation Co nven tions.
Introd uction This chap ter covers the programmin g conven tion s u sed i n programmin g th e instr ument, as well as the docu mentation con ventions used in th is man ual. Th is chap ter also con tains a d etailed descri ptio n of the comm and tree and command tree traver sal.
Truncation Rule The truncatio n rule for the key words used i n headers and parame ters is: • If the lo ngfo rm has four o r fewer characte rs, there is no change in th e shortfo rm. Whe n the l ongform has m ore than fo ur characters t he shortfo rm is jus t the fi rst four charact ers, unles s the fo urth character i s a vowel.
Infinity Representation The represent atio n of infini ty is 9.9 E+37 fo r real numb ers and 32767 for integers . This is also the value returned when a measurement cannot b e made. Sequ ential and Over lapp ed Comman ds IEEE 48 8.2 m akes the distinct ion be tween seq uential and overlapped commands.
Not ation Conventions an d Definition s The follo wing convent ions are us ed in this manual when des cribing programming rules and ex ample. < > Angular b racket s enclos e words o r characters t hat are used to sym bolize a program co de parameter or a bus command ::= "is define d as.
Comm and Types As shown in chapt er 1, "H eader Types, " there are three t ypes of headers. Each header has a correspondi ng co mmand type. This secti on shows how they rel ate to the com mand t ree. System Com man ds The syst em commands reside at the to p level o f the com mand t ree.
The follo wing exam ples are writ ten using HP BASIC 6 .2 on a HP 900 0 Series 200/30 0 Cont roller. The quote d string i s place d on the bus, fo llowed b y a carriage ret urn and li nefeed (CRL F ). The three X s (XXX) shown in t his manual after an ENTER or O UTPUT st atement represents the device address required by your cont rol ler.
Figu re 4 -1 1660-S er ies Log i c A nalyzer Command Tree Programming and Doc umentat ion Conve ntions Tree Tra vers al Rules 4– 8.
Figu re 4 -1 (c ontinu ed) 1660 -Series Log ic A nalyz er C ommand T ree ( cont inued) Programming and Doc umentat ion Conve ntions Tree T raversal Rules 4–9.
Figu re 4 -1 (c ontinu ed) 1660 -Series Log ic A nalyz er C ommand T ree ( cont inued) Programming and Doc umentat ion Conve ntions Tree Tra vers al Rules 4– 10.
Tab le 4-2 Alph abetic Command Cros s-Ref erence Command Sub system ABVOLt MARKe r ACC umulate SCH art, SW AVefor m, TWA Vefor m, DISPlay ACQ Mode TFORmat ACQuisit ion STRigger , SWA Veform, TTR i gge.
Tab le 4-2 (cont inued) Alph abetic Command Cros s-Ref eren ce (cont inued) Command Subs yste m INITialize MMEMory INPort INTermo dule INSert INTermo dule, SW AVeform , TWAVef orm , WLISt , DISP lay L.
Tab le 4-2 (cont inued) Alph abetic Command Cros s-Ref eren ce (cont inued) Command Sub system REMov e SFORmat , SLI St, SW AVefor m, SYM Bol, TFORmat , TLI St, TWAVef orm , D ISPlay RENam e MACHine R.
Tab le 4-2 (cont inued) Alph abetic Command Cros s-Ref eren ce (cont inued) Com mand Set Organization The command s et for t he 166 0-serie s logic analyzers is di vided into 28 separate g roups: com mon comm ands, m ainframe comm ands, system commands and 23 set s of sub syste m commands.
Subsystems There are 23 subsy stems i n this ins trument. In the co mmand tree (figure 4-1) t hey are sho wn as branches , wit h the no de above showing t he name o f the sub sys tem. O nly one subsyst em may be selected at a time. A t power o n, the com mand parse r is set t o the root of the command tre e; therefo re, no subsys tem is sele cted.
• TRIGge r - allows access to the o scill oscope’ s trigger funct ions . • WAVeform - used t o transfer waveform data from the oscilloscope to a contro ller.
5 Message Commun ication and System Functions.
Introd uction This chap ter des cribes the operation of i nstrumen ts that o per ate in compl iance with the IEE E 4 88.2 (syn tax) s tandard . It is inten ded to give you en ough bas ic information ab out the IEEE 488.2 Stan dard to succes sfully p rog ram the log ic analyzer.
Protocols The proto cols of IEEE 48 8.2 define t he o verall scheme used by the cont roller and the ins trument t o comm unicate. This includes defi ning whe n it is appropriate for devices to tal k or liste n, and what happens when the pro tocol is not fol lowed .
Protoco l Ov erview The instrume nt and cont roll er communicat e using <pro gram mess age>s an d <response mess age>s. These messages serve as t he contai ners i nto which sets of pro gram commands or inst rument respo nses are pl aced.
Protoco l Ex ceptio ns If an error o ccurs during t he info rmation e xchange, the e xchange m ay no t be complet ed in a normal manne r. Some of the pro tocol e x ceptions are show n belo w. Comm and Erro r A com mand error wil l be re ported if the inst rument detects a sy ntax erro r or an unreco gnized command header.
Figu re 5 -1 Exampl e sy ntax di agram Messag e Commun ication an d System F unction s Sy ntax D iagrams 5– 6.
Syntax Overview This overvie w is intended t o give a quick g lance at t he syntax defined b y IEEE 48 8.2. It will help y ou understand many o f the t hings about the syntax you need to kno w. IEEE 48 8.2 de fines the blocks use d to b uild mess ages which are sent to the instrument .
Figu re 5 -2 <pr ogram mes sage > Parse Tree Messag e Commun ication an d System F unction s Syn t ax Ov er vi e w 5– 8.
Upper/Low er Case Equ i valen ce Upper and lo wer case le tters are equivalent. The mnemoni c SINGLE has the same sem antic meaning as the m nemonic single . <white spac e> <white space > is defined to be o ne or mo re characters fro m the A SCII set o f 0 - 3 2 decimal, e x cluding 10 deci mal (N L).
Suffix Unit The suffi x units that the ins trument wi ll accept are sho wn in t able 5 -2 . Tab le 5-2 <suf fix unit> Suf fix Ref erence d Unit V Volt S Second Messag e Commun ication an d Syste.
6 Status R eporting.
Introd uction Statu s rep orting al lows you to use in formation ab out the ins trume nt in you r p rograms, so that y ou have better con trol of the meas ureme nt proces s.
Figu re 6 -1 Stat us B yte Stru cture s and Conce pts Stat us Repor ting 6–3.
Event Status Register The Event St atus Registe r is an IEEE 488. 2 defined re gist er. The b its in this registe r are "latche d." That is , once an event happens which set s a b it, that bit will only b e cleared if the regis ter is re ad.
MSG - m essag e Indicates whe ther there is a message in the me ssage q ueue (N o t implement ed i n the 1660 -series logic analy zers). PO N - po we r on Indicates po wer has b een turned o n. URQ - user requ est Always ret urns a 0 from t he 166 0-serie s logic analyz er.
LCL - remot e to lo cal Indicates whe ther a remo te to lo cal transit ion has occurred. MSB - m o dule su mma ry bit Indicates t hat an enable event in o ne of t he mo dules Stat us regist ers h as occurred. Key Features A few of the mos t import ant feature s of Stat us Re porting are listed in the followi ng paragraphs.
Fi g ur e 6- 2. Servi ce R eque s t Enabli ng Serial P oll The 166 0-series l ogic anal yzer suppo rts the IEEE 4 88. 1 serial poll feat ure. When a s erial poll of the inst rument is request ed, t he RQS b it is returned o n bit 6 of the st atus byte .
Using Ser ial Po ll (GPI B) This exam ple wi ll show ho w to us e the se rvice re quest by conduct ing a seri al poll o f all inst ruments o n the GPIB b us. In t his ex ample, assum e that t here are two inst ruments on the bus: a Log ic Anal yzer at address 7 and a print er at address 1.
7 Error M essages.
Introd uction This chap ter lists th e error messages that relate to th e 1 660-serie s log ic analyzers . 7– 2.
Device Dependent Er r ors 200 Labe l no t fou nd 201 Pat tern stri ng inval id 202 Quali fier i nvalid 203 Dat a not availabl e 300 RS-232C e rror Comma nd Errors –100 Co mmand error ( unknown co mm.
Execution Errors –200 Can No t Do ( generic ex ecution error) –201 Not ex ecutab le in Lo cal Mode –202 Settings l ost due to ret urn-to-local o r po wer on –203 Trigg er ig nored –211 Legal.
–321 RO M checksum –322 Hardware and F irmware i ncompatible –330 Power on tes t failed –340 Self Test failed –350 Too Many Errors (Error queue o verflo w) Query Er r ors –400 Query Error (g eneric) –410 Query INTERRU PTED –420 Query UNTERMINATED –421 Q uery receive d.
7– 6.
Pa rt 2 Mainframe C ommands.
.
8 Com mon Command s.
Introd uction The common command s are d efined by th e IE EE 488 .2 stand ard . These command s must b e s u p ported by all instru ments that comply with this s tandard . Refer to figure 8-1 and table 8-1 for the comm on commands s yntax d iagra m .
Example I f the program mes sage in this e xampl e is re ceived b y th e logic anal yzer, it wil l initial ize th e disk and store the fi le and clear the status information . T hi s i s not b e the cas e if some o ther type of co mmand is received with in the pr o gram message .
Figu re 8 -1 Common C ommands Sy n tax Di agram Common Command s 8– 4.
Tab le 8-1 Common Command Parameter Valu es Par ameter Val ues mask An intege r, 0 thro ugh 255 . pre_mas k An integer, 0 t hrough 6 5535. *CLS ( Clear Status) Command *C LS The *CLS commo n co mmand clears al l event s tatus reg isters, queues, and data struct ures, includi ng t he device defi ned error q ueue and st atus by te .
*ESE ( Event S tatus E n able) Command *ES E <m as k> The *ESE command set s the Standard Event St atus Enab le Regis ter bits. The Standard Event St atus Enab le Regist er co ntains a b it to e nabl e the status indicat ors detai led in tab le 8-2.
Tab le 8-2 Standar d Ev ent Sta tus En able Regi ster B it Po s iti o n B it W e ight En ab le s 7 128 PON - Power O n 6 64 URQ - Use r Req ues t 5 32 CME - Co mmand Error 4 16 EXE - Exe cu t ion Erro.
Table 8 -3 shows the Standard Event Status Re gister. The tabl e det ails the meaning o f each b it po si tion in t he Standard Event Status Regis ter and the bit weight . When you read St andard Event St atus Register, the value returned is the t otal bit weight of all the bi ts that are hi gh at the time y ou read the b yte.
*IDN (I d entificat ion Numbe r) Query *I DN ? The *IDN? q uery allo ws the i nstrum ent to ident ify its elf. It returns the string: "H EW LETT -P AC KA RD,1 66 0A ,0 ,R EV < re vi si on _cod e> " An *IDN ? que ry must be the last query i n a message .
Example OUT PU T XX X; "* IS T? " Figu re 8 -2 *IST Dat a Struc ture Common Command s *IST ( Indivi dual Sta tus) 8– 10.
*OPC (Operation Complete) Command *O PC The *OPC command will cause the instrument to se t the operat ion compl ete bit in t he St andard Event St atus Regis ter when all pending device ope rations have finished. The commands which affe ct this b it are the overlapped commands.
*OPT (Option I dentif ication) Query *O PT ? The *OPT q uery identifie s the so ftware inst alled in t he 166 0-serie s logic analyzer. This que ry ret urns nine parame ters.
*PRE (Parallel Poll E n able Register Enable) Command *PR E <m as k> The *PRE co mmand s ets the parallel po ll regist er enabl e bit s. The P arallel Poll Enable Regis ter cont ains a mask value that is ANDed wit h the bits in the Status Bi t Re gister t o enab le an "ist " duri ng a parallel poll.
Tab le 8-4 1660 -Series L ogic Anal yzer Par al lel Poll Ena ble Regist er B it Po s iti o n B it We ig ht E n ab le s 15 -8 Not use d 7 12 8 Not use d 6 64 MSS - M aster Summa ry Status 5 3 2 ES B - .
*SRE (Service Request Enable) Command *SR E <m as k> The *SRE command sets t he Service Req uest E nable Reg ister b its. The Service Request Enable Registe r contains a mask value for the bi ts to b e enabled in t he Status Byte Regi ster.
Tab le 8-5 1660 -Series L ogi c Anal yzer Ser v ice Re ques t Enable Re gist er B it Po s iti o n B it We ig ht E n ab le s 15 -8 not us ed 7 12 8 not us ed 6 64 MSS - Mas t er Summa ry Sta t us ( alw.
Tab le 8-6 The Stat us B yte Reg i ste r Bit Pos ition B it Weight Bit Name Cond it ion 7 128 0 = not Us ed 6 64 MSS 0 = instrumen t has no r eason f or service 1 = instrumen t is reque sting se r vic.
*TS T (Te st) Query *T ST ? The *TST que ry returns t he re sults of the power-up se lf-test . The result of that t est is a 9-bi t mapped value which is place d in the o utput q ueue. A one in the co rrespo nding bit m eans that the test failed and a z ero in t he correspondi ng b it means that the t est passed.
*WA I (W a it) Command *W AI The *WAI co mmand caus es the de vice to wait until complet ing all of the overlapped co mmands b efore execut ing any furthe r commands o r queries.
8– 20.
9 Mainframe C ommands.
Introd uction Mai nframe comman d s con trol the bas ic op eration of the in strument for th e 1660-s eries l ogic analyze rs. Th e 1660-se ries logic an alyzer s are simi lar to a 16 500A logic an alysis sy stem with e ither a s ingle logi c anal yzer modul e (1660A) o r on e logic analy z e r and o ne oscillos cop e modu le (1 660AS) installe d.
Figu re 9 -1 Mainf rame C ommands Syntax Diagr am Mainframe Comman ds 9–3.
Figu re 9 -1 (c ontinu ed) Mai n f rame C ommands Synt ax Di agram ( cont inued) Mainfr ame Commands 9– 4.
Tab le 9-1 Mainframe Parameter Values Par ameter Val ues value An intege r from 0 t o 65535. module An int eger 0 t hrough 2 (3 t hroug h 10 u nus ed).
BEE Per Command :B EE Pe r [{ ON|1 }| {O FF |0}] The BEEPe r command se ts the be eper mode, which turns t he bee per sound of the instrument on and off. When BE EPer is sent with no argume nt, the beeper will be so unded without affecting the current mode.
CAPabilit y Query :C AP ab il ity? The CAPab ility que ry returns t he HP-SL ( H P System Language) and lo wer level capab il ity sets im plemented in the devi ce. Table 9 -2 list s the capab ility sets i mplemente d in the 1 660- series lo gic analyzers .
CARDcage Query :C AR Dc ag e? The CARDcage query re turns a seri es of int egers which identify t he module s that are installed in t he mainframe. The ret urned string is in two parts. The first five two-digit numbers i dentify t he card type. The identificati on numbe r for the logic analy zer is 32 .
CESE (Co mbin ed Event Status Enable) Command :C ES E <v al ue> The CESE com mand sets the Combine d Event St atus Enab le register. This registe r is the enab le re gister fo r the CESR register and contains the combi ned status of all o f the MESE (Module Event St atus Enable) registers of the 1 6 60-seri es logi c analyzer.
CESR ( Combined Event Status Register) Query :C ES R? The CESR que ry ret urns the conte nts of the Co mbined Event Stat us regist er. This regist er contai ns the co mbined s tatus o f all of the ME SRs (Modul e Event Stat us Regist ers) o f the 1 660-s eries lo gic analyzer.
EOI ( End Or Identify) Command :EO I {{ ON |1 }| {O FF |0 }} The EOI co mmand specifies whe ther or not the last byte of a reply from the instrument is to be s ent with the EOI b us contro l line se t true o r not. If EO I is turned off, the logic analy zer will no long er be s ending IEEE 4 88.
LOCKout Command :LO CK ou t {{ ON |1 }| {O FF |0 }} The LOCK out command lo cks out o r restore s front panel o peration. When this funct ion is o n, all co ntrols ( except the po wer switch) are enti rely lock ed out.
Example OUT PU T XX X; ": ME NU 0 ,1 " Tab le 9-5 Menu Par ameter Val ues Paramet ers Menu 0,0 System RS-23 2 /GP I B 0,2 Sy stem Disk 0,3 System Ut ilities 0,4 Sy s tem Tes t 1,0 Analyzer C.
Query :M EN U? The MENU query returns the current menu s election. Returne d Format [:ME NU] <m odul e>,< menu ><NL > Example OUT PU T XX X; ": ME NU ?" MESE<N> ( Module Event Status Enable) Command :ME SE <N > <e na bl e_ va lu e> The MESE com mand sets the Module Event Status Enable re gister.
Tab le 9-6 1660 -Series Main frame (I ntermod ule) M odule Ev ent St atus E nable Reg i ste r B it Po s iti o n B it We ig ht E n ab le s 7 12 8 not us ed 6 84 not us ed 5 32 not us ed 4 16 not us ed .
Tab le 9-8 1660 -Series O scillo scope M odule E vent St atus Enab le Regist er B it Po s iti o n B it We ig ht E n ab le s 7 12 8 not us ed 6 84 not us ed 5 32 not us ed 4 16 Number of ave rages met .
Tab le 9-9 1660 -Series L ogic Anal yzer Main fr a me Module Ev ent Status Reg i ster B it Bit W e ig ht B it N ame C ond it io n 7 128 0 = not us ed 6 64 0 = not us ed 5 32 0 = not us ed 4 16 0 = not.
Ta bl e 9- 11 1660 -Series O sci l loscope M odule E v ent St a tus Register B it Bit W e ig ht B it N ame C ond it io n 7 128 0 = not us ed 6 64 0 = not us ed 5 32 0 = not us ed 4 1 6 1 = Numb er o f.
Query :R MO De ? The query returns the current setti ng. Returne d Format [ :R MO De ] {S IN Gl e| RE Pe ti ti ve }< NL > Example OUT PU T XX X; ": RM OD E? " RTC ( Real-tim e Clock) C.
Query :R TC ? The RTC query returns the real-time clo ck setting . Returne d Format [ :R TC ] <d ay >, <m on th >, <y ea r> ,< ho ur >, <m in ut e> ,< se co nd > Ex.
Query :S EL ec t? The SELect? query returns t he current mo dule selectio n. Returne d Format [:SE Lect ] <mod ule> <NL> Example OUT PU T XX X; ": SE LE CT ?" Figu re 9-2 Selec t.
SET Color Command :S ET Co lo r {<co lo r> ,< hue> ,< sa t> ,<lu m> |D EF ault } The SETColor command is used t o change one of t he selections on the CRT, or to return to the defaul t screen co l ors.
ST A Rt Command :S TA Rt The STARt com mand starts the sel ected mo dule (or Inte rmodule) running in the specified run mode ( see RMOD e). If the spe cified module is in th e Intermodul e configuration, then the Inte rmodule run wi l l be started. The STARt command is an overlapp ed command.
ST OP Command :S TO P The STOP command st ops the selected module ( or Interm odule). If t he specified m odule is in t he Intermodule co nfiguratio n, then t he Intermo dule run will be stopped.
10 SYSTem Su bsyst em.
Introd uction SYSTem su b sys tem commands co ntrol fun ctions that ar e common to the en tire 1660 - Seri es logi c analysi s s ystem, in cluding for m atting query res ponses a nd enabli ng reading and wri ting to th e advis ory lin e of th e instr ument.
Figu re 10 -1 System Subsystem Commands S yn tax Diagram SYSTem Sub s ys tem 10 –3.
System Subsystem Commands S yn tax Diagram (Contin ued) Tab le 10 -1 SYSTem Paramet er Values Par ameter Val ues block_da t a Data in I EEE 488.2 format .
DATA Command :S YS Te m: DATA < bl oc k_da ta > The DATA command allows you t o send and re ceive acqui red dat a to and from a co ntroller in block fo rm.
Query :S YS Te m: DATA ? The SYSTem:DA TA query re turns the block data. The dat a sent b y the SYSTem:DATA query reflects the configurati on of the machi nes when the last run was performed. Any changes made s ince then throug h either front-panel operations o r programmi ng commands do no t affect the sto red configurati on.
ERR or Query :SY ST em :E RR or ? [N UM er ic |S TR in g] The ERRor query returns the oldest error from the error q ueue. The optio nal parameter de termines whethe r the erro r string should be ret urned along wi th the erro r number. If no parameter is rece ived, or if the parameter is NUMeri c, then o nly the e rror numbe r is returne d.
HEADer Command :SY ST em :H EA De r {{ ON |1 }| {O FF |0 }} The HEAD er comm and tells the inst rument whet her or not t o output a header for q uery responses .
LONGform Command :S YS Te m: LONG fo rm { {ON| 1} |{ OF F|0} } The LON Gform command s ets the lo ngform variable , which tel ls t he instrument how to fo rmat que ry response s. If the LONGfo rm command i s set to OF F , com mand headers and alpha argume nts are se nt from the i nstrument in the ab breviated fo rm.
PR INt Command :S YS Te m: PRIN t {A LL |P ARTi al ,< st art> ,< en d> }, DI SK,< pa th na me> :S YSTe m: PR IN t SCRe en {B TI F|CT IF |P CX |EPS }, DI SK,< pa th na me> The P.
The print q uery shoul d NOT b e sent with any othe r command or q uery on t he same com mand line. The print query never ret urns a header. Also , since response data from a print query may b e sent di rectly t o a printe r without modificat ion, the data is not returne d in blo ck mode .
The tot al length of a section is 16 (fo r the sectio n header) plus the l ength of the sect i on data. So when calculati ng the value for <length> , don’t forget to incl ude the le ngth of t he section he aders.
11 MMEMory S u bs ystem.
Introd uction The M MEMory (mass memory) sub system co m man d s pr ovide acces s to d isk drive. The 16 00-series lo gic analyzer s suppo rt both LIF (Logical Information For mat) and DOS (Dis k Operati n g System) formats.
<msus > refers t o the mass stora ge unit s pecifier ; however, it is not nee ded for the 166 0-series logic ana lyzers since t hey have o nly one driv e. The <msus > paramete r is shown in t he command sy ntax ex amples as a reminder that for the the 165 00A log ic analysis system can be used on the 16 60-ser ies logic a nalyzers .
Figu re 11 -1 Mmemor y Sub s yst em Commands Syntax Diagram MMEM o ry Subs ystem 11 –4.
Figu re 11 -1 Mmemor y Subsy s tem Commands Syntax Diagram (Contin ued) MMEM o ry Sub s ys t em 11 –5.
Figu re 11 -1 Mmemor y Sub s yst em Commands Syntax Diagram (Contin ued) MMEM o ry Subs ystem 11 –6.
Tab le 11 -1 MMEM o ry Para meter Val u es Par ameter Values auto_ file A st ring of u p to 1 0 alphanume ric cha racters f or LI F in the following form: "NNNNNNNNNN" or A st ring of up to 12 alphanume ric cha ra cte rs for DOS in the following form: "NNNNNNNN.
AUTo load Command :M ME Mo ry :AUT ol oa d {{ OFF| 0} |{ <a uto_ fi le >} }[,< ms us >] The AUTolo ad command contro l s the autoload feature which designat es a set of config uration files t o b e l o aded automat ically t he next time t he instrum ent is turned on.
<auto_file> A string of up to 1 0 alphanumeric characters for LIF in the fo l lowing form: NNNNNNNNNN or A string of up to 1 2 alphanumeric characters for D OS i n the fol lowing fo rm: NNNNNNNN.
<msus> Mass Sto rage Unit Specifier ( not nee ded by 166 0-serie s. 1650 0A <msus> is accepted b ut no act ion is taken) . Returne d Format [:MM EMor y:CA Talo g] < bloc k_da ta> <.
<name> A string of up to 1 0 alphanumeric characters for LIF in the fo l lowing form: NNNNNNNNNN or A string of up to 1 2 alphanumeric characters for D OS i n the fol lowing fo rm: NNNNNNNN.
<name> A string of up to 1 0 alphanumeric characters for LIF in the fo l lowing form: NNNNNNNNNN or A string of up to 1 2 alphanumeric characters for D OS i n the fol lowing fo rm: NNNNNNNN.NNN <msus> Mass Sto rage Unit Specifier ( not ne eded by 1 660 -series.
INI Tialize Command :M ME Mo ry :INI Ti al iz e [{LI F| DO S} [,<m su s> ]] The INITializ e command form ats the disk in eithe r LIF (Lo gical Informat i on Format ) or D OS ( Disk Operat ing System) . The <msus> is no t needed b y 1660 -series.
LOAD [: CONF ig] Command :MM EM or y: LO AD [: CO Nf ig ] <n am e> [, <m su s> ][ ,< mo du le >] The LOAD command loads a co nfiguration file from the disk int o the l ogic analyzer, o scillo scope, s oftware o ptions, or the syst em.
LOAD :IASSembler Command :M ME Mo ry :LOA D: IA SS embl er < IA _nam e> [, <m sus> ], {1 |2 } [, <mod ul e> ] This variatio n of the LO AD co mmand allows inverse ass embler files to be loaded int o a mo dule that performs st ate analys is.
MSI (Mass Storage I s) Command :M ME Mo ry :MSI [ <m su s>] The MSI command selects a default mas s storag e device; ho wever, it is not needed b y 1660-s eries lo gic analyz ers becaus e they have only o ne disk dri ve. If the 1 6 5 00A <msus> is se nt to the 16 60-seri es logi c analyzer, it is accepte d but no action is take n.
PA CK Command :M ME Mo ry :PAC K [< ms us >] The PACK command packs t he files o n the LIF disk the disk in t he drive. If a DOS disk is in the drive when t he PACK command i s sent, no action is taken. <msus> Mass Sto rage Unit Specifier ( not nee ded by 1 6 6 0-serie s.
Example s O UT PU T XX X; ": MM EM OR Y: PU RG E ’ FI LE 1 ’ " O UT PU T XX X; ": MM EM :P UR G ’ FILE 1 ’ ,I NTER NAL0 " Once ex ecute d, the pur ge command p ermanent ly erases all the ex istin g informat ion about the specif ied file.
Example s O UT PU T XX X; ": MM EM OR Y: RE NA ME ’ OL DF IL E ’ , ’ NEWF IL E ’ " O UT PU T XX X; ": MM EM :R EN ’ OL DF IL E ’ [, IN TE RN AL 1] , ’ NE WF IL E ’ ".
Example s O UT PU T XX X; ": MM EM :S TO R ’ DE FA UL TS ’ , ’ SET UPS FO R ALL MO DULE S ’ " O UT PU T XX X; ": MM EM OR Y: ST OR E: CO NF IG ’ ST AT EDAT A ’ ,I NTER NAL0 , ’ AN AL YZ ER 1 C ON FI G ’ ,1 " The appro priate module de signator " _X" is added to all files wh en they are store d.
Example 1 0 DI M Bl oc k$ [3 20 00 ] ! al lo ca te e no ug h me mo ry f or b lo ck d ata 2 0 DI M Sp ec if ie r$ [2 ] 30 OUT PUT XX X;": EOI ON " 40 O UTPU T XX X;": SYST EM H EAD OFF&q.
11 –22.
12 INTermodule S u bs ys tem.
Introd uction The INTer module s ubsystem co mmands specify intermodule arming from th e re ar-panel input BNC (ARMI N) or to the rear - pane l ou tput BNC (ARMOU T). Refer to figure 12-1 and table 12-1 for the INTermodul e Subsystem command s syntax diag ram.
Figu re 12 -1 Intermo dule Sub system Commands Syntax D i agra m INTermod ule Subsyste m 12 –3.
Figu re 12 -1 Intermo dule Sub system Commands Syntax D i agra m (Co n tin ued) INTermo dule Subsyst em 12 –4.
Tab le 12 -1 INTermo dule Para meter Val ues Par ameter Val ue module An intege r, 1 to 10 (3 thr ough 10 u nused) index An int eger, 1 t o 10 (3 t hroug h 10 u nused) setting A numeric, – 1.
HT IMe Query :H TI Me ? The HTIMe q uery returns a value repres enting t he internal hardware skew i n the Inte rmodule configurat ion. If there is no internal s kew, o r if intermodule bus is not co nfigured, 9. 9E 3 7 is returned. The inter nal hardwar e ske w is only a display adjus tment f or time-co rrelated wavefo rms.
Query :I NP or t? The INP ort query r eturns the current setting . Returne d Format [:IN Term odul e:IN Port ] {1|0 }<NL > Example OUT PU T XX X; ": IN TE RM OD UL E: IN PO RT ?" INS ert Command :I NS er t {< modu le >| OU T},{ GR OU P| <mod ul e> } The INSert command adds PO RT OUT t o the Interm odule configurati on.
SKEW<N> Command :S KE W< N> <se tt in g> The SKEW command se ts the sk e w value for a module. The <N> index valu e is the module numb er (1 co rresponds to t he logic analyz er, 2 corresponds to the os cillosco pe, and 3 throug h 10 unused).
TR EE Command :T RE E <m od ule> ,< mo du le> The TREE comm and allo ws an inte rmodule se tup to be specified in one command. T he first parameter is t he intermodule arm value for mo dule A (logic analy z er). The second parameter co rresponds to the i ntermodule arm value for P ORT OUT.
T TIM e Query :T TI Me ? The TTIMe query returns values representi ng the ab solute intermo dule trigger time for all of the m odules in the Interm odule confi guration. The first value is t he trigg er time for the m odule in s l ot A, the second value is for t he module i n slot B, t he third value is for slot C, etc.
Pa rt 3 Logic A nalyzer Command s.
.
13 MACHine S u bs ystem.
Introd uction The M ACHine s ubs ystem contains the command s that co ntrol th e machin e level of operatio n of the logi c analyzer. The fun ctions of thr ee of these co mmands res i d e in th e S tate/Timi ng Con figuration menu.
Figu re 13 -1 Machi ne S ubsys tem Synt ax D iagra m MACH ine Subsyste m 13 –3.
Tab le 13 -1 Machi ne Paramet er Values Par ameter Val ues arm_so urce {R UN |INT ermo dule |MAC Hine {1|2 }} pod_ list {N ON E|<p od n um>[ ,<po d nu m>].
ARM Command :M AC Hi ne {1|2 }: AR M <a rm_s ou rc e> The ARM comm and specifies the arming source of the specifi ed analyze r (machine) . The RU N option disables the arm source. F or example, if you do not want to use ei t her the i ntermodule bus or the other m achine to arm t he current machine , you specify t he RUN opt ion.
Example OUT PU T XX X; ": MA CH IN E1 :A SS IG N 5, 2, 1" Query :M AC Hi ne {1|2 }: AS Si gn? The ASSign q uery returns which po ds are assi gned to the current analyzer (machine) . Returne d Format [:MA CHin e{1| 2}:A SSig n] < pod_ list ><NL > <pod_list> {NONE|<pod >#[, <pod >#].
Returne d Format : [:MA CHin e{1| 2}:L EVel arm] <ar m_le vel> <NL> <arm_level> An integ er from 1 to 11 represent ing sequence level Example OUT PU T XX X; ": MA CH IN E1 :L EV.
REName Command :M AC Hi ne {1|2 }: RE Na me { <r es _i d>, <n ew _t ext> | DE Faul t} The REName command allows you to assi gn a specific name of up t o eight characters t o terms A throug h J, Range 1 and 2, and Timer 1 and 2 in t he state analyzer.
RESource Command :M AC Hi ne {1|2 }: RE So urce < re s_ term s> The RESource co mmand allows yo u to as sign reso urce terms A through J , Range 1 and 2, and Timer 1 and 2 to a parti cular analyze r (machine 1 or 2 ) . In the t iming analy zer only , two addit ional resourc e terms are a v ailable.
TY PE Command :M AC Hi ne {1|2 }: TY PE <an al yz er _typ e> The TYPE co mmand specifie s what type a s pecified analyz er (m achine) wil l be. The analyzer t ypes are s tate or ti ming. The TYP E command also allows you to turn off a particular machi ne.
14 WLISt Su bsyst em.
Introd uction The WLISt subsyste m contai n s the command s availabl e for the Timin g/ S tate mixed mode di s play. The X and O m ar kers can only b e placed on the waveforms in the waveform portion o f the Timin g /State mixe d mode d isplay . The X STate an d OSTate queri es retu rn what state s the X an d O mar kers are on.
Figu re 14 -1 WLISt Subsyst em Syntax Di agram WLI St Subsys tem 14 –3.
Tab le 14 -1 WLISt Parameter Valu es Par ameter Val ue delay_v alue Real number between − 2500 s and +2 500 s module _spec {1 |2 |3|4 |5|6 |7|8 |9|1 0} (slot where t iming car d is installed, 2 t h .
DELay Command :M AC Hi ne {1|2 }: WL IS t:DE La y <d el ay_v al ue > The DELay command specifies the amount o f t ime betwee n the ti ming trigger and the horizo ntal cent er of the the ti ming waveform display. The allowab le values fo r delay are − 2500 s to +2500 s.
INS ert Command :M AC Hi ne {1|2 }: WL IS t:IN Se rt [ <mod ul e_ sp ec>, ] <l abel _n am e> [,{< bi t_ id >|OV ER la y| ALL} ] The INSert command inserts waveforms in the timing waveform displ ay. The waveforms are added from top to botto m up to a maximum of 96 wavefo rms.
LI N E Command :M AC Hi ne {1|2 }: WL IS t:LI NE < li ne_n um _m id _scr ee n> The LINE comman d allows y ou to scroll t he state analyzer listing vertically. The command s pecifies the st ate line number re lative to t he trigg er that t he analyzer highlights at the cente r of the screen.
OSTate Query :W LI St :O STat e? The OSTate query ret urns the s tate where the O Marker is positioned. If data is not valid, the query returns 3 276 7.
Query :W LI St :O TIMe ? The OTIMe q uery returns the O Marke r positi on in ti me. If dat a is not valid, the q uery returns 9. 9E3 7. Returne d Format [ :W LI St :O TI Me ] <t im e_ va lu e> &.
REMove Command :M AC Hi ne {1|2 }: WL IS t:RE Mo ve The REMove co mmand delet es all wave forms from the displ ay. Example OUT PU T XX X; ": MA CH IN E1 :W LI ST :R EM OV E" XOTim e Query :M AC Hi ne {1|2 }: WL IS t:XO Ti me ? The XOTime query re turns the time from t he X marker to the O marker.
XSTate Query :W LI St :X STat e? The XSTate q uery returns the state where the X Marker is positioned. If dat a is not valid, the query returns 3 276 7.
Query :W LI St :X TIMe ? The XTIMe que ry returns t he X Marke r positi on in ti me. If dat a is not valid, the q uery returns 9. 9E3 7. Returne d Format [ :W LI St :X TI Me ] <t im e_ va lu e> .
15 SFORmat Subs ystem.
Introd uction The S FORmat sub sy s tem contain s the co mmands availab le fo r the State Format menu in the 1660 A-series logic an alyzers. These commands ar e: • CLOCk • LAB el • MA ST er • .
Figu re 15 -1 SFORmat Subsystem Sy ntax Diagr am SFORma t Subsyste m 15 –3.
Figu re 15 -1 SFORmat Subsy stem Sy ntax Di agram ( continue d) SFORma t Subsyste m 15 –4.
Tab le 15 -1 SFORma t Parameter Val u es Par ameter Val ues <N> {{ 1| 2}|{ 3|4| 5|6} |{7| 8}} label_name S tring of up to 6 alp hanumeric ch a ract er s polarity {P OSit ive| NE Gati ve} clock_b.
SFORmat Selector :M ACHi ne {1|2 }: SF OR mat The SFO Rmat (St ate F ormat) sel ector is used as a part o f a compound header to access the setti ngs in the State F ormat menu. It always foll ows the MACHine selecto r because it sele cts a branch direct ly below the MACH ine level in the command tre e.
Query :M AC Hi ne {1|2 }: SF OR mat: CL OC k< N>? The CLOCk query re turns 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_ .
<polarity> {POSitive|NEGative} <clock_bits> Format (int eger from 0 to 63) for a clock (clo cks are ass igned in decre asing order) <upper_bits> Format (int eger from 0 t o 65535) fo.
MASTer Command Sy ntax: :MAC Hi ne {1|2 }: SF OR mat: MA ST er <cl oc k_ id>, <c lock _s pe c> The MASTer clock command allows you to specify a mast er clock for a given machine. The master clock is used in all cl ocking modes (Maste r, Slave, and Demult iplexe d).
MODE Command :M AC Hi ne {1|2 }: SF OR mat: MO DE < acq_ mo de > The MOD E command al lows yo u to se lect the acquist ion mode of the state analyzer. The modes are e ither full- channel with 4 K bit of memory depth per channel or hal f-channel with 8 Kbit of m emory depth per channel.
MOPQual Command :M AC Hi ne {1|2 }: SF OR mat: MO PQ ua l <clo ck _p ai r_id >, <q ual_ op er at ion> The MOP Qual ( master o peration q ualifier) command al lows yo u to spe cify either t he AND o r the OR o peration b etween master clo ck qual ifier pair 1 and 2, or betwee n master cl ock qualifie r pair 3 and 4.
MQUal Command :M AC Hi ne {1|2 }: SF OR mat: MQ Ua l <q ual_ nu m> ,< cloc k_ id >, <qua l_ le ve l> The MQUal (mast er qualifier) command all ows you to specify t he level qualifie r for the master clo ck. <qual_num> {{1|2}|{3|4}} 1 thro ugh 4 fo r HP 16 60A, H P 1 661A, HP 1662A; o r, 1 or 2 for HP 1 663A.
REMove Command :M AC Hi ne {1|2 }: SF OR mat: RE Mo ve {<n am e> |A LL} The REMove co mmand allows yo u to de lete all labels or any one lab el for a given machine .
<pod_num> {{1|2}|{3|4}|{5|6}|{7|8}} 1 thro ugh 8 fo r the HP 1660A, 1 through 6 for t he HP 1661A, 1 thro ugh 4 for the HP 1 662A, and 1 through 2 for t he HP 16 63 A. <set_hold_ value> An integ er {0|1|2|3|4|5|6|7|8|9} represent ing the setup and hold values in t able 1 5-2.
SL AV e Command :M AC Hi ne {1|2 }: SF OR mat: SL AV e <c lock _i d> ,< cloc k_ sp ec > The SLAVe clock co mmand allo ws you t o specify a slave clo ck for a given machine. The slave clock is only use d in the Sl ave and Demulti plexed clocking modes.
SOP Qual Command :M AC Hi ne {1|2 }: SF OR mat: SO PQ ua l <clo ck _p ai r_id >, <q ual op er at io n> The SOP Qual ( slave operat ion q ualifier) command allo ws you t o specify either the A N D o r the OR o peration b etween slave clock qualifi er pair 1 and 2, or betwee n slave clo ck quali fier pair 3 and 4.
SQUal Command :M AC Hi ne {1|2 }: SF OR mat: SQ Ua l <q ual_ nu m> ,< cloc k_ id >, <q ual_ le ve l> The SQUal (slave qualifier) co mmand allo ws you t o specify the level qualifie r for the slave clock . <qual_num> {{1|2}|{3|4}} 1 thro ugh 4 fo r HP 16 60A, H P 1 661A, HP 1662A; o r, 1 or 2 for HP 1 663A.
TH Reshold Command :M AC Hi ne {1|2 }: SF OR mat: TH Re sh old< N> {T TL|E CL |< va lue> } The THResho ld command allows you to set the vo l tage t hreshold for a g iven pod to ECL, T T L, o r a specific vo ltage fro m − 6. 00 V to +6.00 V in 0.
16 STR igger (STR ace) Subsystem.
Introd uction The S TR i gger subs ystem con tains th e commands availab le for the State Trigger menu in the 16 6 0A-s eries logic anal yzers. Th e State Tri gger subs ystem will also accep t the S T.
Figu re 16 -1 STR i g ger S ubsys tem Synt ax D iagra m STRigger ( STRace) Sub s yste m 16 –3.
Figu re 1 6-1 (co n tinue d ) STR igger Subs ys tem Synt ax Dia gra m (co ntin ued) STRigger ( STRace) Sub s yste m 16 –4.
Figu re 1 6-1 (co n tinue d ) STRig ger S ubsys tem S untax Di agram (con t inu ed) STRigger ( STRace) Sub s yste m 16 –5.
Tab le 16 -1 STRigger Parameter Valu es Par ameter Values branch _qualif ier <qua lifi er> to_lev _num integer from 1 t o last leve l procee d_qua lifier <qua lifi er> occurr ence number f rom 1 to 10485 75 label_name str i n g of u p to 6 alphan umeric c ha r ac ter s star t_pat tern "{ #B {0|1 } .
Qualif ier The qualifi er for the s t ate trig ger subs ystem can b e te rms A through J , T im er 1 and 2, and Range 1 and 2. In addition, q ualifiers can be t he NO T bo olean function o f terms, ti mers, and range s.
<term3b> {B |N OTB} <term3c> {C |N OTC} <term3d> {D |N OTD} <term3e> {E |N OTE} <term3f> {F |N OTF} <term3g> {G |N OTG} <term3h> {H |N OTH} <term3i> {I .
STRigger ( STRace) Selector :M ACHi ne {1|2 }: ST Ri gger The STRigger ( STRace) ( State Trigg er) Com mand is used as a part of a compound he ader to access t he settings found in t he State T race menu. It always fol lows the MACH ine Comm and because it selects a branch dire ctly below the MACHine level in the co mmand tree .
BRA Nch Command :M AC Hi ne {1|2 }: ST Ri gger :B RA Nc h<N> <b ranc h_ qu al ifie r> ,< to _lev el _n um ber> The BRANch co mmand defines the branch qualifie r for a given seq uence level. When thi s branch q ualifier is mat ched, it wi ll cause t he seque ncer to jump to the speci fied seq uence level.
Example s O UT PU T XX X; ": MA CH IN E1 :S TR IG GE R: BR AN CH 1 ’ AN YSTA TE ’ , 3" O UT PU T XX X; ": MA CH IN E2 :S TR IG GE R: BR AN CH 2 ’ A ’ , 7" O UT PU T XX X; &.
Example This e xample wo uld be used to specify thi s complex quali fier. O UT PU T XX X; ": MA CH IN E1 :S TR IG GE R: BR AN CH 1 ’ (( A OR B) AN D (G O R H) ) ’ , 2" Terms A through E, RA N GE 1 , and TIMER 1 must b e grouped togeth er and terms F throu gh J, RANG E 2, an d TIMER 2 must be groupe d toget her.
FIND Command :M AC Hi ne {1|2 }: ST Ri gger :F IN D< N> <p roce ed _q ua lifi er >, <o ccur re nc e> The FIN D comm and defines t he proceed q ualifier fo r a given s equence l evel. The qualifi er tells the state analyzer when to proceed to the nex t seq uence level.
Query :M AC Hi ne {1|2 }: ST Ri gger :F IN D4 ? The FIN D que ry returns t he current pro ceed qual ifier specifi cation for a given seq uence level. Returne d Format [:MA CHin e{1| 2}:S TRig ger: FIN.
<label_name> String o f up to 6 alphanum eric characters <start_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 } . . . }" <stop_pattern> "{ #B {0|1 } .
SEQuen ce Command :M AC Hi ne {1|2 }: ST Ri gger :S EQ ue nce <n umbe r_ of _l evel s> , <l evel _o f_ tr igge r> The SEQuence command redefines the stat e analyzer t race seque nce.
STORe Command :M AC Hi ne {1|2 }: ST Ri gger :S TO Re <N> <s to re _q uali fi er > The STORe co mmand defines the store q ualifier fo r a g iven sequence l evel. Any data m atching the STORe qualifie r will act ually be s tored in memory as part of t he current trace dat a.
TA G Command :M AC Hi ne {1|2 }: ST Ri gger :T AG {O FF|T IM E| <s tate _t ag _q uali fi er >} The TAG com mand se lect s the t ype of co unt taggi ng (st ate or t ime) to be performed duri ng data acquisit i on. St ate tagging is indicated when t he parameter i s the st ate tag qualifie r, which will be count ed in the qualifie d state mode.
TAKenb ranch Command :M AC Hi ne {1|2 }: ST Ri gger :T AK en bran ch { ST ORe| NO ST or e} The TAKenbranch com mand allows you to speci fy whether t he state causi ng a seque nce level change is stored or not stored for t he specified machine.
TCONtrol Command :M AC Hi ne {1|2 }: ST Ri gger :T CO Nt rol< N> < ti mer_ nu m> , {O FF|S TA Rt |P AUSe |C ON Ti nue} The TCONt rol (tim er control) command all ows you to turn off, start , pause, or cont inue the t imer for the specifi ed level.
TERM Command :M AC Hi ne {1|2 }: ST Ri gger :T ER M <t erm_ id >, <l abel _n am e> , <p atte rn > The TERM command allows yo u to specify a patt ern recogni z e r term in the specified m achine. Each command deals with only one label in the gi ven term; t herefore, a complet e specification could require s everal commands.
Query :M AC Hi ne {1|2 }: ST Ri gger :T ER M? <t erm_ id >, <l abel _n am e> The TERM query ret urns the spe cification of the t erm specifi ed by te rm identificat i on and lab el name.
Query :M AC Hi ne {1|2 }: ST Ri gger :T IM ER {1|2 }? The TIMER query ret urns the current t ime value fo r the spe cified tim er. Returne d Format [:MA CHin e{1| 2}:S TRig ger: TIME R{1| 2}] <t ime_ valu e><N L> <time_value> A real numb er from 40 0 ns to 5 0 0 seconds i n increments which vary from 16 ns to 5 00 µ s.
Query :M AC Hi ne {1|2 }: ST Ri gger :T PO Si tion ? The TPOSi t ion q uery returns the current trigger position se t t ing. Returne d Format [:MA CHin e{1| 2}:S TRig ger: TPOS itio n] { STAR t|CE NTe.
17 SLISt Su bsystem.
Introd uction The S LISt su bsys tem contains the command s availab le for the State Listi ng me n u in the 1660A logic anal yzer. Th ese command s are: • COLumn • RUNTi l • CLRPattern • TA Ve.
Figu re 17 -1 SLIS t Subsyst em Syntax Di agram SLI St Subsys tem 17 –3.
Figu re 1 7-1 (co n tinue d ) SLIS t Subsy s te m Synt ax Diag ram (con t inu ed) SLISt Subsy s t em 17 –4.
Figu re 1 7-1 (co n tinue d ) SLIS t Subsy s te m Synt ax Diag ram (con t inu ed) SLI St Subsys tem 17 –5.
Tab le 17 -1 SLISt Parameter Valu es Par ameter Val ues module_num {1 |2|3 |4|5 |6 |7|8 } (2 t hrough 10 no t used) mach_num {1 |2} col_nu m Int eger from 1 t o 61 line_nu mber Integer fr om − 8191 .
SLISt Selector :M ACHi ne {1|2 }: SL IS t The SLISt se lector is use d as part o f a compound header to access tho se setti ngs normall y found in the St ate Lis ting menu. It always follows the MACHine selecto r because it sele cts a branch direct ly below the MACH ine level in the command tre e.
<col_num> integer from 1 to 61 <module_num> {1|2|3|4|5|6|7|8|9|10} (2 thro ugh 10 no t used) <label_name> string o f up to 6 al phanumeric characters <base> {BINary|HEXadecimal.
DATA Query :M AC Hi ne {1|2 }: SL IS t:DA TA ? <l ine_ nu mb er >,<l ab el _n ame> The DATA q uery returns t he value at a speci fied line numbe r for a give n label. The format will b e the sam e as the one shown in the li s ting dis play.
Query :M AC Hi ne {1|2 }: SL IS t:LI NE ? The LINE query ret urns the l ine numbe r for the state curre ntly in t he box at the cent er of the scree n.
OPATtern Command :M AC Hi ne {1|2 }: SL IS t:OP AT te rn <l abel _n am e> ,<la be l_ pa tter n> The OP ATtern comm and allo ws you t o const ruct a pattern re cognizer te rm for the O Marker which is the n used with the OSE arch criteria when mo ving the mark er on patterns.
OSEarch Command :M AC Hi ne {1|2 }: SL IS t:OS Ea rc h <o ccur re nc e> ,<or ig in > The OSEarch co mmand defines the search crite ria for the O mark er, which is then used with associate d OPATtern re cognize r specificati on when mo ving the mark ers on patterns .
OSTate Query :M AC Hi ne {1|2 }: SL IS t:OS Ta te ? The OSTate query ret urns the l ine number in t he listing whe re the O marke r resides ( − 8191 to +81 91).
Query :M AC Hi ne {1|2 }: SL IS t:OT AG ? The OTAG query ret urns the O Marker po sition in t ime when time tagging is on or i n states when stat e tagging is on, regardless of whet her the marker was posit ioned in time o r through a pattern se arch.
REMove Command :M AC Hi ne {1|2 }: SL IS t:RE Mo ve The REMove co mmand removes all labe ls, ex cept the leftmos t labe l, from the lis ting menu. Example OUT PU T XX X; ": MA CH IN E1 :S LI ST :.
There are two conditions which are based o n a compariso n of the acquired state data and the compare data image. The analyzer can run until one o f the followi ng conditi ons is t rue: • Every channel of every l abel has the same value (EQ Ual) . • Any channel o f any label has a different value (N E Q ual).
TAVerage Query :M AC Hi ne {1|2 }: SL IS t:TA Ve ra ge ? The TAVerage q uery returns the value o f the averag e time be tween the X and O Mark ers. If t he number of valid runs is zero , the q uery ret urns 9.
TMINim um Query :M AC Hi ne {1|2 }: SL IS t:TM IN im um ? The TMINimum query ret urns the val ue of the minimum t ime b etween t he X and O Mark ers. If data is not valid, the query re turns 9.
XOTag Query :M AC Hi ne {1|2 }: SL IS t:XO Ta g? The XOTag q uery returns t he time from the X t o O m arkers when the m arker mode is time o r number of states fro m the X to O markers when the marke r mode is state. If there is no data in t he time mode t he query returns 9.
XPATtern Command :M AC Hi ne {1|2 }: SL IS t:XP AT te rn <la be l_ na me>, <l abel _p at te rn> The XPATt ern command allows you to construct a pattern reco gnizer term for the X Marker which is t hen used wit h the XSEarch crit eria when moving the mark er on patterns.
XSEar ch Command :M AC Hi ne {1|2 }: SL IS t:XS Ea rc h <o ccur re nc e> ,<or ig in > The XSEarch com mand defines the s earch criteria for the X Marker, which is then wit h associated XP ATtern recogniz er specificatio n when movi ng the markers o n patterns.
XSTate Query :M AC Hi ne {1|2 }: SL IS t:XS Ta te ? The XSTate q uery returns the line number i n the lis ting where the X mark er resides ( − 8191 to +81 91).
Query :M AC Hi ne {1|2 }: SL IS t:XT AG ? The XTAG q uery returns the X Mark er positio n in time when time tagging is on or i n states when stat e tagging is on, regardless of whet her the marker was posit ioned in tim e or thro ugh a pattern se arch.
17 –24.
18 SWAVefor m Subsystem.
Introd uction The command s in the State Waveform s u bsy stem allow y ou to confi gure th e display so that y ou can vi ew state d ata as waveforms on up to 96 chann els id e n tified by label n ame and b it numb er. Th e 11 command s are an alogous to their counter parts in the Ti ming Wavefor m s ubs ystem.
Figu re 18 -1 SWAVe form Subsy stem Syntax Di a gram SWAVef orm Subsys tem 18 –3.
Tab le 18 -1 SWAVefo rm Parameter Val ues Par ameter Val ue number_of _samples integer from − 81 91 to + 81 91 label_name string of u p to 6 alphan umeric char acters bit_ id {O VERl ay|< bit_ nu.
AC Cumulat e Command :M AC Hi ne {1|2 }: SW AV efor m: AC Cu mula te {{ ON|1 }| {O FF |0}} The ACCumulate command all ows you t o cont rol whet her the wavefor m display ge t s erased between indivi dual runs or whether subsequent waveforms are allowed to be displayed o ver the previous waveforms.
Query :M AC Hi ne {1|2 }: SW AV efor m: AC Qu isit io n? The ACQusi t ion q uery returns the current acquisitio n mode. Returne d Format [:MA CHin e{1| 2}:S WAVe form :ACQ uisi tion ] {AUT Omat ic|M A.
CLRStat Command :M AC Hi ne {1|2 }: SW AV efor m: CL RS tat The CLRStat command allows y ou to clear the wave form stat is t ics witho ut having to stop and rest art the acquis i tion.
INS ert Command :M AC Hi ne {1|2 }: SW AV efor m: IN Se rt <l abel _n am e> ,<bi t_ id > The INSert command allows you to add waveforms to the s tate waveform display. Waveforms are adde d from top t o bo ttom on the s creen. When 9 6 waveforms are present, insert ing additional waveforms replaces t he last waveform.
Query :M AC Hi ne {1|2 }: SW AV efor m: RA NG e? The RANG e query returns the current range value. Returne d Format [:MA CHin e{1| 2}:S WAVe form :RAN Ge] <n umbe r_of _sam ples ><NL > <.
Query :M AC Hi ne {1|2 }: SW AV efor m: TA Ke nbra nc h? The TAKenb ranch query returns the current set ting. Returne d Format [:MA CHin e{1| 2}:S WAVe form :TAK enbr anch ] {STO Re|N OSTo re}< NL&.
Query :M AC Hi ne {1|2 }: SW AV efor m: TP OS itio n? The TPOSi t ion q uery returns the current trigger s etting . Returne d Format [:MA CHin e{1| 2}:S WAVe form :TPO Siti on] {S TA Rt|C ENTe r|EN D|.
18 –12.
19 SCHart Su bsystem.
Introd uction The S tate Chart s u bsyste m pro vides th e co mmands ne cess ary fo r programmin g th e Chart display of 1 660A-ser ies log ic analyzers . The command s allow y ou to b uild ch arts of lab el activity, usin g dat a normally f oun d in th e Lis ting d isplay.
Figu re 19 -1 SCHart Sub system Sy n tax Di agram SCHar t Subsyste m 19 –3.
Tab le 19 -1 SCHart Parameter Valu es Par ameter Val ues state_ l ow_va l ue int eger fr om – 819 1 to +8 19 1 state_ high_value int eger fr om <s tate _low _val ue> to +81 91 label_name strin.
Example OUT PU T XX X; ": MA CH IN E1 :S CH AR T: AC CU MU LA TE O FF " Query :M AC Hi ne {1|2 }: SC Ha rt:A CC um ul ate? The ACCumulate query re turns the current setting . The que ry always sho ws the set t i ng as the character "0" (off) or "1 " (on).
<state_low_ value> integer from − 8191 to +8 1 9 1 <state_high_ value> integer from <state_low_value> to +8 191 <label_name> string o f up to 6 al phanumeric characters <l.
VAXis Command :M AC Hi ne {1|2 }: SC Ha rt:V AX is <l abel _n am e> ,<lo w_ va lu e>,< hi gh _v alue > The VAXis co mmand allows y o u to cho ose which l abel wil l be plot ted on t he vertical ax i s of the chart and scale the verti cal axis by speci fying the high value and lo w value.
19 –8.
20 COMPare Subsystem.
Introd uction Comman ds in the state COMPare s ubs ystem provide the abi lity to d o a bit - by-bi t comparison b etween th e acqui red state data lis ting and a compare d ata image.
Figu re 20 -1 COMPa re Subsyst em Syntax Di agram COMPa re Subsystem 20 –3.
Tab le 20 -1 Compare Par ameter Values Par ameter Val ues label_name strin g of up to 6 charact ers car e_spec st ring of char ac t ers "{ *|.} ..." * car e . don ’ t care lin e_num integer from – 81 91 to + 8 19 1 dat a_pat tern "{ B{ 0|1| X} .
CLEar Command :M AC Hi ne {1|2 }: CO MP are: CL Ea r The CLEar com mand clears all "do n’t cares" in the reference lis ting and replaces t hem with z eros e xcept whe n the CLEar command immediat ely follows the SET command ( see SET command) .
Query :M AC Hi ne {1|2 }: CO MP are: CM AS k <l abel _n am e> ? The CMASk q uery returns the state of the bit s in the channel mask for a given lab el in t he compare l isting i mage.
DATA Command :M AC Hi ne {1|2 }: CO MP are: DA TA { <lab el _n am e>, <l ine_ nu m> ,< data _p at te rn>| <l in e_ num> , < da ta _p at te rn >[ , <d at a_ pa tt er n> ]. .. } The DATA co mmand allo ws you t o edit the compare listing imag e for a giv en label and state row.
Query :M AC Hi ne {1|2 }: CO MP are: DA TA ? <l abel _n am e> ,<li ne _n um > The DATA q uery returns t he value of the compare listing image fo r a giv en label and state row.
FIND Query :M AC Hi ne {1|2 }: CO MP are: FI ND ? <d iffe re nc e_ occu rr en ce > The FIN D que ry is used to get t he line numb er of a specified diffe rence occurence ( first, second, third, et c) wit hin the current compare rang e, as dictated b y the RAN Ge com mand (see page 20-11 ).
LI N E Command :M AC Hi ne {1|2 }: CO MP are: LI NE < line _n um > The LINE command allows y ou to cente r the com pare listing dat a about a specified l ine number.
RANGe Command :M AC Hi ne {1|2 }: CO MP are: RA NG e {F ULL| PA RT ia l,<s ta rt _l ine> ,< st op _lin e> } The RANG e command al lows you to define t he boundari es for t he compariso n. The range entere d must be a subset of the lines in t he acquire mem ory.
RUNTil Command :M AC Hi ne {1|2 }: CO MP are: RU NT il {OF F| L T, <val ue >| GT , <v alue >| IN Ra nge, <v al ue >,<v al ue >| OUTR an ge ,< valu e> ,< v al ue>| EQ Ua l| NEQu al } The RUNTil (run unti l) com mand all ows you t o define a stop condition when the trace mode is repetitive.
Example OUT PU T XX X; ": MA CH IN E2 :C OM PA RE :R UN TI L EQ UA L" Query :M AC Hi ne {1|2 }: CO MP are: RU NT il ? The RUNTil query re turns the current stop crit eria for the co mparison whe n running in repe t itive trace mode .
20 –14.
21 TFORmat Subsystem.
Introd uction The TFORmat subsys tem con tains the commands available for the Timin g Format menu in th e 1660-se ries lo gic analyzer s. These commands ar e: • ACQMo de • LAB el • R EM ov e •.
Figu re 21 -1 TFORmat Subsy s tem Sy ntax Di ag ra m TFORma t Subsys tem 21 –3.
Tab le 21 -1 TFORmat Pa ramter Values Par ameter Val ues size {F ULL| HALF } <N> {1 |2 |3|4 |5|6 |7|8 } name str i n g of u p to 6 alphanumer ic char ac t ers polarity {P OSit ive| NE Gati ve} pod_sp ecificat ion forma t (int eger fr om 0 to 65 535) f or a pod (p ods are assigne d i n decr easing ord er ) va lue voltag e (real number) − 6.
ACQMode Command :M AC Hi ne {1|2 }: TF OR mat: AC QM od e {TRA NS it io nal <s ize> |C ON Ve ntio na l <s iz e>|G LI Tc h} The ACQM ode ( acquisit ion mo de) com mand all ows you to sel ect the acquisit i on mo de for the ti ming analyz er.
LABel Command :M AC Hi ne {1|2 }: Tf or mat: LA Be l <n ame> ,[ <p ol arit y> , <c lock _b it s> , <upp er _b it s>, <l ow er _b its> [, <upp er _b it s>,< lo we r_ bits >] .. .] The LABel co mmand allows yo u to s pecify polari ty and to ass ign channe ls t o new or ex i s ting lab els.
Example s O UT PU T XX X; ": MA CH IN E2 :T FO RM AT :L AB EL ’ ST AT ’ , PO SI TIVE , 0, 12 7,40 312" O UT PU T XX X; ": MA CH IN E2 :T FO RM AT :L AB EL ’ SIG 1 ’ , #B 11 ,#B0.
THResho ld Command :M ACHi ne{1 |2}: TFOR mat: THRe shol d<N> {TT L|EC L|<v alue >} The THResho ld command allows you to set the vo l tage t hreshold for a g iven pod to ECL, T T L, o r a specific vo ltage from − 6 .00 V to +6.00 V in 0.
22 TTRigger (TTR ace) Subsystem.
Introd uction The TT R ig ger subs ystem contains the commands avai lable for the Timin g Trigg er menu in the 1660-seri es logi c analyzers . The T iming Tri gger subs ystem will also accep t the TT .
Figu re 22 -1 TTR igger Subs ys tem Synt ax Dia gra m TTRigge r (TTRace) Sub s yste m 22 –3.
Figu re 2 2-1 (co n tinue d ) TTR igger Subs ys tem Synt ax D iagra m ( cont i n ued) TTRigger ( TTRace) Subs ystem 22 –4.
Tab le 22 -1 TTRigge r Parameter Val u es Par ameter Val ues branch _qualif ier <qua lifi er> to_lev _num integer f r om 1 to last level procee d_qua lifier <qua lifi er> occurr ence number f rom 1 to 10485 75 label_name s tr ing of up to 6 alphan umeric c h aracter s glitch_ed ge_spec str i ng cons isting of {R |F |E |G |.
Qualif ier The qualifi er for the ti ming trig ger subs ystem can be terms A through J , Timer 1 and 2, and Range 1 and 2. In additio n, qualifi ers can be the NOT boolean funct i on of terms, time rs, and ranges.
<boolean_op> {AND|NAND|OR|NOR|XOR|NXOR} <term3a> {A|NOTA} <term3b> {B|NOTB} <term3c> {C|NOTC} <term3d> {D|NOTD} <term3e> {E|NOTE} <term3f> {F|NOTF} <term3g.
Qual ifier Ru les The follo wing rules appl y to q ualifiers: • Qualifie rs are quo ted st rings and, t herefore, need q uotes. • Express ions are e valuated from left to ri ght. • Parenthe sis are use d to change the order evaluat ion and, t herefore, are optio nal.
ACQuisition Command :M AC Hi ne {1|2 }: TT Ri gger :A CQ ui siti on {A UTOm at ic |M ANua l} The ACQuis i tion co mmand allo ws you to s pecify the acquisit ion mode for the Timing analyz er.
express ion is no t changed. Figure 2 2 -2 , on page 2 2-11 sho ws a complex express ion as se en in the Timing T ri gger menu. Example The fo l lowing s tatement s are all correct and have the same meaning. Noti ce that t he conventi onal rules for precedence are not follo wed.
Query Synt ax :M ACHi ne {1 |2 }:TT Ri gg er :BRA Nc h< N> ? The BRANch q uery returns t he current b ranch qualifi er specificat ion for a given seq uence level.
Terms A through E, RA N GE 1 , GLITCH /EDGE1, an d TIMER 1 must be groupe d together an d terms F t hrough J, RANGE 2, G LITCH/ED GE2, and T IMER 2 must be grouped t ogether. In the firs t lev el, terms from one g roup may not be mixed with terms from the ot her.
FIND Command :M AC Hi ne {1|2 }: TT Ri gger :F IN D< N> <t ime_ qu al if ier> ,< co nd itio n_ mo de > The FIN D comm and define s the t ime qualifier for a given seq uence level . The qualifi er tells the timing analyzer whe n to proceed t o the next sequence level.
Query :M AC Hi ne {1|2 }: TT Ri gger :F IN D4 ? The FIN D que ry returns t he current t ime q ualifier speci fication fo r a given sequence level. Returne d Format [:MA CHin e{1| 2}:T TRig ger: FIND &.
Example F or 8 b its ass igned and no glitch: O UT PU T XX X; ": MA CH IN E1 :T TR IG GE R: GL ED GE 1 ’ DA TA ’ , ’ .. ..F. .E ’ " For 1 6 bits assigned wit h glitch: O UT PU T XX X; ": MA CH IN E1 :T TR IG GE R: GL ED GE 1 ’ DA TA ’ , ’ .
<label_name> string o f up to 6 al phanumeric characters <start_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} . . . }" <stop_pattern> "{#B{0|1} .
SEQuen ce Command :M AC Hi ne {1|2 }: TT Ri gger :S EQ ue nce <n um be r_ of_l ev el s> The SEQuence command defines t he timi ng analyzer trace seq uence . F irs t, it dele tes the current trace seq uence. Then, it inserts the number o f levels specified, with default set t ings.
SP E Rio d Command :M AC Hi ne {1|2 }: TT Ri gger :S PE Ri od < sa mp le _per io d> The SPERio d command al lows you to set t he sample period of the tim ing analyzer in the Conventi onal and Glitch modes.
TCONtrol Command :M AC Hi ne {1|2 }: TT Ri gger :T CO Nt rol< N> < ti mer_ nu m> , {O FF|S TA Rt |P AUSe |C ON Ti nue} The TCONt rol (tim er control) command all ows you to turn off, start , pause, or cont inue the t imer for the specifi ed level.
TERM Command :M AC Hi ne {1|2 }: TT Ri gger :T ER M <t erm_ id >, <l abel _n am e> ,<pa tt er n> The TERM command allows yo u to a specify a pat tern recog nizer t erm in the specified m achine. Each command deals with only one label in the gi ven term; t herefore, a complet e specification could require s everal commands.
Query :M AC Hi ne {1|2 }: TT Ri gger :T ER M? <t erm_ id >, <l abel _n am e> The TERM query ret urns the spe cification of the t erm specifi ed by te rm identificat i on and lab el name.
TPOSit ion Command :M AC Hi ne {1|2 }: TT Ri gger :T PO Si tion {S TARt |C EN Te r|EN D| DE La y, < ti me _v al>| PO STst or e, <p osts to re >} The TPOSi ti o n (trigger position) com mand allows you to set t he trigge r at the st art, cente r, end or at any positio n in the trace (po ststore) .
23 TWAVeform Su bsystem.
Introd uction The TW AVefo rm subs ystem con tains th e commands available for the Timin g Waveforms menu in the 166 0-series logic an alyzer. Th ese commands ar e: • ACCumulate • REM ove • ACQu.
Figu re 23 -1 TWAVe form Subsy s tem Sy n tax Di agram TWAVef orm Subsyste m 23 –3.
Figu re 2 3-1 (co n tinue d ) TWAVef o rm Subs ystem Syn t ax Di agram (c ontinued ) TWAVef orm Subsyste m 23 –4.
Figu re 2 3-1 (co n tinue d ) TWAVef o rm Subs ystem Syn t ax Di agram (c ontinued ) TWAVef orm Subsyste m 23 –5.
Tab le 23 -1 TWAVef orm Parameter Val u es Par ameter Val ue delay_v alue real number bet ween − 2500 s and +25 00 s module _spec {1 |2 |3|4 |5|6 |7|8 |9|1 0} 2 t h rough 1 0 unused bit _id integer .
TWAV eform Selector :M ACHi ne {1|2 }: TW AV efor m The TWAVeform selector is used as part of a compound header t o access th e setti ngs found in the Timing Waveforms menu. It always follows the MACHine selecto r because it sele cts a b ranch belo w the MACH ine level in t he command t ree.
ACQuisition Command :M AC Hi ne {1|2 }: TW AV efor m: AC Qu isit io n {A UTOm at ic |M ANua l} The ACQuis i tion co mmand allo ws you to s pecify the acquisit ion mode for the state analyzer.
CLRPattern Command :M AC Hi ne {1|2 }: TW AV efor m: CL RP atte rn { X| O|AL L} The CLRPat tern command allo ws you t o clear t he patte rns in the selected Specify P at terns m enu.
<delay_value> real numb er between − 2500 s and +2500 s Example OUT PU T XX X; ": MA CH IN E1 :T WA VE FO RM :D EL AY 1 00 E − 6" Query :M AC Hi ne {1|2 }: TW AV efor m: DE La y? The DELay query re turns the current tim e offset (delay) value fro m the trigger.
MMODe Command :M AC Hi ne {1|2 }: TW AV efor m: MM OD e {O FF|P AT Te rn |TIM E| MS Ta ts} The MMOD e (Marker Mode ) comm and sel ects the mode co ntrolling mark er movement and the display of the marker readouts. W hen PATTern is selecte d, the mark ers will be placed on patte rns.
OCONditio n Command :M AC Hi ne {1|2 }: TW AV efor m: OC ON diti on {E NTer in g| EX ITin g} The OCO Ndition co mmand specifie s where the O marker is placed. The O marker can b e placed on t he entry o r exit po int of the O PATtern when i n the PAT T ern mark er mode.
OPATtern Command :M AC Hi ne {1|2 }: TW AV efor m: OP AT tern <l abel _n am e> ,<la be l_ pa tter n> The OP ATtern comm and allo ws you t o const ruct a pattern re cognizer te rm for the O marke r which is then use d with the OSEarch crit eria an d OCONdit ion when m oving the marker o n patterns.
OSEarch Command :M AC Hi ne {1|2 }: TW AV efor m: OS Ea rch <o ccur re nc e> ,<or ig in > The OSEarch co mmand defines the search crite ria for the O marker which i s then used with the asso ciated OPA Ttern recogni z er speci fication and the OCONdit ion when m oving mark ers on pat terns.
OT IMe Command :M AC Hi ne {1|2 }: TW AV efor m: OT IM e <tim e_ va lu e> The OTIMe co mmand positions t he O mark er in time whe n the marker mo de is TIME . If data i s not val id, the command performs no acti on. <time_value> real numb er − 2 .
RANGe Command :M AC Hi ne {1|2 }: TW AV efor m: RA NG e <tim e_ va lu e> The RANG e command s pecifies the full -screen time i n the timing waveform menu. It is equivalent to ten t imes t he seconds- per-division set t ing o n the display. T he allowab le values fo r RANGe are from 10 ns to 10 ks.
RUNTil Command :M AC Hi ne {1|2 }: TW AV efor m: RU NT il < ru n_ un til_ sp ec > The RUNTil (run unti l) com mand defi nes stop crit eria base d on the t ime betwe en the X and O mark ers when the trace mo de is in re petitive .
SP E Rio d Command :M AC Hi ne {1|2 }: TW AV efor m: SP ER iod <s am pl e_ peri od > The SPERio d command al lows you to set t he sample period of the tim ing analyzer in the Conventi onal and Glitch modes.
TAVerage Query :M AC Hi ne {1|2 }: TW AV efor m: TA Ve rage ? The TAVerage q uery returns the value o f the averag e time be tween the X and O markers.
TMINim um Query :M AC Hi ne {1|2 }: TW AV efor m: TM IN imum ? The TMINimum query ret urns the val ue of the minimum t ime b etween t he X and O mark ers.
Query :M AC Hi ne {1|2 }: TW AV efor m: TP OS itio n? The TPOSi t ion q uery returns the current trigger s etting . Returne d Format [:MA CHin e{1| 2}:T WAVe form :TPO Siti on] {S TARt |CEN Ter| END| .
XCONdition Command :M AC Hi ne {1|2 }: TW AV efor m: XC ON diti on {E NTer in g| EX ITin g} The XCON dition comma nd specifies where the X marker is placed. The X marker can b e placed on t he entry o r exit po int of the X P ATt ern when in t he PAT T ern mark er mode.
XPATtern Command :M AC Hi ne {1|2 }: TW AV efor m: XP AT tern < la be l_na me >, <l abel _p at te rn> The XPATt ern command allows you to construct a pattern reco gnizer t erm for the X marker which is then used with t he XSEarch crit eria and XCON dition whe n moving t he marker on patterns.
XSEar ch Command :M AC Hi ne {1|2 }: TW AV efor m: XS Ea rch <o ccur re nc e> ,<or ig in > The XSEarch com mand defines the s earch criteria for the X marker which is then used with the asso ciated XPATte rn recognizer s pecification and t he XCON dition whe n moving m arkers on patt erns.
XTI Me Command :M AC Hi ne {1|2 }: TW AV efor m: XT IM e <tim e_ va lu e> The XTIMe comm and positions the X marker i n time when the marker mo de is TIME . If data i s not val id, the command performs no acti on. <time_value> real numb er from − 2.
23 –26.
24 TLISt Subs ys tem.
Introd uction The TLISt subsyste m contai n s the command s availabl e for the Timin g Listi ng me n u in the 166 0-series log ic analyzers an d is th e same as the SLISt s ubs ystem with the exceptio n o f the OCONd ition an d XCONdi tion command s.
Figu re 24 -1 TLIS t Subsy stem Sy n tax Di agram TLISt Sub s yste m 24 –3.
Figu re 2 4-1 (co n tinue d ) TLIS t Subsy s te m Synt ax Diag ram (conti nued) TLISt Subsys tem 24 –4.
Figu re 2 4-1 (co n tinue d ) TLIS t Subsy s te m Synt ax Diag ram (conti nued) TLISt Sub s yste m 24 –5.
Tab le 24 -1 TLISt Para meter Values Par ameter Val ues module_num {1 |2|3 |4|5 |6 |7|8 |9|1 0} 2 t h rough 1 0 not us ed mach_num {1 |2} col_nu m integer fr om 1 to 61 line_nu mber integer fro m − .
TLISt Selector :M ACHi ne {1|2 }: TL IS t The TLISt sel ector is used as part of a com pound header t o access thos e settings no rmally found in t he Timing List ing menu. It always fo llows t he MACHine selecto r because it sele cts a branch direct ly below the MACH ine level in the command tre e.
<col_num> integer from 1 to 61 <module_num> {1|2|3|4|5|6|7|8|9|10 } 2 thro ugh 10 unus ed <label_name> a string of up to 6 alphanumeri c characters <base> {BINary|HEXadecimal|O.
DATA Query :M AC Hi ne {1|2 }: TL IS t:DA TA ? <l in e_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 b e the sam e as the one shown in the Li sting dis play.
Query :M AC Hi ne {1|2 }: TL IS t:LI NE ? The LINE query ret urns the l ine numbe r for the state curre ntly in t he box at the cent er of the scree n.
OCONditio n Command :M AC Hi ne {1|2 }: TL IS t:OC ON di ti on { EN Te ri ng|E XI Ti ng } The OCO Ndition co mmand specifie s where the O marker is placed. The O marker can b e placed on t he entry o r exit po int of the O PATtern when i n the PAT T ern mark er mode.
<label_name> string o f up to 6 al phanumeric characters <label_ 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} .
Example OUT PU T XX X; ": MA CH IN E1 :T LI ST :O SE AR CH + 10 ,T RI GG ER " Query :M AC Hi ne {1|2 }: TL IS t:OS Ea rc h? The OSEarch q uery returns t he search criteria fo r the O mark er.
OT AG Command :M AC Hi ne {1|2 }: TL IS t:OT AG < ti me_v al ue > The OTAG command speci fies the tag value on which the O Marker should b e placed. The t ag value is t i me. If t he data is not valid tagged dat a, no acti on is performed. <time_value> real numb er Example :O UTPU T XXX; ": MACH INE1 :TLI ST:O TAG 40 .
RUNTil Command :M AC Hi ne {1|2 }: TL IS t:RU NT il < run_ un ti l_ spec > The RUNTil (run unti l) com mand all ows you t o define a stop condition when the trace mode is repetitive. Specifying OF F causes the analyz er to make runs until either t he display’ s STOP fiel d is touched, o r, until the S T OP command is issued.
TAVerage Query :M AC Hi ne {1|2 }: TL IS t:TA Ve ra ge ? The TAVerage q uery returns the value o f the averag e time be tween the X and O Mark ers. If t he number of valid runs is zero , the q uery ret urns 9.
TMINim um Query :M AC Hi ne {1|2 }: TL IS t:TM IN im um ? The TMINimum query ret urns the val ue of the minimum t ime b etween t he X and O Mark ers. If data is not valid, the query re turns 9.
XCONdition Command :M AC Hi ne {1|2 }: TL IS t:XC ON di ti on { EN Te ri ng|E XI Ti ng } The XCON dition comma nd specifies where the X marker is placed. The X marker can b e placed on t he entry o r exit po int of the X P ATt ern when in t he PAT T ern mark er mode.
XOTim e Query :M AC Hi ne {1|2 }: TL IS t:XO Ti me ? The XOTime query re turns the time from t he X to O mark ers. If t here is no data in t he time mode the query re turns 9.
Example s O UT PU T XX X; ": MA CH IN E1 :T LI ST :X PA TT ER N ’ DA TA ’ , ’ 25 5 ’ " O UT PU T XX X; ": MA CH IN E1 :T LI ST :X PA TT ER N ’ AB C ’ , ’ #BXX XX11 01 ’ .
Query :M AC Hi ne {1|2 }: TL IS t:XS Ea rc h? The XSEarch q uery returns the search criteri a for the X mark er. Returne d Format [:MA CHin e{1| 2}:T LISt :XSE arch ] <occ urre nce> ,<or igin.
XTAG Command :M AC Hi ne {1|2 }: TL IS t:XT AG < ti me_v al ue > The XTAG co mmand specifie s the t ag value on which t he X Marker shoul d be placed. The t ag value is t i me. If t he data is not valid tagged dat a, no acti on is performed. <time_value> real numb er Example OUT PU T XX X; ": MA CH IN E1 :T LI ST :X TA G 40 .
25 SYMB ol Sub syste m.
Introd uction The S YMBol s u b s ystem con tains th e commands that allow y o u to defi ne symb ols on the con troller an d down load th em to the 166 0-series logic an alyzers.
Figu re 25 -1 SYMBo l Subsy s tem Sy ntax Di agram SYMBol Sub system 25 –3.
Tab le 25 -1 SYMBol Paramete r Values Par ameter Val ues label_name string of u p to 6 alphan umeric c ha ract ers symbol_n ame string of up to 16 alph anumeric cha r acters pattern_v alue "{ #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 } .
BASE Command :M AC Hi ne {1|2 }: SY MB ol:B AS E <l abel _n am e> ,<ba se _v al ue> The BASE com mand sets the base in which symb ols for the specifi ed label will b e displayed in the sy m b ol menu. It also speci fies the base in which the symbo l offset s are displayed whe n symbo ls are use d.
PATTern Command :M AC Hi ne {1|2 }: SY MB ol:P AT Te rn <la be l_ na me>, <s ymbo l_ na me >,<p at te rn _val ue > The PATTern co mmand allows yo u to creat e a patt ern symb ol for t he specified l abel. Because don’ t cares ( X) are allo wed in the pattern val ue, it must alway s be e xpressed as a string.
<label_name> string o f up to 6 al phanumeric characters <symbol_name> string o f up to 16 alphanumeric charact ers <start_value> "{#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} .
WIDT h Command :M AC Hi ne {1|2 }: SY MB ol:W ID Th < labe l_ na me >, <w idth _v al ue > The WID Th comm and specifies the width (num ber of characters) in which the sym b ol nam es will be display ed when symbo ls are used. The WID Th command d oes not affect t he displa yed leng th of t he sy mbol offset value.
26 DATA and SE Tup Co mmands.
Introd uction The DA TA and S E Tup co m man d s are SYST em commands th at allow you to send and rece ive block data betwe en the 1660-seri es logi c anal yzer and a controll er. U se the DATA instr uction to transfer acqu ired ti ming and state data, and the S ETup in stru ction to tr ansfe r instru ment config uration data.
Data Fo rmat To understand the format o f the data within the block data, t here are four important things to keep in mind. • Data i s sent t o the controll er in binary fo rm. • Each byt e, as des cribed in this chapter, co ntains 8 bi ts . • The first bit of each b yte i s t he MSB (mo st sig nificant bit).
:SYSTem :DATA Command :S YS Te m: DATA < bl oc k_da ta > The SYSTem:DA T A com mand transmit s the acquis i tion m emory dat a from the cont roller t o the 1660-seri es logi c analyzer. The blo ck data co nsists o f a variabl e number of byt es cont aining inform ation captured b y the acq uisitio n chips.
<section_ header> 16 byt es, describ ed in chapt er 26, "Sect ion He ader Descri ption". <section_data> Format depends o n the specific se ction.
Section Header Descr iption The sectio n header uses b ytes 1 thro ugh 16 (this manual begins co unting at 1; the re is no b yte 0 ). T he 16 byt es of t he secti on header are as follows: Byte Position 1 10 byt es - Sect ion name ("DATA space space s pace space space space" in ASCII for t he DATA instruct i on).
The next 40 byt es are for Analyzer 1 D ata Inform ation. Byte Position 21 1 byte - Machine data mode, o ne of the followi ng decimal val ues: − 1 = off 0 = st ate data wi thout t ags 1 = st ate dat.
Byte Position 26 1 byte - Master chi p for this analyzer. This decimal value returns which chip’s t ime tag data is val id in a non- transitional m ode; for example, s t ate with ti me tags.
Byte Position 61 40 byt es - The nex t 40 b ytes are for Analyz er 2 Dat a Informatio n. T he y are organiz ed in the same manner as Analy zer 1 abo ve, but t hey occupy b ytes 61 through 1 0 0. 101 26 byt es - N umber o f valid rows of data (st arting at b yte 177) fo r each pod.
Byte Position 127 26 byt es - Row of data co ntaining t he trigge r point. This byte g roup is organiz ed in the same way as the data ro ws (st arting at byte 101 abo ve). These bi nary numbers are base z ero numb ers which st art from the first sample st ored for a specific po d.
Byte Position clock li ne s Pod 8 1 Pod 7 1 pod 6 2 po d 5 2 pod 4 3 pod 3 3 p od 2 pod 1 4 177 2 byt es 2 byt es 2 by tes 2 byt es 2 bytes 2 by tes 2 bytes 2 byt es 2 b y t es 195 2 byt es 2 byt es 2 bytes 2 byt es 2 b y t es 2 by tes 2 byte s 2 byt es 2 bytes .
Time Tag Data Description The time tag data start s at the end o f the acquired data. Each dat a row has an 8-b yte ti me tag fo r each chip ( 2-pod s et). The start ing locat ion of t he time t ag data is immediately after the last row of val id data ( maximum data byte + 1).
Byte ( x + 8 ) thro ugh (x + 1 5 ) ( 64 bit s start ing with t he MSB) - F irst sampl e tag for pods 5 and 6. Byte ( x + 16 ) through ( x + 23 ) (64 bits starting with the MSB) - Second sample t ag for pods 5 and 6. . . . Byte ( y) through ( y+ 7) (6 4 bits s tarting with t he MSB) - Last sam ple tag fo r pods 5 and 6.
Glitch Data Descrip t ion In the gl itch mode, each pod has two b ytes as signed to indicate where glitches occur in the acq uired data. F or each row of acquire d data there will be a co rresponding row of gl itch data. The gl itch data is o rganized i n the same way as the acquired dat a.
SYSTem:SETup Command :S YS te m: SETu p <b lo ck _dat a> The SYSt em:SETup comm and confi gures the logic analy z e r module as defined b y the b lock dat a sent b y the controll er. The length o f th e configurati on data blo ck can be up t o 350 ,784 byte s in the 16 60A.
<block_data> <b lo ck_l engt h_sp ecif ier> <sec tion > <block_length_ specifier> #8 <l engt h> <length> The tot al length of all sectio ns in b yte form at (mu st be represented with 8 digits) <section> <s ec tion _hea der> <sec tion _dat a>[< sect ion_ data >.
RTC_INF O Section Descrip t ion The RTC_INF O section contains t he real t ime of t he acquire d data. Becaus e the ti me of t he acquired data is im portant to certain meas urements, this sectio n describe s how to find the real-time clo ck data.
26 –18.
Pa rt 4 Oscillo scope Co mmands.
.
27 Oscillo scope Ro ot Level Co mman ds.
Introd uction Osci lloscop e R oot Level command s contr ol th e basi c operatio n of the oscillo scop e. Re fer to f igur e 27-1 for th e module le vel syn tax command di agram.
F ig ur e 27 -1 Root L evel Co mmand Synt ax Diag ram AUTo scale Command :A UT os ca le The AUToscal e command caus es the oscil l oscope t o auto matically sel ect the vertical s ensitivit y, verti cal offset , trigge r source, t rigger le vel and timeb ase setti ngs for o ptimum viewing o f any input signal s.
Example 10 OUT PUT XX X;": SELE CT 2 " 20 O UTPU T XX X;": AUTO SCAL E" 2 5 WA IT 5 3 0 DI M Me $[ 20 0] 40 OUT PUT ;" :MEA SURE :SOU RC E CHAN NEL1 ;ALL ?" 5 0 EN TE R X.
DIGit iz e Command :DIG it iz e The DIGi ti ze command is used to acquire wavefo rm data fo r transfer o ver GPIB. The command i nitiates the Repet itive Run for the o scillos cope an d any module s that are gro uped t ogether in Group Run thro ugh the Intermodul e Bus.
27 -6.
28 ACQui re Subsystem.
Introd uction The A cquire Su b syste m commands are used to set u p acqu isition con ditions for the DIGitize command. T he subsyste m contains command s to se lect the ty pe of acqu isition and th e numb er of averag es to b e take n if the average typ e is ch ose n.
F ig ur e 28 -1 ACQ uire Su bsystem Sy ntax Di agram Tab le 28 -1 ACQu ire Parameter Values Par ameter Val ue count_ arg An int eger th a t spec ifies t he number of averag es to be t aken of each t ime point . The cho i ces are 2, 4, 8, 16, 32, 64 , 128, or 25 6.
COUNt Command :A CQ ui re :COU Nt < co unt> The COUNt command s pecifies the numb er of acq uisiti ons for t he running weighted average. This comm and generates an error if No rmal acqui si tion mode is specified.
Query :A CQ ui re :T YP E? The TYPE q uery returns the last specified type. Returne d Format [:AC Quir e:TY PE] {N ORMa l|AV ERag e}<N L> Example OUT PU T XX X; ": AC QU IR E: TY PE ?".
28 -6.
29 CHA Nnel Su bsyst em.
Introd uction The C hannel Subsys tem commands co ntrol th e chann el dis play and the vertical ax is of th e os cillosco pe. Each ch annel must be programmed inde pende ntly for al l offset, ran ge and pr obe function s.
Fig ure2 9 - 1 CHA Nnel Subs ystem Syn tax Di agram CHAN nel Subsyste m 29 -3.
Tab le 29 -1 CHAN nel Parameter Values Par ameter Val ue channel_nu mber An integer from 1 t o 2. offset _arg a real nu mber def i n i n g the volt age at the cen t e r of th e display.
Query : CHA Nn el <N>: CO UP li ng? The COUPli ng query returns the current input impedance fo r the speci fied channel. Returne d Format [:CH ANne l<N> :COU Plin g:] {D C|AC |DCF ifty }&l.
OF FSet Command :C HANn el <N >: OFFS et < va lue> The OF FSet co mmand set s the vo l t age that is represent ed at ce nter screen for the selected channel. The all owable offset vo ltage <value> is sho wn in the tab le belo w. The ta b le represe nts values for a P robe s etting of 1:1.
PR OBe Command :C HANn el <N >: PROB e <a tt en > The PRO Be command specifi es t he atte nuation fact or for an external probe connected t o a channel . The comm and changes the channel voltage references s uch as range, offset , trigg er level and automat ic measurements.
RANGe Command :C HANn el <N >: RANG e <r an ge > The RANG e co mmand defines the full-s cale (4 * Vo lt s / Div) vertical a xis o f the sel ected channel. The val ues for t he RANG e command are dependent on the current probe at t e nuation fact or for t he select ed channel.
TT L Command :C HA Nn el <N>: TT L The TTL command sets the vert ical range, offset, and trigge r level fo r the selecte d input channel for opti mum viewing of TTL signals. The set TTL values are: Range: 6 .0 V ( 1.50 V per divisi on) Offset : 2.
29 -10.
30 DISPlay Subsystem.
Introd uction The Displ ay Sub sy stem is used to control the d i s play of data. Refer to Figure 30-1 for the DISPlay Subsys tem Syntax Diagram. Th e DISPlay Subsystem command s are: • ACCumulate .
F ig ur e 30 -1 DISPlay Subsys tem Synta x Diagram DISPlay Subsys t e m 30 -3.
Tab le 30 -1 DISPl ay Parame te r Valu e s Par ameter Val ue slot_# a numbe r f rom 1 or 2 iden ti f ying the oscillosc ope/analyz e r card slot . 1=ana lyzer, 2=o scilloscope. bit_id an int eger fr om 0 t o 31. channel_# an integer from 1 t o 2. label_s t r up t o five char a cters en closed in single quo tes makin g up a label name.
CONNect Command :D IS Pl ay :CON Ne ct { {ON| 1} |{ OF F|0} } The CON N e ct command sets the Co nnect Dots mo de. W hen ON, each displayed s ample dot will be co nnected to t he adjacent do t by a straight line. The waveform i s easier to see in t his mode.
<module number> Always 2 <label> string o f 1 alpha and 1 numeric charact er enclosed b y single q uotes Example OUT PU T XX X; ": DI SP LA Y: IN SE RT ’ C1 ’ " To insert a w.
LABel Command :DI SP la y: LA Be l CH AN ne l< N> ,< la be l_ st ri ng > The LABel co mmand is used t o assign a la b el stri ng to an oscilloscope channel. F or singl e channel trace s, the l abel st ring (up to five characters ) appears on t he left of t he waveform area of the display.
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 sub tracts one channel from anot her and inserts the resultant waveform to the dis play. The firs t parameter is an optio nal module specifier.
PLUS Command :D IS Pl ay :PLU S [< mo du le_n um be r> ,]<l ab el >, <lab el > The PLU S command al gebraically adds two channels and inserts the resultant waveform to t he current di splay. The first paramet er is an o ptional module s pecifier and needs t o be used only if another module is displayed.
DISPlay Subsys t e m REMov e 30 -10.
31 MAR Ker Subs ys tem.
Introd uction In ad d i tion to au tomatic parametri c measuremen ts, the oscillo scope has fou r markers f or makin g time and vol tage measurement. These measu rements may be made automatical ly or manu ally.
F ig ur e 31 -1 MARKe r Subsy s tem Sy n tax Di agram MA RKer Subsystem 31 -3.
F ig ur e 31 -1 MAR Ker Sub system Synt ax Diagr am (Cont ’d) MARKer Subsyste m 31 -4.
F ig ur e 31 -1 MAR Ker Sub syst em Sy ntax Di agra m (Cont ’d) Tab le 31 -1 MARKer Parameter Valu es Par ameter Val ue channel_# An int eger fr om 1 to 2 .
AVOL t Command :M AR Ke r: AVOL t CH AN ne l<N> ,< le ve l> The AVOLt command m oves the A m arker to the specified vo ltage o n the indicated channe l. <N> An integ er from 1 to 2 <level> the desi red marker volt age level, ranging from ± (2 x max imum o ffset) Example OU TPUT XXX ;" :MAR KER: AVOL T CH ANNE L1,2 .
ABVolt ? Query :M AR Ke r: ABVo lt ? The ABVolt query ret urns the di fference be tween the A marker voltage and the B mark er voltage ( Vb - Va) . Returne d Format [:MA RKer :ABV olt] <lev el>&.
Query :M AR Ke r: BVOL t? The BVOLt query ret urns the curre nt volt age and channel s electio n for the B marker. Returne d Format [:MA RKer :BVO Lt]C HANn el<N >,<l evel ><NL > Exa.
Query :M AR Ke r: MSTa ts ? The MSTats query re turns the current setting . Returne d Format [:MA RKer :MST ats] {1|0 }<NL > Example OUT PU T XX X; ": MA RK ER :M ST AT S? " OAUTo Comm.
Query :M AR Ke r: OAUT o? The OAUTo query returns the current set t ings. Returne d Format [:MA RKer :OAU To] CH ANne l<N> ,<ty pe> <l ev el>, <slo pe>, <occ urre nce> <NL> Example OUT PU T XX X; ": MA RK ER :O AU TO ?" If <type > is not specif ied, the mar ker type will default to PERCent .
RUNTil Command :M AR Ke r: RUNT il {O FF|L T, <t im e>|G T, <t im e>|I NR an ge ,<ti me >, <t ime> |O UT Ra nge, <t im e> , <tim e> } The RU NTil com mand allows you to set a st op conditi on base d on the time interval b e tween the X marker and the O marker.
SHOW Command :MA RK er :S HO W {S AM Pl e| MA RK er } The SHO W comm and allows you to select either SAMPle rate or MARKer data (whe n markers are enab led) to appear on the oscillosco pe menus above the wavefo rm area. The SAMPle rate or MARKe r data appears o n t he channel, trigge r, display, and auto-m easure menus.
TMAXimum ? Query :M AR Ke r: TMAX im um ? The TMAXimum q uery returns t he value of the maximum time b etween the X and O markers. If there is no valid dat a, the query returns 9.
TMODe Command :M AR Ke r: TMOD e {O FF |O N|AU TO } The TMODe command al lows yo u to se lect the time m arker mode . The choices are : OFF, ON and AUTO. When O FF, time m arker measure ments cannot b e made. When the time markers are turned on, t he X and O mark ers can be m oved to mak e time and voltage measurement s.
VMODe Command :M AR Ke r: VMOD e {{ OF F|0} | { ON |1}} The VMODe command al lows yo u to se lect the voltage mark er mode. The choices are : OF F or ON . Whe n OFF , volt age marke r measurement s cannot be made . W hen the voltage markers are turned on, the A and B markers can be mo ved to make vol tage meas urements.
VOTim e ? Query :M AR Ke r: VOTi me ? CH AN NEL< N> The VOTi me query returns t he current vo l tage l evel of the s elected source at the O marker.
VXTime? Query :M AR Ke r: XVOL t? C HA Nnel <N > The VXTime q uery returns the current voltage level of the selected channel at the X marker. Returne d Format [:MA RKer :VXT ime] <lev el>&.
XAUTo Command :M AR Ke r: XAUT o{ MA Nu al|C HA Nn el <N>, <t ype> ,< le ve l>,< sl op e> ,<oc cu rr en ce>} The XAUTo command specifies the automat ic placement speci fication fo r the X m arker. The first parameter specifies if automarker placement is t o be in the Manual mode or on a specified channel.
XOTim e? Query :M AR Ke r: XOTi me ? The XOTime query returns the ti me in seco nds from t he X mark er to the O marker. If data is not valid, the query ret urns 9.
Query :M AR Ke r: XTIM e? The XTIMe query ret urns the t ime in seconds betwe en the X marker and t he trigger marker. Returne d Format [:MA RKer :XTI Me]< xmar ker ti me>< NL> Example OUT.
32 MEASu re Subsystem.
Introd uction The command s/querie s in th e Meas ure Subs ystem are u s ed to make automati c para m etric meas u rements on d is p layed wave forms. Measuremen ts are made o n the disp layed wavefor m(s) specified by the SOUR ce command. If the sou rce i s not specified , the last waveform s o u rce spe cified is ass umed.
Preshoot and Overshoot Presho ot and o vershoot meas ure the perturb ation on a wavefo rm above o r belo w the to p and base voltage s. Preshoot Is a perturb ation be fore a risi ng or a fall ing edge and measured as a percentage of the t op-bas e voltag e.
F ig ur e 32 -1 MEASu re Subsy s tem Sy n tax Di agram Tab le 32 -1 MEASu re Paramet er Values Par ameter Val ue channel_# An int eger fr om 1 to 2 MEASu re Subsyste m 32 -4.
ALL? Query :M EA Su re :[SO UR ce C HANn el <N >; ]ALL ? The ALL q uery mak es a set of measurement s on the displ ayed waveform using the selecte d source.
FAL Ltim e? Query :ME AS ur e: [S OU Rc e CH AN ne l< N> ;] FA LL ti me ? The FALL time query makes a fall time meas urement on the selecte d channel. The m easurement is m ade between t he 90% to the 1 0% vo ltage point o f the first fal ling edge displayed o n screen.
NWIDth? Query :ME AS ur e: [S OU Rc e CH AN ne l< N> ;] NW ID th ? The NWIDt h query mak es a negative wi dth time meas urement o n the selecte d channel. The measurem ent is m ade between t he 50% po ints of the first fall ing and the nex t rising edge displayed o n screen.
PERiod ? Query :ME AS ur e: [S OU Rc e CH AN ne l< N> ;] PE Ri od ? The PERio d query makes a perio d measurement on the selecte d channel. The measureme nt is equival ent to the inverse o f the freq uency.
PWI Dth? Query :ME AS ur e: [S OU Rc e CH AN ne l< N> ;] PW ID th ? The PW ID th q uery makes a positive pulse width measurement on the selecte d channel. The measurem ent is made b y finding the t ime differen ce betwe en the 5 0% poi nts of t he first rising and t he next falling edg e displayed on screen.
SOURce Command :M EA Su re :SOU Rc e CH AN nel< N> The SOURce command specifie s the so urce to be used for subsequent measurement s . If t he source i s not specifie d, the las t waveform source is assumed.
VAM Plit ude? Query :ME AS ur e: [S OU Rc e CH AN ne l< N> ;] VA MP li tu de ? The VAMP litude q uery mak es a vol tage meas urement on the selecte d channel. The m easurement is m ade by finding t he relative max imum (V T OP) and minimum (VBASe) points on scre en.
VMAX? Query :M EA Su re :[SO UR ce C HANn el <N >; ]VMA X? The VMAX que ry returns the a bsolut e maxi mum volt age of t he select ed source. Returne d Format [:ME ASur e:VM AX] <v alue >&.
VP P? Query :M EA Su re :[SO UR ce C HANn el <N >; ]VPP ? The VPP query m akes a peak to pe ak voltage m easurement on the select ed source. The meas urement is made by finding the absolute maximum (VMA X) and minimum (VMIN) poi nts on t he displaye d waveform.
32 -14.
33 TIM eb ase Subsystem.
Introd uction The command s of the Timebase Subsys tem control the Timeb ase, Tri gger Delay Time, and the Time base Mode . If TRIGg ered mode is to be u s ed, en s u re that th e tr igger s pecifi cations o f the Trig ger Subsys tem have be en set. Refe r to Figure 3 3-1 for the TIMeb ase Subsys tem Sy ntax Diagr am.
F ig ur e 33 -1 TIM ebase Sub syste m Synt ax Diagr am Tab le 33 -1 TIMeb ase Para meter Val ues Par ameter Val ue delay_ar g delay time in seconds , from -2 500 se conds t hrough +250 0 secon ds. The f ull rang e is ava ilable for panning th e wave form when acquis i tion is stopped.
DELay Command :T IM eb as e:DE La y <d el ay tim e> The DELay command s ets the ti me between the trig ger and the center of the screen. <delay time> delay ti me in seco nds, from -2500 se conds thro ugh +2500 seconds . The full range is avai l able fo r panning the waveform when acquisition is stopped.
MODE Command :TI Me ba se :M OD E {T RI Gg er ed |A UT O} The MOD E command s et s the os cillo scope timeb ase to ei ther Auto o r Triggered mo de. When t he AUTO mode is chosen, t he oscill oscope wai ts approxim ately 5 0 ms fo r a trigge r to o ccur.
RANGe Command :T IM eb as e:RA NG e <r an ge> The RANG e command sets t he full-scale horizo ntal time in seco nds. The RANGE value is t en time s the value in the s / Div fi eld.
34 TRIGger Subsystem.
Introd uction The command s of the Trigger Subsys tem allow you to set all the trig ger cond itions necess ary for ge nerating a trigger . M any of th e command s in the Trigger s u b s ystem may be used in eith er the EDG E or the PATTern trigger mode.
F ig ur e 34 -1 TRIGg er Subsy stem Sy n t ax Diag ram TRIGg er Subsys tem 34 -3.
TRIG ger Su bsyst em Sy ntax Di agram ( Cont ’ d) Tab le 34 -1 TRIGg er Paramet er Values Par ameter Val ue channel_# An integer from 1 t o 2 count_ # an integer fro m 1 thr ough 320 0 0 time a real.
CONDition Command :TR IG ge r: [M OD E PA TT er n; ]C ON Di ti on {E NTer |E XI T| GT,< ti me >| LT,< ti me >| RANG e, <t im e>,< ti me > } The CON D i ti on co mmand specifies.
When LT ( less t han) is sele cted, the oscillo scope wil l trigge r on the first transiti on that causes the pattern spe cification to be fals e, after t he patte rn has bee n true for the number o f times specified b y the t rigger eve nt count (DELAY co mmand).
DELay Command :T RI Gg er :DEL ay [ EV ENt, ]< co un t> The DELay command i s used to specify t he numbe r of event s at which trigger occurs. The time delay (see TIMe:D ELay) is co unted after the event s delay. The D ELay co mmand cannot be use d in the IMMe diate tri gger mode .
LEV el Command Fo r EDG E trigg er mod e: :T RIGg er :[ MO DE E DG E; SO URce {C HANn el <N >; ]LEV el <v al ue> For PATTern trigger m ode: :T RIGg er :[ MO DE P AT Te rn ;PAT H {C HANn el <N >} ;]LE Ve l< va lue> The LEVe l command sets the t rigger leve l voltag e for the sel ected so urce or path.
Query Fo r EDG E trigg er mod e: : TR IG ge r: [M OD E ED GE ;S OU Rc e {C HA Nn el <N >} ;] LE Ve l? For PATTern trigger m ode: :T RIGg er :[ MO DE P AT Te rn ;PAT H {C HA Nnel <N >} ;] LEVe l? The LEVel q uery returns t he trigger leve l for the current path or source.
LOGic Command :T RI Gg er :[MO DE P AT Tern ;P AT H {CHA Nn el <N >};] L OG ic {H IGH| LO W| DO NTca re } The LOG ic command sets the logic for each tri gger path i n the PAT T er n trigger mode. The choices are HIGH , LOW and D ONT care. The trigger level set by t he LEVel co mmand dete rmines logic hi gh and low thresho ld levels .
MODE Command :T RI Gg er :MOD E {E DG E| PATT er n| IM Medi at e} The MOD E command allows yo u to s elect t he trigge r mode fo r the oscillo scope. T he E D GE mo de will trigge r the oscillo scope o n an edge whose slope i s determi ned by t he SLOPe command at a voltage set b y the L EVel command.
PA TH Command :TR IG ge r: [M OD E PA TT er n; ]P AT H {C HA Nn el <N >} The PATH command i s used to select a trigger path for the subs e quent LOGic and LE V el co mmands.
Query :T RI Gg er :SLO Pe ? The SLOP e query ret urns the 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.
34 -14.
35 WAVeform Su bsystem.
Introd uction The command s of the Waveform s u b syste m are u s ed to transfer waveform data from th e oscil l oscope to a controlle r. The waveform reco rd is actuall y contain ed in two portio n s; th e waveform data and preamble . The waveform data is the actual data acqu ired for each point when a DIG itize comma n d is exe cuted.
Average Mod e In the Ave rage mode, the oscillo scope averages t he data po ints on the waveform wit h previously acq uired data. Averaging he lps eliminate random noise fro m the displaye d waveform. In this mo de ACCumulat e is set to OF F. When Ave rage mode is select ed the numbe r of averages must als o be specified us ing the COU Nt co mmand.
Format for Data Transfer There are thre e formats for transferring wave form data over t he remot e interface. These formats are WORD, BYTE, o r ASCII. WORD and BYTE form atted wavefo rm records are transmit ted using the arbitrary block program dat a format specifi ed in IEEE-48 8.
WORD Format Word dat a is two byt es wide wit h the mo st sig nificant b yte of each wor d being transmitt ed first. In WO RD form at, the 15 least s ignificant b i ts represent the waveform data. The possible range of data i s divided int o 32768 vertical increment s.
Data Convers io n Data s ent from the osci l loscope is raw data and must be s caled for use ful interpret ation. The values used to int erpret the data are t he X and Y references, X and Y origins, and X and Y increm ents. These values are read from the waveform preambl e (see the PREamb le comm and) or by the queries of thes e values.
WAVef orm Subs ystem Syn tax Diagr am Figu re 35 -3 WAVef orm Subsystem Data Con version 35 -7.
Figu re 35 -3 WAVef orm Subs ystem Syn tax Diagr am (Cont ’ d) Tab le 35 -1 WAVefo rm Parameter Val u es Par ameter Val ue channel_# an integer from 1 t o 2 WAVefo rm Subsys tem Data Conv e rsi on 3.
COUNt? Query :W AV ef or m:CO UN t? The COUNt query re turns the count last specified in the ACQuire Subsystem. Returne d Format [:WA Vefo rm:C OUNt ] <cou nt>< NL> <count> {2|4|8|16.
FOR Mat Command :W AV ef or m:FO RM at { BYTE |W OR D| ASCi i} The FO RMat command specifies the data t ransmi ssio n mode of wavefo rm data over the remote interface. Example OUT PU T XX X; ": WA V: FO RM W OR D" Query :W AV ef or m:FO RM at ?" The FO RMat query returns t he currently specifi ed format.
PREam ble? Query :W AV ef or m[:S OU Rc e CH ANne l< N> ;] PREa mb le ? The PREamb le query returns the preamb le of the specifi ed channel. The channel is s pecified using the SO URCE comm and.
REC ord Command :W AV ef or m:RE Co rd { FULL |W IN Do w} The RECord co mmand specifies t he data yo u want to rece ive over the b us. The choices are FUL L or W INdow. When F ULL is chosen, t he entire 8 0 0 0 point re cord of the spe cified channel is t ransmitte d over the bus.
Query :W AV ef or m:SO UR ce ? The SOURce query returns the presently selected channel. Returne d Format [:WA Vefo rm:S OURc e] C HANn el<N ><NL > Example OUT PU T XX X; ": WA VE FO RM :S OU RC E? " SP E Rio d ? Query :W AVeform:SP ERiod? The SPERio d query returns t he present sampling peri od.
VA Lid ? Query :W AV ef or m:VA Li d? The VALid q uery checks the oscillo scope fo r acquired dat a. If a measurement is com pleted, and data has b een acquire d by all channels, th en the q uery report s a 1. A 0 is reported if no data has been acq uired for the last acquisi tion.
XINCr ement? Query :W AV ef or m:XI NC re me nt? The XINCrem ent que ry returns t he X-increm ent currentl y in the preamb l e. This value is the time di fference betwee n the consecuti ve data points.
XORigin? Query :W AV ef or m:[S OU Rc e CH ANne l< N> ;] XORi gi n? The XORig in query returns t he X-origin value currently in the preamble. The value repres ents the ti me of t he first dat a point in memory wit h respect to t he trigge r point.
YINCre m ent ? Query :W AV ef or m:[S OU Rc e CH ANne l< N> ;] YINC re me nt ? The YIN Crement q uery ret urns the Y- increment value current ly in th e preamble .
YREF erence? Query :W AV ef or m:YR EF er en ce? The YREFere nce query ret urns the Y-reference value currently in the preamble . This value specifi es the data value at center scree n where Y-origin occurs.
Pa rt 5 Pro gramm ing E xamples.
.
36 Pro gramm ing E xamples.
Introd uction This chapter co ntains short, usable , and te sted progr am examp les that cover the most as ked for examples . The examp les are written in HP B asic 6.
Making a Timing analyzer measurement This program sets up t he logi c analyzer to make a s imple timing analyzer measurement . This example can be us ed with E2 433-60 004 Logi c Analyze r Training bo ard to acq uire and dis play the o utput o f the ripple counter.
35 0 ! 3 60 O UT PU T 70 7; ": MA CH 1: TW AV EF OR M: REMO VE " 3 70 O UT PU T 70 7; ": MA CH 1: TW AV EF OR M: INSE RT ’ CO UN T ’ , AL L" 3 80 OUT PU T 70 7; ": MA CH 1.
Making a S t ate a n alyzer measur ement This stat e analyzer prog ram se lects t he 1660-s eries lo gic analyzer, di splays the confi guration menu, de fines a st ate machine, displays t he stat e trigger menu, set s a st ate trig ger for mul tilevel triggering .
31 0 ! 32 0 ! Disp lay th e stat e trig ger me nu . 33 0 ! 34 0 OUTP UT 707 ;":M ENU 1, 3" 35 0 ! 3 60 ! Cre at e a 5 le ve l tr ig ge r sp ec if ic at io n wi th t he tri gg er on th e 37 0 ! four th lev el.
7 60 O UT PU T 70 7; ": MA CH IN E1 :S TR IG GE R:ST OR E4 ’ ( C OR D OR IN_R ANGE 1) ’ " 77 0 ! 78 0 ! **** **** **** **** **** ** ** NOT E **** **** **** **** **** *** 79 0 ! The FIN D comm and se lect s the tr igge r in the 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.
12 10 ! **** **** **** **** **** **** VIE W THE RE SULT S **** **** **** **** **** **** **** * 12 20 ! Disp lay th e Stat e List ing an d sele ct a lin e numb er in th e list ing th at 12 30 ! allo ws you to se e the be ginn ing of the lis ting o n th e lo gic an alye r 12 40 ! disp lay.
Making a S t ate Compare meas urement This program e xample acquires a state list ing, copie s the li sting t o th e compare li s ting, acq uires another state list ing, and com pares bo th list ings to find differences . This program is written in such a way you can run i t with t he E2433-6000 4 Logic A nalyzer Training Bo ard.
33 0 ! FF hex for the "a" ter m whic h will be th e trig ger te rm, an d stor e 34 0 ! no sta tes un til th e trig ger is fou nd. 35 0 ! 3 60 O UT PU T 70 7; ": MA CH IN E1 :S TR IG GE .
78 0 ! 79 0 ! Line 409 0 of the lis ting is no w disp laye d at cen ter sc reen 80 0 ! in ord er to sh ow the las t four sta tes ac quir ed. In th is 81 0 ! exam ple, the las t four sta tes ar e stab le. How ever , in som e 8 20 ! cas es , th e en d po in ts o f th e li st in g ma y va ry t hu s ca us in g 83 0 ! a fals e fail ure in com pare .
12 10 ! ente rs the lin e numb ers an d erro r numb ers. 12 20 ! 12 30 DIM Li ne$[ 20] 12 40 DIM Er ror$ [4] 12 50 DIM Co mma$ [1] 12 60 ! 12 70 ! **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** *** 12 80 ! Disp lay th e Diff eren ce lis ting .
16 60 Er ror_ line =IVA L(Li ne$, 10) 1 67 0 I F Er ro r_ li ne =E rr or _l in e2 THE N GO TO 1 78 0 16 80 Er ror_ line 2=Er ror_ line 16 90 ! 17 00 ! **** **** **** **** **** **** **** **** **** ****.
Transferr in g t h e logic analyzer conf igura t ion This program uses the SYSTem:SETup query t o transfer the config uration of the l ogic analy z er to your co ntroller. This program also use s th e SYSTem:SETup command t o transfe r a logic analyzer co nfiguratio n from the control ler back t o t he logic analyzer.
2 80 OUT PU T 70 7; ": SY ST EM :H EA DE R ON " 2 90 OUT PU T 70 7; ": SY ST EM :L ON GF OR M ON " 3 00 OUT PU T @C om m; "S EL EC T 1" 3 10 O UT PU T @C om m; ": SY.
7 40 ! *** ** ** ** ** ** ** ** ** ** SEN D TH E SE TU P CO MM AN D ** ** ** ** ** ** ** ** ** ** ** ** ** 7 50 ! Sen d th e Se tu p co mm an d 76 0 ! 7 70 OUT PU T @C om m US IN G "# ,1 5A ".
Transferr in g t h e logic analyzer acquired data This program uses the SYSTem:DATA query t o transfer acq uired data to your cont roller. It is useful fo r getting acq uired data for sett ing up the logic analyzer b y the controller at a later tim e.
20 0 Numb ytes =0 21 0 ! 22 0 ! **** **** **** ** RE- INIT IA LIZE TRA NSFE R BUFF ER POI NTER S **** **** **** **** ** 23 0 ! 24 0 CONT ROL @B uff, 3;1 25 0 CONT ROL @B uff, 4;0 26 0 ! 27 0 ! **** **.
66 0 ! **** **** **** **** **** * SE ND THE DAT A **** **** **** **** **** **** **** **** ** 67 0 ! Make sur e buff er is no t empt y. 68 0 ! 6 90 I F Nu mb yt es =0 T HE N 70 0 PRIN T "BUF FER I.
11 10 ! **** **** **** **** **** SEN D TERM INAT ING LI NE FEE D **** **** **** **** **** ** 1 12 0 ! S en d th e te rm in at in g li ne fe ed t o pr op er ly t er mi na te t he d at a st ri ng .
Checkin g for measurement com pletio n This program can be appende d to o r inserted into ano ther program when you need to know when a measurement is com plete.
Sending queries to the logic analyzer This program example contains t he steps required t o send a query t o the logic anal yzer. Sending the query alo ne only puts the req uested info rmation in an out put buffer of t he logic analyz er. Yo u must fo llow the query with an ENTER statem ent to transfer t he query response t o the controller.
3 10 ! Sen d th e qu er y. In t hi s ex am pl e th e ME NU ? qu er y is sen t. All 3 20 ! q ue ri es e xc ep t th e SY ST em :D ATA an d SY ST em :S ET up c an b e se nt w it h 33 0 ! this pro gram .
Getting ASCII Data with PRINt? ALL Query This pro gram example shows you how t o get ASCII data from a state list ing using the PRINt? ALL query. There are two things you must keep in mind: • You must select the log ic analyze r, which is al ways SELECT 1 for the 166 0-series lo gic analyz ers.
Reading the disk with the CATalog? ALL query The follo wing exam ple program reads the cat alog of the disk current ly in t he logic anal yzer dis k drive. The CATALOG? ALL query returns the entire 70-charact er field. Because DOS di rectory e ntries are 7 0 characte rs long, you sho uld use the CATALOG? ALL q uery with D OS di sks.
Reading the Disk with the C AT alog? Query This exam ple program uses the CATALOG? query without the ALL opt ion to read the catalo g of t he disk curre ntly in t he logi c analyzer disk drive. Howeve r, if you do not use the ALL option, the q uery only returns a 51-charact er field.
Printing t o the disk This program prints acquired dat a to a disk file . The file can be ei ther on a LIF o r DOS disk. If you print the file to a DO S disk, y ou will be able t o view the file on a D OS compat ible computer us ing any numb er of fil e utility programs.
Transferr in g waveform data in Byte format This program sets up the o scillos cope modul e to move oscilloscope wavefor m data from the 1660 -series t o a cont roller i n Byte fo rmat.
3 90 EN TE R 70 7 US IN G "# ,B "; Wa ve fo rm (* ) 4 00 EN TE R 70 7 US IN G "# ,B "; La st ch ar 41 0 ! 42 0 !** **** **** **** * Prin t th e wave form dat a **** **** **** **** .
Transferr ing wavefor m data in Word format This program sets up the o scillos cope modul e to move oscilloscope wavefor m data from the 1660 -series t o a cont roller i n Word fo rmat.
3 90 EN TE R 70 7 US IN G "# ,B "; Wa ve fo rm (* ) 4 00 EN TE R 70 7 US IN G "# ,B "; La st ch ar 41 0 ! 4 20 ! ** ** ** ** ** ** ** * Pr in t th e wa ve fo rm d at a ** ** ** ** .
Using A UToscale and the ME ASur e:ALL? Query This very si mple program ex ample sho ws how to use Autoscal e to acq uire a waveform and t he MEASure:ALL? query t o read i n the measurement results.
Using Sub-routines in a m easur em ent progr am This program e xample shows a me asurement e xample using s ub-routines in HP BASIC. The tasks perfumed i n this exa mple are: • Initializ ing the int.
3 20 CL EA R @I sc !c le ar GPI B in te rf ac e 3 30 OU TP UT @Sc op e; ": SE LE CT 2" !sel ec t th e os cill os co pe 34 0 OUT PUT @S cope ;"*R ST" ! se t osci llos cope to de fau.
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 command , 8–12 *PRE command , 8–13 *RST command, 8–14 *SRE comman d, 8–15 *STB comman d, 8–16 *TRG comman d, 8 –17 *TS T command , 8 –18 *WAI command , 8 – 1 9 .
DSP, 10–6 EOI, 9 –11 FI N D, 16–13, 22–13 FO R Mat, 35–10 GLE D ge, 22–14 HAXi s, 19–5 HEADer , 1–1 6 , 10–8 IN I Tialize, 11–13 INP or t, 12 –6 IN S ert, 12–7, 14–6, 1 8 –.
Comm unicati on, 1– 3 comp are progr am e xample, 36–9 CO M Par e s el ect or, 20– 4 COMPar e Subsystem, 20–1, 20–3, 20–4, 20–5, 2 0–6, 20–7, 20–8, 20–9, 2 0– 10, 20–11, 20.
Identifi catio n number, 9 –8 Identify ing modules, 9 –8 IEEE 4 8 8.1, 2– 2 , 5– 2 IEEE 488.1 bus commands, 2–6 IEEE 4 8 8.2, 5– 2 IFC, 2–6 imme diate tri g ger, 34–11 infini t e persi.
OFFset?, 29–6 offse t_arg ument , 2 9–4 OPATtern command /quer y , 17–11, 23–13, 24 –11 OPC, 6–5 Ope ratio n Com plet e , 6– 6 OR notation, 4–5 OSEarch command /query , 1 7 –12, 23.
DATA, 10–6, 1 7 –9, 20–8, 24–9, 26–5, 3 5 –9 DATA?, 35–9 DELay , 1 4–5, 18–7, 23–10, 33–4, 34–7 DELay ? , 3 3 –4, 34–7 EOI, 9 –11 ER R or, 10–7 FALLt i me, 3 2–6 FALL.
31 –19 XOTi me?, 31–19 XPATt ern, 1 7 –2 0 , 23–23, 24 –20 Xr eference , 35–1 6 XREFere n ce?, 35–16 XSEarch, 1 7–21, 23–24, 2 4–21 XSTate , 14–11, 17–22, 24–21 XTAG , 1 7–.
INTermodule , 12–2 MAC Hine, 1 3–2 MA R Ker, 31–1, 31–2, 31–3, 31 – 4, 31–5, 31–6, 3 1– 7 , 31–8, 31–9, 31–1 0 , 31–11, 31–12, 31–13, 31 –14, 31–15, 31 –1 6 , 31–.
tra n sferr ing waveform data p rog ram exam p le, 36–28, 3 6–30 Transmit Data (TD), 3–4, 3–5 TRE E comman d, 1 2–9 trigger count :See trig ger , 34– 2 trig ger del ay, 33–4, 34–2, 34.
Index–1 0.
© Co pyright Agile nt Techno logies 1992-2000 All Rig h t s Reserve d. Reprod u ction, adaptation, or tra nslati on wi thout prior writt en permission i s prohib ited, except as all owed under the c o pyr i g ht laws. Restricted R ights Legen d Use , du p licat ion, or disclosure by the U.
Produc t Warr anty This Ag ilent Technologies product has a warranty agai nst defect s in mate rial and workmansh ip for a perio d of one y e ar from date of shipment . During the warranty perio d , Ag ilent Technologies wi l l, at its optio n , e i t her repair or re place p rodu c ts tha t prove to be de fecti ve .
デバイスAgilent Technologies 1660ASの購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
Agilent Technologies 1660ASをまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはAgilent Technologies 1660ASの技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。Agilent Technologies 1660ASの取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。Agilent Technologies 1660ASで得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
Agilent Technologies 1660ASを既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はAgilent Technologies 1660ASの不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、Agilent Technologies 1660ASに関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちAgilent Technologies 1660ASデバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。