Home
HP 16554A User's Manual
Contents
1. 14 5 Table 14 1 TLISt Subsystem TLISt Parameter Values Parameter Value mod_num 112131415161718 91 10 mach_num 112 col_num integer from 1 to 61 line_number integer between 1040384 HP 16554A or 2088960 HP 16555A or 4177920 HP 16555D label_name a string of up to 6 alphanumeric characters base BINary HEXadecimal OCTal DECimal TWOS line_num_mid_screen label pattern occurrence time_value run_until_spec value ASCii SYMBo1 forlabels or ABSolute RI ELative for tags integer betw een 1040384 HP 16554A or 2088960 HP 16555A or 4177920 HP 16555D B O 1 X O O 112 3141516171X H O 1 2 3 4 516 7 8 9 AIBIC DIE F X O11 213 415 617 81 9 3 integer between 1040384 HP 16554A or 2088960 HP 16555A or 4177920 HP 16555D real number OFF LT lt value gt GT lt value gt INRange lt value gt lt value gt OUTRange lt value gt lt value gt real number 14 6 Selector Example Command lt col num gt lt module num gt lt label name gt lt base gt TLISt Subsystem TLISt TLISt MACHine 1 2 TLISt The TLISt selector is used as part of a compound header to access those settings normally found in the Timing Listing menu It always follows the MACHine selector because
2. Minus el space gt module_spec Lei el waveform Lei Ir waveform Lei MLENath Si space gt memory_length Si Ha MLENgth gt v 16555513 TWAVeform Subsystem Syntax Diagram 13 3 Figure 13 1 continued TW AVeform Subsystem y Lei mode space OFF PATTern MSTats MMODe gt 1 _OcoNdition ye space ENTering gt EXITing Ha OCONdition gt Lei OPATtern space H label name ec label pattern kd Lei oPattern space rei label name rd OSEarch Sei space j occurrence STARt TRIGger XMARKer kl OSEarch al OTIMe space gt time_value Se OTIMe gt Lei OVERIay gt waveform are ei waveform mod ule spec gt C NL RANGE REMove y PLUS space waveform Lei Ir waveform Ham module spec ei space gt time_range al a gt TWAVeform Subsystem Syntax Diagram continued 16555514 13 4 TW AVeform Subsystem Figure 13 1 continued vi RUNTIL space Sei run up spec Let ri RUNTil gt SPERiod space Si
3. Send the block setup header to th format 1 Byte LEN VALS Numbytes OUTPUT Comm USING B Bytet48 IF Byte 1 THEN OUTPUT Comm USING IF Byte 2 THEN OUTPUT Comm USING IF Byte 3 THEN OUTPUT Comm USING IF Byte 4 THEN OUTPUT Comm USING IF Byte 5 THEN OUTPUT Comm USING IF Byte 6 THEN OUTPUT Comm USING IF Byte 7 THEN OUTPUT Comm USING IF Byte 8 THEN OUTPUT Comm USING KKK KKK KKK KK KKKKKKKK KK KK SAVE BUFF in the proper A VALS Numbytes AA VALS Numbytes AAA VALS Numbytes AAAA VALS Numbytes AAAAA VALS Numbytes AAAAAA VALS Numbytes AAAAAAA VALS Numbytes AAAAAAAA VALS Numbytes ER POINTERS kkkxkxkxkxkxkkxkkxkxkxkxkxkkkxkkxkxkkkxk Save the transfer buffer pointer so it can b transfer 1 STATUS Buf I 5 Streg 1 KKKKKKKKKKKK RANSE ER SETUP TO TH restored after th kkkkkkkkkkkkkkkk E MODULE Transfer the setup from the buffer to the HP 16554A HP 16555A HP 16555D TRANSFER Buff TO Comm COUNT Numby tes WAIT 18 16 1060 1070 1080 1090 1100 1110 1120 1130 1140 1150 1160 1170 Programming Examples Transferring the Logic Analyzer Configuration KKEKKKKKKKKKKKKKKK KK KKK RESTORE BUFE ER POINTERS KKEKKKKKKKKKKKKKKKKKKKKK Restore t
4. Set the marker mode MMODE to time so that patterns are available for marker measurements Place the X marker on 03 hex and the O marker on 07 hex Then tell the timing analyzer to find the first occurrence of 03h after the trigger and the first occurrence of 07h after the X marker is found 1 OUTPU 707 MACHINE1 TWAVEFORM MMODE PATTERN 1 OUTPU 707 MACHI TWAVEFORM XPATTERN COUNT H03 OUTPU 707 MACHI L TWAVEFORM OPATTERN COUNT HO7 OUTPU 707 MACHINE1 TWAVEFORM XCONDITION ENTERING OUTPU 707 MACHINE1 TWAVEFORM OCONDITION ENTERING OUTPU 707 MACHINE1 TWAVEFORM XSEARCH 1 TRIGGER WAIT 2 OUTPU 707 MACHINE1 TWAVEFORM OSEARCH 1 XMARKER WAIT 2 i kkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkkkxkxkxkxkkxkxkxkkxkkxkxkxkxkxkkxkxkkxkxkkxkxkxkxkxkkxkkxkxkxkkxkkxkxkkkxkxkx Word 2 XOTIME urn ata G G ti U ER 7 NT M send the XO query da 707 SYSTEM ta the longform and headers on TIME LO EM HEADER 707 SYS me 100 707 MACHIN 07 Mtimes times GFORM ON ON dimension a string for the query query and print the string containing the El TWAV EFORM XOTIME 18 4 CR RER TONER Ehr Ch Os OS SO E EE EEN OU I I I I OU OU OU OU OU
5. E STRigger Subsystem Syntax Diagram continued Table 6 1 STRigger STRace Subsystem STRigger Subsystem Parameter Values Parameter branch qualifier qualifier to lev num proceed qualifier occurrence label name start pattern stop pattern num of levels lev of trig store qualifier state tag qualifier timer num timer value term id pattern post value memory length Value lt qualifier gt see Qualifier on page 6 6 integer from 1 to last level lt qualifier gt number from 1 to 1048575 string of up to 6 alphanumeric characters B O 1 O O 1 2 31 4 51 617 1 H O 1 2 3 4 5 6171 81 91 AIBICIDIE F O 1 2 3 4 5 6 7 8 9 3 integer from 2 to 12 integer from 1 to number of existing sequence levels 1 lt qualifier gt lt qualifier gt 112 400 ns to 500 seconds A B C D E F G H I J Hand not available in 110 MHz mode 4B 0 1 X O O 1 2 3 4 5 6 7 X H O111213141516171819 3 nteger from 0 to 100 representing percentage 4096 8192 16384 32768 65536 131072 262144 516096 HP 16554A only 524288 1040384 HP 16555A only 524288 1048576 2080768 HP 16555D only OJ1I1213 4 5 61 718 9 AIBIC DIE F X STRigger STRace Subsystem Qualifier Qualifier The qualifier for the state trigger subsystem can be terms A through J Timer 1 and 2 and Range 1 and 2
6. KKKKKKKKKKK ANALYZER KKEKKKKKKKKKKKKKKKKKKKKK E configure Machine 1 as a compare state 1 kkxkxkxkxkxkxkxkxkxkxkxkxkkxkxkxkxkkxkxkxkkxkkxkxkxkxkxkxkxkxkkxkxkkxkxkxkxkxkkxkkxkxkxkxkxkkkxkkxkxkkkxkkxkkkxkxk Remove all labels positive logic f and assign previously set up OUTPU 707 MACHINE1 SFORMAT REMOVE ALL OU I PU 707 MACHINE1 SFORMA LABEL SCOUNT POS make a label SCOUNT specify the lower 8 bits of pod 1 to the label 0 0 255 i kkxkxkxkxkxkxkxkxkxkxkxkxkkxkxkxkxkkxkxkxkkxkkkxkxkxkxkxkkxkkxkxkkkxkxkxkxkkxkkkxkxkxkxkkkxkkxkxkkkkkxkkkxkxk Make the J cloc OUTPUT 707 MACHINE1 SFORMAT MASTER J FALLING k the Master clock and specify the falling edge 18 9 DA GA GA GA GO GO GA GA Ww t OO JO OD VG GA b k E CH E DB DB vs DBD DB BBA COO OO JO DG GA b k OO On OO OO OD OD Om Om Om Om Om Om Om On On OS LA OO vw OO Jon UD Gs GA M 3 On AJA C D EC OD EA KEN HE SOV SEE ASE ECK EN GC Et EE E E Rs EC E EE E EE E E KEN E t ECH SEES AH On On k OO vo Programming Examples M aking a State Compare Analyzer M easurement KR RK RR RR RR RR RR DR DR RR DR RR RR RR kkkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkxkkxkxkkkkxkxxk Specify two sequence levels the trigg r sequence level specify FF hex for the a term which will be the trigger term and store no states u
7. OUTPUT XXX MACHINE1 STRIGGER TPOSITION 6 22 SLISt Subsystem Introduction The SLISt subsystem contains the commands available for the State Listing menu in the HP 16554A HP 16555A HP 16555D logic analyzer modules These commands are e COLumn e CLRPattern e DATA e LINE e MMODe e OPATtern e OSEarch e OSTate e OTAG e OVERlay e REMove RUNTil TAVerage TMAXimum TMINimum VRUNs XOTag XOTime XPATtern XSEarch XSTate XTAG 7 2 SLISt Subsystem Figure 7 1 Gase J cotum space Less au I vi label name base Ham N mod_num Lei Hef MacHine Ci a Lei COL umn Lei space mm Col num Se Leica ern space Lei DATA J space Ea ine_number e _ gt Je label name CLINE le space ma line num mid screen gt gt wove gt space Lei OPAT tern space H r abel_name SS ee label pattern H Lei OPAT tern Led space H label_name Lei OSE ar ch Lei space H occurrence TRIGger il 0SEar ch La y 16550521 A SLISt Subsystem Syntax Diagram 7 3 SLISt Subsystem Figure 7 1 continued Y m OSTate time_value OTAG LS space ale state_value i L gt OVERIay e space m col num
8. MACHine 1 2 SLISt RUNTil The RUNTil query returns the current stop criteria MACHine 1 2 SLISt RUNTil lt run_until_spec gt lt NL gt OUTPUT XXX MACHINE1 SLIST RUNTIL Query Returned Format lt time value gt Example Query Returned Format lt time value gt Example SLISt Subsystem TAVerage TAVerage MACHine 1 2 SLISt TAVerage The TAVerage query returns the value of the average time between the X and O Markers If the number of valid runs is zero the query returns 9 9E37 Valid runs are those where the pattern search for both the X and O markers was successful resulting in valid time measurements MACHine 1 2 SLISt TAVerage lt time value gt lt NL gt real number OUTPUT XXX MACHINE1 SLIST TAVERAGE TMAXimum MACHine 1 2 SLISt TMAXimum The TMAXimum query returns the value of the maximum time between the X and O Markers If data is not valid the query returns 9 9E37 MACHine 1 2 SLISt TMAXimum lt time_value gt lt NL gt real number OUTPUT XXX MACHINE1 SLIST TMAXIMUM Query Returned Format lt time value gt Example Query Returned Format lt valid runs gt lt total runs gt Example SLISt Subsystem TMINimum TMINimum MACHine 1 2 SLISt TMINimum The TMINimum query returns the value of the minimum time between the X and O Markers If d
9. Programming the HP 16554A HP 16555A HP 16555D Command Set Organization Command Set Organization The command set for the HP 16554A HP 16555A HP 16555D is divided into module level commands and subsystem commands Module level commands are listed in Chapter 2 Module Level Commands and each of the subsystem commands are covered in their individual chapters starting with Chapter 3 MACHine Subsystem Each of these chapters contains a description of the subsystem syntax diagrams and the commands in alphabetical order The commands are shown in long form and short form using upper and lowercase letters For example LABel indicates that the long form of the command is LABEL and the short form is LAB Each of the commands contain a description of the command and its arguments the command syntax and a programming example Figure 1 1 on the following page shows the command tree for the HP 16554A HP 16555A HP 16555D logic analyzer module The x following the SELect command at the top of the tree represents the slot number where the logic analyzer module is installed The number may range from 1 through 10 representing slots A through J respectively Figure 1 1 Programming the HP 16554A HP 16555A HP 16555D Command Set Organization SELect x I T l ARMLine DBLock MACHine 1 2 SPAN 2 WLISt rd DELay ARM MODE INSert ASSign LINE LEVelarm OVERView MINus NAME HISTogram OS
10. 14 20 Example Query Returned Format Example Command lt occurrence gt lt origin gt Example TLISt Subsystem XSEarch OUTPUT XXX MACHINE1 TLIST XPATTERN DATA 255 OUTPUT XXX MACHINE1 TLIST XPATTERN ABC BXXXX1101 MACHine 1 2 TLISt XPATtern lt label_name gt The XPATtern query returns the pattern specification for a given label name MACHine 1 2 TLISt XPATtern lt label_name gt lt label_pattern gt lt NL gt OUTPUT XXX MACHINE1 TLIST XPATTERN AT XSEarch MACHine 1 2 TLISt XSEarch lt occurrence gt lt origin gt The XSEarch command defines the search criteria for the X marker which is then used with the associated XPATtern specification when moving the markers on patterns The origin parameter tells the marker to begin a search from the trigger or the start of data The occurrence parameter determines which occurrence of the X pattern relative to the origin the marker actually searches for An occurrence of 0 places a marker on the selected origin integer from 1040384 to 1040384 CHP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 CHP 16555D TRIGger STARt OUTPUT XXX MACHINE1 TLIST XSEARCH 10 TRIGGER 14 21 Query Returned Format Example Query Returned Format lt state num gt Exa
11. TW AVeform Subsystem ACQuisition MACHine 1 2 TWAVeform ACCumulate The ACCumulate query returns the current setting The query always shows the setting as the characters 0 off or 1 on MACHine 1 2 TWAVeform ACCumulate 0 1 lt NL gt OUTPUT XXX MACHINE1 TWAVEFORM ACCUMULATE ACQuisition MACHine 1 2 TWAVeform ACQuisition AUTOmatic MANual The ACQuisition command allows you to specify the acquisition mode for the timing analyzer The acquisition modes are automatic and manual MACHine 1 2 TWAVeform ACQuisition The ACQuisition query returns the current acquisition mode MACHine 1 2 TWAVeform ACQuisition AUTOmatic MANual lt NL gt OUTPUT XXX MACHINE2 TWAVEFORM ACQUISITION 13 8 Command lt marker type gt Example Command Example Command Example TW AVeform Subsystem CENTer CENTer MACHine 1 2 TWAVeform Cl ENTer lt marker_type gt The CENTer command allows you to center the waveform display about the specified markers X O XO TRIGger OUTPUT XXX MACHIN El TWAV EFORM CENTER X CLRPattern MACHine 1 2 TWAVeform CLRPattern X O ALL The CLRPattern command allows you to clear the patterns in the selected Specify Patterns menu OUTPUT XXX MACHIN El TWAV EEF ORM CLRPATT I ERN ALL CLRStat MACHine 1 2 TWAVeform CLRS
12. The compare range is now from line 0 to 508 Ixkx xkxkxkxkxkxk xkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkxkxkxkxkkxkkxkxkxkkxkxkkxkkxkxkkkxkkxkxkkkxkxkxkxkkxkkxkxkxkxkxkkkxkkkxkxkx Change the Glitch jumper settings on the training board so that the data changes reacquire the data and compare which states are different PRINT Change the glitch jumper settings on the training board so that PRINT the data changes reacquire the data and compare which states are PRINT different 1 PRINT Press CONTINUE when you have finished changing the jumper 1 PAUSI Di 18 11 1100 1110 1120 1130 1140 1150 1155 1160 1170 1180 1190 1200 1210 1220 1230 1240 1250 1260 1270 1280 1290 1300 1310 1320 1330 1340 1350 1360 1370 1380 1390 10 20 30 40 50 60 70 80 E vs BB BB WB 1500 1510 1520 1530 Programming Examples Making a State Compare Analyzer Measurement PKKKK KK KK KK KK KK KK KK KKKK KK KK KK KK KK KK KK KK KKK KKK KK KK KK KK KK KK KK KK KK KK KK KK KK KK Start the logic analyzer to acquire new data and then stop it to compare the data When the acquistion is stopped the Compare Listing Menu will be displayed 1 OUTPUT 707 START WAIT 2 OUTPUT 707 STOP OUTPUT 707 MENU 2 10 PKKKK KK KK KKKKKK KK KK KK KK KK KK KK KK KK KK KK KK KKK KKK KK KK KK KK KK KK KK KK KK KK KK KK KKKK Dimension strings in which the
13. lt arm source gt Example Query Returned Format Example M ACHine Subsystem ARM ARM MACHine 1 2 ARM lt arm_source gt The ARM command specifies the arming source of the specified analyzer machine The RUN option disables the arm source For example if you do not want to use either the intermodule bus or the other machine to arm the current machine you specify the RUN option If you are using an HP 16500C mainframe you can set up OR d Triggering by arming the module from INTermodule when intermodule is set to Group Run with OR TRIGGER See the HP 16500C Programmer s Guide for details RUN INTermodule MACHine 1 2 OUTPUT XXX MACHINE1 ARM MACHINE2 MACHine 1 2 ARM The ARM query returns the source that the current analyzer machine will be armed by MACHine 1 2 ARM lt arm_source gt OUTPUT XXX MACHINE1 ARM 3 5 Command lt pod list gt lt pod gt Example Query Returned Format Example M ACHine Subsystem ASSign ASSign MACHine 1 2 ASSign lt pod_list gt The ASSign command assigns pods to a particular analyzer machine The ASSign command will assign two pods for each pod number you specify because pods must be assigned to analyzers in pairs NONE clears all pods from the specified analyzer machine and places them in the unassigned category If you specify a pod number greater than currently available the l
14. OUTPUT XXX MACHINE2 SWAVEFORM DELAY 127 MACHine 1 2 SWAVeform DELay The DELay query returns the current sample offset value MACHine 1 2 SWAVeform DELay lt number_of_samples gt lt NL gt OUTPUT XXX MACHINE1 SWAVEFORM DELAY Command lt label name gt lt bit id gt lt bit_num gt Example Command lt memory_length gt SW AVeform Subsystem INSert INSert MACHine 1 2 SWAVeform INSert lt label_name gt lt bit_id gt The INSert command allows you to add waveforms to the state waveform display Waveforms are added from top to bottom on the screen When 96 waveforms are present inserting additional waveforms replaces the last waveform Bit numbers are zero based so a label with 8 bits is referenced as bits 0 through 7 Specifying OVERlay causes a composite waveform display of all bits or channels for the specified label string of up to 6 alphanumeric characters OVERlay lt bit_num gt ALL integer representing a label bit from 0 to 31 OUTPUT XXX MACHINE1 SWAVEFORM INSERT WAVE 19 OUTPUT XXX MACHINE1 SWAVEFORM INSERT ABC OVERLAY OUTPUT XXX MACH1 SWAV INSERT POD1 B1001 MLEN gth MACHine 1 2 SWAVeform MLENgth lt memory_length gt The MLENgth command allows you to specify the analyzer memory depth Valid memory depths range from 4096 states o
15. lt trig_level gt lt NL gt OUTPUT XXX MACHINE1 STRIGGER SEQUENCE 6 15 Command lt N gt lt store_ qualifier gt Example Query Returned Format Example STRigger STRace Subsystem STORe STORe MACHine 1 2 STRigger STORe lt N gt lt store_qualifier gt The STORe command defines the store qualifier for a given sequence level Any data matching the STORe qualifier will be stored in memory as part of the current trace data The qualifier may be a single term or a complex expression The terms A through J are defined by the TERM command The meaning of IN_RANGE1 and 2 and OUT_RANGE1 and 2 is determined by the RANGe command Expressions are limited to what you could manually enter through the State Trigger menu Regarding parentheses the syntax definitions below show only the required ones Additional parentheses are allowed as long as the meaning of the expression is not changed A detailed example is provided starting on page 6 10 an integer from 1 to the number of existing sequence levels maximum 12 lt qualifier gt see Qualifier on page 6 6 OUTPUT XXX MACHINE1 STRIGGE OUTPUT XXX MACHINE1 STRIGGE OUTPUT XXX MACHINE1 STRIGGE NOTI ORE1 ANYSTATE ORE2 OUT_RANGE1 ORE3 NOTC AND NOTD AND An DW nn Wn MACHine 1 2 STRigger STORe lt N gt The
16. 0 PU AJ 0 tus 0 PUT 70 PUT 70 p rint 7 7 7 7 ne CLE AR SCRE PRI PRI NT Me NT 0 Repeat WAI IF GOT END Til as SYSTEM HEADER OFF SYSTEM LONGFORM OFF MESE2 1 Enables register for slot B MESR2 Queries register for slot B ER 707 Status MESR register status EN urement complete status is Status AND 1 not complete 1 complete the MESR query until measurement is complete Status AND 1 1 THEN GOTO 630 O 510 PRINT TABXY 30 15 Measurement is complete 18 18 10 20 30 40 50 51 52 53 54 55 56 D 58 39 60 61 62 63 64 65 66 70 80 90 100 110 120 130 140 Programming Examples Sending Queries to the Logic Analyzer Sending Queries to the Logic Analyzer This program example contains the steps required to send a query to the logic analyzer Sending the query alone only puts the requested information in an output buffer of the logic analyzer You must follow the query with an ENTER statement to transfer the query response to the controller When the query response is sent to the logic analyzer the query is properly terminated in the logic analyzer If you send the query but fail to send an ENTER statement the logic analyzer will display the error messag
17. 1 integer from 1 to lt number_of_levels gt integer from 1 to lt number_of_levels gt integer from 1 to the number of existing sequence levels maximum 10 lt qualifier gt see Qualifier on page 12 6 OUTPUT XXX MACHINE1L TTRIGGER BRANCH1 ANYSTATE 3 OUTPUT XXX MACHINE2 TTRIGGER BRANCH2 Ar 7 OUTPUT XXX MACHINE1 TTRIGGER BRANCH3 A OR B OR NOTG Tr 12 10 TTRigger TTRace Subsystem BRANch Query MACHine 1 2 TTRigger BRANch lt N gt The BRANch query returns the current branch qualifier specification for a given sequence level Returned Format MACHine 1 2 TTRigger BRANch lt N gt lt branch_qualifier gt lt to_level_num gt lt NL gt Example OUTPUT XXX MACHINE1 TTRIGGER BRANCH3 Figure 12 2 Current Qualifier atb f g in_range2 i Or tt timer2 gt 400ns Complex Qualifier Figure 12 2 is a front panel representation of the complex qualifier a Or Di Or f Or oi Example This example would be used to specify this complex qualifier a OUTPUT XXX MACHINE1 TTRIGGER BRANCH1 A OR B AND F OR G ZN 12 11 Command Example TTRigger TTRace Subsystem CLEar Terms A through E RANGE 1 EDGE1 and TIMER 1 must be grouped together and terms F G and I RANGE 2 EDGE2 and TIMER
18. H 0 1 2 3141516 7 8 9 AIBICID E F 0 11213141516 71819 16 6 Command Example Query Returned Format Example SPA Subsystem MODE MODE SPA 1 2 MOD OVERView HISTogram TINTerval The MODE command selects which menu to display State Overview State Histogram or Time Interval A query returns the current menu mode OU PU XXX SPA1 MODE OVERView OU PU OUT PUT XXX SPA1 MODE TI XXX SPA2 MODE HI SPA 1 2 MODE SPA 1 2 MODE OVERVie 10 20 30 40 50 60 DIM String 100 OU PUT XXX SELECT 1 OU PUT XXX SPA1 MODE EN ER XXX Strings PRI END T Strings STogram Terval w HISTogram TINTerval lt NL gt ou 16 7 Query Returned Format lt bucket num gt lt number gt Example SPA Subsystem OVERView BUCKet OVERView BUCKet SPA 1 2 OVERView BUCKet SIZE NUMBer lt bucket_num gt The OVERView BUCKet query returns data relating to the State Overview measurement You specify SIZE for width of each bucket NUMBer for number of buckets or lt bucket_num gt for the number of hits in the specified bucket number SPA 1 2 OVI lt number gt lt NL gt 0 to number of valid buckets 1 integer number 10 DIM String 100 ERView BU
19. Programmer s Guide Publication number 16555 97011 First edition January 1997 For Safety information Warranties and Regulatory information see the pages behind the Index Copyright Hewlett Packard Company 1987 1990 1993 1994 1997 All Rights Reserved HP 16554A HP 16555A and HP 16555D State Timing Logic Analyzers il In This Book Programming the HP 16554A HP 16555A HP 16555D Module Level Commands MACHine Subsystem This guide combined with the HP 16500 16501A Programmer s Guide provides you with the information WLISt Subsystem needed to program the HP 16554A and HP 16555A D logic analyzer modules Each module has its own reference to SFORmat Subsystem supplement the mainframe manual since not all mainframes will be configured with the same modules STRigger STRace Subsystem This manual is organized in three parts Part 1 consists of chapters 1 and 2 which contain general information and SLISt Subsystem instructions to help you get started Chapter 1 also contains SWAVeform Subsystem e Mainframe system commands that are frequently used with the logic analyzer module SCHart Subsystem e HP 16554A HP 16555A HP 16555D logic analyzer command tree e Alphabetic command to subsystem SEENEN directory Chapter 2 contains module level TFORmat Subsystem commands Part 2 consists of chapters 3 through 16 which contain the subsystem commands for the logic analyzer and chapter 17 which contain
20. Q OI1TI21314151 6171xX a H O 1 21314 5 61718 9 AIBICIDIE F X OJ1 2 3 4 5 6 7 8 9 2 fT Example OUTPUT XXX MACHINE2 COMPARE DATA CLOCK 42 B011X101x OUTPUT XXX MACHINE2 COMPARE DATA OUT3 0 HFF40 OUTPUT XXX MACH1 COMP DATA 129 BXX00 B1101 B10XX OUTPUT XXX MACH1 COMP DATA 511 4 64 16 256 8 6 Query MACHine 1 2 COMPare DATA lt label_name gt lt line_num gt The DATA query returns the value of the compare listing image for a given label and state row Returned Format MACHine 1 2 COMPare DATA lt label_name gt lt line_num gt lt data_pattern gt lt NL gt Example 10 DIM Label 6 Response 80 15 PRINT This program shows the values for a signal s Compare listing 20 INPUT Enter signal label Label 25 OUTPUT XXX SYSTEM HEADER OFF Turn headers off from responses 30 OUTPUT XXX MACHINE2 COMPARE RANGE 35 ENTER XXX First Las 40 PRI LINE VALUE of Label 45 FOR State First TO Last Print compare value for each state 50 OUTPUT XXX MACH2 COMPARE DATA H Label S VALS State 55 ENTER XXX Responses 60 PRINT State Responses 65 NEXT State 70 D Read in the range s end points ct d HH 10 7 Query Returned Format lt diff_ occurrence gt lt l
21. lt label_name gt lt start_pattern gt lt stop_pattern gt The RANGe command allows you to specify a range recognizer term for the specified machine Since a range can only be defined across one label and since a label must contain 32 or fewer bits the value of the start pattern or stop pattern will be between 222 1 and 0 When these values are expressed in binary they represent the bit values for the label at one of the range recognizers end points Don t cares are not allowed in the end point pattern specifications string of up to 6 alphanumeric characters 112 B O 1 O O 1 2 3 4 5 617 H O 1I2Z13 4 51617 8 9 AIBICIDIEIF O 1 2 3 4 5 6 7 8 9 2 JN OUTPUT XXX MACHINE1 TTRIGGER RANGE1 DATA 127 7255 OUTPUT XXX MACHINE1 TTRIGGER RANGE2 ABC B00001111 HCE MACHine 1 2 TTRigger RANGe lt N gt The RANGe query returns the range recognizer end point specifications for the range MACHine 1 2 TTRiger RANGe lt N gt lt label_name gt lt start_pattern gt lt stop_pattern gt lt NL gt OUTPUT XXX MACHINE1 TTRIGGER RANGE1 12 17 TTRigger TTRace Subsystem SEQuence SEQuence Command MACHine 1 2 TTRigger SEQuence lt number_of_levels gt The SEQuence command defines the timing analyzer trigger sequence First it deletes the current sequence then it inserts the number of lev
22. 18 3 to 13 29 WLISt 4 1 4 3 to 4 14 SWAVeform selector 8 4 SWAVeform subsystem 8 1 8 3 to 8 11 SYMBol selector 15 5 SYMBol subsystem 15 1 15 3 to 15 8 syntax diagram COMPare Subsystem 10 3 MACHine Subsystem 3 3 SCHart Subsystem 9 3 SFORmat Subsystem 5 3 nn n pe D SLISt Subsystem 7 3 STRigger Subsystem 6 3 to 6 4 SWAVeform Subsystem 8 3 SYMBol Subsystem 15 3 TFORmat Subsystem 11 3 TLISt Subsystem 14 3 TTRigger Subsystem 12 3 TWAVeform Subsystem 13 3 to 13 4 WLISt Subsystem 4 3 SYSTem DATA 17 4 to 17 5 SYSTem ERRor 1 7 SYSTem PRINt 1 7 SYStem SETup 17 18 to 17 14 SYSTem SETup program example 18 14 T TAG command query 6 17 TAKenbranch command query 6 18 8 10 TAVerage query 7 17 13 23 14 17 TCONtrol command query 6 19 12 20 TERM command query 6 20 12 21 TFORmat selector 11 4 TFORmat subsystem 11 1 11 3 to 11 8 THReshold command query 5 18 11 8 time markers 7 10 13 14 13 18 13 26 13 29 14 10 time tag data description 17 13 time tags 14 7 timer 6 19 6 21 12 20 TIMER command query 6 21 12 22 timing analyzer program example 18 3 NTerval AUTorange command 16 22 Terval QUALifier command query 16 23 Terval TINTerval command query 16 24 Terval TSTatistic query 16 25 LISt selector 14 7 LISt subsystem 14 1 14 3 to 14 23 MAXimum query 7 17 13 23 14 17 MINimum query 7 18 13 24 14 18 TPOSition command query 6 22 8 11 12 23 13 24 trace size 8 8 12
23. E 13 14 Command Example Query Returned Format Example TW AVeform Subsystem OCONdition OCONdition MACHine 1 2 TWAVeform OCONdition ENTering EXITing An ee The OCONdition command specifies where the O marker is placed The O marker can be placed on the entry or exit point of the OPATtern when in the PATTern marker mode OUTPUT XXX MACHINE1 TWAVEFORM OCONDITION ENTERING MACHine 1 2 TWAVeform OCONdition The OCONdition query returns the current setting MACHine 1 2 TWAVeform OCONdition ENTering EXITing lt NL gt OUTPUT XXX MACHINE1 TWAVEFORM OCONDITION 13 15 Command lt label name gt lt label pattern gt Example Query Returned Format Example TW AVeform Subsystem OPATtern OPATtern MACHine 1 2 TWAVeform OPATtern lt label_name gt lt label_pattern gt The OPATtern command allows you to construct a pattern recognizer term for the O marker which is then used with the OSEarch criteria and OCONdition when moving the marker on patterns Since this command deals with only one label at a time a complete specification could require several invocations When the value of a pattern is expressed in binary it represents the bit values for the label inside the pattern recognizer term In whatever base is used the value must be between 0 and ae 1 since a label may not hav
24. H O 1 2 3 4 5 6 7 8 9 AIBICIDIE F Ol1 2 3 4 51 6 7 819 FT 1 2 OUTPUT XXX MACHINE1 STRIGGER RANGE1 DATA 127 255 OUTPUT XXX MACHINE1 STRIGGER RANGE2 ABC B00001111 HCE 6 14 Query Returned Format Example Command lt num levels gt lt trig level gt Example Query Returned Format Example STRigger STRace Subsystem SEQuence MACHine 1 2 STRigger RANGe lt N gt The RANGe query returns the range recognizer end point specifications for the range MACHine 1 2 STRigger RANGe lt N gt lt label_name gt lt start_pattern gt lt stop_pattern gt lt NL gt OUTPUT XXX MACHINE1 STRIGGER RANGE1 SEQuence MACHine 1 2 STRigger SEQuence lt num_levels gt lt trig_level gt The SEQuence command redefines the state analyzer trigger sequence First it deletes the current sequence Then it inserts the number of levels specified with default settings and assigns the trigger to be at a specified sequence level The number of levels may be between 2 and 12 integer from 2 to 12 integer from 1 to number of existing sequence levels 1 OUTPUT XXX MACHINE1 STRIGGER SEQUENCE 4 3 MACHine 1 2 STRigger SEQuence The SEQuence query returns the current sequence specification MACHine 1 2 STRigger SEQuence lt num_levels gt
25. HP 16554A or 253951 to 253951 HP 16555A or 507903 to 507903 HP 16555D Example OUTPUT XXX MACHINE2 COMPARE LINE 511 Query MACHine 1 2 COMPare LINE The LINE query returns the current line number specified Returned Format MACHine 1 2 COMPare LINE lt line_num gt lt NL gt Example OUTPUT XXX MACHINE4 COMPARE LINE MENU Command MACHine 1 2 COMPare MENU REFerence DIFFerence The MENU command allows you to display the reference or the difference listings in the Compare menu Example OUTPUT XXX MACHINE2 COMPARE MENU REFERENCE Command lt start line gt lt stop line gt Example Query Returned Format Example COM Pare Subsystem RANGe RANGe MACHine 1 2 COMPare RANGe FULL PARTial lt start_line gt lt stop_line gt The RANGe command allows you to define the boundaries for the comparison The range entered must be a subset of the lines in the acquisition memory integer from 122880 to 122880 CHP 16554A or 253951 to 253951 HP 16555A or 507904 to 507904 HP 16555D integer from lt start_line gt to 122880 HP 16554A or 253951 HP 16555A or 507904 HP 16555D OUTPUT XXX MACHINE1 COMPARE RANGE PARTIAL 511 512 OUTPUT XXX MACHINE2 COMPARE RANGE FULL MACHine 1 2 COMPare RANGe The
26. IW gt OVERView Je keinte Je SPACE SIZE y bucket num HIGH Li SPACE m high_patt ken Led HIGH Let EEN Le SPACE ren label name rt Led ABel Low SPACE H low patt _ m LOW Let MLENgIN SPACE m memory m H MLENgth gt 1 OMARKer SPACE m o_patt m H OMARker al m ovsTatistic j SPACE XHITs 01670s05 SPA Subsystem Syntax Diagram 16 3 SPA Subsystem Figure 16 1 continued XMARker SPACE oo x_patt XMARker A wy HISTogram i HSTatistic LS SPACE w l range_num Lei ABe Li SPACE H label name Leioroer Led SPACE INCLuded ExCLuded QUALifier space tabel_name gt H r pattern e auaLifier Li space Lei tabel_name H RANGe SPACE OFFIO range_num 4 oC Dae range_name ri jam Low patt q on high_patt Y Y 01670s06 SPA Subsystem Syntax Diagram continued 16 4 SPA Subsystem Figure 16 1 continued RANGE ae SPACE rn range num kB Le TTYPe Je SPACE
27. MACHINE2 SWAVEFORM RANGE Command Example Command Example Query Returned Format Example SW AVeform Subsystem REM ove REMove MACHine 1 2 SWAVeform REMove The REMove command clears the waveform display before building a new display OUTPUT XXX MACHINE1 SWAVEFORM REMOVE TAKenbranch MACHine 1 2 SWAVeform TAKenbranch STORe NOSTore The TAKenbranch command allows you to control whether the states that cause branching are stored or not stored This command is only available when the acquisition mode is set to manual OUTPUT XXX MACHINE2 SWAVEFORM TAKENBRANCH STORE MACHine 1 2 SWAVeform TAKenbranch The TAKenbranch query returns the current setting MACHine 1 2 SWAVeform TAKenbranch STORe NOSTore lt NL gt OUTPUT XXX MACHINE2 SWAVEFORM TAKENBRANCH Command lt percent gt Example Query Returned Format Example SW AVeform Subsystem TPOSition TPOSition MACHine 1 2 SWAVeform TPOSition STARt CENTer END POSTstore lt percent gt The TPOSition command allows you to control where the trigger point is placed The trigger point can be placed at the start center end or at a percentage of post store The post store option is the same as the User Defined option when setting the trigger point from the front panel The T
28. Memory depth is affected by acquisition mode If the lt memory_length gt value sent with the command is not a legal value the closest legal setting will be used 4096 8192 16384 32768 65536 131072 262144 516096 HP 16554A only 524288 1040384 HP 16555A only 524288 1048576 2080768 HP 16555D only OUTPUT XXX MACHINE1 STRIGGER MLENGTH 262144 MACHine 1 2 STRigger MLENgth The MLENgth query returns the current analyzer memory depth selection MACHine 1 2 STRigger MLENgth lt memory_length gt lt NL gt OUTPUT XXX MACHINE1 STRIGGER MLENGTH Command lt label name gt lt start pattern gt lt stop pattern gt lt N gt Example STRigger STRace Subsystem RANGe RANGe MACHine 1 2 STRigger RANGe lt N gt lt label_name gt lt start_pattern gt lt stop_pattern gt The RANGe command allows you to specify a range recognizer term for the specified machine Since a range can only be defined across one label and since a label must contain 32 or fewer bits the value of the start pattern or stop pattern will be between 33 1 and 0 When these values are expressed in binary they represent the bit values for the label at one of the range recognizers end points Don t cares are not allowed in the end point pattern specifications string of up to 6 alphanumeric characters B O 1 ere O O 1 213 415 617
29. TINTerval QUALifier Command SPA 1 2 TINTerval QUALifier lt label_name gt lt start_pattern gt lt end_pattern gt The TINTerval QUALifier command defines the start and stop patterns for a specified label The start and stop patterns determine the time windows for collecting data A query returns the currently defined start and stop patterns for a given label lt label_name gt string of up to 6 alphanumeric characters lt start_pattern gt B O 1 O O 1 2 3 4 5 6 7 H O 1 2 3 4 5 6 7 8 9 A BIC DIE F O 1 2 3 4 5 6 7 8 9 3 lt end_pattern gt B O 1 O O 1 2 3 4 5 6 7 H O 1 2 3 4 5 6 7 8 9 A BIC D E F O 1 2 3 4 5 6 7 8 9 3 Example OUTPUT XXX SPA1 TINTerval QUALifier A Q231 0455 OUTPUT XXX SPA2 TINTerval QUALifier DATA H3A 255 Query SPA 1 2 TINTerval QUALifier lt label_name gt Returned Format SPA 1 2 TINTerval QUALifier lt label_name gt lt start_pattern gt lt end_pattern gt lt NL gt Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 TINTerval QUALifier A 40 ENTER XXX Strings 50 PRINT Strings 60 END 16 23 Command lt interval_ number gt lt min_time gt lt max_time gt Example Query Returned Format Example SPA
30. TTYPe Gos e Tinterval Lei L Jeiautooree D wm SPACE Ca t NG e mp time mal i e max_tine re H QUAL fier we SPACE label name DD wm start patt J end patt E el QUAL ifier NS SPACE Led label_name Le H TNTerval NS SPACE interval num eC min_time i gt max time Bi H TNTerval WS SPACE ren interval num gt T STatistic SPACE TMINimum TMAXimum TAVerage TOTal mg TTOTal interval num 01670807 SPA Subsystem Syntax Diagram continued SPA Subsystem Table 16 1 SPA Subsystem Parameter Values Parameter Value bucket num 0 to number of valid buckets 1 high_patt lt pattern gt label_name a string of up to 6 alphanumeric characters low_patt lt pattern gt memory 4096 8192 16384 32768 65536 131072 262144 516096 HP 16554A 524288 1040384 HP 16555A 524288 1048576 2080768 HP 16555D 0 patt lt pattern gt X_patt lt pattern gt range_num an integer from 0 to 10 range_name a string of up to 16 alphanumeric characters min_time real number max_time real number start pattern lt pattern gt end pattern lt pattern gt interval num an integer from 0 to 7 pattern B 0 1 Q 0 1 2 314151617
31. There are two conditions which are based on a comparison of the acquired state data and the reference listing You can run until one of the following conditions is true e Every channel of every label has the same value KQUal e Any channel of any label has a different value NEQual real number from 9E9 to 9E9 OUTPUT XXX MACHINE2 COMPARE RUNTIL EQUAL 10 11 Query Returned Format Example Command Example COM Pare Subsystem SET MACHine 1 2 COMPare RUNTil The RUNTIil query returns the current stop criteria for the comparison when running in repetitive trace mode MACHine 1 2 COMPare RUNTil OFF LT lt value gt GT lt value gt INRange lt value gt lt value gt OUTRange lt value gt lt value gt EQUal NEQual lt NL gt OUTPUT XXX MACHINE2 COMPARE RUNTIL SET MACHine 1 2 COMPare S Cd H The SET command sets every state in the reference listing to don t cares If you send the SET command by mistake you can immediately send the CLEar command to restore the previous data This is the only time the CLEar command will not replace don t cares with zeros OUTPUT XXX MACHINE2 COMPARE SET 10 12 11 TFORmat Subsystem Introduction The TFORmat subsystem contains the commands available for the Timing Format menu in the HP 16554A HP 16555A HP 16555D logic analyzer module These
32. clocks are assigned in decreasing order format integer from 0 to 65535 for a pod pods are assigned in decreasing order Example 510 OUTPUT XXX MACHINE2 SFORMAT LABEL STAT POSITIVE 0 127 40312 520 OUTPUT XXX MACHINE2 SFORMAT LABEL SIG 1 Bl1 B0000000011111111 BO0000000000000000 Query MACHine 1 2 SFORmat LABel lt name gt The LABel query returns the current specification for the selected by name label If the label does not exist nothing is returned The polarity is always returned as the first parameter Numbers are always returned in decimal format Label names are case sensitive MACHine 1 2 SFORmat LABel lt assignment gt lt NL gt lt name gt lt polarity gt OUTPUT XXX MACHINE2 SFORMAT LABEL DATA H 5 8 Command lt clock id gt lt clock spec gt Example Query Returned Format Example SFORmat Subsystem MASTer MASTer MACHine 1 2 SFORmat MASTer lt clock_id gt lt clock_spec gt The MASTer clock command allows you to specify a master clock for a given machine The master clock is used in all clocking modes Master Slave and Demultiplexed Each command deals with only one clock J K L M therefore a complete clock specification requires four commands one for each clock Edge specifications RISing FALLing or BOTH are ORed At least one clock edge must be specified J K L M
33. further certifies that its calibration measurements are raceable to the United States ational Institute of Standards and Technology to he extent allowed by the nstitute s calibration facility and to the calibration facilities of other nternational Standards Organization members About this edition This is the first edition of the HP 16554A HP 16555A HP 16555D Programmer s Guide Publication number 16555 97011 Printed in USA Edition dates are as follows First edition January 1997 New editions are complete revisions of the manual Update packages which are issued between editions contain additional and replacement pages to be merged into the manual by you The dates on the title page change only when a new edition is published A software or firmware code may be printed before the date This code indicates the version level of the software or firmware of this product at the time the manual or update was issued Many product updates do not require manual changes and conversely manual corrections may be done without accompanying product changes Therefore do not expect a one to one correspondence between product updates and manual updates The following list of pages gives the date of the current edition and of any changed pages to that edition All pages original edition
34. sample period Lt rhel SPERiod gt H r TAVerage ei rel TMAXimum TMINimum fei Lei rauer D Sei space STARt END DELay ae fei time val e Postsiore Ji je percent TPOSIition Si VRUNs gt Lei xCONdition Je space ENTering EXITing Lei XCONdition XOTime gt Lei water space H label name Lei e label pattern kb Lei water Si space T S label name gt Lei xSearch gt space H r occurrence Lei YX TRIGger H r XSEarch li XTIMe space time value kel XTIMe 16555515 TWAVeform Subsystem Syntax Diagram continued 13 5 Table 13 1 TW AVeform Subsystem TW AVeform Parameter Values Parameter delay value module spec bit id waveform acquisition_spec label_name label_pattern occurrence time_value time_range run_until_spec GT LT value time_val sample_period marker_type memory_length Value real number between 2500 s and 2500 s 11213141516171819110 integer from 0 to 31 string containing lt acquisition_spec gt 1 2 A B C D E F G H I J slotwhere acquisition card is located string of up to 6 alphanumeric characters B O 1 X O OILIZIZ14 516171X H OILIZIZ141IS5161718191 AIBICIDIE FIX 0 11213
35. string length must match the exact number of bits assigned to the specified label If the string length does not match the number of bits the Parameter string invalid message is displayed 112 string of up to 6 alphanumeric characters string consisting of R F E to total number of bits For 8 bits assigned OUTPUT XXX MACHINE1 TTRIGGER EDGE1 DATA F E For 16 bits assigned OUTPUT XXX MACHINE1 TTRIGGER EDGE1 DATA D nea EE Esa RIM 12 13 Query Returned Format Example Command lt N gt lt time_ qualifier gt lt condition_ mode gt GT TTRigger TTRace Subsystem FIND MACHine 1 2 TTRigger EDGE lt N gt lt label_name gt The EDGE query returns the current specification for the given label MACHine 1 2 TTRigger EDGE lt N gt lt label_name gt lt edge_spec gt lt NL gt OUTPUT XXX MACHINE1 TTRIGGER EDGE1 DATA FIND MACHine 1 2 TTRigger FIND lt N gt lt time_qualifier gt lt condition_mode gt The FIND command defines the qualifier for a given sequence level The qualifier tells the timing analyzer when to proceed to the next sequence level When this proceed qualifier is matched for either the specified time or occurrence the sequencer will proceed to the next sequence level In the sequence level where the trigg
36. using Each pod specification after that is assigned to the next highest numbered pod This way the specifications match the left to right descending order of the pods you see on the Format display Not including enough pod specifications results in the lowest numbered pod s being assigned a value of zero all channels excluded If you include more pod specifications than there are pods for that machine the extra ones will be ignored However an error is reported any time more than 22 pod specifications are listed The polarity can be specified at any point after the label name Because pods contain 16 channels the format value for a pod must be between 0 and 65535 CASES DR When giving the pod assignment in binary each bit will correspond to a single channel A 1 in a bit position means the associated channel in that pod is assigned to the label A 0 in a bit position means the associated channel in that pod is excluded from the label Leading zeroes may be omitted For example assigning B1111001100 is equivalent to entering _ _ through the touchscreen A label can not have a total of more than 32 channels assigned to it 5 7 lt name gt lt polarity gt lt clock bits gt lt upper bits gt lt lower bits gt Returned Format Example SFORmat Subsystem LABel string of up to 6 alphanumeric characters POSitive NEGative format integer from 0 to 65535 for a clock
37. 00 V to 6 00 V in 0 05 volt increments pod number integer from 1 to 12 voltage real number 6 00 to 6 00 default value of 1 6 V default value of 1 3 V OUTPUT XXX MACHINE1 TFORMAT THRESHOLD1 4 0 MACHine 1 2 TFORmat THReshold lt N gt The THReshold query returns the current threshold for a given pod MACHine 1 2 TFORmat THReshold lt N gt lt value gt lt NL gt OUTPUT XXX MACHINE1 TFORMAT THRESHOLD2 12 TTRigger TTRace Subsystem Introduction The TTRigger subsystem contains the commands available for the Timing Trigger menu in the HP 16554A HP 16555A HP 16555D logic analyzer module The Timing Trigger subsystem will also accept the TTRace selector as used in previous HP 16500 series logic analyzer modules to eliminate the need to rewrite programs containing TTRace as the selector keyword The TTRigger subsystem commands are e ACQuisition e BRANch e CLEar e EDGE e FIND e MLENgth e RANGe e SEQuence e SPERiod e TCONtrol e TERM e TIMER e TPOSition TTRigger TTRace Subsystem Figure 12 1 X gt TTRiager a tC ACQuisition Je space AUTOmatic MANual ACQuisition BRANch lt N gt gt space e branch_qualifier le el Io level num H r BRANch lt N gt eet gt CLEar al space Let HE Source Leo RE space FS label name Lei edge spec Tt ED
38. 13 else branch 6 9 else on 12 9 entering 14 11 examples 16 8 program 1 4 10 7 10 10 18 1 to 18 6 exiting 14 11 F FIND command query 6 12 12 14 to 12 15 find error 10 8 FIND query 10 8 from Start Trigger 13 28 14 21 from Start Trigger X marker 13 17 14 13 full channel mode 11 5 H half channel mode 11 5 HAXis command query 9 5 HIGH command query 16 9 HISTogram HSTatistic query 16 16 HISTogram LABel command query 16 17 HISTogram OTHer command query 16 18 HISTogram QUALifier command query 16 19 HISTogram TTYPe command query 16 21 HSTatistic query 16 16 Sert command 4 6 8 8 13 11 interleave 7 15 Termodule Subsystem 1 7 ernal clock 12 19 in L abel 5 13 LABel command query 5 7 to 5 8 11 6 16 10 16 17 LEVelarm command query 3 7 LINE command query 4 7 7 9 10 9 14 9 listing menu 7 2 LOW command query 16 11 M MACHine selector 2 6 3 4 MACHine subsystem 3 1 3 3 to 3 11 markers 4 2 7 8 7 10 7 17 13 21 14 8 14 10 14 17 to 14 20 16 14 Chart 9 2 O 4 9 7 11 to 7 12 13 15 to 13 16 13 17 14 11 14 14 16 13 occurrence 7 14 7 22 pattern 8 6 13 15 14 12 14 19 searching 7 21 setting type 13 14 statistics 7 17 to 7 18 8 7 13 23 to 13 25 waveform 8 2 X 7 20 7 22 13 26 to 13 29 14 20 14 22 to 14 23 16 15 X O 13 26 mask bits 10 5 master clock 5 6 MASTer command query 5 9 maximum time 13 23 14 17 measurement complete progr
39. 16 trigger 8 11 12 14 SPA 16 21 trigger position 13 24 34494 H HA Index 4 Index TSTatistic query 16 25 TTRace selector 12 8 TTRigger selector 12 8 TTRigger TTRace subsystem 12 1 12 3 to 12 23 TYPe command query 16 21 TWAVeform selector 13 7 TWAVeform Subsystem 13 1 13 3 to 13 29 TYPE command query 3 10 to 3 11 Vv VAXis command query 9 6 to 9 7 vertical scroll 4 7 VRUNs query 7 18 13 25 14 18 Ww WIDTh command 15 8 WLISt selector 2 7 4 4 WLISt subsystem 4 1 4 3 to 4 14 x X entering 14 19 X exiting 14 19 XCONdition command query 13 26 14 19 XMARker command query 16 15 XOTag query 7 19 14 19 XOTime query 4 13 7 19 13 26 14 20 XPATtern command query 7 20 13 27 14 20 XSEarch command query 7 21 13 28 14 21 XSTate query 4 13 7 22 14 22 XTAG command query 7 22 to 7 23 14 23 XTIMe command query 4 14 13 29 Index 5 Index 6 O Copyright Hewlett Packard Company 1987 1990 1993 1994 1997 All Rights Reserved Reproduction adaptation or translation without prior written permission is prohibited except as allowed under the copyright laws Document Warranty The information contained in this document is subject to change without notice Hewlett Packard makes no warranty of any kind with regard to this material including but not limited to the implied warranties of merchantability or fitness for
40. 25 29 33 DATA and SETup Commands Data Preamble Description Data Preamble Description The UNPacked block data is organized as 574 bytes of preamble information followed by a variable number of bytes of data The preamble gives information for each analyzer describing the amount and type of data captured where the trace point occurred in the data which pods are assigned to which analyzer and other information The preamble bytes 17 through 590 consists of the following 574 bytes 4 bytes Instrument ID always 16500 decimal for both the HP 16554A and HP 16555A 4 bytes Revision Code 4 bytes number of acquisition chips used in last acquisition 4 bytes Analyzer ID 0 for HP 16554A 1 for the HP 16555A D The values stored in the preamble represent the captured data currently stored in this structure and not the current analyzer configuration For example the mode of the data bytes 33 and 103 may be STATE with tagging while the current setup of the analyzer is TIMING The next 70 bytes are for Analyzer 1 Data Information 4 bytes Machine data mode one of the following decimal values off 0 70 MHz HP 16554A or 100 MHz HP 16555A D State data no tags 1 70 MHz HP 16554A or 100 MHz HP 16555A D State data with tags 2 70 MHz HP 16554A or 100 MHz HP 16555A D State data with tags 3 Fast State data no tags HP 16555A D 4 Fast State data with tags HP 16555A D 5 Fast State data wit
41. 7 13 9 CMASk 10 5 COLumn 7 7 14 7 COMPare 10 4 COPY 10 6 DATA 10 6 17 4 DBLock 2 5 DELay 4 5 8 7 13 10 EDGE 12 13 FIND 6 12 12 14 HAXis 9 5 HIGH 16 9 HISTogram LABel 16 17 HISTogram OTHer 16 18 HISTogram QUALifier 16 19 HISTogram RANGe 16 20 HISTogram TTYPe 16 21 NSert 4 6 8 8 13 11 LABel 5 7 11 6 16 10 16 17 LEVelarm 3 7 LINE 4 7 7 9 10 9 14 9 LOW 16 11 MACHine 2 6 3 4 MASTer 5 9 MENU 1 6 10 9 MESE 1 13 MINus 4 8 13 13 MLENsgth 6 18 8 8 12 16 13 12 16 12 MMODe 7 10 13 14 14 10 ODE 5 10 odule Level 2 2 OPQual 5 11 QUal 5 12 AME 3 8 OCONdition 18 15 14 11 OMARKer 16 13 OPATtern 7 11 13 16 14 12 OSEarch 7 12 13 17 14 13 OTAG 7 14 14 14 OTHer 16 18 OTIMe 4 9 13 18 OVERIay 4 10 7 15 13 18 OVERView HIGH 16 9 OVERView LABel 16 10 OVERView LOW 16 11 z222 OVERview MLENgth 16 12 OVERView OMARker 16 13 OVERView XMARker 16 15 PATTern 15 6 PLUS 4 11 13 19 Nt 1 7 ALifier 16 19 16 23 NGe 4 12 6 14 8 9 10 10 12 17 3 20 15 7 16 20 Move 4 12 5 13 7 15 8 10 11 7 3 20 14 15 15 8 Name 3 8 Source 3 9 ODe 1 7 Til 7 16 10 11 13 21 14 16 Hart 9 4 Lect 1 3 1 6 Quence 6 15 12 18 T 10 12 Tup 17 13 ORmat 5 6 LAVe 5 15 OPQual 5 16 PERiod 12 19 13 22 SQUal 5 17 STARt 1 6 STOP 1 7 STORe 6 16 SWAVeform 8 4 SYMBol 15 5 SYSTem DATA 17 2 17 4 SYST
42. BR To Ek FS E EE EE HD HED ASS ECH EN EH KE KE MESS REDDER EE EA HED EH KEDE KE ADD E DD EE EE Ds Et EE AED a MED AES N Ww NNN NY sI On os WWWWWW GA GA WIN DY VO OO JO UT BWNHHE OO E CH E vs DB BB vs Bo CO vw OO ST On UN Gs GA M 3 ou ul Ne Wu w oO 53 53 54 1 2 0 xkkkkkkkkkkkk TNTITIALIZE Programming Examples Sending Queries to the Logic Analyzer VARIABLE FOR NUMBER OF BYTES AANER KREA AKSER KK The variable Numbytes contains Numbyte 1 REAL Numbytes s 0 the number of bytes in the buffer kkk ek eA EAA RE TNITIALIZE TRANSFER BUFFER POINTERS 4 ik kkk kk kkk 1 CONTROL Buff 3 1 CONTROL Buff 4 0 1 kkkkkkkkkkkkkkkkkkkkkkk SEND THE DATA QUERY KKK KK KK KKK KKK KK KK KKKK KK KKK OUTPUT 707 SYSTEM HEADER ON OUTPUT 707 SYSTEM LONGFORM ON OUTPUT Comm SELECT 2 OUTPUT Comm SYSTEM DATA 1 kkkxkxkxkxkxkxkxkxkkxkkxkxkxkkxkxxk ENTER THE BLOCK DATA HEADER ORKER RER KR ER SKR ede de Enter the block data header in the proper format 1 ENTER Comm USING B Byte PRINT CHR Byte WHILE Byte lt gt 35 ENTER Comm USING B Byte PRINT CHRS Byte END WHILE ENTER Comm USING B By
43. Bol Subsystem REM ove REMove MACHine 1 2 SYMBol REMove The REMove command deletes all symbols from a specified machine OUTPUT XXX MACHINE1 SYMBOL REMOVE WIDTh MACHine 1 2 SYMBol WIDTh lt label_name gt lt width_value gt The WIDTh command specifies the width number of characters in which the symbol names will be displayed when symbols are used The WIDTh command does not affect the displayed length of the symbol offset value string of up to 6 alphanumeric characters integer from 1 to 16 OUTPUT XXX MACHINE1 SYMBOL WIDTH DATA 9 15 8 16 SPA Subsystem Introduction This chapter provides you with information for programming the System Performance Analysis SPA features on the HP 16554A HP 16555A HP 16555D logic analyzer modules SPA commands have subsystems indicated by the outdented items in the list Indented commands must be prefaced with the outdented command above it unless MODE was previously used to set the mode The SPA commands are e OVERView e TINTerval e BUCKet e AUTorange e HIGH e QUALifier e LABel e TINTerval e LOW e TSTatistic e MLENgth e MODE e OMARkKer e OVSTatistic e XMARker e HISTogram e HISTatistic e LABel e OTHer e QUALifier e RANGe e TTYPe 16 2 SPA Subsystem Figure 16 1 i gt SPA 2 C MODE SPACE wm OVERView gt red HIST ogram al wm TINTerval gt CN MODE
44. G 1A Commas G K LinesS G 3A Errors G 1A Commas G K LinesS Programming Examples Making a State Compare Analyzer Measurement i kkk kk kkkkkk kk kkkkkk RR RR RR RR RR RR RR RR RR RR RR RR RR RR DR RR RR DR RR RR RR Test for the last error as the error number of the first number after th Error line2 TH Error line Error_line IVAL Line 10 IF Error line Error line2 l The error number of the last error is the same last error EN GOTO 1780 i kkxkxkxkxkxkxkxkxkxkxkxkxkkxkxkxkxkkkxkxkxkxkkxkxkxkxkxkxkxkxkkxkxkkkxkxkxkxkkxkkxkxkxkkxkkkxkkxkxkxkkxkkxkxkkkkkxkkkkxk Print the error numbers and the corresponding line numbers on the controller screen PRINT mrror 1850 No errors found Error number Error Last error found is on line number r Error_line 18 13 FAG Oo Jo 0 OD D OD PWN FP EH E CH Ce Zut ka Or EH E EE CO JO OD VS GA r FA b b b b DNDN UT vs GA b OCW Kal AE E E ECH ECH SH E ECH GC SE GA EECH EE SH N On i KKKKKKK i KKKKK KK Programming Examples Transferring the Logic Analyzer Configuration Transferring the Logic Analyzer Configuration This program uses the SYSTem SETup query to transfer the configuration of the logic analyzer to your controller This program also uses the SYSTem SETup command to transfer a logic analyzer configuration from t
45. HP 16555A D to 8 ms OUTPUT XXX MACHINE1 TWAVEFORM SPERIOD 50E 9 MACHine 1 2 TWAVeform SPERiod The SPERiod query returns the current sample period MACHine 1 2 TWAVeform SPERiod lt sample_period gt lt NL gt OUTPUT XXX MACHINE1 TWAVEFORM SPERIOD 13 22 Query Returned Format lt time value gt Example Query Returned Format lt time value gt Example TW AVeform Subsystem TAVerage TAVerage MACHine 1 2 TWAVeform TAVerage The TAVerage query returns the value of the average time between the X and O markers If there is no valid data the query returns 9 9E37 MACHine 1 2 TWAVeform TAVerage lt time_value gt lt NL gt real number OUTPUT XXX MACHINE1 TWAVEFORM TAVERAGE TMAXimum MACHine 1 2 TWAVeform TMAXimum The TMAXimum query returns the value of the maximum time between the X and O markers If there is no valid data the query returns 9 9E37 MACHine 1 2 TWAVeform TMAXimum lt time_value gt lt NL gt real number OUTPUT XXX MACHINE1 TWAVEFORM TMAXIMUM 13 23 Query Returned Format lt time value gt Example Command lt time val gt lt percent gt Example TW AVeform Subsystem TMINimum TMINimum MACHine 1 2 TWAVeform TMINimum The TMINimum query returns the value of the minimum time between the X
46. MACHINE2 DATA REMove MACHine 1 2 SLISt REMove The REMove command removes all labels except the leftmost label from the listing menu OUTPUT XXX MACHINE1 SLIST REMOVE Command lt run until spec gt lt value gt Example Query Returned Format Example SLISt Subsystem RUNTil RUNTil MACHine 1 2 SLISt RUNTil run until spec gt The RUNT il run until command allows you to define a stop condition when the trace mode is repetitive Specifying OFF causes the analyzer to make runs until either the display s STOP field is touched or the STOP command is issued There are four conditions based on the time between the X and O markers Using this difference in the condition is effective only when time tags have been turned on see the TAG command in the STRace subsystem These four conditions are as follows e The difference is less than LT some value e The difference is greater than GT some value e The difference is inside some range INRange e The difference is outside some range OUTRange End points for the INRange and OUTRange should be at least 8 ns apart since this is the minimum time resolution of the time tag counter OFF LT lt value gt GT lt value gt INRange lt value gt lt value gt OUTRange lt value gt lt value gt real number from 9E9 to 9E9 OUTPUT XXX MACHINE1 SLIST RUNTIL GT 800 0E 6
47. OU l Programming Examples Making a State Analyzer M easurement Making a State Analyzer Measurement This state analyzer program selects the HP 16554A HP 16555A HP 16555D module displays the configuration menu defines a state machine displays the state trigger menu sets a state trigger for multilevel triggering This program then starts a single acquisition measurement while checking for measurement completion This program is written so that you can run it with the HP E2433 60004 Logic Analyzer Training Board This example is the same as the Multilevel State Triggering example in chapter 9 of the HP E2433 Logic Analyzer Training Kit kkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkk kxkxx k STATE ANALYZE R EXAMPLE kkkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkkxkxkkxxk kxxk for the HP 16554A HP 16555A HP 16555D Logic Analyzer KKKKKKKKKKKKK SELECT THE Select slot in which the HP 16554 HP 16555 MODULE x RA KKK AK KK AK HP 16554A HP 16555A HP 16555D is installed In this example it is in slot B of the mainframe TPUT 707 SELECT 2 KKEKKKKKKKKKKKKKKKKKK CONFIGURE THE STATE ANALYZER Kok kk kk KK KKK Name Machine 1 STATE configure Machine 1 as a state analyzer assign pod 1 to Machine 1 and display System Configuration menu of the HP 16554A HP 16555A HP 16555D PUT 707 MACHINE1 NAME STATE PUT 707 MACHIN
48. OUTPUT XXX MACHINE1 STRIGGER TAG IN_RANGE OR A AND E MACHine 1 2 STRigger TAG The TAG query returns the current count tag specification MACHine 1 2 STRigger TAG OFF TIME lt state_tag_qualifier gt lt NL gt OUTPUT XXX MACHINE1 STRIGGER TAG 6 17 Command Example Query Returned Format Example STRigger STRace Subsystem TAKenbranch TAKenbranch MACHine 1 2 STRigger TAKenbranch STORe NOSTore The TAKenbranch command allows you to specify whether the state causing the branch is stored or not stored for the specified machine The states causing the branch are defined by the BRANch and FIND commands OUTPUT XXX MACHINE2 STRIGGER TAKENBRANCH STORE MACHine 1 2 STRigger TAKenbranch The TAKenbranch query returns the current setting MACHine 1 2 STRigger TAKenbranch STORe NOSTore lt NL gt OUTPUT XXX MACHINE2 STRIGGER TAKENBRANCH Command lt N gt lt timer num gt Example Query Returned Format Example STRigger STRace Subsystem TCONtrol TCONtrol MACHine 1 2 STRigger TCONtrol lt N gt lt timer_num gt OFF STARt PAUSe CONTinue The TCONtrol timer control command allows you to turn off start pause or continue the timer for the specified level The time value of the timer is defined by the TIMER command There are two timers and
49. Parameter branch qualifier to level num proceed qualifier occurrence label name start pattern stop pattern num of levels timer num timer value term id pattern qualifier post value time val duration time sample period edge spec memory length Value lt qualifier gt integer from 1 to last sequence level lt qualifier gt number from 1 to 1048575 string of up to 6 alphanumeric characters B O 1 Q O 121314151617 1 H O 1 2 3 4 5 6 7 8 9 AIBICIDIE F Ol1I2 3 4 5 6 7 8 9 3 integer from 1 to 10 1 2 400 ns to 500 seconds A BICIDIEB FIG T H B O 1 X Q O 1LI213 4151617 xX 1 H O 1 2 3 4 5 6 7 8 9 AIBICIDIE F X OlLI2 3 4 5161 7 8 9 34 see Qualifier on page 12 6 integer from 0 to 100 representing percentage real number real number from 8ns to 5s based on the sample period real number from Ans HP 16554A or 2 ns HP 16555A D to 8 ms string consistingof E F R 4096 8192 16384 32768 65536 131072 262144 516096 1040384 HP 16554A 524288 1048576 2088960 HP 16555A 524288 1048576 2097152 4177920 HP 16555D only 12 5 lt qualifier gt lt expression gt lt expressionla gt lt expressionlb gt lt expressionla term gt lt expressionlb_ term gt lt expression2a gt lt expression2b gt lt expression2c gt lt expression2d gt lt expression2e gt lt ex
50. Preamble Description Byte Position 61 4 bytes Tag type for state mode in one of the following decimal values 0 off 1 time tags 2 state tags 65 8 bytes Trigger offset The time offset Gn picoseconds from when this analyzer is triggered and when this analyzer provides an output trigger to the IMB or port out The value for one analyzer is always zero and the value for the other analyzer is the time between the triggers of the two analyzers 73 30 bytes Unused 103 70 bytes The next 70 bytes are for Analyzer 2 Data Information They are organized in the same manner as Analyzer 1 above but they occupy bytes 103 through 172 173 88 bytes Number of valid rows of data starting at byte 591 for each pod Bytes 173 through 212 Unused Bytes 213 through 216 contain the number of valid rows of data for pod 4 of the highest card slot expansion card in a three card module Bytes 217 through 220 contain the number of valid rows of data for pod 3 of the highest cardslot expansion card in a three card module Bytes 221 through 224 contain the number of valid rows of data for pod 2 of the highest cardslot expansion card in a three card module Bytes 225 through 228 contain the number of valid rows of data for pod 1 of the highest cardslot expansion card in a three card module Bytes 229 through 232 contain the number of valid rows of data for pod 4 of either the expansion card in a two card module or a middle cardslot expa
51. RESource RUNTIl SEQuence SET SETHold SLAVe SOP Qual SPERiod SETHold SLAVe SOP Qual SPERiod SQUal STORe TAG TAKenbranch TAVerage Where Used SFORmat SFORmat MACHine TLISt TWAVeform SPA SLISt TLISt TWAVeform SLISt TLISt TWAVeform SLISt TLISt WLISt SLISt TLISt SPA TWAVeform WLISt SLISt TWAVeform WLISt SPA SPA SYMBol TWAVeform WLISt SPA COM Pare SPA STRigger SW AVeform SYM Bol TFORmat TWAVeform WLISt SFORmat SLISt SWAVeform SYMBol TFORmat TLISt TWAVeform WLISt MACHine MACHine COM Pare SLISt TLISt TWAVeform STRigger TTRigger COM Pare SFORmat SFORmat SFORmat TFORmat TWAVeform SFORmat SFORmat SFORmat TFORmat TWAVeform SFORmat STRigger STRigger STRigger SWAVeform SLISt TLISt TWAVeform Table 1 1 continued Programming the HP 16554A HP 16555A HP 16555D Command Set Organization Alphabetical Command to Subsystem Directory continued Command TCONtrol TERM THReshold TIMER TINTerval TMAXimum TMINimum TPOSition TSTatistic TTYPe TYPE Where Used STRigger TTRigger STRigger TTRigger SFORmat TFORmat STRigger TTRigger SPA SLISt TLISt TWAVeform SLISt TLISt TWAVeform STRigger SWAVeform TTRigger TWAVeform SPA SPA MACHine Command VAXis VRUN WIDTh XCONdition XM ARker XOTag XOTime XPATtern XSEarch XSTate XTAG XTIMe Where Used SCHart SLISt TLISt TWAVeform SYMBol TLISt TWAVefo
52. SCHart The SCHart selector is used as part of a compound header to access the settings found in the State Chart menu It always follows the MACHine selector because it selects a branch below the MACHine level in the command tree OUTPUT XXX MACHINE1 SCHART VAXIS A 707 797 ACCumulate MACHine 1 2 SCHart ACCumulate ON 1 OFF 0 The ACCumulate command controls whether the chart display gets erased between each individual run or whether subsequent waveforms are displayed over the previous waveforms OUTPUT XXX MACHINE1 SCHART ACCUMULATE OFF MACHine 1 2 SCHart ACCumulate The ACCumulate query returns the current setting The query always shows the setting as the character 0 off or 1 on MACHine 1 2 SCHart ACCumulate 0 1 lt NL gt OUTPUT XXX MACHINE1 SCHART ACCUMULATE 9 4 Command lt marker type gt Example Command lt state_low_ value gt lt state_high_ value gt lt label_name gt Label Low value gt lt label high value gt SCHart Subsystem CENTer CENTer MACHine 1 2 SCHart CENTer lt marker_type gt The CENTer command centers the chart display about the specified markers The markers are placed in the SLISt subsystem X O XO TRIGger OUTPUT XXX MACHINE1 SCHART CENTER XO HAXis MACHine 1 2 SCHart HAXis STAtes lt state_low_value gt lt state_high_value gt lt
53. SE DEFault REName J gt space ri res id gt gt RESource gt space rei res terms ei RESource gt TYPE space d COMPare TYPE 16555502 Machine Subsystem Syntax Diagram 3 3 Table 3 1 Selector lt N gt Example M ACHine Subsystem M ACHine Machine Subsystem Parameter Values Parameter arm source pod list pod num arm level machine name res id Value RUN NONE D INTermodule lt pod num gt integer from 1 to 12 integer from 1 to 11 representing sequence level MACHine 1 2 lt pod_num gt string of up to 10 alphanumeric characters lt state_terms gt or lt state_terms gt EDG H J for state analyzer E 1 2 for timing analyzer new_text string of up to 8 alphanumeric characters State_terms A B C D E F G I RANGE 1 2 TIMER 1 2 res terms lt res_id gt lt res_id gt MACHine MACHine lt N gt The MACHine lt N gt selector specifies which of the two analyzers machines available in the module the commands or queries following will refer to Because the MACHine lt N gt command is a root level command it will normally appear as the first element of a compound header 112 OUTPUT XXX the machine number MACHINE1 NAME TIMING Command
54. SFORmat 5 6 CLOCk 5 6 LABel 5 7 MASTer 5 9 MODE 5 10 MOPQual 5 11 MQUal 5 12 REMove 5 13 SETHold 5 13 SLAVe 5 15 SOPQual 5 16 SQUal 5 17 THReshold 5 18 Contents 2 Contents 6 STRigger STRace Subsystem Qualifier 6 6 STRigger STRace 6 8 ACQuisition 6 8 BRANch 6 9 CLEar 6 11 FIND 6 12 MLENgth 6 13 RANGe 6 14 SEQuence 6 15 STORe 6 16 TAG 6 17 TAKenbranch 6 18 TCONtrol 6 19 TERM 6 20 TIMER 6 21 TPOSition 6 22 7 SLISt Subsystem SLISt 7 7 COLumn 7 7 CLRPattern 7 8 DATA 7 9 LINE 7 9 MMODe 7 10 OPATtern 7 11 OSEarch 7 12 OSTate 7 13 OTAG 7 14 OVERIay 7 15 REMove 7 15 RUNTil 7 16 TAVerage 7 17 TMAXimum 7 17 TMINimum 7 18 VRUNs 7 18 Contents 3 10 Contents XOTag 7 19 XOTime 7 19 XPATtern 7 20 XSEarch 7 21 XSTate 7 22 XTAG 7 22 SWAVeform Subsystem SWAVeform 8 4 ACCumulate 8 5 ACQuisition 8 5 CENTer 8 6 CLRPattern 8 6 CLRStat 8 7 DELay 8 7 INSert 8 8 MLENgth 8 8 RANGe 8 9 REMove 8 10 TAKenbranch 8 10 TPOSition 8 11 SCHart Subsystem SCHart 9 4 ACCumulate 9 4 CENTer 9 5 HAXis 9 5 VAXis 9 6 COMPare Subsystem COMPare 10 4 CLEar 10 5 CMASk 10 5 COPY 10 6 DATA 10 6 Contents 4 11 12 FIND 10 8 LINE 10 9 MENU 10 9 RANGE 10 10 RUNTi 10 11 SET 10 12 TFORmat Subsystem TFORmat 11 4 ACQMode_ 11 5 LABel 11 6 REMove 11 7 THReshold 11 8 TTRigger TTRace Subsystem Qualifier 12 6 TTRigger TTRace 12 8 ACQuisition 12 9 BRANch 12 9 CLEar 12 1
55. STORe query returns the current store qualifier specification for a given sequence level lt N gt MACHine 1 2 STRigger STORe lt N gt lt store_qualifier gt lt NL gt OUTPUT XXX MACHINE1 STRIGGER STORE4 6 16 Command lt state tag qualifier gt Example Query Returned Format Example STRigger STRace Subsystem TAG TAG MACHine 1 2 STRigger TAG OFF TIME lt state_tag_qualifier gt The TAG command selects the type of count tagging state or time to be performed during data acquisition State tagging is indicated when the parameter is the state tag qualifier which will be counted in the qualified state mode The qualifier may be a single term or a complex expression The terms A through J are defined by the TERM command The terms IN_RANGE1 and 2 and OUT_RANGE1 and 2 are defined by the RANGe command Expressions are limited to what you could manually enter through the State Trigger menu Regarding parentheses the syntax definitions below show only the required ones Additional parentheses are allowed as long as the meaning of the expression is not changed A detailed example is provided starting on page 6 10 lt qualifier gt see Qualifier on page 6 6 OUTPUT XXX MACHINE1 STRIGGER TAG OFF OUTPUT XXX MACHINE1 STRIGGER TAG TIME OUTPUT XXX MACHINE1 STRIGGER TAG IN RANGE OR NOTF
56. Subsystem TIN Terval TINTerval TINTerval TINTerval SPA 1 2 TI NTerval T INTerval lt interval number gt lt min time gt lt max time gt The TINTerval TINTerval command specifies the minimum and maximum time limits for the given interval A query returns these limits for a specified interval 0to7 real number real number erval 4 1 0 OUTPUT XXX SPA2 TINTerval TIN OUTPUT XXX SPA1 TINTerval TIN SPA 1 2 TINTerval TI erval 3 6 8E SPA 1 2 TINTerval TINTerval lt max_time gt lt NL gt 10 DIM String 100 XXX SEL XXX SPA2 ER XXX String T Strings 20 OUTPU 30 OUTPU 40 EN 50 PRI 60 END EC 1 E5 E2 NTerval lt interval_number gt lt interval_number gt lt min_time gt INTerval TINTerval 6 16 24 Query Returned Format lt interval_ number gt lt number_hits gt lt time_number gt Example SPA Subsystem TINTerval TS Tatistic TINTerval TSTatistic SPA 1 2 TINTerval TSTatistic TMINimum TMAXimum TAVerage TOTal TTOTal lt interval_number gt The TINTerval TSTatistic query returns either the time or the number of samples associated with the requested statistic The statistics you can request are TMINimum overall minimum interval time TMAXimum overall maximum interval time TAVerage overall average inte
57. XXX MACHIN El TFORMAT ACOMODE Command Example Query Returned Format Example TFORmat Subsystem ACQMode ACQMode MACHine 1 2 TFORmat ACOMode FULL HALF The ACQMode acquisition mode command allows you to select the acquisition mode for the timing analyzer The options are e conventional mode at full channel 125 MHz HP 16554A or 250 MHz HP 16555A D e conventional mode at half channel 250 MHz HP 16554A or 500 MHz HP 16555A D OUTPUT XXX MACHINE2 TFORMAT ACOMODE HALF MACHine 1 2 TFORmat ACQMode The ACQMode query returns the current acquisition mode MACHine 1 2 TFORmat ACQMode FULL HALF lt NL gt OUTPUT XXX MACHINE2 TFORMAT ACQMODE Command lt name gt lt polarity gt lt clock_bits gt TFORmat Subsystem LABel LABel MACHine 1 2 TFORmat LABel lt name gt lt polarity gt lt clock_bits gt lt clock_bits gt lt upper_bits gt lt lower_bits gt lt upper_bits gt lt lower_bits gt The LABel command allows you to specify polarity and to assign channels to new or existing labels If the specified label name does not match an existing label name a new label will be created The order of the pod specification parameters is significant The first one listed will match the highest numbered pod assigned to the machine you re using Each pod specification after that is assigned to the ne
58. XXX MACHINE1 TLIST XTAG 14 23 14 24 15 SYMBol Subsystem Introduction The SYMBol subsystem contains the commands that allow you to define symbols on the controller and download them to the HP 16554A HP 16555A HP 16555D logic analyzer modules The commands in this subsystem are e BASE e PATTern e RANGe e REMove WIDTh 15 2 SYM Bol Subsystem Figure 15 1 CN b GsvmBo Lei Base space a label name Se Gei Bier i ai H PATTern mm space Ea label name e aa symbo name TD SN a pattern_value ke RANGE et space H r label_name ei e Svmbol name Y LS start_value Lei e Stlop voluet wi0Th space H r label_name ei ei width value 16510 SX10 SYM Bol Subsystem Syntax Diagram 15 3 Table 15 1 SYM Bol Subsystem SYM Bol Parameter Values Parameter Value label name string of up to 6 alphanumeric characters symbol name pattern value start value stop value width value string of up to 16 a my Q H 0 nm DO 0 integer fro B CO OO D k OO CH 1 0 PRO NFR 2 1 2 2 3 1 2 2 3 m X 3 3 4 3 3 4 t 1 to 4 4 5 4 4 5 1 6 Wu Wu ey oO co co HQ HQ phanumeric characters SCH 4 819 A B C D BL fi
59. XXX MACHINE2 SFORMAT REMOVE ALL SETHold MACHine 1 2 SFORmat SETHold lt pod_num gt lt set_hold_value gt The SETHold setup hold command allows you to set the setup and hold specification for the state analyzer Even though the command requires integers to specify the setup and hold the query returns the current settings in a string For example if you send the integer 0 for the setup and hold value the query will return 3 5 0 0 ns as an ASCII string when you have one clock and one edge specified SFORmat Subsystem SETHold lt pod_num gt an integer from 1 to 12 lt set hold integer 0 1 2 3 4 5 6 7 8 9 representing the following setup and value gt hold values Table 5 2 Setup and hold values For one clock and one edge For one clock and both edges Multiple Clocks 0 3 5 0 0ns 0 4 0 0 0 0 4 5 0 0 1 3 0 0 5 ns 1 3 5 0 5 1 4 0 0 5 2 2 5 1 0ns 2 3 0 1 0 2 3 5 1 0 3 2 0 1 5 ns 3 2 5 1 5 3 3 0 1 5 4 1 5 2 0ns 4 2 0 2 0 4 2 5 2 0 5 1 0 2 5 ns 5 1 5 2 5 5 2 0 2 5 6 0 5 3 0 ns 6 1 0 3 0 6 1 5 3 0 7 0 0 3 5 ns 7 0 5 3 5 7 1 0 3 5 N A 8 0 0 4 0 8 0 5 4 0 N A N A 9 0 0 4 5 Example OUTPUT XXX MACHINE2 SFORMAT SETHOLD 1 2 Query MACHine 1 2 SFORMAT SETHOLD lt pod_num gt The SETHold query returns the current setup and hold settings Returned Format MACHine 1 2 SFORmat SETHold lt pod_num gt lt setup_and_hold_string gt lt NL
60. and O markers If there is no valid data the query returns 9 9E37 MACHine 1 2 TWAVeform TMINimum lt time_value gt lt NL gt real number OUTPUT XXX MACHINE1 TWAVEFORM TMINIMUM TPOSition MACHine 1 2 TWAVeform TPOSition STARt CENTer END DELay lt time_val gt POSTstore lt percent gt The TPOSition command allows you to control where the trigger point is placed in the acquisition The trigger point can be placed at the start center end at a percentage of post store or at a value specified by delay The post store option is the same as the User Defined option when setting the trigger point from the front panel The TPOSition command is only available when the acquisition mode is set to manual real number that varies by sample period integer from 1 to 100 OUTPUT XXX MACHINE2 TWAVEFORM TPOSITION CENTER 13 24 Query Returned Format Example Query Returned Format lt valid runs gt lt total runs gt Example TW AVeform Subsystem VRUNs MACHine 1 2 TWAVeform TPOSition The TPOSition query returns the current trigger setting MACHine 1 2 TWAVeform TPOSition STARt CENTer END DELay lt time_val gt POSTstore lt percent gt lt NL gt OUTPUT XXX MACHINE2 TWAVEFORM TPOSition VRUNs MACHine 1 2 TWAVeform VRUNSs The VRUNs query returns the number of valid r
61. and the data is now int listing topped the Compare menu he compare reference 18 10 72 73 74 75 76 77 78 719 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 ad Jet Ba Bach a a ER SE GS 1010 1020 1030 1040 1041 1050 1060 1070 1080 1090 Programming Examples Making a State Compare Analyzer Measurement RR RR kkkkkk kk kkkkkk RR RR RR RR RR RR RR RR RR RR RR RR RR RR DR RR RR DR RR RR RR RR Display line 4090 of the compare listing and start the analyzer in a repetitive mod OUTPUT 707 MACHINE1 COMPARE LINE 4090 OUTPUT 707 START Line 4090 of the listing is now displayed at center screen In this example the states are stable However in some cases the end points of the listing may vary thus causing a false failure in compare To eliminate this problem a partial compare can be specified to provide predictable end points of the data PRINT Press CONTINUE to send the STOP command PAUSE OUTPUT 707 STOP PKKKK KK KK KK KK KK KK KKK KKK KK KK KK KK KK KK KK KK KK KK KK KK KK KK KK KK KK KK KK KK KK KK KK KK KK The end points of the compare can be fixed to prevent false failures In addition you can use partial compare to compare only sections of the state listing you are interested in comparing 1 OUTPUT 707 MACHINE1 COMPARE RANGE PARTIAL 0 508
62. chapter 13 see chapter 14 see chapter 15 see chapter 16 see chapter 16 see chapter 16 see chapter 16 see chapter 4 Command lt N gt Example Query Returned Format Example Command Module Level Commands ARMLine ARMLine ARMLine MACHine lt N gt The ARMLine command selects which machine generates the arm out signal on the IMB intermodule bus This command is only valid when two analyzers are on However the query is always valid 112 OUTPUT XXX ARMLINE MACHINE1 ARMLine If the analyzer is set up for OR d triggering then the ARMLine query returns an empty string This cannot be used for setting up OR d triggering ARMLine MACHine lt N gt lt NL gt OUTPUT XXX ARMLine DBLock DBLock PACKed UNPacked The DBLock command specifies the data block format that is contained in the response from a SYSTem DATA query See Chapter 17 for more information on the SYSTem DATA command and query The PACKed option default uploads data in a compressed format This option is used to upload data for archiving or for reloading back into the analyzer When an analyzer configuration is saved to disk the PACKed data format is always used regardless of the current DBLock selection 2 5 Example Query Returned Format Example Command lt N gt Example M odule Level Commands M ACHine The UNPacked option uploa
63. clock designator and the board see below Unused clock lines should be ignored exp2 expl mstr Clock Pod 1 lt xxxx MLKJ MLKJ MLKJ gt Where x not used mstr master card exp expander card number 2 bytes Not used clock pod 2 1 byte MSB of clock pod 1 1 byte LSB of clock pod 1 1 byte MSB of data pod 4 board x 1 byte LSB of data pod 4 board x 1 byte MSB of data pod 3 board x 1 byte LSB of data pod 8 board x 1 byte MSB of data pod 2 board x 1 byte LSB of data pod 2 board x 1 byte MSB of data pod 1 board x 1 byte LSB of data pod 1 board x where n 591 bytes per row x maximum number of valid rows 1 17 12 Example Command DATA and SETup Commands Time Tag Data Description A three card configuration with 516096 valid rows First data byte byte 591 Last data byte 14 451 278 591 28 x 516096 1 Time Tag Data Description If tags are enabled for one or both analyzers the tag data follows the acquisition data The first byte of the tag data is determined as follows 591 bytes per row x maximum number of valid rows Each row of the tag data array consists of one single analyzer with state tags or two both analyzers with state tags eight byte tag values per row When both analyzers have state tags enabled the first tag value in a row belongs to Machine 1 and the second tag value belongs to Machine 2 If the tag value is a time tag the
64. commands are e ACQMode e LABel e REMove e THReshold TFORmat Subsystem Figure 11 1 j Y TFORmat 2 C ACOMode Je space GH ay sg H ACQMode be He LaBel Je space name Bi Goy polarity HEN clock bits D s i em upper bi i lower_bits f Leiiaper Led space H REMove my space Le THReshold lt N gt e space TIL THReshold lt N gt 16555S10 TFORmat Subsystem Syntax Diagram 11 3 Table 11 1 Selector Example TFORmat Subsystem TFORmat TFORmat Subsystem Parameter Values Parameter Value lt N gt an integer from 1 to 12 name string of up to 6 alphanumeric characters polarity POSitive NEGative upper_bits format integer from 0 to 65535 for a pod pods are assigned in decreasing order lower_bits format integer from 0 to 65535 for a pod pods are assigned in decreasing order value voltage real number 6 00 to 6 00 clock_bits format integer from 0 to 65535 for a clock clocks are assigned in decreasing order TFORmat MACHine 1 2 TFORmat The TFORmat selector is used as part of a compound header to access those settings normally found in the Timing Format menu It always follows the MACHine selector because it selects a branch directly below the MACHine level in the language tree OUTPUT
65. compare find query COMPARE FIND enters the line numbers and error numbers 1 DIM Line 20 DIM Error 4 DIM Comma 1 1 1 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk kk Display the Difference listing I OUTPUT 707 MACHINE1 COMPARE MENU DIFFERENCE I i kkk kk kkkkkk kk kkkkkk RR RR RR RR RR RR RR RR RR kkkkkk RR DR RR RR DR RR RR RR RR Loop to query all 508 possible errors 1 FOR Error 1 TO 508 I Read the compare differences OUTPUT 707 MACHINE1 COMPARE FIND amp VALS Error I i kkk kk kkkkkk kk kkkkkk kk RR RR RR SR RR RR RR RR RR RR RR RR RR DR RR RR DR RR RR RR RR Format the Error string data for display on the controller screen 1 IF Error gt 99 T IF Error gt 9 THI 1 ENTER 707 USING 1A Error ENTER 707 USING 1A Comma ENTER 707 USING K Line Error return IVAL Error 10 IF Error return 0 THEN GOTO 1820 1 GOTO 1610 EN GOTO 1580 GOTO 1550 DI m 18 12 1540 1550 1555 1560 1570 1580 1590 1595 1600 1610 1620 1630 1640 1650 1660 1670 1680 1690 1700 1710 1720 1730 1740 1750 1760 1770 1780 1790 1800 1810 1820 1830 1840 1850 T T T T T x zZ R 707 USI R 707 USI R 707 USI 1610 ENTER 707 USI ENTER 707 USI R 707 USI G 2A 1 Errors
66. gt Example OUTPUT XXX MACHINE2 SFORMAT SETHOLD 3 Command lt clock id gt lt clock spec gt Example Query Returned Format Example SFORmat Subsy stem SLAVe SLAVe MACHine 1 2 SFORmat SLAVe lt clock_id gt lt clock_spec gt The SLAVe clock command allows you to specify a slave clock for a given machine The slave clock is only used in the Slave and Demultiplexed clocking modes Each command deals with only one clock J K L M therefore a complete clock specification requires four commands one for each clock Edge specifications RISing FALLing or BOTH are ORed When slave clock is being used at least one edge must be specified J K L M OFF RISing FALLing BOTH OUTPUT XXX MACHINE2 SFORMAT SLAVE J RISING MACHine 1 2 SFORmat SLAVe lt clock_id gt The SLAVe query returns the clock specification for the specified clock MACHine 1 2 SFORmat SLAVe lt clock_id gt lt clock_spec gt lt NL gt OUTPUT XXX MACHINE2 SFORMAT SLAVE K Command lt clock pair id gt lt qual_ operation gt Example Query Returned Format Example SFORmat Subsystem SOP Qual SOPQual MACHine 1 2 SFORmat SOPQual lt clock_pair_id gt lt qual_operation gt The SOPQual slave operation qualifier command allows you to specify either the AND or the OR operation between slave clock qualifier pair
67. is configured as part of an intermodule run STOP will stop all associated modules STARt and STOP are overlapped commands Overlapped commands allow execution of subsequent commands while the logic analyzer operations initiated by the overlapped command are still in progress For more information see OPC and WAI commands in Chapter 5 of the HP 16500 16501A Programmer s Guide RMODe Command query The RMODe command specifies the run mode single or repetitive for a module If the selected module is configured for intermodule the intermodule run mode will be set by this command The RMODe query returns the current setting SYSTem ERRor Query The SYSTem ERRor query returns the oldest error in the error queue In order to return all the errors in the error queue a simple FOR NEXT loop can be written to query the queue until all errors are returned Once all errors are returned the query will return zeros SYSTem PRINt Command query The SYSTem PRINt command initiates a print of the screen or listing buffer over the current printer communication interface The SYSTem PRINt query sends the screen or listing buffer data over the current controller communication interface MMEMory Subsystem The MMEMory Subsystem provides access to both internal disc drives for loading and storing configurations INTermodule Subsystem The INTermodule Subsystem commands are used to specify intermodule arming between multiple modules 1 7
68. is used the value must be between 0 and 23 1 since a label may not have more than 32 bits Because the lt label_pattern gt parameter may contain don t cares it is handled as a string of characters rather than a number string of up to 6 alphanumeric characters B O 1 X O OILIZI3Z141516171X H 0 1 2 31415 6 718 9 AIBICI DIE F X COLLIZ US EARS OW TBO eg ax EP OUTPUT XXX MACHINE1 SLIST OPATTERN DATA 255 OUTPUT XXX MACHINE2 SLIST OPATTERN ABC BXXXX1101 7 11 Query Returned Format Example Command lt occurrence gt lt origin gt Example SLISt Subsystem OSEarch MACHine 1 2 SLISt OPATtern lt label_name gt The OPATtern query returns the pattern specification for a given label name MACHine 1 2 SLISt OPATtern lt label_name gt lt label_pattern gt lt NL gt OUTPUT XXX MACHINE1 SLIST OPATTERN AT OSEarch MACHine 1 2 SLISt OSEarch lt occurrence gt lt origin gt The OSEarch command defines the search criteria for the O marker which is then used with associated OPATtern recognizer specification when moving the markers on patterns The origin parameter tells the marker to begin a search with the trigger the start of data or with the X marker The actual occurrence the marker searches for is determined by the occurrence parameter of the OSEarch recog
69. label_name gt lt label_low_value gt lt label_high_value gt lt state_low_value gt lt state_high_value gt The HAXis command allows you to select whether states or a label s values will be plotted on the horizontal axis of the chart The axis is scaled by specifying the high and low values The shortform for STATES is STA This is an intentional deviation from the normal truncation rule integer from 516096 to 516096 CHP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D integer from lt state_low_value gt to 516096 HP 16554A 1040384 HP 16555A or 2080768 HP 16555D a string of up to 6 alphanumeric characters string from 0 to 2 1 HFFFFFFFF string from lt label_low_value gt to 22 1 HFFFFFFFF Example Query Returned Format Example Command lt label name gt lt low value gt lt high value gt Example SCHart Subsystem VAXis OUTPUT XXX MACHINE1 SCHART HAXIS STATES 100 100 OUTPUT XXX MACHINE1 SCHART HAXIS READ 511 7511 0 300 MACHine 1 2 SCHart HAXis The HAXis query returns the current horizontal axis label and scaling MACHine 1 2 SCHart HAXis STAtes lt state_low_value gt lt state_high_value gt lt label_name gt lt label_low_value gt lt label_high_value gt lt state_low_value gt lt state_high_value gt OUTPUT XXX MACHINE1 SC
70. lt condition_mode gt lt NL gt OUTPUT XXX MACHINE1 TTRIGGER FIND lt N gt 12 15 Command lt memory length gt Example Query Returned Format Example TTRigger TTRace Subsystem M LENgth MLENgth MACHine 1 2 TTRigger MLENgth lt memory_length gt The MLENgth command allows you to specify the analyzer memory depth Valid memory depths range from 4096 samples through the maximum system memory depth minus 8192 samples HP 16554A HP 16555A or minus 16384 samples HP 16555D Memory depth is affected by acquisition mode If the lt memory_depth gt value sent with the command is not a legal value the closest legal setting will be used 4096 8192 16384 32768 65536 131072 262144 516096 524288 1040384 HP 16554A 524288 1040384 1048576 2088960 HP 16555A 524288 1048576 2080768 2097152 4177920 HP 16555D OUTPUT XXX MACHINE1 TTRIGGER MLENGTH 262144 MACHine 1 2 TTRigger MLENgth The MLENgth query returns the current analyzer memory depth selection MACHine 1 2 TTRigger MLENgth lt memory_length gt lt NL gt OUTPUT XXX MACHINE1 TTRIGGER MLENGTH 12 16 Command lt label name gt lt N gt lt start pattern gt lt stop pattern gt Example Query Returned Format Example TTRigger TTRace Subsystem RANGe RANGe MACHine 1 2 TTRigger RANGe lt N gt
71. pattern gt Example Query Returned Format Example TW AVeform Subsystem XPATtern XPATtern MACHine 1 2 TWAVeform XPATtern lt label_name gt lt label_pattern gt The XPATtern command allows you to construct a pattern for the X marker which is then used with the XSEarch criteria and XCONdition when moving the marker on patterns Since this command deals with only one label at a time a complete specification could require several iterations When the value of a pattern is expressed in binary it represents the bit values for the label inside the pattern In whatever base is used the value must be between 0 and 2 1 since a label may not have more than 32 bits Because the lt label_pattern gt parameter may contain don t cares it is handled as a string of characters rather than a number string of up to 6 alphanumeric characters B O 1 X O OI1I2 314 5 617 X H O 1 2 3 4 5 617 8 91AIBICIDIE FI X LO PLA 234 SO FBO a EM OUTPUT XXX MACHINE1 TWAVEFORM XPATTERN A 511 MACHine 1 2 TWAVeform XPATtern lt label_name gt The XPATtern query in pattern marker mode returns the pattern specification for a given label name In the time marker mode the query returns the pattern under the X marker for a given label If the X marker is not placed on valid data don t cares X are returned MACHine 1 2 TWAVeform XPATtern lt label_name g
72. returns the pattern associated with the lower end of the bucket where the marker is placed lt o_pattern gt B O 1 QO OI1TI21 3 41 5 617 1 H O LIZ 3 4 516171819 AIBICIDIE F O1 1 2 3 4 51 6 7 819 3 Example OUTPUT XXX SPA2 OVERView OMARker H3C31 Query SPA 1 2 OVERView OMARker Returned Format SPA 1 2 OVERView OMARker lt o_pattern gt lt NL gt Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 OVERView OMARker 40 ENTER XXX String 50 PRINT String 60 END 16 13 Query Returned Format lt number hits gt Example SPA Subsystem OVERView OVSTatistic OVERView OVSTatistic SPA 1 2 OVERView OVSTatistic XHITs OHITs TOTal The OVERView OVSTatistic query returns the number of hits associated with the requested statistic or returns the number of hits in the specified bucket XHITs requests the number of hits in the bucket where the X marker is located OHITs requests the number of hits in the bucket where the O marker is located TOTal requests the total number of hits SPA 1 2 OVERView OVSTatistic XHITs OHITs TOTal lt number_hits gt lt NL gt integer number 10 DIM String 20 OUTPUT XXx 30 OUTPUT XXx 40 ENTER XXX St 100 SELECT 1 SPA2 OVERView OVSTatistic OHITs rings 50 PRINT Strin
73. 0 to 65535 for a pod pods are assigned in decreasing order format integer from 0 to 65535 for a pod pods are assigned in decreasing order OUTPUT XXX MACHINE2 TFORMAT LABEL STAT POSITIVE 0 127 40312 OUTPUT XXX MACHINE2 TFORMAT LABEL SIG 1 B11 B0000000011111111 B0000000000000000 MACHine 1 2 TFORmat LABel lt name gt The LABel query returns the current specification for the selected by name label If the label does not exist nothing is returned Numbers are always returned in decimal format MACHine 1 2 TFORmat LABel lt name gt lt polarity gt lt assignment gt lt NL gt format integer from 0 to 65535 for a pod pods are assigned in decreasing order OUTPUT XXX MACHINE2 TFORMAT LABEL DATA REMove MACHine 1 2 TFORmat REMove lt name gt ALL The REMove command allows you to delete all labels or any one label specified by name for a given machine string of up to 6 alphanumeric characters OUTPUT XXX MACHINE1 TFORMAT REMOVE AT 11 7 Command lt N gt lt value gt TTL ECL Example Query Returned Format Example TFORmat Subsystem THReshold THReshold MACHine 1 2 TFORmat THReshold lt N gt TTL ECL lt value gt The THReshold command allows you to set the voltage threshold for a given pod to ECL TTL or a specific voltage from 6
74. 0384 HP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 CHP 16555D OUTPUT XXX MACHINE1 TLIST LINE 0 Query Returned Format Example Command lt marker mode gt Example Query Returned Format Example TLISt Subsystem MMODe MACHine 1 2 TL St LINE The LINE query returns the line number for the state currently in the data roll box at the center of the screen MACHine 1 2 TLISt LINE lt line_num_mid_screen gt lt NL gt OUTPUT XXX MACHINE1 TLIST LINE on MMODe MACHine 1 2 TLI St MMODe lt marker_mode gt The MMODe command Marker Mode selects the mode controlling the marker movement and the display of marker readouts When PATTern is selected the markers will be placed on patterns When TIME is selected the markers move on time between stored states When MSTats is selected the markers are placed on patterns but the readouts will be time statistics OFF PATTern TIME MSTats OUTPUT XXX MACHINE1 TLIST MMODE MACHine 1 2 TLI SE MMODe The MMODe query returns the current marker mode selected MACHine 1 2 TLISt MMODe mar ker_mode gt lt NL gt OUTPUT XXX MACHINE1 TLIST MMODE 14 10 Command Example Query Returned Format Example TLISt Subsystem OCONdition OCONdition MACHine
75. 0E 6 MACHine 1 2 TLISt RUNTil The RUNTil query returns the current stop criteria MACHine 1 2 TLISt RUNTil lt run_until_spec gt lt NL gt OUTPUT XXX MACHINE1 TLIST RUNTIL 14 16 Query Returned Format lt time value gt Example Query Returned Format lt time value gt Example TLISt Subsystem TAVerage TAVerage MACHine 1 2 TLISt TAVerage The TAVerage query returns the value of the average time between the X and O markers If the number of valid runs is zero the query returns 9 9E37 Valid runs are those where the pattern search for both the X and O markers was successful resulting in valid time measurements MACHine 1 2 TLISt TAVerage lt time_value gt lt NL gt real number OUTPUT XXX MACHINE1 TLIST TAVERAGE TMAXimum MACHine 1 2 TLISt TMAXimum The TMAXimum query returns the value of the maximum time between the X and O markers If data is not valid the query returns 9 9E37 MACHine 1 2 TLISt TMAXimum lt time_value gt lt NL gt real number OUTPUT XXX MACHINE1 TLIST TMAXIMUM 14 17 Query Returned Format lt time value gt Example Query Returned Format lt valid runs gt lt total runs gt Example TLISt Subsystem TMINimum TMINimum MACHine 1 2 TLISt TMINimum The TMINimum query returns the value of the minimum time bet
76. 1 30 OUTPUT XXX SPA1 HISTogram RANGe 4 40 ENTER XXX Strings 50 PRINT Strings 60 END 16 20 Command Example Query Returned Format Example SPA Subsystem HISTogram TTYPe HISTogram TTYPe SPA 1 2 HISTogram TTYPe ALL QUALified The HISTogram TTYPe command sets the trigger to trigger on anystate or on qualified state A query returns the current trace type setting OUTPUT XXX SPA2 HISTogram TTYPe ALL SPA 1 2 HISTogram TTYPe SPA 1 2 HISTogram TTYPe ALL QUALified lt NL gt 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 HISTogram TTYPe 40 ENTER XXX String 50 PRINT String 60 END 16 21 SPA Subsystem TINTerval AUTorange TINTerval AUTorange Command SPA 1 2 TINTerval AUTorange LOGarithmic LINear lt min_time gt lt max_time gt The TINTerval AUTorange command automatically sets the Time Interval ranges in a logarithmic or linear distribution over the specified range of time When the AUTorange command is executed the data accumulators and statistic counters are reset lt min_time gt real number lt max_time gt real number Example OUTPUT XXX SPA2 TINTerval AUTorange LiINear 4 0E 3 55 6E 2 OUTPUT XXX SPA1 TINTerval AUTorange LOGarithmic 3 3E 1 8 6E 2 16 22 SPA Subsystem TINTerval QUALifier
77. 1 2 TLISt OCONdition ENTering EXITing The OCONdition command specifies where the O marker is placed The O marker can be placed on the entry or exit point of the OPATtern when in the PATTern marker mode OUTPUT XXX MACHINE1 TLIST OCONDITION ENTERING MACHine 1 2 TLISt OCONdition The OCONdition query returns the current setting MACHine 1 2 TLISt OCONdition ENTering EXITing lt NL gt OUTPUT XXX MACHINE1 TLIST OCONDITION 14 11 Command lt label name gt lt label pattern gt Example Query Returned Format Example TLISt Subsystem OPATtern OPATtern MACHine 1 2 TLISt OPATtern lt label_name gt lt label_pattern gt The OPATtern command allows you to construct a pattern for the O marker which is then used with the OSEarch criteria when moving the marker on patterns Since this command deals with only one label at a time a complete specification could require several iterations When the value of a pattern is expressed in binary it represents the bit values for the label inside the pattern recognizer term In whatever base is used the value must be between 0 and DP 1 since a label may not have more than 32 bits Because the lt label_pattern gt parameter may contain don t cares it is handled as a string of characters rather than a number string of up to 6 alphanumeric characters B O 1 xX Q O111213
78. 1 2 or between slave clock qualifier pair 3 4 For example you can specify a slave clock operation qualifier 1 AND 2 1 2 where 2 specifies qualifier pair 3 4 AND OR OUTPUT XXX MACHine2 SFORMAT SOPQUAL 1 AND MACHine 1 2 SFORmat SOPQual lt clock_pair_id gt The SOPQual query returns the operation qualifier specified for the slave clock MACHine 1 2 SFORmat SOPQual lt clock_pair_id gt lt qual_operation gt lt NL gt OUTPUT XXX MACHiNE2 SFORMAT SOPQUAL 1 Command lt qual num gt lt clock_id gt lt qual_level gt Example Query Returned Format Example SFORmat Subsystem SQUal SQUal MACHine 1 2 SFORmat SQUalL lt qual_num gt lt clock_id gt lt qual_level gt The SQUal slave qualifier command allows you to specify the level qualifier for the slave clock 1121314 JIKILIM OFF LOW HIGH OUTPUT XXX MACHINE2 SFORMAT SQUAL 1 J LOW MACHine 1 2 SFORmat SQUal lt qual_num gt The SQUal query returns the qualifier specified for the slave clock MACHine 1 2 SFORmat SQUal lt clock_id gt lt qual_level gt lt NL gt OUTPUT XXX MACHINE2 SFORMAT SQUAL 1 Command lt N gt lt voltage gt TET ECL Example Query Returned Format Example SFORmat Subsystem THReshold THReshold MACHine 1 2 SFORmat THReshold lt N gt TTL ECL lt voltage gt The THReshold command a
79. 10 FRE AORB A ORB ADC A ORB AND C AND IN _RANGE2 A ORB AND C AND IN_RANGE1 N_RANGE1 AND A OR B AND C Se I r r Selector Example Command Example Query Returned Format Example STRigger STRace Subsystem STRigger STRace STRigger STRace MACHine 1 2 STRigger The STRigger STRace State Trigger selector is used as a part of a compound header to access the settings found in the State Trace menu It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree OUTPUT XXX MACHINE1 STRIGGER TAG TIME ACQuisition MACHine 1 2 STRigger ACQuisition AUTOmatic MANual The ACQuisition command allows you to specify the acquisition mode for the State analyzer OUTPUT XXX MACHINE1 STRIGGER ACQUISITION AUTOMATIC MACHine 1 2 STRigger ACQuisition The ACQuisition query returns the current acquisition mode MACHine 1 2 STRigger ACQuisition AUTOmatic MANual lt NL gt OUTPUT XXX MACHINE1 STRIGGER ACQUISITION 6 8 Command Example OU OU OU STRigger STRace Subsystem BRANch BRANch MACHine 1 2 STRigger BRANch lt N gt lt branch_qualifier gt lt to_level_number gt The BRANch command defines the branch qualifier for a given sequence level When this branch qualifi
80. 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 HISTogram QUALifier A 40 ENTER XXX Strings 50 PRINT String 60 END 16 19 Command lt range num gt lt range name gt lt low patt gt lt high patt gt Example Query Returned Format lt range onoff gt Example SPA Subsystem HISTogram RANGe HISTogram RANGe SPA 1 2 HISTogram RANGe OFF lt range num gt lt range_name gt lt low_patt gt lt high_patt gt The HISTogram RANGe command turns off all ranges or defines the range name low boundary and high boundary of the specified range Defining a specified range turns on that range For the specified range a query returns the name low boundary high boundary and whether the range is on or off 0 to 10 string of up to 16 alphanumeric characters B O 1 O O 1 2 31 4 5 617 1 H OI1LI2 3 4 5 617 8 9 AIBICIDIE F Ol 1 2 3 4 51 6 7 819 3 OUTPUT XXX SPA1 HISTogram RANGe OFF OUTPUT XXX SPA2 HISTogram RANGe 5 A 255 512 OUTPUT XXX SPA1 HISTogram RANGe 8 DATA B0100110 H9F SPA 1 2 HISTogram RANGe lt range_num gt SPA 1 2 HISTogram RANGe lt range_number gt lt range_name gt lt low_pattern gt lt high_pattern gt lt range_onoff gt lt NL gt ON OFF 10 DIM String 100 20 OUTPUT XXX SELECT
81. 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D B O 1 X QO 0 1 2 3 4 5 6 7 X H O LI21 3 4 5161 7 8 9 AIBICIDIEI FIX O 1 2 3 4 5 6 7 8 9 3 integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D real number real number OFF LT lt value gt GT lt value gt INRange lt value gt lt value gt OUTRange lt value gt lt value gt real number 7 6 Selector Example Command lt col num gt lt module num gt lt label name gt lt base gt Example SLISt Subsystem SLISt SLISt MACHine 1 2 SLISt The SLISt selector is used as part of a compound header to access those settings normally found in the State Listing menu It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree OUTPUT XXX MACHINE1 SLIST LINE 256 COLumn MACHine 1 2 SLISt COLumn lt col_num gt lt module_num gt MACHine 1 2 lt label_name gt lt base gt The COLumn command allows you to configure the state analyzer listing by assigning a label name and base to one of the 61 vertical columns in the menu A column number of 1 refers to the leftmost column When a label is assigned to a column it replaces the original label in that column When the label name is TAGS
82. 141516171819 integer real number real number between 10 ns and 10 ks OFF LT lt value gt GT lt value gt INRange lt value gt lt value gt OUTRange lt value gt lt value gt greater than less than real number real number real number from 4 ns HP 16554A or 2 ns HP 16555A D to 8 ms X Io XO TRIGger 4096 8192 16384 32768 65536 131072 262144 516096 524288 1040384 HP 16554A 524288 1040384 1048576 2088960 HP 16555A 524288 1048576 2080768 4177920 HP 16555D 13 6 Selector Example Command lt setting gt Example TW AVeform Subsystem TW AVeform TWAVeform MACHine 1 2 TWAVeform The TWAVeform selector is used as part of a compound header to access the settings found in the Timing Waveforms menu It always follows the MACHine selector because it selects a branch below the MACHine level in the command tree OUTPUT XXX MACHINE1 TWAVEFORM DELAY 100E 9 ACCumulate MACHine 1 2 TWAVeform ACCumulate lt setting gt The ACCumulate command allows you to control whether the waveform display gets erased between each individual run or whether subsequent waveforms are allowed to be displayed over the previous ones O OFF or 1 ON OUTPUT XXX MACHINE1 TWAVEFORM ACCUMULATE ON Query Returned Format Example Command Query Returned Format Example
83. 141516171xX H O 1 2 3 4 5 6 7 8 9 AIBIC DIE F X OJ1 2 31 4 5 6171 8 9 7 OUTPUT XXX MACHINE1 TLIST OPATTERN DATA 255 OUTPUT XXX MACHINE1 TLIST OPATTERN ABC BXXXX1101 MACHine 1 2 TLISt OPATtern label name gt The OPATtern query returns the pattern specification for a given label name MACHine 1 2 TLISt OPATtern label name gt lt label pattern gt lt NL gt OUTPUT XXX MACHINE1 TLIST OPATTERN AT 14 12 TLISt Subsystem OSEarch OSEarch Command MACHine 1 2 TLISt OSEarch lt occurrence gt lt origin gt The OSEarch command defines the search criteria for the O marker which is then used with associated OPATtern recognizer specification when moving the markers on patterns The origin parameter tells the marker to begin a search from the trigger the start of data or the X marker The actual occurrence the marker searches for is determined by the occurrence parameter relative to the origin An occurrence of 0 places the marker on the selected origin With a negative occurrence the marker searches before the origin With a positive occurrence the marker searches after the origin lt occurrence gt integer from 1040384 to 1040384 CHP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 CHP 16555D lt origin gt TRIGger STARt XMARker Example OUTPUT XXX MACHI
84. 2 EDGE 12 13 FIND 12 14 MLENgth 12 16 RANGe 12 17 SEQuence 12 18 SPERiod 12 19 TCONtrol 12 20 TERM 12 21 TIMER 12 22 TPOSition 12 23 Contents Contents 5 Contents 13 TWAVeform Subsystem TWAVeform 13 7 ACCumulate 13 7 ACQuisition 13 8 CENTer 13 9 CLRPattern 13 9 CLRStat 13 9 DELay 13 10 INSert 13 11 MLENgth 13 12 MINus 13 13 MMODe 13 14 OCONdition 13 15 OPATtern 13 16 OSEarch 13 17 OTIMe 13 18 OVERIay 13 18 PLUS 13 19 RANGE 13 20 REMove 13 20 RUNTil 13 21 SPERiod 13 22 TAVerage 13 23 TMAXimum 13 23 TMINimum 13 24 TPOSition 13 24 VRUNs 13 25 XCONdition 13 26 XOTime 13 26 XPATtern 13 27 XSEarch 13 28 XTIMe_ 13 29 Contents 6 14 TLISt Subsystem 15 TLISt 14 7 COLumn 14 7 CLRPattern 14 8 DATA 14 9 LINE 14 9 MMODe 14 10 OCONdition 14 11 OPATtern 14 12 OSEarch 14 13 OSTate 14 14 OTAG 14 14 REMove 14 15 RUNTil 14 16 TAVerage 14 17 TMAXimum 14 17 TMINimum 14 18 VRUNs 14 18 XCONdition 14 19 XOTag 14 19 XOTime 14 20 XPATtern 14 20 XSEarch 14 21 XSTate 14 22 XTAG 14 28 SYMBol Subsystem SYMBol 15 5 BASE 15 5 PATTern 15 6 RANGe 15 7 REMove 15 8 WIDTh 15 8 Contents Contents 7 16 17 Contents SPA Subsystem MODE 16 7 OVERView BUCKet 16 8 OVERView HIGH 16 9 OVERView LABel 16 10 OVERView LOW 16 11 OVERView MLENgth 16 12 OVERView OMARker 16 13 OVERView OVSTatistic 16 14 OVERView XMARker 16 15 HISTogram HSTatistic 16 16 HISTogram LABel 16 17 HISTogram OTHer 1
85. 2 PLUS command 4 11 13 19 pod clock 5 7 poststore 8 11 preamble description 17 7 prestore 8 11 program examples checking for measurement complete 18 18 sending queries to the logic analyzer 18 19 state analyzer 18 5 state compare 18 9 SYSTem SETup command 18 14 transferring configuration to analyzer 18 14 transferring configuration to the controller 18 14 Q QUALifier command query 16 19 16 23 Query ACCumulate 8 5 9 4 13 8 ACQMode 11 5 ACQuisition 6 8 12 9 13 8 ARM 3 5 ASSign 3 6 BRANch 6 10 12 11 BUCKet 16 8 CARDcage 1 5 CLOCK 5 7 CMASk 10 5 COLumn 7 8 14 8 DATA 7 9 10 7 14 9 17 5 DELay 4 5 8 7 13 10 EDGE 12 14 ERRor 1 7 FIND 6 18 10 8 12 15 HAXis 9 6 HIGH 16 9 HISTogram HSTatistic 16 16 HISTogram LABel 16 17 ISTogram OTHer 16 18 HISTogram QUALifier 16 19 ISTogram RANGe 16 20 HISTogram TTYPe 16 21 HSTatistic 16 16 LABel 5 8 11 7 16 10 16 17 LEVelarm 3 7 LINE 4 8 7 10 10 9 14 10 LOW 16 11 ASTer 5 9 ENU 1 6 ESE 1 13 ESR 1 15 4 ton ko D 4 I MODe 7 11 13 14 14 10 ODE 5 10 16 7 OPQual 5 11 OMARkKer 16 13 OPATtern 7 12 13 16 14 12 OSEarch 7 13 13 17 14 13 OSTate 4 9 7 18 14 14 OTAG 7 14 14 15 OTHer 16 18 OTIMe 4 10 13 18 OVERView BUCKet 16 8 OVERView HIGH 16 9 OVERView LABel 16 10 OVERView LOW 16 11 OVERview MLENgth 16 12 OVERView OMARkKer 16 13 OVERView OVSTatistic 16 14 OVERView XMARker 1
86. 2 must be grouped together In the first level terms from one group may not be mixed with terms from the other For example the expression A OR IN_RANGE2 AND C OR G is not allowed because the term C cannot be specified in the F G and group In the first level the operators you can use are AND NAND OR NOR XOR NXOR Hither AND or OR may be used at the second level to join the two groups together It is acceptable for a group to consist of a single term Thus an expression like B AND G is legal since the two operands are both simple terms from separate groups CLEar MACHine 1 2 TTRigger CLEar All SEQuence RESource The CLEar command allows you to clear all settings in the Timing Trigger menu clear only the sequence levels or clear only the resource term patterns Cleared values are set to their defaults OUTPUT XXX MACHINE1 TTRIGGER CLEAR RESOURCE 12 12 Command lt N gt lt label name gt lt edge spec gt Example TTRigger TTRace Subsystem EDGE EDGE MACHine 1 2 TTRigger EDGE lt N gt lt label_name gt lt edge_spec gt The EDGE command allows you to define edge specifications for a given label Edge specifications can be R rising F falling E either or don t care Edges are sent in the same string with the rightmost string character specifying what the rightmost bit will be The lt edge_spec gt
87. 2 to the number of existing sequence levels maximum 12 lt qualifier gt see Qualifier on page 6 6 6 9 Example Query Returned Format Example Figure 6 2 STRigger STRace Subsystem BRANch OUTPUT XXX MACHINE1 STRIGGER BRANCH1 ANYSTATE 3 OUTPUT XXX MACHINE1 STRIGGER BRANCH2 ATI 7 OUTPUT XXX MACHINE1 STRIGGER BRANCH3 A OR B OR NOTG 1 MACHine 1 2 STRigger BRANch lt N gt The BRANch query returns the current branch qualifier specification for a given sequence level MACHine 1 2 STRigger BRANch lt N gt lt branch_qualifier gt lt to_level_num gt lt NL gt OUTPUT XXX MACHINE1 STRIGGER BRANCH3 Current Qualifier a b f g Complex qualifier Figure 6 2 is a front panel representation of the complex qualifier a Or b Or E Or oi 6 10 Example Command Example STRigger STRace Subsystem CLEar The following example would be used to specify the complex qualifier shown in figure 6 2 OUTPUT XXX MACHINE1 STRIGGER BRANCH1 A OR B AND F OR G KA Terms A through E RANGE 1 and TIMER 1 must be grouped together and terms F through J RANGE 2 and TIMER 2 must be grouped together In the first level terms from one group may not be mixed with terms from the other For example the expression A OR IN_RANGE2 AND
88. 384 HP 16555A or 2080768 to 2080768 HP 16555D string containing lt acquisition_spec gt 1 2 A B C D E F G H T J time_value real number time_range real number between 10 ns and 10 ks WLISt WLISt The WLISt Waveforms LISting selector is used as a part of a compound header to access the settings normally found in the Mixed Mode menu Because the WLISt command is a root level command it will always appear as the first element of a compound header The WLISt subsystem is only available when one or more state analyzers with time tagging on are specified OUTPUT XXX WLIST XTIME 40 0E 6 WLISt Subsystem DELay DELay Command WLISt DELay lt delay_value gt The DELay command specifies the amount of time between the timing trigger and the horizontal center of the the timing waveform display The allowable values for delay are 2500 s to 2500 s lt delay_value gt real number between 2500 s and 2500 s Example OUTPUT XXX WLIST DELAY 100E 6 Query WLISt DELay The DELay query returns the current time offset delay value from the trigger Returned Format WLISt DELay lt delay_value gt lt NL gt Example OUTPUT XXX WLIST DELAY Command lt module spec gt lt label name gt lt bit id gt Example WLISt Subsystem INSert INSert WLISt INSert lt module_spec gt lt label_name
89. 4 15 15 8 REName command query 3 8 RESource command query 3 9 RMODe 1 7 RUNTil command query 7 16 10 11 13 21 14 16 S s Div 4 12 sample period 13 22 sample rate 12 19 SCHart selector 9 4 SCHart subsystem 9 1 9 3 to 9 7 scroll listing 14 9 search 7 12 7 21 searching 14 13 sec Div 13 20 section data 17 6 section data format 17 4 section header 17 6 SELect command 1 3 1 6 SEQuence command query 6 15 12 18 SET command 10 12 SETup 17 13 SFORmat selector 5 6 SFORmat subsystem 5 1 5 3 to 5 18 slave clock 5 6 SLAVe command query 5 15 SLISt selector 7 7 SLISt subsystem 7 1 7 3 to 7 23 SOPQual command query 5 16 SPA selector 2 7 specify patterns 13 9 14 8 14 12 14 19 SPERiod command query 12 19 13 22 SQUal command query 5 17 STARt 1 6 state analyzer program example 18 5 ate markers 7 10 es Div 8 9 istics 7 10 13 23 to 13 25 16 14 6 16 16 22 16 25 statistics markers 7 18 8 7 13 14 14 10 14 17 to 14 18 STOP 1 7 stop measurement 7 16 10 11 13 21 14 16 STORe command query 6 16 STRace selector 6 8 STRigger selector 6 8 STRigger STRace subsystem 6 1 6 3 to 6 22 Subsystem COMPare 10 2 MACHine 3 2 SCHart 9 2 SFORmat 5 1 5 3 to 5 18 SLISt 7 1 7 3 to 7 23 STRigger STRace 6 1 6 3 to 6 22 SWAVeform 8 2 SYMBol 15 1 15 3 to 15 8 TFORmat 11 1 11 3 to 11 8 TLISt 14 1 14 3 to 14 23 TTRigger TTRace 12 1 12 3 to 12 23 TWAVeform 13 1
90. 6 15 Tatistic 16 14 PRINt 1 7 UALifier 16 19 16 23 E Q lt na 3 20 16 20 Name 3 9 Source 3 10 ODe 1 7 DAD VO Bw gt Se Quence 6 15 12 18 Tup 17 14 AVe 5 15 PQual 5 16 ERiod 12 19 13 22 SQUal 5 17 STORe 6 16 SYSTem DATA 17 5 SYSTem ERRor 1 7 SYSTem PRINt 1 7 SYStem SETup 17 14 TAG 6 17 TAKenbranch 6 18 8 10 TAVerage 7 17 13 23 14 17 TCONtrol 6 19 12 20 TERM 6 21 12 22 THReshold 5 18 11 8 JE U NDANNNN TINTerval QUALifier 16 23 TINTerval TINTerval 16 24 TINTerval TSTatistic 16 25 NGe 4 12 6 15 8 9 10 10 12 17 Til 7 16 10 12 13 21 14 16 D M M M M MLENgth 6 13 8 9 12 16 13 18 16 12 TIMER 6 21 12 22 M M M M TMAXimum 7 17 13 23 14 17 TMINimum 7 18 13 24 14 18 TPOSition 6 22 8 11 12 23 13 25 SYSTem SETup query 18 14 QUal 5 12 timing analyzer 18 3 AME 3 8 OCONdition 138 15 14 11 Index 3 Index TSTatistic 16 25 TTYPe 16 21 TYPE 3 11 VAXis 9 7 VRUNS 7 18 13 25 14 18 XCONdition 13 26 14 19 XMARker 16 15 XOTag 7 19 14 19 XOTime 4 13 7 19 13 26 14 20 XPATtern 7 20 13 27 14 21 XSEarch 7 21 13 28 14 22 XSTate 4 13 7 22 14 22 XTAG 7 23 14 23 XTIMe 4 14 13 29 query program example 18 19 R RANGe command query 4 12 6 14 8 9 10 10 12 17 13 20 15 7 16 20 reference listing 10 6 10 9 REMove command 4 12 5 13 7 15 8 10 11 7 13 20 1
91. 6 18 HISTogram QUALifier 16 19 HISTogram RANGe 16 20 HISTogram TTYPe 16 21 TINTerval AUTorange 16 22 TINTerval QUALifier 16 23 TINTerval TINTerval 16 24 TINTerval TSTatistic 16 25 DATA and SETup Commands Introduction 17 2 Data Format 17 3 SYSTem DATA 17 4 Section Header Description 17 6 Section Data 17 6 Data Preamble Description 17 7 Acquisition Data Description 17 11 Time Tag Data Description 17 13 SYSTem SETup 17 13 Contents 8 Contents Part 3 Programming Examples 18 Programming Examples Making a Timing Analyzer Measurement 18 3 Making a State Analyzer Measurement 18 5 Making a State Compare Analyzer Measurement 18 9 Transferring the Logic Analyzer Configuration 18 14 Checking for Measurement Completion 18 18 Sending Queries to the Logic Analyzer 18 19 Index Contents 9 Contents 10 Part 1 1 Introduction to Programming 2 Module Level Commands General Information Programming the HP 16554A HP 16555A HP 16555D Introduction This chapter introduces you to the basic command structure used to program the logic analyzer Also included is an example program that sets up the timing analyzer for a basic timing measurement Additional program examples are in chapter 18 Programming the HP 16554A HP 16555A HP 16555D Selecting the M odule Selecting the Module Before you can program the logic analyzer you must first select it This directs your commands to the logic anal
92. 9 10 slot in which the oscilloscope master card is installed string of one alpha and one numeric character OUTPUT XXX MACHINE1 TWAVEFORM INSERT 3 C1 MLEN gth MACHine 1 2 TWAVeform MLENgth lt memory_length gt The MLENgth command allows you to specify the analyzer memory depth Valid memory depths range from 4096 samples through the maximum system memory depth minus 8192 samples HP 16554A HP 16555A or the maximum system memory depth minus 16384 HP 16555D Memory depth is affected by acquisition mode If the lt memory_depth gt value sent with the command is not a legal value the closest legal setting will be used 4096 8192 16384 32768 65536 131072 262144 516096 524288 1040384 HP 16554A 524288 1040384 1048576 2088960 HP 16555A 524288 1048576 2080768 2088960 4177920 HP 16555D OUTPUT XXX MACHINE1 TWAVEFORM MLENGTH 262144 13 12 TW AVeform Subsystem MINus Query MACHine 1 2 TWAVeform MLENgth The MLENgth query returns the current analyzer memory depth selection Returned Format MACHine 1 2 TWAVeform MLENgth lt memory_length gt lt NL gt Example OUTPUT XXX MACHINE1 TWAVEFORM MLENGTH MINus Command MACHine 1 2 TWAVeform MINus E lt module spec gt lt waveform gt lt waveform gt The MINus command inserts time correlated A B A minus B oscilloscope wa
93. ACCumulate e CENTer HAXis e VAXis SCHart Subsystem Figure 9 1 C gt start ce accumulate el space si o ees H r ACCumulate D Lag spoce er marker type space DES States J sm state low value me Lae state_high_value eg Wid label_name d Sei abel_low_value Lei Dae label_high_value r r ei state low value nae e state high value m Haxis ei vaxis space label name Lei Lei low value Lei am high value Ham eine 16555519 SCHart Subsystem Syntax Diagram Table 9 1 SCHart Subsystem Parameter Values Parameter state_low_value state_high_value label_name label low value label high value Value integer between 516096 HP 16554A 1040384 HP 16555A or 2080768 HP 16555D integer from lt state_low_value gt to 516096 HP 16554A 1040384 HP 16555A or 2080768 HP 16555D a string of up to 6 alphanumeric characters string from 0 to 22 1 HFFFFFFFF string from lt 1abe1l_low_value gt to 2 A HFFFFFFFF low value string from 0 to 23 1 HFFFFFFFF high value string from low value to 22 1 HFFFFFFFF marker_type X 0 XO TRIGger Selector Example Command Example Query Returned Format Example SCHart Subsystem SCHart SCHart MACHine 1 2
94. ACE H ERM A COUNT HFF KKK KKK KKK KK KKK KKK KKK KKK KK KKK KKK KKK KKK KKK KKK KK KKK KKK KK KK KK KK kkrk Remove any previously inserted labels insert the COUNT label change the seconds per division to 100 ns and display the waveform menu 18 3 WWW WwW io OO A On E CH E vs DB vs DB DB vs Bo CO vw OO JO D Gs GA M re D 01 01 01 w N HA D 0 01 01 J On 01 vs On On CD On k OO vw CO CF CI MD ED EE SEN E HED EE EH EE E EC MES eS E E Et EE E EH a St EN On N 625 630 635 64 65 66 67 68 69 70 71 72 73 74 75 76 77 SS Sch Oh OD OD MES OU PU OU PU OU PU OU I PU Programming Examples Making a Timing Analyzer Measurement 707 MACH1 707 MACH1 707 MACH1 707 MENU 2 WAVEFO RM REMOVE WAV WAV on EFO EFO RM INSERT RM RANGE 1E COUNT ALL 6 i kkxkxkxkxkxkxkxkxkxkxkxkxkkxkxkxkxkkkxkxkxkxkxkxkxkxkkxkkkxkxkkxkkxkxkkxkxkkkxkkxkxkkxkxkkxkxkkkkkxkkkxkxk Run the timing analyzer in single mode OU PU OU PU 707 RMODE SINGLE 707 START 1 kkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkkxkxkkxkxkxkxkxkkxkkxkxkxkkxkkkxkkxkxkxkxkxkkxkxkkxkxkkxkxkkkkkxkkkxkxk
95. ATA wm space BR label_name Lei Sei ine num gt gt data_pattern FS line num HC data pattern J Lei DATA J space label name Sei ine num FIND space m difference occurrence gt Leit space er I ine num Si Bei Let ein EE space PART ial gt start_line Lei gt stop_line TT FULL RUNTi 1 gt SET 16550503 COMPare Subsystem Syntax Diagram 10 3 Table 10 1 Selector Example COM Pare Subsystem COM Pare COM Pare Subsystem Parameter Values Parameter label name care spec line_num data_pattern difference_occurrence Value string of up to 6 characters string of characters Care don tcare integer from 122880 to 122880 HP 16554A or 253951 to 253951 HP 16555A or 507903 to 507903 HP 16555D HB O 11X Q OlLI2Z 3 4 5161 TIK sss FH OI1 2 31 4 51617 8 9 AIBICIDIE F X O 1 2Z213 415161 7 8 9 hT integer from 1 to 122880 HP 16554A or 253951 HP 16555A or 507903 HP 16555D start line integer from 122880 to 122880 HP 16554A or 253951 to 253951 HP 16555A or 507 903 to 507903 HP 16555D stop line integer from lt start_line gt to 122880 HP 16554A or 253951 HP 16555A or 507903 HP 16555D COMPare MACHine 1 2 COMPare The COMPa
96. C OR G is not allowed because the term C cannot be specified in the F G and I group In the first level the operators you can use are AND NAND OR NOR XOR NXOR Either AND or OR may be used at the second level to join the two groups together It is acceptable for a group to consist of a single term Thus an expression like B AND G is legal since the two operands are both simple terms from separate groups CLEar MACHine 1 2 STRigger CLEar All SEQuence RESource The CLEar command allows you to clear all settings in the State Trigger menu clear only the Sequence levels or clear only the resource term patterns Cleared settings are replaced with the defaults OUTPUT XXX MACHINE1 STRIGGER CLEAR RESOURCE Command lt N gt lt occurrence gt lt proceed_ qualifier gt Example STRigger STRace Subsystem FIND FIND MACHine 1 2 STRigger FIND lt N gt lt proceed_qualifier gt lt occurrence gt The FIND command defines the proceed qualifier for a given sequence level The qualifier tells the state analyzer when to proceed to the next sequence level When this proceed qualifier is matched the specified number of times the sequencer will proceed to the next sequence level In the sequence level where the trigger is specified the FIND command specifies the trigger qualifier see SEQuence command The terms A through J are defined by the TERM comm
97. CHINE1 SLIST XSEARCH Query Returned Format lt state num gt Example Command lt time value gt lt state value gt Example SLISt Subsystem XSTate XSTate MACHine 1 2 SLISt XSTate The XSTate query returns the line number in the listing where the X marker resides If data is not valid the query returns 2147483647 MACHine 1 2 SLISt XSTate lt state_num gt lt NL gt integer from 516096 to 516096 or 2147483647 CHP 16554A or from 1040384 to 1040384 or 2147483647 HP 16555A or from 2080768 to 2080768 or 2147483647 CHP 16555D OUTPUT XXX MACHINE1 SLIST XSTATE XTAG MACHine 1 2 SLISt XTAG lt time_value gt lt state_value gt The XTAG command specifies the tag value on which the X marker should be placed The tag value is time when time tagging is on and states when state tagging is on If the data is not valid tagged data no action is performed real number integer OUTPUT XXX MACHINE1 SLIST XTAG 40 0E 6 SLISt Subsystem XTAG Query MACHine 1 2 SLISt XTAG The XTAG query returns the X marker position in time when time tagging is on or in states when state tagging is on regardless of whether the marker was positioned in time or through a pattern search If data is not valid tagged data the query returns 9 937 for time tagging or returns 2147483647 for state tagging Returned Format MAC
98. CKet 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 OVERView BUCKet 23 40 ENTER XXX String 50 PRINT Strings 60 END SIZ E NUMBer lt bucket_num gt 16 8 Command lt high pattern gt Example Query Returned Format Example SPA Subsystem OVERView HIGH OVERView HIGH SPA 1 2 OVERView HIGH lt high_pattern gt The OVERView HIGH command sets the upper boundary of the State Overview measurement A query returns the current setting of the upper boundary Setting the upper boundary defaults the data accumulators statistic counters and the number of buckets and their size B O 1 O O 1 2 31 4 5 617 1 H O 1I2 31 4 51617 8 9 AIBICIDIE F O 1 2 3 4 51 6 7 819 3 OUTPUT XXX SPA1 OVERView HIGH 23394 OUTPUT XXX SPA2 OVERView HIGH 04371 SPA 1 2 OVERView HIGH SPA 1 2 OVERView HIGH lt high_pattern gt lt NL gt 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 OVERView HIGH 40 ENTER XXX Strings 50 PRINT Strings 60 END 16 9 Command lt label name gt Example Query Returned Format Example SPA Subsystem OVERView LABel OVERView LABel SPA 1 2 OVERView LABel label name gt The OVERView LABel command selects a new label for collecting the S
99. E 1E 6 80 OUTPUT XXX MENU 3 5 90 OUTPUT XXX MACH1 TWAVEFORM INSERT COUNT 100 OUTPUT XXX RMODE SINGLE 110 OUTPUT XXX START 120 END The three Xs XXX after the OUTPUT statements in the previous example refer to the device address required for programming over either HP IB or RS 232 C Refer to your controller manual and programming language reference manual for information on initializing the interface Program Comments Line 10 selects the logic analyzer in slot C Line 20 names machine analyzer 1 TIMING Line 30 specifies machine 1 is a timing analyzer Line 40 assigns pods 1 and 2 to machine 1 Line 50 sets up the Timing Format menu by assigning the label COUNT and assigning a polarity and channels to the label Line 60 selects the trigger pattern for the timing analyzer Line 70 sets the range to 100 ns 10 times s div Line 80 changes the onscreen display to the Timing Waveforms menu Line 90 inserts the label COUNT in the Timing Waveform menu Line 100 specifies the Single run mode Line 110 starts data acquisition For more information on the specific logic analyzer commands refer to chapters 2 through 17 1 4 Example Programming the HP 16554A HP 16555A HP 16555D Mainframe Commands Mainframe Commands These commands are part of the HP 16500 16501A mainframe system and are mentioned here only for reference For more information on these commands refer to t
100. E1 TYPE STATE PUT 707 MACHINE1 ASSIGN 1 PUT 707 MENU 2 0 KKEKKKKKKKKK KK KK KKKK SETUP THE FORMAT SP ECIF ICATION KKEKKKKKKKKKKKKK KKK KKK Make a label SCOUNT give the label a positive polarity and assign the lower 8 bits ALL PUT 707 MACHINE SFORMAT REMOVE PUT 707 MACHINE1 SFORMAT LABEL SCOUNT POS 0 0 255 18 5 N N co H WWWWW WW GA GA WND VO OO JO OD vs GA M CO Ss CH E vs DDB BRB B Bo COO OO JO UU Gs GA M 3 OO OO OO OO OD OD Om OD Om Om Om Om Om Om i On Ui vs GA b OO vw OO JO UI BPWN EH Jl AJ On On k OO O CO eh KH eh Er ECH ED ED e E E E EC Ek E SDS EN E E EN EE E E E E MEST E ENS SECH E E E EC E E OO E E E E ECH ASE Programming Examples Making a State Analyzer Measurement KAKEKKKKKKKKKKKKKKKKK SETUP THE The trigger specification will us level on level four Resource terms A t used to store only desired counts from t stat Display th trigger menu OUTPUT 707 IMENU 2 3 Create a 5 level fourth level TRIGGER SPE CIF TCATION KKK KK KK KKK KKK KK KK KKK five sequence levels with the trigger hrough E and RANGE1 will be he 8 bit ripple counter trigger specification with the trigger on the OUTPUT 707 MACHINE1 STRIGGER SEQ
101. GE L space H label name Bar Leinen al space proceed qualifier me vi Se duration_time Let Occurrence ae Ben occurrence FIND lt N gt Lal Le MLENath e space memory Length Let H r MLENgth B EEN space a label name le m start_pattern Y RANGe lt N gt Let gt SEQuence gt space num_of_levels Let H r SEQuence Lal Y 1655551 TTRigger Subsystem Syntax Diagram 12 3 Figure 12 1 continued TTRigger TTRace Subsystem y Lei SPERiod space Ham sample_period rel SPERiod C Tcontrol lt n gt space timer num C TCONtrol lt N gt N T space Lei TPOSition space H timer num gt TERM Si space H r term_id ei Dae label name Lei E pattern Ho TERM Sei space term_id Bo Sei label name gt ri TIMER lt timer_num gt D wm space gt timer value Lei ra TIMER lt timer mum gt 7 al Sei START gt wa ND Lei PoSTstore Lei i D gt post_value DELay time val el TPOSition TTRigger Subsystem Syntax Diagram continued 16555512 12 4 Table 12 1 TTRigger TTRace Subsystem TTRigger Parameter Values
102. GER STORE3 NOSTATE PUT 707 MACHINE1 STRIGGER FIND3 B 1 18 6 72 73 74 75 76 77 78 719 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 Zb as RE A ech ch Ralf Zi bat et EE ORK gt JR SED JK ED D SEP SEK ED oO 1010 1020 1030 1040 1050 1060 1070 1080 1090 1100 1110 1120 1130 1140 1150 1160 KKKKKKKKKKKKK KK KK CONFIGURE SEQUENC Store a combination Then Trigger on resourc of resource terms term E OUTPUT 707 MACHINE1 I STRIGGER STORE4 i KEKKKKKKKKKKKKKKKKK RR NOTE kikk ki The FIND command selects C or D or RANG Programming Examples Making a State Analyzer Measurement El C OR D OR IN RA KKEKKKKKKKKKK KK KK KK H sequence Level specified as th the trigger in the trigger level i kkkxkxkxkxkxkxkxkxkxkxkxkkxkxkxkxkkxkxkxkxkxkkxkxkxkxkxkxkxkxkkxkxkkxkxkxkxkxkkxkkkxkkkxkxkx OUTPUT 707 MACHINE1 I STRIGGER FIND4 Rl S 1 KKKKKKKKKKKKK KK KK CONFIGURE SEQUE C Store anystate on level 5 T OUTPUT 707 MACHINE1 I STRIGGER STORES ANYSTATE SR E LEVEL 4 kkkxkxkxkxkxkxkxkkxkxkxkxkxkxkkxkxkxkxkkkkxk xxk in level 4 and E LEVEL 5 kkkxkxkxkxkxkxkxkkxkxkxkxkxkxkkxkxkxkxkkkkxxkxxk i KKKKKKKKKKKKK kkkk START ACQUISITION kkkxkxkxkx
103. HART HAXIS VAXis MACHine 1 2 SCHart VAXis lt label_name gt lt low_value gt lt high_value gt The VAXis command allows you to choose which label will be plotted on the vertical axis of the chart and scales the vertical axis by specifying the high value and low value a string of up to 6 alphanumeric characters string from 0 to 2 2 1 HFFFFFFFF string from lt low_value gt to 232 1 HHFFFFFFFF OUTPUT XXX MACHINE2 SCHART VAXIS SUM1 Dr 7997 OUTPUT XXX MACHINE1 SCHART VAXIS BUS HOOFF HO500 9 6 SCHart Subsystem VAXis Query MACHine 1 2 SCHart VAXis The VAXis query returns the current vertical axis label and scaling Returned Format MACHine 1 2 SCHart VAXis lt label_name gt lt low_value gt lt high_value gt lt NL gt Example OUTPUT XXX MACHINE1 SCHART VAXIS 9 7 10 COMPare Subsystem Introduction Commands in the state COMPare subsystem provide the ability to do a bit by bit comparison between the acquired state data listing and a compare data image The commands are e CLEar e CMASk e COPY e DATA e FIND e LINE e MENU e RANGe e RUNTIl e SET 10 2 Figure 10 1 COM Pare Subsystem COMPare ounen J space label name Gs care spec m Lei CMASk space label name Lei D
104. Hine 1 2 SLISt XTAG lt time_value gt lt state_value gt lt NL gt Example OUTPUT XXX MACHINE1 SLIST XTAG SWAVeform Subsystem Introduction The commands in the State Waveform subsystem allow you to configure the display so that you can view state data as waveforms Up to 96 channels identified by label name and bit number can be displayed at a time The 12 commands in this subsystem are analogous to their counterparts in the Timing Waveform subsystem In this subsystem the X axis is restricted to representing only samples states regardless of whether time tagging is on or off As aresult the only commands which can be used for scaling are DELay and RANge The way to manipulate the X and O markers on the Waveform display is through the State Listing SLISt subsystem Using the marker commands from the SLISt subsystem will affect the markers on the Waveform display The commands in the SWAVeform subsystem are e ACCumulate e ACQuisition e CENter e CLRPattern e CLRStat e DELay e INSert e MLENgth e RANGe e REMove e TAKenbranch e TPOSition Figure 8 1 SW AVeform Subsystem gt sWaVveform By 3 Da e ACCumulate D space wi i H r ACCumulate e AcQuisition space Gi I mea Fe ACQuisition 5 CENTer D space gt mark type M CLRPottern Nf space ALL CLRsta
105. In addition qualifiers can be the NOT boolean function of terms timers and ranges The qualifier can also be an expression or combination of expressions as shown below and figure 6 2 Complex Qualifier on page 6 10 The following parameters show how qualifiers are specified in all commands of the STRigger subsystem that use lt qualifier gt lt qualifier gt ANYSTATE NOSTATE lt expression gt lt expression gt lt expressionla gt lt expressionlb gt lt expressionla gt OR lt expressionlb gt lt expressionla gt AND lt expressionlb gt lt expressionla gt lt expressionla_term gt lt expressionla_term gt OR lt expressionla_term gt lt expressionla_term gt AND lt expressionla_term gt lt expressionla_ lt expression2a gt lt expression2b gt lt expression2c gt lt expression2d gt term gt lt expressionlb gt lt expressionlb_term gt lt expressionlb_term gt OR lt expressionlb_term gt lt expressionlb_term gt AND lt expressionlb_term gt lt expressionlb_ lt expression2e gt lt expression2f gt lt expression2g gt lt expression2h gt term gt lt expression2a gt lt term3a gt lt term3b gt lt term3a gt lt boolean_op gt lt term3b gt lt expression2b gt lt term3c gt lt range3a gt lt term3c gt lt boolean_op gt lt range3a gt lt expression2c gt lt term3d gt lt expression2d gt lt term3e gt lt timer3
106. L gt HINE1 RESOURCE TYPE MACHine 1 2 TYPE lt analyzer type gt The TYPE command specifies what type a specified analyzer machine will be The analyzer types are state or timing State Compare COMPare and SPA are considered to be state analyzers because they use an external clock but need to specified as COMPare or SPA The TYPE command also allows you to turn off a particular machine Only one timing analyzer can be specified at a time OFF COMPare SPA STATe TIMing OUTPUT XXX MACHINE1 TYPE STATE 3 10 Query Returned Format Example MACHine 1 2 T YPE GI J M ACHine Subsystem TYPE The TYPE query returns the current analyzer type for the specified analyzer MACHine 1 2 TYP E lt analyzer type gt lt NL gt OUTPUT XXX MACHI El TYPE om WLISt Subsystem Introduction The commands in the WLISt Waveforms LISting subsystem control the X and O marker placement on the waveforms portion of the Timing State mixed mode display The XSTate and OSTate queries return what states the X and O markers are on Because the markers can only be placed on the timing waveforms the queries return what state state acquisition memory location the marked pattern is stored 1n In order to have mixed mode one machine must be a state analyzer with time tagging on use MACHine lt N gt STRigg
107. N ABC BXXXX1101 MACHine 1 2 SLISt XPATtern lt label_name gt The XPATtern query returns the pattern specification for a given label name MACHine 1 2 SLISt XPATtern lt label_name gt lt label_pattern gt lt NL gt OUTPUT XXX MACHINE1 SLIST XPATTERN AT 7 20 Command lt occurrence gt lt origin gt Example Query Returned Format Example SLISt Subsystem XSEarch XSEarch MACHine 1 2 SLISt XSEarch lt occurrence gt lt origin gt The XSEarch command defines the search criteria for the X marker which is then with associated XPATtern recognizer specification when moving the markers on patterns The origin parameter tells the marker to begin a search from the trigger or from the start of data The occurrence parameter determines which occurrence of the XPATtern recognizer specification relative to the origin the marker actually searches for An occurrence of 0 places a marker on the selected origin integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D TRIGger STARt OUTPUT XXX MACHINE1 SLIST XSEARCH 10 TRIGGER MACHine 1 2 SLISt XSEarch The XSEarch query returns the search criteria for the X marker MACHine 1 2 SLISt XSEarch lt occurrence gt lt origin gt lt NL gt OUTPUT XXX MA
108. NE1 TWAVEFORM OTIME OVERIay MACHine 1 2 TWAVeform OVERlay lt module_number gt lt label gt lt label gt lt label gt The OVERIay command overlays two or more oscilloscope waveforms and adds the resultant waveform to the current waveforms display The first parameter of the command specifies which slot contains the oscilloscope master card The next parameters are the labels of the waveforms that are to be overlaid The OVERlay command only works on oscilloscopes To overlay analyzer waveforms use the INSert command with OVERIay option 13 18 TW AVeform Subsystem PLUS lt module_spec gt 1 2 3 4 5 617 8 9 10 lt waveform gt string containing lt acquisition_spec gt 1 2 lt acquisition_ A B C D E F G H I J slot where acquisition card is located spec gt Example OUTPUT XXX MACHINE1 TWAVEFORM OVERLAY 3 C1 C2 PLUS Command MACHine 1 2 TWAVeform PLUS lt module_spec gt lt waveform gt lt waveform gt The PLUS command inserts time correlated A B oscilloscope waveforms on the screen The first parameter specifies the slot where the oscilloscope module resides 1 through 10 refers to slots A through J The next two parameters specify which waveforms will be added to each other PLUS is only available for oscilloscope waveforms lt module_spec gt 1 2 3 4 5 617 8 9 10 lt waveform gt string containing lt acqu
109. NE1 TLIST OSEARCH 10 TRIGGER Query MACHine 1 2 TLISt OSEarch The OSEarch query returns the search criteria for the O marker Returned Format MACHine 1 2 TLISt OSEarch lt occurrence gt lt origin gt lt NL gt Example OUTPUT XXX MACHINE1 TLIST OSEARCH 14 13 Query Returned Format lt state num gt Example Command lt time value gt Example TLISt Subsystem OSTate OSTate MACHine 1 2 TLISt OSTate The OSTate query returns the line number in the listing where the O marker resides If data is not valid the query returns 2147483647 MACHine 1 2 TLISt OSTate lt state_num gt lt NL gt 2147483647 or integer from 1040384 to 1040384 CHP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 HP 16555D OUTPUT XXX MACHINE1 TLIST OSTATE OTAG MACHine 1 2 TLISt OTAG lt time_value gt The OTAG command specifies the tag value on which the O marker should be placed The tag value is always time for the timing analyzer If the data is not valid tagged data no action is performed real number OUTPUT XXX MACHINE1 TLIST OTAG 40 0E 6 14 14 TLISt Subsystem REMove Query MACHine 1 2 TLISt OTAG The OTAG query returns the O marker position in time regardless of whether the marker was positioned in time or through a pattern search If data is not va
110. O OO OO OO OO CH Ss k CH E vs DDB HBB vs Bo OO WMATA OG GA A 0 0 0 0 01 01 01 01 01 OO dd On OD VG GA M k On O Ov ov OD On PWN FP On ol Programming Examples Transferring the Logic Analyzer Configuration i KKEKKKKKKKKKKKKKKKKKKKKK SEND THE OUTPU 707 SYSTEM HEADER ON OUTPUT 707 SYSTEM LONGFORM ON OUTPUT Comm SELECT 2 OUTPUT Comm SYSTEM SETUP Wei F TUP QUERY kkkxkxkxkxkxkxkxkxkxkxkxkkxkkxkxkxkxkxkkkxxkx k KKEKKKKKKKKKKK KK KK KKK ENTER THE BLOCK SE TUP HEADER KEKKKKKKKKKKK KK KK KKKK ti nter the block setup header in the proper format ENTER Comm USING B Byte PRINT CHRS Byte WHILE Byte lt gt 35 ENTER Comm USING B Byte PRINT CHR Byte END WHILE ENTER Comm USING B Byte PRINT CHRS Byte Byte Byte 48 IF Byte 1 THE F ER Comm USING D Numbytes IF Byte 2 THE F ER Comm USING DD Numbytes IF Byte 3 THE F ER Comm USING DDD Numbytes IF Byte 4 THEN ENTER Comm USING DDDD Numbytes IF Byte 5 THE F ER Comm USING DDDDD Numbytes IF Byte 6 THEN ENTER Comm USING DDDDDD Numbytes IF Byte 7 THEN ENTER Comm USING DDDDDDD Numbytes IF Byte 8 THEN ENTER Comm USING DDDDDDDD Num
111. OFF RISing FALLing BOTH OUTPUT XXX MACHINE2 SFORMAT MASTER J RISING MACHine 1 2 SFORmat MASTer lt clock_id gt The MASTer query returns the clock specification for the specified clock MACHine 1 2 SFORmat MASTer lt clock_id gt lt clock_spec gt lt NL gt OUTPUT XXX MACHINE2 SFORMAT MASTER lt clock_id gt 5 9 Command Example Query Returned Format Example SFORmat Subsystem MODE MODE MACHine 1 2 SFORmat MODE NORMal FAST p3 The MODE command places an HP 16555 state analyzer in either 100 MHz normal or 110 MHz fast mode The HP 16554A has only one state analysis mode 70 MHz In 110 MHz mode the h and j resource terms are not available OUTPUT XXX MACHINE2 SFORMAT MODE NORM MACHine 1 2 SFORmat MODE The MODE query is valid for both the HP 16554 and HP 16555 MACHine 1 2 SFORmat MODE NORMal FAST lt NL gt OUTPUT XXX MACHINE2 SFORMAT MODE Command lt clock pair id gt lt qual_ operation gt Example Query Returned Format Example SFORmat Subsystem M OPQual MOPQual MACHine 1 2 SFORmat MOPQual lt clock pair id gt lt qual operation gt The MOPQual master operation qualifier command allows you to specify either the AND or the OR operation between master clock qualifier pair 1 2 or between master clock qualifier pair 3 4 For example you can s
112. PA measurements A query returns the name of the currently selected label Selecting a new label defaults the State Overview data accumulators statistic counters and the number of buckets and their size string of up to 6 alphanumeric characters OUTPUT XXX SPA2 OVERView LABel Ain SPA 1 2 OVERView LABel SPA 1 2 OVERView LABel lt label_name gt lt NL gt 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 OVERView LABel 40 ENTER XXX String 50 PRINT Strings 60 END 16 10 SPA Subsystem OVERView LOW OVERView LOW Command SPA 1 2 OVERView LOW lt low_pattern gt The OVERView LOW command sets the lower boundary of the State Overview measurement A query returns the current setting of the lower boundary Setting the lower boundary defaults the data accumulators statistic counters and the number of buckets and their size lt low_pattern gt B O 1 QO O 1TI21 3 4151 617 1 H O LIZ 3 4 516171819 AIBICIDIE F O 1 2 3 4 51 6 7 819 3 Example OUTPUT XXX SPA2 OVERView LOW 23394 OUTPUT XXX SPA1 OVERView LOW 04371 7 Query SPA 1 2 OVERView LOW Returned Format SPA 1 2 OVERView LOW lt low_pattern gt lt NL gt Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 OVERView LOW 40 ENTER XXX Strings 50 PRINT String
113. POSition command is only available when the acquisition mode is set to manual integer from 1 to 100 OUTPUT XXX MACHINE2 SWAVEFORM TPOSITION CENTER MACHine 1 2 SWAVeform TPOSition The TPOSition query returns the current trigger setting MACHine 1 2 SWAVeform TPOSition STARt CENTer END POSTstore lt percent gt lt NL gt OUTPUT XXX MACHINE2 SWAVEFORM TPOSition 8 11 SCHart Subsystem Introduction The State Chart subsystem provides the commands necessary for programming the HP 16554A HP 16555A HP 16555D s Chart display The commands allow you to build charts of label activity using data normally found in the Listing display The chart s Y axis is used to show data values for the label of your choice The X axis can be used in two different ways In one the X axis represents states shown as rows in the State Listing display In the other the X axis represents the data values for another label When states are plotted along the X axis X and O markers are available Because the State Chart display is simply an alternative way of looking at the data in the State Listing the X and O markers are manipulated through the SLISt subsystem Because the programming commands do not force the menus to switch you can position the markers in the SLISt subsystem and see the effects in the State Chart display The commands in the SCHart subsystem are
114. Parameter Values Parameter lt N gt label_name polarity clock_bits upper_bits lower_bits clock_id clock_spec clock_pair_id qual_operation qual_num qual_level pod_num set_hold_value value Value an integer from 1 to 12 string of up to 6 alphanumeric characters POSitive NEGative format integer from 0 to 65535 for a clock clocks are assigned in decreasing order format integer from 0 to 65535 for a pod pods are assigned in decreasing order format integer from 0 to 65535 for a pod pods are assigned in decreasing order J K L Mi OFF RISing FALLing BOTH Lif cay AND OR 1 2 13 4 OFF LOW HIGH an integer from 1 to 12 Oo Ds PS TS I ZAC ZE LST 29 voltage real number 6 00 to 6 00 Selector Example Command lt N gt lt clock mode gt Example SFORmat Subsystem SFORmat SFORmat MACHine 1 2 SFORmat The SFORmat State Format selector is used as a part of a compound header to access the settings in the State Format menu It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree OUTPUT XXX MACHINE2 SFORMAT MASTER J RISING CLOCk MACHine 1 2 SFORmat CLOCk lt N gt lt clock_mode gt The CLOCk command selects the clocking mode for a given pod when the pod is assigned to the state analyzer When the MASTer option is specified the po
115. RANGe query returns the current boundaries for the comparison MACHine 1 2 COMPare RANGe FULL PARTial lt start_line gt lt stop_line gt lt NL gt 10 DIM String 100 20 OUTPUT 707 SELECT 2 30 OUTPUT 707 MACHINE1 COMPARE RANGE 40 ENTER 707 String 50 PRINT RANGE IS String 60 END 10 10 Command lt value gt Example COM Pare Subsystem RUNTII RUNTil MACHine 1 2 COMPare RUNTil OFF LT lt value gt GT lt value gt INRange lt value gt lt value gt OUTRange lt value gt lt value gt EQUal NEQual The RUNTil run until command allows you to define a stop condition when the trace mode is repetitive Specifying OFF causes the analyzer to make runs until either the display s STOP field is touched or the STOP command is issued There are four conditions based on the time between the X and O markers Using this difference in the condition is effective only when time tags have been turned on see the TAG command in the STRigger subsystem These four conditions are as follows e The difference is less than LT some value e The difference is greater than GT some value e The difference is inside some range INRange e The difference is outside some range OUTRange End points for the INRange and OUTRange should be at least 8 ns apart since this is the minimum time resolution of the time tag counter
116. RIGGER TPOSITION END OUTPUT XXX MACHINE1 TTRIGGER TPOSITION POSTstore 75 Query MACHine 1 2 TTRigger TPOSition The TPOSition query returns the current trigger position setting Returned Format MACHine 1 2 TTRigger TPOSition STARt CENTer END DELay lt time_val gt POSTstore lt poststore gt lt NL gt Example OUTPUT XXX MACHINE1 TTRIGGER TPOSITION 12 23 12 24 13 TWAVeform Subsystem Introduction The TWAVeform subsystem contains the commands available for the Timing Waveforms menu in the HP 16554A HP 16555A HP 16555D logic analyzer module These commands are e ACCumulate e ACQuisition e CENTer e CLRPattern e CLRStat e DELay e INSert e MINus e MLENgth e MMODe e OCONdition e OPATtern e OSEarch e OTIMe e OVERIay e PLUS RANGe REMove RUNTil SPERiod TAVerage TMAXimum TMINimum TPOSition VRUNs XCONdition XOTime XPATtern XSEarch XTIMe 13 2 TW AVeform Subsystem Figure 13 1 G e y C TWAVeform ei A ACCumulate gt space on Lal ACCumulate wl Lei ACQuisition gt space a AUTOmatic D 1 aa N MANual B4 H r ACQuisition gt gt CENTer space marker type gt Lei CLRPattern el space x gt G CLRStat a gt DELay space delay_value Lat INSert space 3 Sei label name Sei DI d La module spec Lei gt OVERIay
117. ST COLUMN 4 CLRPattern MACHine 1 2 TLISt CLRPattern X O ALL The CLRPattern command allows you to clear the patterns for the selected markers in the Specify Patterns menu OUTPUT XXX MACHINE1 TLIST CLRPATTERN O 14 8 Query Returned Format lt line number gt lt label name gt lt pattern_ string gt Example Command lt line_num_mid_ screen gt Example TLISt Subsystem DATA DATA MACHine 1 2 TLISt DATA lt line_number gt lt label_name gt The DATA query returns the value at a specified line number for a given label The base will be the same as the one shown in the Listing display MACHine 1 2 TLISt DATA lt line_number gt lt label_name gt lt pattern_string gt lt NL gt integer from 1040384 to 1040384 HP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 CHP 16555D string of up to 6 alphanumeric characters B O 1 X O OILTIZIZ141516171X e er I H O 1 2 3 4 51 617 8 91AIBICIDIE F X LOU FITS PRL SGT OOF ea ee HI OUTPUT XXX MACHINE1 TLIST DATA 512 RAS LINE MACHine 1 2 TLISt LINE lt line_num_mid_screen gt The LINE command scrolls the timing analyzer listing vertically The command specifies the state line number relative to the trigger The analyzer then highlights the specified line at the center of the screen integer from 1040384 to 104
118. TIMe XTIMe MACHine 1 2 TWAVeform XTIMe lt time_value gt The XTIMe command positions the X marker in time when the marker mode is time If data is not valid the command performs no action real number from 2 5 ks to 2 5 ks OUTPUT XXX MACHINE1 TWAVEFORM XTIME 40 0E 6 MACHine 1 2 TWAVeform XTIMe The XTIMe query returns the X marker position in time If data is not valid the query returns 9 9E37 MACHine 1 2 TWAVeform XTIMe lt time_value gt lt NL gt OUTPUT XXX MACHINE1 TWAVEFORM XTIME 13 29 13 30 14 TLISt Subsystem Introduction The TLISt subsystem contains the commands available for the Timing Listing menu in the HP 16554A HP 16555A HP 16555D logic analyzer modules and is the same as the SLISt subsystem except for the OCONdition and XCONdition commands The TLISt subsystem commands are e COLumn e TMAXimum e CLRPattern e TMINimum e DATA e VRUNS e LINE e XCONdition e MMODe e XOTag e OCONdition e XOTime e OPATtern e XPATtern e OSEarch e XSEarch e OSTate e XSTate e OTAG e XTAG e REMove e RUNTi e TAVerage 14 2 TLISt Subsystem Figure 14 1 C S CO um Lon space rei col_num mnie Jovel name Sei base al mod_num C MACHine 1 2 1 Lei CoLumn Le space rei col_num gt H CLRPattern J space x gt ALL DATA space pe musel I
119. TTRigger TCONtrol lt N gt lt timer num gt OFF STARt PAUSe CONTinue The TCONtrol timer control command allows you to turn off start pause or continue the timer for the specified level The time value of the timer is defined by the TIMER command integer from 1 to the number of existing sequence levels maximum 10 112 OUTPUT XXX MACHINE2 TTRIGGER TCONTROL6 1 PAUSE MACHine 1 2 TTRigger TCONTROL lt N gt lt timer num gt The TCONtrol query returns the current TCONtrol setting of the specified level MACHine 1 2 TTRigger TCONTROL lt N gt lt timer_num gt OFF STARt PAUSe CONTinue lt NL gt OUTPUT XXX MACHINE2 TTRIGGER TCONTROL6 1 12 20 Command lt term id gt lt label name gt lt pattern gt Example TTRigger TTRace Subsystem TERM TERM MACHine 1 2 TTRigger TERM lt term id gt lt label name gt lt pattern gt The TERM command allows you to a specify a pattern recognizer term in the specified machine Each command deals with only one label in the given term therefore a complete specification could require several commands Since a label can contain 32 or fewer bits the range of the pattern value will be between 2 1 and 0 When the value of a pattern is expressed in binary it represents the bit values for the label inside the pattern recognizer term Since the pattern parameter may contain don t cares and be represent
120. TY GOTO 1170 END IF 1 1 kkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxxkx SEND THE DATA COMMAND kkkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkxk Send the Setup command 1 OUTPUT Comm USING 14A SYSTEM DATA PRINT SYSTEM DATA command has been sent Press continue PAUSE I 1 kkxkkxkxkxkxkxkxkxkxkxkxkkxkxkxkxkxxkxx SEND THE BLOCK DATA kkkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkkxkkxkxkkxkkxxk xxk Send the block data header to the HP 16554A HP 16555A in the proper format i OUTPUT Comm USING f A 8 Str1S DVALS Numbytes 10 Byte 1 PRINT USING AAAAAAAA Str1 4 OUTPUT Comm USING AAAAAAAA Str1 4 I KEKKKKKKKKKKKKKKKKK KK KK SAVE BUFE ER POINTERS kkkxkxkxkxkxkxkxkkxkxkxkxkxkxkxkxkxkxkxkkkxk Save the transfer buffer pointer so it can be restored after th transfer 1 STATUS Buff 5 Streg 1 18 21 1010 1020 1030 1040 1050 1060 1070 1080 1090 1100 1110 1120 1130 1140 1150 1160 1170 Programming Examples Sending Queries to the Logic Analyzer xkkkkkkkkkkkk TRANSFER DATA TO THE HP 16554A HP 16555 k eee kk kk x Transfer the data from the buffer to the HP 16554A HP 16555A 1 TRANSFER Buff TO Comm COUNT Numbytes WAIT 1 i kkxkxkxkxkxkxkxkxkxkxkxkxkkxkxkxkxkxkxx xxk RESTORE BUFFER POINTERS kkkxkxkxkxkxkxkxkxkxkxkxkkxkxkxkxkkk kxkxxk Restore the transfer buffer point
121. Tate REName TINTerval OTIMe RESource OVERIay TYPE PLUS OVERView HISTogram TINTerval RANGE l REMove BUCKet HSTalistic AUTorange XOTine HIGH LABel QUALIifier XSTate LABel OTHer TINTerval XTIMe LOW QUALifier TSTatlistic MLENgth RANGe QMARker TTYPe OVSTalishic XMARker TTRigger COMPare SFORmat STRigger SS SWAVeform SCHart TFORMal i TWAVeform TLISt SYMBol STRace SEH l CLEar CLOCK COLumn ACCumulale ACQuisition ACCumulate COLumn BASE CMASk LABel ACQuisition CLRPattern ACQuisition BRANch ACQuisition CLRPattern PATTern COPY MASTer BRANch DATA CENter CLEar CENTer DATA RANGe DATA MOPQual CLEar LINE CLRPattern EDGE CLRPattern LINE REMave FIND MQUal MLENgth MMODe CLRStat FIND CLRStat MMODe WIDTh LINE REMove RANGe OPATIern DELay MLENgth DELay OCONdition MENU SETHold SEQuence OSEarch INSert RANGe INSert OPATtern RANGe SLAVe STORe OSTate MLEngth SEQuence MiNus oSEarch RUNTil SOPQual TAG OTAG RANGe SPERIod MENGN OSTate SET SQUal TAKenbranch OVERlay REMove TCONtral MMODe OTAG THReshold TCONtrol REMove TaKenbranch TERM OCONdition REMove TERM SKI Poston TIMER OPATtern RUNTII TIMER TAVerage TPOSilion OSEarch TAVerage TPOSition TMAXimum TMINimum OTIMe TMAXimum VRUNS ACCumulate OVERIay TMINImum XOTag CENter PLUS VRUNS XOTime HAXis RANGE XCONdition XPATtern VAXIS REMove XOTag XSEarch RUNTII XOTime XSTate ACQMode SPERiod XPATtern XTAG LABel TAVerage XSEarch REMove TMAXimum XSTate THReshold TMINimum XTAG TPOSiti
122. UENCE 5 4 i Define pattern terms A B C D and E to be 11 22 33 44 and 59 decimal respectively i OUTPUT 707 MACHINE1 STRIGGER TERM A SCOUNT 11 OUTPUT 707 MACHINE1 STRIGGER TERM B SCOUNT 22 OUTPUT 707 MACHINE1 STRIGGER TERM C SCOUNT 33 OUTPUT 707 MACHINE1 STRIGGER TERM D SCOUNT 44 OUTPUT 707 MACHINE1 STRIGGER TERM E SCOUNT 59 i Define a Range having a lower limit of 50 and an upper limit of 58 i OUTPUT 707 MACHINE1 STRIGGER RANGE1 SCOUNT 50 58 I I I OU OU I I OU OU I I OU OU I KKKKKKKKKKK RR CONFIGURE SEQUE CE LEV EL 1 KKEKKKKKKKKKKKKKKKKKK KK KK KKK Store NOSTATE in level 1 and Then find resource term A once PUT 707 MACHINE1 STRIGGER STORE1 NOSTATE PUT 707 MACHINE1 STRIGGER FIND1 A 1 KKKKKKKKKKK KK KK KK CONFIGURE SEQUE CE LEV Store RANGE1 in level 2 and Then find re PUT 707 MACHINE1 STRIGGER STORE2 IN PUT 707 MACHINE1 STRIGGER FIND2 EI 1 EL 2 REC A e dkkdedededkdede BEER RE ede EEK source term E once RANGE1 KKK KK KK KK kk kk kk kk CONFIGURE SEQUE CE LEVEL 3 RIOT TRE Ka ES dere te dk ee te ke dele ale de Store NOSTATE in level 3 and Then find term B once PUT 707 MACHINE1 STRIG
123. UT XXX SYSTEM DATA block data gt Do not load UN Packed data into the instrument it may cause the HP 16500 to lock up If this happens cycle power Only data saved in PACKed mode can be reloaded back into a logic analyzer 17 4 lt block data gt lt block length specifier lt length gt lt section gt lt section header gt lt section data gt Query Returned Format See Also DATA and SETup Commands SYSTem DATA lt block length specifier gt lt section gt 8 lt length gt the total length of all sections in byte format must be represented with 8 digits lt section header gt lt section data gt 16 bytes described on the following page format depends on the type of data The total length of a section is 16 for the section header plus the length of the section data So when calculating the value for lt length gt don t forget to include the length of the section headers SYSTem DATA The SYSTem DATA query sends block data to the controller The data sent by the SYSTem DATA query reflect the configuration of the machines when the last run was performed Any changes made since then through either front panel operations or programming commands do not affect the stored configuration The format of the block data depends on the current setting of the DBLock parameter SYSTem DATA block data gt lt NL gt The DBLock command description in chapter 2 Module Level Comma
124. a gt lt term3d gt lt edge3a lt term3d gt lt boolean_op gt lt edge3a gt lt term3e gt lt timer3a gt lt term3e gt lt boolean_op gt lt timer3a gt lt term3f gt lt term3g gt lt term3f gt lt boolean_op gt lt term3g gt lt range3b gt lt term3i gt lt edge3b gt lt term3i gt lt boolean_op gt lt edge3b gt A timer 3b gt AND NAND OR NOR XOR NXOR 12 6 TTRigger TTRace Subsystem Qualifier lt term3a gt A OTA lt term3b gt B OTB lt term3c gt Cc OTC lt term3d gt D OTD lt term3e gt E OTE lt term3f gt F OTF lt term3g gt G OTG lt term3i gt I OTI lt range3a gt IN_RANGE1 OUT_RANGE1 lt range3b gt IN_RANGE2 OUT RANGE2 lt edge3a gt EDGE1 NOT EDGE1 lt edge3b gt EDGE2 NOT EDGE2 lt timer3a gt IMER1 lt TIMERI1 gt lt timer3b gt IMER2 lt TIMER2 gt is optional such that it can be used zero or more times must be used at least once and can be repeated 12 7 Examples Selector Example TTRigger TTRace Subsystem TTRigger TTRace Qualifier Rules The following rules apply to qualifiers e Qualifiers are quoted strings and therefore need quotes e Expressions are evaluated from left to right e Parentheses are used to change the order
125. a gt lt term3e gt lt boolean_op gt lt timer3a gt lt expression2e gt lt term3f gt lt term3g gt lt term3f gt lt boolean_op gt lt term3g gt lt expression2f gt lt term3h gt lt range3b gt lt term3h gt lt boolean_op gt lt range3b gt lt expression2g gt lt term3i gt lt expression2h gt lt term3 j gt lt timer3b gt lt term3j gt lt boolean_op gt lt timer3b gt lt boolean_op gt AND NAND OR NOR XOR NXOR 6 6 lt term3a gt lt term3b gt lt term3c gt lt term3d gt lt term3e gt lt term3f gt lt term3g gt lt term3h gt lt term3i gt lt term3j gt lt range3a gt lt range3b gt lt timer3a gt lt timer3b gt Qualifier Rules Examples STRigger STRace Subsystem Qualifier A OTA B OTB G OTC D OTD OTE F OTF G OTG H OTH I OTI J OTJ IN_RANGE1 OUT_RANGE1 IN_RANGE2 OUT_RANGE2 IMER1 lt TIMER1 gt IMER2 lt TIMER2 gt H NOTH J and NOTJ are not available in 110 MHz mode The following rules apply to qualifiers e Qualifiers are quoted strings and therefore need quotes e Expressions are evaluated from left to right e Parentheses are used to change the order evaluation and are optional e An expression must map into the combination logic presented in the combination pop up menu see figure 6 2 on page 6
126. a particular purpose Hewlett Packard shall not be liable for errors contained herein or for damages in connection with the furnishing performance or use of this material Safety This apparatus has been designed and tested in accordance with IEC Publication 348 Safety Requirements for Measuring Apparatus and has been supplied in a safe condition This is a Safety Class I instrument provided with terminal for protective earthing Before applying power verify that the correct safety precautions are taken see the following warnings In addition note the external markings on the instrument that are described under Safety Symbols Warning e Before turning on the instrument you must connect the protective earth terminal of the instrument to the protective conductor of the mains power cord The mains plug shall only be inserted in a socket outlet provided with a protective earth contact You must not negate the protective action by using an extension cord power cable without a protective conductor grounding Grounding one conductor of a two conductor outlet is not sufficient protection e Only fuses with the required rated current voltage and specified type normal blow time delay etc should be used Do not use repaired fuses or short circuited fuseholders To do so could cause a shock of fire hazard e Service instructions are for trained service personnel To avoid dangerous electric shoc
127. am example 18 18 memory depth 8 8 12 16 13 12 MENU 1 6 MENU command 10 9 E HISTogram RANGe command query 16 20 En command query 1 13 MESR query 1 15 minimum time 13 24 14 18 MINus command 4 8 13 13 mixed mode 4 2 MLENgth command query 6 13 8 8 12 16 13 12 16 12 MMEMory Subsystem 1 7 MMODe command query 7 10 13 14 14 10 MODE command query 5 10 16 7 module level commands 2 1 2 3 to 2 7 module status reporting 1 12 MOPQual command query 5 11 most significant bit 17 3 MQUal command query 5 12 N AME command query 3 8 number of runs 13 25 14 18 number of samples 16 25 Index 2 Index O OCONdition command query 13 15 14 11 offset 4 5 OMARkKer command query 16 13 OPATtern command query 7 11 13 16 14 12 OR d trigger 3 5 OSEarch command query 7 12 13 17 14 13 OSTate query 4 9 7 13 14 14 OTAG command query 7 14 14 14 OTHer command query 16 18 OTIMe command query 4 9 13 18 OVERIay command query 4 10 7 15 13 18 OVERView BUCKet query 16 8 OVERView HIGH command query 16 9 OVERView LABel command query 16 10 OVERView LOW command query 16 11 OVERview MLENgth command query 16 12 OVERView OMARker command query 16 13 OVERView OVSTatistic query 16 14 OVERView XMARker command query 16 15 OVSTatistic query 16 14 P PATTern command 15 6 pattern markers 7 8 7 10 to 7 11 8 6 13 14 13 26 to 13 27 14 10 to 14 1
128. and The meaning of IN_RANGE and OUT_RANGE is determined by the RANGe command Expressions are limited to what you could manually enter through the State Trigger menu Regarding parentheses the syntax definitions below show only the required ones Additional parentheses are allowed as long as the meaning of the expression is not changed See page 6 9 for a detailed example integer from 1 to number of existing sequence levels 1 integer from 1 to 1048575 lt qualifier gt see Qualifier on page 6 6 q OUTPUT XXX MACHINE1 STRIGGER FIND1 ANYSTATE 1 OUTPUT XXX MACHINE1 STRIGGER FIND3 NOTA AND NOTB OR SIT a Query Returned Format Example Command lt memory length gt Example Query Returned Format Example STRigger STRace Subsystem M LENgth MACHine 1 2 STRigger FIND4 The FIND query returns the current proceed qualifier specification for a given sequence level MACHine 1 2 STRigger FIND lt N gt lt proceed_qualifier gt lt occurrence gt lt NL gt OUTPUT XXX MACHINE1 STRIGGER FIND lt N gt MLENgth MACHine 1 2 STRigger MLENgth lt memory_length gt The MLENgth command allows you to specify the analyzer memory depth Valid memory depths range from 4096 states or samples through the maximum system memory depth minus 8192 states HP 16554A or HP 16555A or minus 16384 states HP 16555D
129. ata is not valid the query returns 9 9E37 MACHine 1 2 SLISt TMINimum lt time_value gt lt NL gt real number OUTPUT XXX MACHINE1 SLIST TMINIMUM VRUNs MACHine 1 2 SLISt VRUNs The VRUNs query returns the number of valid runs and total number of runs made Valid runs are those where the pattern search for both the X and O markers was successful resulting in valid time measurements MACHine 1 2 SLISt VRUNs lt valid_runs gt lt total_runs gt lt NL gt zero or positive integer zero or positive integer OUTPUT XXX MACHINE1 SLIST VRUNS 7 18 Query Returned Format lt XO time gt lt XO states gt Example Query Returned Format lt XO time gt lt XO states gt Example SLISt Subsystem XOTag XOTag MACHine 1 2 SLISt X0OTag The XOTag query returns the time from the X to O markers when the marker mode is time or number of states from the X to O markers when the marker mode is state If there is no data in the time mode the query returns 9 937 If there is no data in the state mode the query returns 2147483647 MACHine 1 2 SLISt XOTag lt xXO_time gt lt XO_states gt lt NL gt real number integer OUTPUT XXX MACHINE1 SLIST XOTAG XOTime MACHine 1 2 SLISt XOTime The XOTime query returns the time from the X to O markers when the marker mode is time or number of states from the X to O markers when th
130. bytes PRINT Numbytes 1 kk kk kk KK KKK TRANSER THE SE TUP KKK KKK KK KK KKK KKK KKK KKK KK KK KK KK KK Transfer the setup from the logic analyzer to the buffer TRANSFER Comm TO Buff COUNT Numbytes WAIT 1 ENTER Comm USING K Length PRINT LENGTH of Length string is LEN Length PRINT xxx x GOT THE SETUP Press Continue when ready PAUSI Di 18 15 66 67 68 69 70 71 72 73 74 75 76 VAT 78 79 80 81 82 821 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 1000 1010 1020 1030 1040 1050 CR Os CS DS a E EE EE EA ENK ASS ae St EE E Et EC a OO HESS KEY KER Et E oO Programming Examples Transferring the Logic Analyzer Configuration KKEKKKKKKKKKKKKKKKKKKK SEND THE SE Make sure buffer is not empty 1 IF Numbytes 0 THEN PRINT BUFFER IS EMPTY GOTO 1170 END IF TUP KKEKKKKKK KK KK KKKK kkkkkk kk KAKA KK KK KK KEKKKKKKKKKKK KK KK KKKK SEND THE SE Send the Setup command 1 TUP COMMAND kkxkxkxkxkxkxkkxkxkxkxkxkkxkkxkxkkxkxkkkxxkx k SETUP OUTPUT Comm USING 15A SYSTE PRINT PAUSE 1 1 kkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxxkx SEND THE SYSTEM SETUP command has been sent Press Continue to send setup BLOCK SETUP kkkxkxkxkxkxkxkxkxkxkxkxkkxkkkxkxkxkxkkkxkkxxk kxxk modul
131. d will sample all channels on the master clock When the SLAVe option is specified the pod will sample all channels on the slave clock When the DEMultiplex option is specified only one pod of a pod pair can acquire data The bits of the selected pod will be clocked by the demultiplex master for labels with bits assigned under the Master pod The same bits will be clocked by the demultiplex slave for labels with bits assigned under the Slave pod The master clock always follows the slave clock when both are used an integer from 1 to 12 MASTer SLAVe DEMultiplex OUTPUT XXX MACHINE1 SFORMAT CLOCK2 MASTER 5 6 Query Returned Format Example Command SFORmat Subsystem LABel MACHine 1 2 SFORmat CLOCk lt N gt The CLOCK query returns the current clocking mode for a given pod MACHine 1 2 SFORmat CLOCK lt N gt lt clock_mode gt lt NL gt OUTPUT XXX MACHINE1 SFORMAT CLOCK2 LABel MACHine 1 2 SFORmat LABel lt name gt lt polarity gt lt clock_bits gt lt upper_bits gt lt lower_bits gt lt upper_bits gt lt lower_bits gt The LABel command allows you to specify polarity and assign channels to new or existing labels If the specified label name does not match an existing label name a new label will be created The order of the pod specification parameters is significant The first one listed will match the highest numbered pod assigned to the machine you re
132. ds data in a format that is easy to interpret and process The UNPacked format cannot be downloaded back into the analyzer OUTPUT XXX DBLOCK PACKED DBLock The DBLock query returns the current data block format selection DBLock PACKed UNPacked lt NL gt OUTPUT XXX DBLock MACHine MACHine lt N gt The MACHine command selects which of the two machines analyzers the subsequent commands or queries will refer to MACHine is also a subsystem containing commands that control the logic analyzer system level functions Examples include pod assignments analyzer names and analyzer type See chapter 3 for details about the MACHine subsystem 112 OUTPUT XXX MACHINE1 NAME DRAMTEST 2 6 Command lt N gt Example Command Example Module Level Commands SPA SPA SPA lt N gt The SPA command selects which of the two analyzers the subsequent commands or queries will refer to SPA is also a subsystem containing commands that control the logic analyzer SPA functions See chapter 16 for details about the SPA subsystem 112 OUTPUT XXX SPA1 MODE OVERVIEW WLISt WLISt The WLISt selector accesses the commands used to place markers and query marker positions in Timing State Mixed mode The WLISt subsystem also contains commands that allows you to insert waveforms from other time correlated machines and modules The deta
133. e Query Interrupted when it receives the next command from the controller and the query response is lost KKEKKKKKKKKKKK KK KKK DATA COM i for the HP 1 6554A HP IAND AND QUERY EXAMP LE KAEKKKKKKKKK KK KKK KKK 16555A HP Ji kkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxxkx CREA TE TRANSFER BUFFER NOTE WELL The data from the NOTE WELL The data from the NOTE WELL The data from the You may estimate the size of the buffer n formula 16555D KKEKKKKKKKKKKKKKKKKKKKK KKK 16554A may be up to 19Mbytes long 16555A may be up to 38Mbytes long 16555D may be up to 76Mbytes long ded using the following LET Cards Number of 16554 16555 cards in your module LET Samples Memory Length LET BufferSize 12 Samples Boards 10 see Acquisition Control in Trigger Menu 00 For example a 1 board system with a full memory length of 1040384 requires 12 1040384 1000 12 485 608 bytes You may have to enlarge th to accomodate this buffer ASSIGN Buff TO BUFFER 3700000 See ge Se ae ae Seige ese deer se le Seas E ITIALIZI REAL Address Address 707 ASSIGN Comm TO Address 1 CLEAR SCREEN E HPIB D workspace of your Basic environment EFAULT ADDR ESS kkkkkkkkkkkkkkkkkkkkk 18 19 NRPRPRPRP PR CO vw OO A o Um N N N
134. e marker mode is state If there is no data in the time mode the query returns 9 9E37 If there is no data in the state mode the query returns 2147483647 MACHine 1 2 SLISt XOTime lt XO_time gt lt XO_states gt lt NL gt real number integer OUTPUT XXX MACHINE1 SLIST XOTIME Command lt label name gt lt label pattern gt Examples Query Returned Format Example SLISt Subsystem XPATtern XPATtern MACHine 1 2 SLISt XPATtern lt label_name gt lt label_pattern gt The XPATtern command allows you to construct a pattern recognizer term for the X marker which is then used with the XSEarch criteria when moving the marker on patterns Since this command deals with only one label at a time a complete specification could require several invocations When the value of a pattern is expressed in binary it represents the bit values for the label inside the pattern recognizer term In whatever base is used the value must be between 0 and GE 1 since a label may not have more than 32 bits Because the lt label_pattern gt parameter may contain don t cares it is handled as a string of characters rather than a number string of up to 6 alphanumeric characters B O 1 X O O11I213141516171X H O 1 2 3 4 5 6 7 8 91AIBICIDIE FI X Ol1 2 3 4 5 6 7 819 ET OUTPUT XXX MACHINE1 SLIST XPATTERN DATA 255 OUTPUT XXX MACHINE1 SLIST XPATTER
135. e more than 32 bits Because the lt label_pattern gt parameter may contain don t cares it is handled as a string of characters rather than a number string of up to 6 alphanumeric characters B O 1 X 4 FO OILIZI3Z141516171X H O 1 2 3 4 5 6 7 8 91AIBICIDIE FI X Ol1 2 3 4 51 6 7 819 FT OUTPUT XXX MACHINE1 TWAVEFORM OPATTERN A 511 MACHine 1 2 TWAVeform OPATtern lt label_name gt The OPATtern query in pattern marker mode returns the pattern specification for a given label name In the time marker mode the query returns the pattern under the O marker for a given label If the O marker is not placed on valid data don t cares X are returned MACHine 1 2 TWAVeform OPATtern lt label_name gt lt label_pattern gt lt NL gt OUTPUT XXX MACHINE1 TWAVEFORM OPATTERN A 13 16 Command lt origin gt lt occurrence gt Example Query Returned Format Example TW AVeform Subsystem OSEarch OSEarch MACHine 1 2 TWAVeform OSEarch lt occurrence gt lt origin gt The OSEarch command defines the search criteria for the O marker which is then used with the associated OPATtern specification and the OCONdition when moving markers on patterns The origin parameter tells the marker to begin a search from the start of the acquisition the trigger or the X marker The actual occurrence the marker search
136. e 1 2 SLISt OTAG lt time_value gt lt state_value gt The OTAG command specifies the tag value on which the O Marker should be placed The tag value is time when time tagging is on or states when state tagging is on If the data is not valid tagged data no action is performed real number real number OUTPUT XXX MACHINE1 SLIST OTAG 40 0E 6 MACHine 1 2 SLISt OTAG The OTAG query returns the O Marker position in time when time tagging is on or in states when state tagging is on regardless of whether the marker was positioned in time or through a pattern search If data is not valid the query returns 9 937 for time tagging or returns 2147483647 for state tagging MACHine 1 2 SLISt OTAG lt time_value gt lt state_value gt lt NL gt OUTPUT XXX MACHINE1 SLIST OTAG Command lt col num gt lt Module num gt lt label name gt Example Command Example SLISt Subsystem OVERIay OVERlay MACHine 1 2 SLISt OVERlay lt col num gt lt module_num gt MACHine 1 2 lt label_name gt The OVERIlay command allows you to add time correlated labels from other modules or machines to the state listing The added labels are interleaved with the column specified The column must already contain a label integer from 1 to 61 1 213 4 51617 8 9 10 a string of up to 6 alphanumeric characters OUTPUT XXX MACHINE1 SLIST OVERIlay 25 5
137. e Event Status Enable register bits The MESE register contains a mask value for the bits enabled in the MESR register A one in the MESE will enable the corresponding bit in the MESR a zero will disable the bit The first parameter lt N gt specifies the module The second parameter specifies the enable value Refer to table 1 2 for information about the Module Event Status register bits bit weights and what each bit masks for the module Complete information for status reporting is in chapter 6 of the HP 16500 16501A Programmer s Guide manual 1 2 3 4 5 6 7 8 9 10 number of slot in which the module resides 1 refers to slot A and so on integer from 0 to 255 OUTPUT XXX MESE5 1 MESE lt N gt The MESE query returns the current setting MESE lt N gt lt enable_mask gt lt NL gt 10 OUTPUT XXX MESE5 20 EF FR XXX Mes 30 PRINT Mes 40 END Programming the HP 16554A HP 16555A HP 16555D MESE lt N gt Table 1 2 Module Event Status Enable Register A 1 enables the MESR bit Bit Weight Enables 7 128 Not used 6 64 Not used 5 32 Not used 4 16 Not used 3 8 Pattern searches failed 2 4 Trigger found 1 2 RNT Run until satisfied 0 1 M C Measurement complete The Module Event Status Enable Register contains a mask value for the bits to be enabled in the Module Event Status Register MESR A one in the MESE enables the corresponding bit
138. e HP 16554A HP 16555A HP 16555D logic analyzer module These commands are e ARMLine DBLock e MACHine e SPA e WLISt 2 2 Module Level Commands Figure 2 1 i e y C Se armLine Le space machine mum Sei He ARMLine gt Lei DBLock gt space Packed gt UNPacked gt DBLock e H Mactine K po ARM gt orm parm gt 2 ASSign gt assign_parm gt 1 gt LEVelarm Le level parm rung name_parm Lef gt REName gt rename_parm Gel RESource Le res parm ei TYPE kel lype_parm gt Lei Stmset Ji Lei sformat_cmds _ 2 gt StRace ei D Wei s race_cmds h gt SLISI gt slist_cmds ___ t SWAVeform Lei Je swaveform_cmds rt ScHar vi Si schart_cmds kt gt ComPare 7 Lei compare_cmds_ ri gt TFORmat L st R Le tformat_cmds TTRace D j tirace_cmds Ft gt TWAVeform Dana Lei twaveform_cmds Fc gt Tus Led Wel emie Sy MBol gt Led symbol_cmas_ Le SPA vi MODE Sen mode_parm gt gt 2 MODE H Dene overv_cmds OVERView H h
139. e clock spec gt H MASTer J space clock_id gt MODE space NORMal Ha MOPQual gt space gt clock Dor id mat P gt qual_operation e il Ha MOPQual ei space clock_pair_id Lal MQUal fe space Be qual num Lm p clock_id le Dae qual_level m MQUal space gt qual num v 16555504 A SFORmat Subsystem Syntax Diagram 5 3 SFORmat Subsystem Figure 5 1 continued SLAVe space Le SLave WE space Y Remove J space ALL 4 Lt e label name SE THoId e space re pod num Jr set hold value ei SE THolo Dis space Hr pod_num P H r clock id e clock spec ii H THReshold lt gt Y gt space e value Far clock id Bem SoPaval Dae space H r clock_pair_id ri jr qual operation E aa SoPaual e space H r clock pair id Sp Lei zoue e space H r qual_num gt C Je clock id gt C K wl qual level Led H Saua je space j qual num gt T THReshold lt N gt SFORmat Subsystem Syntax Diagram continued 16555505 5 4 Table 5 1 SFORmat Subsystem SFORmat Subsystem
140. e space space spac 17 3 Command Example DATA and SETup Commands SYSTem DATA SYSTem DATA SYSTem DATA lt block data gt The SYSTem DATA command transmits the acquisition memory data from the controller to the HP 16554A HP 16555A HP 16555D logic analyzers The block data consists of a variable number of bytes containing information captured by the acquisition chips Since no parameter checking is performed out of range values could cause instrument lockup therefore care should be taken when transferring the data string into the HP 16554A HP 16555A HP 16555D The lt block data gt parameter can be broken down into a lt block length specifier gt and a variable number of lt section gt s The lt block length specifier gt always takes the form 8DDDDDDDD Each D represents a digit ASCII characters 0 through DOT The value of the eight digits represents the total length of the block all sections For example if the total length of the block is 14522 bytes the block length specifier would be 800014522 Each lt section gt consists of a lt section header gt and lt section data gt The lt section data gt format varies for each section and may be any length For the DATA instruction there is only one lt sect ion gt which is composed of a data preamble followed by the acquisition data This section has a variable number of bytes depending on configuration and amount of acquired data OUTP
141. ed to the specified analyzer MACHine 1 2 RENAME lt res_id gt lt new_text gt lt NL gt OUTPUT XXX MACHINE1 RENAME D RESource MACHine 1 2 RESource lt res_id gt lt res_id gt The RESource command allows you to assign resource terms A through G and I Range 1 and 2 and Timer 1 and 2 to a particular analyzer In the timing analyzer only two additional resource terms are available These terms are Edge 1 and 2 These terms are always assigned to the machine that is configured as the timing analyzer In state analyzers that are not configured for high speed terms H and J are also available H and J are not available to timing or high speed analyzers lt state_terms gt for high speed state analyzer or lt state_terms H J for 100 MHz state analyzer or lt state_terms gt EDGE 1 2 for timing analyzer A B C D E F G I RANGel RANGe2 TIMerl TIMer2 3 9 Example Query Returned Format Example Command lt analyzer type gt Example M ACHine Subsystem TYPE OUTPUT XXX MACHINE1 RESOURCE A C RANGE1 MACHine 1 2 RESOURCE GI Vv The RESource query returns the current resource terms assigned to the specified analyzer If no resource terms are assigned no lt res_id gt is returned MACHine 1 2 RE OUTPUT XXX MAC SOURCE lt res_id gt lt res_id gt lt N
142. ed in several bases it is handled as a string of characters rather than a number Eight of the 10 terms A through G and I are available terms H and J are not available to either machine but not both simultaneously If you send the TERM command to a machine with a term that has not been assigned to that machine an error message Legal command but settings conflict is returned A B C D E F G T string of up to 6 alphanumeric characters B O 11X QO O LIZI3 41516171X H O 1 2 3 4 5 617 8 9 AIBIC DIE F X O 1 2 3 4 5 6 7 8 9 3 OUTPUT XXX MACHINE1 TTRIGGER TERM A DATA 255 OUTPUT XXX MACHINE1 TTRIGGER TERM B ABC BXXXX1101 12 21 Query Returned Format Example Command lt time value gt Example Query Returned Format Example TTRigger TTRace Subsystem TIMER MACHine 1 2 TTRigger TERM lt term_id gt lt label_name gt The TERM query returns the specification of the term indicated by term identification and label name MACHine 1 2 TTRigger TERM lt term_id gt lt label_name gt lt pattern gt lt NL gt OUTPUT XXX MACHINE1 TTRIGGER TERM B DATA TIMER MACHine 1 2 TTRigger TIMER 1 2 lt time_value gt The TIMER command sets the time value for the specified timer The limits of the timer are 400 ns to 500 seco
143. els specified with default settings The number of levels can be between 1 and 10 when the analyzer is armed by the RUN key In timing analyzers the trigger is always the last level lt number of integer from 1 to 10 levels gt Example OUTPUT XXX MACHINE1 TTRIGGER SEQUENCE 4 Query MACHine 1 2 TTRigger SEQuence The SEQuence query returns the current sequence specification Returned Format MACHine 1 2 TTRigger SEQuence lt number_of_levels gt lt level_of_trigger gt lt NL gt Example OUTPUT XXX MACHINE1 TTRIGGER SEQUENCE 12 18 Command lt sample_period gt TTRigger TTRace Subsystem SPERiod Example Query Returned Format Example SPERiod MACHine 1 2 TTRigger SPERiod lt sample_period gt The SPERiod command allows you to set the sample period of the timing analyzer real number from 4 ns HP 16554A or 2 ns HP 16555A D to 8 ms OUTPUT XXX MACHINE1 TTRIGGER SPERIOD 50E 9 MACHine 1 2 TTRigger SPERiod The SPERiod query returns the current sample period MACHine 1 2 TTRigger SPERiod lt sample_period gt lt NL gt OUTPUT XXX MACHINE1 TTRIGGER SPERIOD 12 19 Command lt N gt lt timer num gt Example Query Returned Format Example TTRigger TTRace Subsystem TCONtrol TCONtrol MACHine 1 2
144. em PRINt 1 7 SYStem SETup 17 2 17 13 TAKenbranch 6 18 8 10 TCONtrol 6 19 12 20 TERM 6 20 12 21 TFORmat 11 4 THReshold 5 18 11 8 TIMER 6 21 12 22 TINTerval AUTorange 16 22 TINTerval QUALifier 16 23 TINTerval TINTerval 16 24 TLISt 14 7 TPOSition 6 22 8 11 12 23 13 24 TTYPe 16 21 TYPE 3 10 VAXis 9 6 TO aa Bee D I Oe DAAAD V JO Ss Jj w EKS lt E Rn ct U gt Y Hi Lo totototototototototo Index 1 Index WIDTh 15 8 WLISt 2 7 4 4 XCONdition 13 26 14 19 XMAR ker 16 15 XPATtern 7 20 13 27 14 20 XSEarch 7 21 13 28 14 21 XTAG 7 22 14 23 XTIMe 4 14 13 29 command set organization 1 8 to 1 11 compare full 10 10 compare partial 10 10 COMPare selector 10 4 COMPare subsystem 10 1 10 3 to 10 12 complex expression 12 10 complex qualifier 6 10 12 11 configuration menu 3 2 COPY command 10 6 count states 6 17 count time 6 17 D DATA 17 4 State 17 11 to 17 12 DATA and SETup Commands 17 1 17 3 to 17 14 data block analyzer 1 data 17 7 analyzer 2 data 17 9 data preamble 17 7 section data 17 6 section header 17 6 DATA command query 10 6 to 10 7 data preamble 17 7 to 17 10 DATA query 7 9 14 9 DBLock selector 2 5 DELay command query 4 5 8 7 13 10 delete symbols 15 8 demux clock 5 6 5 15 difference listing 10 9 display 8 6 8 9 9 5 10 9 13 10 14 7 14 9 deleting waveforms 13 20 E EDGE command query 12
145. er Ji CONTROL Buff 5 Streg 1 KKEKKKKKKKKKKKKKKKKKK SEND TERMINATING LINE FEED KEKKKKKKKKKKKKKKK KK KKK Send the terminating linefeed to properly terminate the data string i OUTPUT Comm i PRINT SENT THE DATA Program complete END 18 22 Index A A B 4 11 13 19 A B 18 18 A B 13 13 ACCumulate command query 8 5 9 4 13 7 ACQMode command query 11 5 ACQuisition command query 6 8 8 5 12 9 13 8 acquisition size 8 8 12 16 13 12 analyzer 1 data information 17 7 analyzer 2 data information 17 9 ARM command query 3 5 ARMLine selector 2 5 ASSign command query 3 6 AUTorange command 16 22 average time 13 23 14 17 16 25 B BASE command 15 5 block data 17 4 block length specifier 17 4 17 5 17 14 BRANch command query 6 9 to 6 10 12 9 to 12 11 BUCKet query 16 8 Cc CARDcage query 1 5 CENTer command 8 6 9 5 13 9 chart display 9 2 Chart menu 9 2 CLEar command 6 11 10 5 12 12 clock 5 9 CLOCk command query 5 6 CLRPattern command 7 8 8 6 13 9 14 8 CLRStat command 8 7 13 9 CMASk command query 10 5 COLumn command query 7 7 14 7 command ACCumulate 8 5 9 4 13 7 ACQMode 11 5 ACQuisition 6 8 12 9 13 8 ARM 3 5 ARMLine 2 5 ASSign 3 6 AUTorange 16 22 BASE 15 5 BRANch 6 9 12 9 CENTer 8 6 9 5 13 9 CLEar 6 11 10 5 CLOCK 5 6 CLRPattern 7 8 8 6 13 9 14 8 CLRStat 8
146. er TAG T e DELay e INSert e LINE e MINus e OSTate e OTIMe e OVERlay e PLUS e RANGe e REMove e XOTime e XSTate e XTIMe M E Figure 41 N WLISt Subsystem Gust vi y DELoy iD gt gt space ei delay value j HE nseri gt space gt ladel_name l ei bit_id LINE gt space line mum mid screen Lal gt LINE MINUS gt space waveform mad Daal waveform Lt module spec OTIMe p m space time value Leg OVERIay space D waveform IN Je waveform ke ei module spec Si PLUS ei space woveform C waveform Leg module_spec space e time range Bi RENE l H r XSTate Leg are R space pls value XTIMe WLIStSubsystem Syntax Diagram 16555503 4 3 Table 4 1 Selector Example WLISt Subsystem WLISt WLISt Subsystem Parameter Values Parameter delay_value module spec bit_id label_name line_num_mid_screen waveform acquisition_spec Value real number between 2500 s and 2500 s 1 213141516171819110 slotwhere master card is installed integer from 0 to 31 string of up to 6 alphanumeric characters integer from 516096 to 516096 HP 16554A or 1040384 to 1040
147. er is matched it will cause the sequencer to jump to the specified sequence level The branch qualifier functions like the else on branch of a sequence level The terms used by the branch qualifier A through J except in 110 MHz mode are defined by the TERM command The meaning of IN_RANGE and OUT_RANGE is determined by the RANGE command Within the limitations shown by the syntax definitions complex expressions may be formed using the AND and OR operators Expressions are limited to what you could manually enter through the State Trigger menu Regarding parentheses the syntax definitions on the next page show only the required ones Additional parentheses are allowed as long as the meaning of the expression is not changed Figure 6 2 shows a complex expression as seen in the State Trigger menu The following statements are all correct and have the same meaning Notice that the conventional rules for precedence are not followed The expressions are evaluated from left to right PUT XXX MACHINE1 STRIGGER BRANCH1 C AND D OR F OR G 1 PUT XXX MACHINE1L STRIGGER BRANCH1 IC AND D OR F OR G 1 PUT XXX MACHINE1 STRIGGER BRANCH1 E OR C AND D OR G 1 lt N gt lt to_level_ number gt lt number_of_ levels gt lt branch_ qualifier gt integer from 1 to lt number_of_levels gt integer from 1 to lt number_of_levels gt integer from
148. er is specified the FIND command specifies the trigger qualifier see SEQuence command The terms A through G and I are defined by the TERM command The meaning of IN_RANGE and OUT_RANGE is determined by the RANGe command The edge terms are defined by the EDGE command Expressions are limited to what you could manually enter through the Timing Trigger menu Regarding parentheses the syntax definitions below show only the required ones Additional parentheses are allowed as long as the meaning of the expression is not changed See figure 12 2 on page 12 11 for a detailed example integer from 1 to the number of existing sequence levels maximum 10 lt qualifier gt see Qualifier on page 12 6 GT LT lt duration_time gt OCCurrence lt occurrence gt greater than 12 14 LT lt duration_ time gt lt occurrence gt Example Query Returned Format Example TTRigger TTRace Subsystem FIND less than real number from 8 ns to 5 00 seconds depending on sample period integer from 1 to 1048575 OUTPUT XXX MACHINE1 TTRIGGER FIND1 ANYSTATE GT 10E 6 OUTPUT XXX MACHINE1 TTRIGGER FIND3 NOTA AND NOTB OR G OCCURRENCE 10 MACHine 1 2 TTRigger FIND4 The FIND query returns the current time qualifier specification for a given sequence level MACHine 1 2 TTRigger FIND lt N gt lt time_qualifier gt
149. es for is determined by the occurrence parameter of the OSE Arch specification relative to the origin An occurrence of 0 places a marker on the selected origin With a negative occurrence the marker searches before the origin With a positive occurrence the marker searches after the origin STARt TRIGger XMARKer integer from 1040384 to 1040384 CHP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 CHP 16555D OUTPUT XXX MACHINE1 TWAVEFORM OSEARCH 10 TRIGGER MACHine 1 2 TWAVeform OSEarch The OSEarch query returns the search criteria for the O marker MACHine 1 2 TWAVeform OSEarch lt occurrence gt lt origin gt lt NL gt OUTPUT XXX MACHINE1 TWAVEFORM OSEARCH 13 17 Command lt time value gt Example Query Returned Format Example Command TW AVeform Subsystem OTIMe OTIMe MACHine 1 2 TWAVeform OTIMe lt time_value gt The OTIMe command positions the O marker in time when the marker mode is TIME If data is not valid the command performs no action real number 2 5 ks to 2 5 ks OUTPUT XXX MACHINE1 TWAVEFORM OTIME 30 0E 6 MACHine 1 2 TWAVeform OTIMe The OTIMe query returns the O marker position in time If data is not valid the query returns 9 937 MACHine 1 2 TWAVeform OTIMe lt time_value gt lt NL gt OUTPUT XXX MACHI
150. evaluation and therefore are optional e An expression must map into the combination logic presented in the combination pop up menu within the TTRigger menu I AT RORB IA ORB ADC A ORB AND C AND IN _RANGE2 A ORB AND C AND IN _RANGEI IN_RANGE AND A OR B AND C TTRigger TTRace MACHine 1 2 TTRigger The TTRigger TTRace Timing Trigger selector is used as a part of a compound header to access the settings found in the Timing Trigger menu It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree OUTPUT XXX MACHINE1 TTRIGGER TAG TIME TTRigger TTRace Subsystem ACQuisition ACQuisition Command MACHine 1 2 TTRigger ACQuisition AUTOmatic MANual The ACQuisition command allows you to specify the acquisition mode for the timing analyzer Example OUTPUT XXX MACHINE1 TTRIGGER ACQUISITION AUTOMATIC Query MACHine 1 2 TTRigger ACQuisition The ACQuisition query returns the current acquisition mode specified Returned Format MACHine 1 2 TTRigger ACQuisition AUTOmatic MANual lt NL gt Example OUTPUT XXX MACHINE1 TTRIGGER ACQUISITION BRANch Command MACHine 1 2 TTRigger BRANch lt N gt lt branch_qualifier gt lt to_level_number gt The BRANch command defines the branch qualifier for a given sequence level When
151. firmware designated by Hewlett Packard for use with an instrument will execute its programming instructions when properly installed on that instrument Hewlett Packard does not warrant that the operation of the instrument software or firmware will be uninterrupted or error free 1 n sr mos lt Limitation of Warranty The foregoing warranty shall not apply to defects resulting from improper or inadequate maintenance by the Buyer Buyer supplied software or interfacing unauthorized modification or misuse operation outside of the environmental specifications for the product or improper site preparation or maintenance No other warranty is expressed or implied Hewlett Packard specifically disclaims the implied warranties of merchantability or fitness for a particular purpose Exclusive Remedies The remedies provided herein are the buyer s sole and exclusive remedies Hewlett Packard shall not be iable for any direct indirect special incidental or consequential damages whether based on contract ort or any other legal theory Assistance Product maintenance agreements and other customer assistance agreements are available for Hewlett Packard products For any assistance contact your nearest Hewlett Packard Sales Office Certification Hewlett Packard Company certifies that this product met its published specifications at he time of shipment from the factory Hewlett Packard
152. gic analyer display OUTPU 707 MACHINE1 SLIST COLUMN 1 SCOUNT DECIMAL OUTPU 707 MENU 2 7 OUTPUT 707 MACHINE1 SLIST LINE 16 18 8 TA SH SES fags CS JER SEP Da a a OO a st EH ER SC Programming Examples Making a State Compare Analyzer Measurement Making a State Compare Analyzer Measurement This program example acquires a state listing copies the listing to the compare listing acquires another state listing and compares both listings to find differences This program is written so that you can run it with the HP E2433 60004 Logic Analyzer Training Board This example is the same as the State Compare example in chapter 3 of the HP E2433 Logic Analyzer Training Kit KKKKKKKKKKK STATI for the H Fy D D Ikkkkkkik SELECT THE COMPARE EXAMP LE kkkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkkkxkkkkkxkxkkkxk 16554A HP 16555A HP 16555D Logic Analyzer HP 16554A HP 16555A HP 16555D MODULE Select the slot in which the module is installed In this example OUTPUT 707p SELECT I it is in slot B of the mainframe Qu lL AKKKKK KK KK KK KK CONFIGURE THE Name Machine 1 STATI STATE analyzer and assign pod 1 to Machine 1 l OUTPUT 707 MACHINE1 NAME STATE OUTPUT 707 MACHINE1 TYPE COMPARE OUTPUT 707 MACHINE1 ASSIGN 1
153. gs 60 END 16 14 SPA Subsystem OVERView XM ARker OVERView XMARker Command SPA 1 2 OVERView XMARker lt x_pattern gt The OVERView XMARker command sends the X marker to the lower boundary of the bucket where the specified pattern is located A request to place the marker outside the defined boundary forces the marker to the appropriate end bucket A query returns the pattern associated with the lower end of the bucket where the marker is placed lt x_pattern gt B O 1 QO OI1TI21 3 41 5 617 1 H O LIZ 3 4 516171819 AIBICIDIE F O1 1 2 3 4 51 6 7 819 3 Example OUTPUT XXX SPA2 OVERView XMARker H3C31 Query SPA 1 2 OVERView XMARker Returned Format SPA 1 2 OVERView XMARker lt x_pattern gt lt NL gt Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 OVERView XMARker 40 ENTER XXX Strings 50 PRINT String 60 END 16 15 Query Returned Format lt range number gt lt number hits gt Example SPA Subsystem HISTogram HS Tatistic HISTogram HSTatistic SPA 1 2 HISTogram HSTatistic TOTal OTHer lt range_number gt The HISTogram HSTatistic query returns the total number of samples or returns the number of samples in the specified range Specify TOTal for the total number of samples OTHer for the number of hits in other range or lt range_n
154. gt lt bit_id gt OVERlay ALL The INSert command inserts waveforms in the timing waveform display The waveforms are added from top to bottom up to a maximum of 96 waveforms Once 96 waveforms are present each time you insert another waveform it replaces the last waveform Time correlated waveforms from the oscilloscope and another logic analyzer module can also be inserted in the logic analyzer s timing waveforms display Oscilloscope waveforms occupy the same display space as three logic analyzer waveforms When inserting waveforms from the oscilloscope or another logic analyzer module the optional first parameter must be used which is the module specifier 1 through 10 corresponds to modules A through J If you do not specify the module the selected module is assumed The second parameter specifies the label name that will be inserted The optional third parameter specifies the label bit number overlay or all Ifa number is specified only the waveform for that bit number is added to the screen If you specify OVERIay all the bits of the label are displayed as a composite overlaid waveform If you specify ALL all the bits are displayed sequentially If you do not specify the third parameter ALL is assumed 1 2 3 4 15 617 8 9 110 string of up to 6 alphanumeric characters integer from 0 to 31 OUTPUT XXX WLIST INSERT 3 WAVE 9 4 6 Command lt module spec gt lt label name gt Exa
155. h 256 for pod pair 3 4 of the master card and bytes 257 through 260 for pod pair 1 2 of the master card The number of valid rows for other pod pairs is contained in bytes 213 through 252 A one card configuration has the following data arrangement per row lt clk pod 1 gt lt pod 4 gt lt pod 3 gt lt pod 2 gt lt pod 1 gt A two card configuration has the following data arrangement per row RES SE expansion card gt lt master Cards gt lt clk 1 gt lt pod 4 gt lt pod 3 gt lt pod 2 gt lt pod 1 gt lt pod 4 gt lt pod 3 gt lt pod 2 gt lt pod 1 gt A three card configuration has the following data arrangement per row lt high expander gt lt lower expander gt lt master card gt lt clk 1 gt lt pod 4 gt lt pod 1 gt lt pod 4 gt lt pod 1 gt lt pod 4 gt lt pod 1 gt If the data block is unloaded without first using the DBLock command to specify UNPacked data this data block description does not apply Unused pods always have data however it is invalid and should be ignored 17 11 Byte Position 591 593 594 595 596 597 598 599 Byte n DATA and SETup Commands Acquisition Data Description The depth of the data array is equal to the pod with the greatest number of rows of valid data If a pod has fewer rows of valid data than the data array unused rows will contain invalid data that should be ignored The clock pod contains data mapped according to the
156. h tags HP 16555A D 10 conventional timing data on all channels 13 conventional timing data on half channels State data includes data acquired by State Compare and SPA machine types There is no change in the data format Byte Position 37 Example 41 45 49 53 Example DATA and SETup Commands Data Preamble Description 4 bytes List of pods in this analyzer where a binary 1 indicates that the corresponding pod is assigned to this analyzer bit 31 bit 30 bit 29 bit 28 bit 27 bit 26 bit 25 bit 24 unused unused unused unused unused unused unused unused bit 23 bit 22 bit 21 bit 20 bit 19 bit 18 bit 17 bit 16 unused unused kond unused unused unused unused unused bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 unused unused unused Pod 12 Pod 11 Pod 10 Pod 9 Pod 8 bit 7 bit 6 bit5 bit 4 bit 3 bit 2 bit 1 bit 0 Pod7 Pod 6 Pod5 Pod 4 Pod 3 Pod 2 Pod 1 unused XXXX XXXX xx1x xxxx xxx0 0000 0001 111x indicates that data pods 1 through 4 and clock pod 1 are assigned to this analyzer x unused 4 bytes Master chip for this analyzer 4 bytes Maximum hardware memory depth available for this analyzer 4 bytes Unused 8 bytes Sample period in picoseconds timing only The following 64 bits represent a sample period of 8 000 picoseconds 8 nanoseconds 00000000 00000000 00000000 00000000 00000000 00000000 00011111 01000000 17 8 DATA and SETup Commands Data
157. he controller back to the logic analyzer The configuration data will set up the logic analyzer according to the data It is useful for getting configurations for setting up the logic analyzer by the controller The SYSTem SETup command differs from the SYSTem DATA command because it only transfers the configuration and not acquired data kkkkkkkkkkk SETUP COMMAND AND QUERY EXAMPLE amp xxxxkkkkkkkkkkkkkk kk for the HP 16554A HP 16555A HP 16555D KKKKKKKKKKKKKK CREATE TRANSEF ER BUFFER KKEKKKKKKKKKKKKKKKKKK KK KKK Create a buffer large enough for the block data See Sending Queries to the Logic Analyzer for how to calculate buffer size for data This buffer is only big enough for setup information ASSIGN Buff TO BUFFER 320000 i i KKKKKKK KKKKKKKKK INITIALIZE HPIB DEFAULT ADDRESS KKEKKKKKKKKKKKK KK KK KKK REAL Address Address 7 07 ASSIGN Comm TO Address CLEAR SCRE EN i KKKKKKK KER KK TNTITIALIZE VARIABLE FOR NUMBER OF BYTES KEREKEKRE KKK KARK The variable Numbytes contains the number of bytes in the buffer Numbytes KKKKKKK REAL Numbytes 0 FR RER RE INITIALIZE TRANSFER BUFFER POINTERS ERKKI KANSKE KKR CONTROL Buff 3 1 CONTROL Buff 4 0 18 14 3 DD GA GA GA DD GA GA RD N DN O OO AJ On DG GA h i COW OO Xx CO OO OO OO OO OO OO OO OO OO OO cO OO OO c
158. he HP 16500 16501A Programmer s Guide CARDcage Query The CARDcage query returns a string of integers which identifies the modules that are installed in the mainframe The returned string is in two parts The first five two digit numbers identify the card type The identification number for the HP 16554A and HP 16555A D logic analyzers is 34 A 1 in the first part of the string indicates no card is installed in the slot The five single digit numbers in the second part of the string indicate which card has the controlling software for the module that is where the master card is located MAGA 1 1 84 2525107 05 5 A returned string of 12 11 1 1 34 2 2 0 0 5 means that an oscilloscope time base card ID number 11 is loaded in slot B and the oscilloscope acquisition card ID number 12 is loaded in slot A The next two slots C and D are empty 1 Slot E contains a logic analyzer module ID number 34 The next group of numbers 2 2 0 0 5 indicate that a two card module is installed in slots A and B with the master card in slot B The 0 indicates an empty slot or the module software is not recognized or is not loaded The last digit 5 in this group indicates a one card module is loaded in slot E Complete information for the CARDcage query is in the HP 16500 16501A Programmer s Guide 1 5 Programming the HP 16554A HP 16555A HP 16555D M ainframe Commands MENU Command query The MENU command selects a new d
159. he transfer buffer pointer 1 CONTROL Buff 5 Streg 1 KKEKKKKKKKKKKK KK KKKKK SEND TERMINATING LINE FEED KKEKKKKKKKKKKKKKKK KK KKK Send the terminating linefeed to properly terminate the setup string i OUTPUT Comm I PRINT SENT THE SETUP Program complete END 18 17 E OB DBD DB BB Ba COO WMATA URW 4 TS Gy RO E SD E HEDT EE ECK KDE E E EE ECH ECK E EC E ECKE KEDE SCH 52 53 54 55 56 57 58 59 60 61 62 63 64 65 Programming Examples Checking for Measurement Completion Checking for Measurement Completion This program can be appended to or inserted into another program when you need to know when a measurement is complete If it is at the end ofa program it will tell you when measurement is complete If you insert it into a program it will halt the program until the current measurement is complete In this example the module installed in slot B is being checked for measurement complete This program is also in the state analyzer example program in Making a State Analyzer Measurement on page 18 5 It is included in the state analyzer example program to show how it can be used in a program to halt the program until measurement is complete KKK KK KK KKKKKK KK KKK CHECK FOR MEASUREMENT COMPLETE kkkkkkkkkkkkkkkkkkkkkk Enable the MESR register and query the register for a measurement omplete condition ae PU J
160. ils of the WLISt subsystem are in chapter 4 OUTPUT XXX WLIST OTIME 40 0E 6 2 7 Part 2 MACHine Subsystem WLISt Subsystem SFORmat Subsystem STRigger STRace Subsystem SLISt Subsystem SWAVeform Subsystem SCHart Subsystem COMPare TFORmat Subsystem TTRigger TTRace Subsystem TWAVeform Subsystem TLISt Subsystem SYMBol Subsystem SPA Subsystem DATA and SETup Commands Commands MACHine Subsystem Introduction The MACHine subsystem contains the commands that control the machine level of operation of the logic analyzer Some of the functions are normally found in the Trigger menu These commands are e ARM e LEVelarm The functions of three of these commands reside in the State Timing Configuration menu These commands are e ASSign e NAME e TYPE Even though the functions of the following commands reside in the Format menu they are at the machine level of the command tree and are therefore located in the MACHine subsystem These commands are e REName e RESource M ACHine Subsystem Figure 3 1 a eS yr y MACHine ARM space j arm source gt LG Lee space pod list gt Si ASSIGN gt LEVelarm Le space arm level gt gt LEVelarm gt AME space j machine name ei ee Cer REName Lei space res id Lei Linen texi
161. in the MESR and a zero disables the bit Query Returned Format lt N gt lt status gt Example Programming the HP 16554A HP 16555A HP 16555D MESR lt N gt MESR lt N gt MESR lt N gt The MESR lt N gt query returns the contents of the Module Event Status register When you read the MESR the value returned is the total bit weights of all bits that are set at the time the register is read Reading the register clears the Module Event Status Register Table 1 3 shows each bit in the Module Event Status Register and its bit weight for this module The parameter 1 through 10 refers to the module in slot A through J respectively MESR lt N gt lt status gt lt NL gt 1 2 3 4 5 6 7 8 9 10 number of slot in which the module resides integer from 0 to 255 10 OUTPUT XXX MESR5 20 ENTER XXX Mer 30 PRINT Mer 40 END Table 1 3 Programming the HP 16554A HP 16555A HP 16555D MESR lt N gt Module Event Status Register Bit Weight Condition 7 128 Not used 6 64 Not used 5 32 Not used 4 16 Not used 3 8 1 One or more pattern searches failed 0 Pattern searches did not fail 2 4 1 Trigger found 0 Trigger not found 1 2 1 Run until satisfied 0 Run until not satisfied 0 1 1 Measurement complete 0 Measurement not complete Module Level Commands Introduction The logic analyzer module level commands access the global functions of th
162. ine_number gt Example COM Pare Subsystem FIND FIND MACHine 1 2 COMPare FIND lt diff_occurrence gt The FIND query is used to get the line number of a specified difference occurrence first second third etc within the current compare range as dictated by the RANGe command A difference is counted for each line where at least one of the current labels has a discrepancy between its acquired state data listing difference listing and its compare data image reference listing Invoking the FIND query updates both the Listing and Compare displays so that the line number returned is in the center of the screen If lt diff_occurrence gt is greater than the number of differences the query returns the last difference and the associated line number MACHine 1 2 COMPare FIND lt difference_occurrence gt lt line_number gt lt NL gt integer from 1 to 122880 CHP 16554A or 253952 CHP 16555A or 507904 HP 16555D integer from 122880 to 122880 CHP 16554A or 253951 to 253951 HP 16555A or 507903 to 507903 HP 16555D OUTPUT XXX MACHINE2 COMPARE FIND 26 10 8 COM Pare Subsystem LINE LINE Command MACHine 1 2 COMPare LINE lt line num gt The LINE command allows you to center the compare listing display about a specified line number The Listing menu also changes so that the specified line is displayed midscreen lt line_num gt integer from 122880 to 122880
163. ing analyzer measurement This example can be used with 2422 60004 Logic Analyzer Training board to acquire and display the output of the ripple counter It can also be modified to make any timing analyzer measurement KKK KK KK KKKK KKK KKK K TIMING ANALYZER EXAMPLE KKK K KK KKKK KK KK KK KK for the HP 16554A HP 16555A HP 16555D Logic Analyzer KEKKK KK KK KKK KKK KKK KKK KKK KKK KK KK KK KK KK KK KK KK KK KK KK KK KKKK KK KK KKK Select the module slot in which the HP 16554A HP 16555A D is installed In this example it is in slot B of the mainframe TPUT 707 SELECT 2 KEKKK KK KK KK KK KK KK KKK KKK KK KK KK KK KK KK KK KK KK KK KK KKKKKK KK KK KK KK KKK Name Machine 1 TIMING configure Machine 1 as a timing analyzer and assign pod 1 to Machine 1 PUT 707 MACH1 NAME TIMING PUT 707 MACH1 TYPE TIMING PUT 707 MACH1 ASSIGN 1 kkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkkxkxkxkxkxkxkxkxkkxkkxkxkxkxkxkxkxkxkkxkxkxkkkkxkxkxkxkxkkxkkkxkkkxkxkx Make a label COUNT give the label a positive polarity and assign the lower 8 bits TPUT 707 MACHINE1 TFORMAT REMOVE ALL TPUT 707 MACH1 TFORMAT LABEL COUNT POS 0 0 B0000000011111111 KEKKK KK KK KK KK KK KKK KKK KKK KKK KK KK KK KK KKK KKK KK KK KK KK KK KKKK KK KK KKK Specify FF hex for resource term A which is the default trigger term for the timing analyzer TPUT 707 MACH1 TTR
164. isition_spec gt 1 2 lt acquisition_ A B C D E F G H I J slot where acquisition card is located spec gt Example OUTPUT XXX MACHINE1 TWAVEFORM PLUS 1 Al A2 13 19 Command lt time range gt Example Query Returned Format Example Command Example TW AVeform Subsystem RANGe RANGe MACHine 1 2 TWAVeform RANGe lt time_value gt The RANGe command specifies the full screen time in the timing waveform menu It is equivalent to ten times the sec Div setting on the display The allowable values for RANGe are from 10 ns to 10 ks real number between 10 ns and 10 ks OUTPUT XXX MACHINE1 TWAVEFORM RANGE 100E 9 MACHine 1 2 TWAVeform RANGE The RANGe query returns the current full screen time MACHine 1 2 TWAVeform RANGe lt time_value gt lt NL gt OUTPUT XXX MACHINE1 TWAVEFORM RANGE REMove MACHine 1 2 TWAVeform REMove The REMove command deletes all waveforms from the display OUTPUT XXX MACHINE1 TWAVEFORM REMOVE 13 20 TW AVeform Subsystem RUNTII RUNTi Command MACHine 1 2 TWAVeform RUNTil run until spec gt The RUNTi run until command defines stop criteria based on the time between the X and O markers when the trace mode is in repetitive When OFF is selected the analyzer will run until either the STOP touch screen fie
165. isplayed menu The first parameter X specifies the desired module The optional second parameter specifies the desired menu in the module The second parameter defaults to 0 if it is not specified The query returns the currently selected and displayed menu For the HP 16554A HP 16555A HP 16555D Logic Analyzers e X 0 State Timing e X 8 Listing 2 Configuration e X 9 Mixed Display e X 1 Format 1 e X 10 Compare 1 e X 2 Format 2 e X 11 Compare 2 e X 3 Trigger 1 e X 12 Chart 1 e X 4 Trigger 2 e X 13 Chart 2 e X 5 Waveform 1 e X 14 SPA1 e X 6 Waveform 2 e X 15 SPA2 e X 7 Listing 1 If a machine is turned off its menus are not available The Mixed Display is available only when one or both analyzers are state analyzers SELect Command query The SELect command selects which module or intermodule will have parser control SELect 0 selects the intermodule SELect 1 through 5 selects modules A through E respectively Values 1 and 2 select software options Land 2 The SELect query returns the currently selected module STARt Command The STARt command starts the specified module If the specified module is configured for intermodule group run STARt will start all modules configured as part of the intermodule run 1 6 Programming the HP 16554A HP 16555A HP 16555D Mainframe Commands STOP Command The STOP command stops the specified module If the specified module
166. ist_cmds N tint_cmds S WLISt Lei gt wei enge 16555501 HISTogram TINTerval Module Level Syntax Diagram 2 3 Table 2 1 M odule Level Commands Module Level Parameter Values Parameter machine num arm parm assign parm level parm name parm rename parm res parm type parm sformat cmds strace cmds slist cmds swaveform_cmds schart_cmds compare_cmds tformat_cmds ttrace_cmds twaveform_cmds tlist_cmds symbol_cmds mode_parm overv_cmds hist_cmds tint_cmds Wlist_cmds Type of Parameter or Command MACHine 1 2 arm parameters assignment parameters level parameters name parameters rename parameters resource parameters type parameters state format subsystem commands state trace subsystem commands state list subsystem commands state waveform subsystem commands state chart subsystem commands compare subsystem commands timing format subsystem commands timing trace subsystem commands timing waveform subsystem commands timing listing subsystem commands symbol subsystem commands SPA mode parameters SPA overview commands SPA histogram commands SPA time interval commands waveforms listing commands Reference see chapter 3 see chapter 3 see chapter 3 see chapter 3 see chapter 3 see chapter 3 see chapter 3 see chapter 5 see chapter 6 see chapter 7 see chapter 8 see chapter 9 see chapter 10 see chapter 11 see chapter 12 see
167. it selects a branch directly below the MACHine level in the command tree OUTPUT XXX MACHINE1 TLIST LINE 256 COLumn MACHine 1 2 TLISt COLumn lt col_num gt lt module_num gt MACHine 1 2 lt label_name gt lt base gt The COLumn command configures the timing analyzer listing by assigning a label name and base to one of the 61 vertical columns in the menu A column number of 1 refers to the leftmost column When a label is assigned to a column it replaces the original label in that column To insert time values use the label name TAGS When the label name is TAGS the next parameter must specify RELative or ABSolute A label for tags must be assigned in order to use ABSolute or RELative time tagging integer from 1 to 61 1 2 3141516171819110 a string of up to 6 alphanumeric characters BINary HEXadecimal OCTal DECimal TWOS ASCii SYMBol for labels or ABSolute RELative for time Example Query Returned Format Example Command Example TLISt Subsystem CLRPattern OUTPUT XXX MACHINE1 TLIST COLUMN 4 2 A HEX MACHine 1 2 TLISt COLumn lt col_num gt The COLumn query returns the column number data source label name and base for the specified column MACHine 1 2 TLISt COLumn lt col_num gt lt module_num gt MACHine 1 2 lt label_name gt lt base gt lt NL gt OUTPUT XXX MACHINE1 TLI
168. k do not perform any service unless qualified to do so Do not attempt internal service or adjustment unless another person capable of rendering first aid and resuscitation is present e If you energize this instrument by an auto transformer for voltage reduction make sure the common terminal is connected to the earth terminal of the power source e Whenever it is likely that the ground protection is impaired you must make the instrument inoperative and secure it against any unintended operation e Do not operate the instrument in the presence of flammable gasses or fumes Operation of any electrical instrument in such an environment constitutes a definite safety hazard e Do not install substitute parts or perform any unauthorized modification to the instrument e Capacitors inside the instrument may retain a charge even if the instrument is disconnected from its source of supply e Use caution when exposing or handling the CRT Handling or replacing the CRT shall be done only by qualified maintenance personnel Safety Symbols A Instruction manual symbol the product is marked with this symbol when it is necessary for you to refer to the instruction manual in order to protect against damage to the product Hazardous voltage symbol Earth terminal symbol Used to indicate a circuit common connected to grounded chassis WARNING The Warning sign denotes a hazard It calls attentio
169. kxkxkxkxkxkxkxkxkxkxkkxkxkkxkxkkxkxkkxkxkkkkkxkkx k Place the logic analyzer in single acquisition mode the acquisition is complete OUTPUT 707 RMODE SINGLE OUTPUT 707 CLS OUTPUT 707 START then determin when KKKKKKKKKKKKK KK KKK CHECK FOR MEASUR Enable the MESR register and query complete condition EMENT COMPLETE FADER OFF OUTPUT 707 SYSTEM H OUTPUT 707 SYSTEM LONGFORM OFF Status 0 OUTPUT 707 MESE2 1 OUTPUT 707 MESR2 ENTER 707 Status 1 Print the MESR register status CLEAR SCREEN PRINT Measurement complete status is PRINT 0 not complete 1 complet Status AND 1 Repeat the MESR query until measurement is complete WAIT 1 the register for a measurement kkkkkkkkkkk KK KKK 18 7 1170 1180 1190 1200 1210 1220 12 30 1240 1250 1260 1270 1280 1290 1300 Programming Examples Making a State Analyzer Measurement IF Status AND 1 1 THEN GOTO 1190 GOTO 1070 PRINT TABXY 30 15 Measurement is complete i kkxkxkxkxkxkxkkxkxkxkxkxkkxkxkxkxkkkxkxxkxx k VIEW THE RESULTS kkkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkkkxkxkxkxkkkxxkx k Display the State Listing and select a line number in the listing that allows you to see the beginning of the listing on the lo
170. lated A B A minus B oscilloscope waveforms on the screen The first parameter is the module specifier where the oscilloscope module resides where 1 through 10 refers to slots A through J The next two parameters specify which waveforms will be subtracted from each other M INus only inserts oscilloscope waveforms It cannot be used with analyzer waveforms 1 2 3 4 51617 8 9 10 Glot where master card is located string containing lt acquisition_spec gt 1 2 A B C D E F G H I Jd slot where acquisition card is located OUTPUT XXX WLIST MINUS 1 Al A2 Query Returned Format lt state num gt Example Command lt time value gt Example WLISt Subsystem OSTate OSTate WLISt OSTate The OSTate query returns the state where the O Marker is positioned If data is not valid the query returns 2147483647 WLISt OSTate lt state_num gt lt NL gt integer OUTPUT XXX WLIST OSTATE OTIMe WLISt OTIMe lt time_value gt The OTIMe command positions the O Marker on the timing waveforms in the mixed mode display If the data is not valid the command performs no action real number OUTPUT XXX WLIST OTIME 40 0E 6 4 9 Query Returned Format Example Command lt module spec gt lt waveform gt lt acquisition_ spec gt Example WLISt Subsystem OVERIay WLISt OTIMe The OTIMe
171. ld is touched or the STOP command is sent Run until time between X and O marker options are e Less Than LT a specified time value e Greater Than GT a specified time value e In range INRange between two time values e Out of range OUTRange between two time values End points for INRange and OUTRange should be at least 2 ns apart since this is the minimum time at which data is sampled This command affects the timing analyzer only and has no relation to the RUNTil commands in the SLISt and COMPare subsystems lt run_until_ OFF LT lt value gt GT lt value gt INRange lt value gt spec gt lt value gt OUTRange lt value gt lt value gt lt value gt real number Example OUTPUT XXX MACHINE1 TWAVEFORM RUNTIL GT 800 0E 6 OUTPUT XXX MACHINE1 TWAVEFORM RUNTIL INRANGE 4 5 5 5 Query MACHine 1 2 TWAVeform RUNTil The RUNTil query returns the current stop criteria Returned Format MACHine 1 2 TWAVeform RUNTil lt run_until_spec gt lt NL gt Example OUTPUT XXX MACHINE1 TWAVEFORM RUNTIL 13 21 Command lt sample_period gt Example Query Returned Format Example TW AVeform Subsystem SPERiod SPERiod MACHine 1 2 TWAVeform SPERiod lt sample_period gt The SPERiod command allows you to set the sample period of the timing analyzer real number from 4 ns HP 16554A or 2 ns
172. lid the query returns 9 9E37 Returned Format MACHine 1 2 TLISt OTAG lt time_value gt lt NL gt Example OUTPUT XXX MACHINE1 TLIST OTAG REMove Command MACHine 1 2 TLISt REMove The REMove command removes all labels except the leftmost label from the listing menu Example OUTPUT XXX MACHINE1 TLIST REMOVE 14 15 Command lt run until spec gt lt value gt Example Query Returned Format Example TLISt Subsystem RUNTil RUNTil MACHine 1 2 TLISt RUNTil run until spec gt The RUNT il run until command allows you to define a stop condition when the run mode is repetitive Specifying OFF causes the analyzer to make runs until either the display s STOP field is touched or the STOP command is issued There are four conditions based on the time between the X and O markers These four conditions are as follows e The difference is less than LT some value e The difference is greater than GT some value e The difference is inside some range INRange e The difference is outside some range OUTRange End points for INRange and OUTRange should be at least 2 ns apart since this is the minimum time between samples OFF LT lt value gt GT lt value gt INRange lt value gt lt value gt OUTRange lt value gt lt value gt real number from 9E9 to 9E9 OUTPUT XXX MACHINE1 TLIST RUNTIL GT 800
173. llows you to set the voltage threshold for a given pod to ECL TTL or a specific voltage from 6 00 V to 6 00 V in 0 05 volt increments an integer from 1 to 12 indicating pod number real number between 6 00 to 6 00 default value of 1 6 V default value of 1 3 V OUTPUT XXX MACHINE1 SFORMAT THRESHOLD1 4 0 MACHine 1 2 SFORmat THReshold lt N gt The THReshold query returns the current threshold for a given pod MACHine 1 2 SFORmat THReshold lt N gt lt value gt lt NL gt OUTPUT XXX MACHINE1 SFORMAT THRESHOLD4 STRigger STRace Subsystem Introduction The STRigger subsystem contains the commands available for the State Trigger menu in the HP 16554A HP 16555A HP 16555D logic analyzer modules The State Trigger subsystem will also accept the STRace selector as used in previous HP 16500 Series logic analyzer modules to eliminate the need to rewrite programs containing STRace as the selector keyword The STRigger subsystem commands are e ACQuisition e BRANch e CLEar e FIND e MLENgth e RANGe e SEQuence e STORe e TAG e TAKenbranch e TCONtrol e TERM e TIMER e TPOSition STRigger STRace Subsystem Figure 6 1 f Ca gt stRigger gt vi J ACouisition Is space AUTOmatic Ll MANual Si ACQuisition Si Lei panercn gt space e branch qualifier ei ei to_level_num eg Ze BRANch lt N gt Get D CLEar space ALL P ED eae s
174. ly Terms H and J are not available unless the machine is configured as a state analyzer running in NORMal mode If you send the TERM command to a machine with a term that has not been assigned to that machine an error message Legal command but settings conflict is returned A B C D E F G H I J string of up to 6 alphanumeric characters B O 1 X O OI1I2 314 51 617 X H O 1L 2 314151617 8 91AIBICIDIE F X COWL 2 TS Ao GT BO e ze EI OUTPUT XXX MACHINE1 STRIGGER TERM A DATA 255 H OUTPUT XXX MACHINE1 STRIGGER TERM B ABC BXXXX1101 6 20 Query Returned Format Example Command lt time value gt Example Query Returned Format Example STRigger STRace Subsystem TIMER MACHine 1 2 STRigger TERM lt term id gt lt label name gt The TERM query returns the specification of the term specified by term identification and label name MACHine 1 2 STRAce TERM lt term_id gt lt label_name gt lt pattern gt lt NL gt OUTPUT XXX MACHINE1 STRIGGER TERM B DATA TIMER MACHine 1 2 STRigger TIMER 1 2 lt time_value gt The TIMER command sets the time value for the specified timer The limits of the timer are 400 ns to 500 seconds in 16 ns to 500 us increments The increment value varies with the time value of the specified timer There are
175. m OTHer INCLuded EXCLuded The HISTogram OTHer command selects including or excluding the other histogram bucket A query returns data indicating whether the other bucket is currently included or excluded OUTPUT XXX SPA2 HISTogram OTHer INCLuded OUTPUT XXX SPA1 HISTogram OTHer EXCLuded SPA 1 2 HISTogram OTHer SPA 1 2 HISTogram OTHer INCLuded EXCLuded lt NL gt 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 HISTogram OTHer 40 ENTER XXX String 50 PRINT Strings 60 END 16 18 Command lt label name gt lt pattern gt Example Query Returned Format Example SPA Subsystem HISTogram QUALifier HISTogram QUALifier SPA 1 2 HISTogram QUALifier lt label name gt lt pattern gt The HISTogram QUALifier command sets the pattern associated with the specified label The pattern is a condition for triggering and storing the measurement A query of a label returns the current pattern setting for that label string of up to 6 alphanumeric characters B O 1 O OILIZIZ14151 617 1 H OI1LI2 31 4 5 617 8 9 AIBICIDIE F Ol1 2 3 4 516 7 819 3 OUTPUT XXX SPA2 HISTogram QUALifier A 255 SPA 1 2 HISTogram QUALifier lt label_name gt SPA 1 2 HISTogram QUALifier lt label_name gt lt pattern gt lt NL gt
176. me as the one shown in the listing display MACHine 1 2 SLISt DATA lt line_number gt lt label_name gt lt pattern_string gt lt NL gt integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 CHP 16555D string of up to 6 alphanumeric characters B O 1 X O OILTIZIZ141516171X e er I H O 1 2 3 4 51 617 8 91AIBICIDIE F X LOU FITS PRL SE OF ze HI OUTPUT XXX MACHINE1 SLIST DATA 512 RAS LINE MACHine 1 2 SLISt LINE lt line_num_mid_screen gt The LINE command allows you to scroll the state analyzer listing vertically The command specifies the state line number relative to the trigger The analyzer highlights the specified line at the center of the screen integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 CHP 16555D OUTPUT XXX MACHINE1 SLIST LINE 0 Query Returned Format Example Command lt marker mode gt Example SLISt Subsystem MMODe MACHine 1 2 SLISt LINE The LINE query returns the line number for the state currently in the box at the center of the screen MACHine 1 2 SLISt LINE lt line_num_mid_screen gt lt NL gt OUTPUT XXX MACHINE1 SLIST LINE MMODe MACHine 1 2 SLISt MMODe lt marker_mode gt The MMODe command Marker Mode selec
177. mpare Listing template This makes the current acquisition the reference listing It does not affect the compare range or channel mask settings OUTPUT XXX MACHINE2 COMPARE COPY DATA MACHine 1 2 COMPare DATA lt label_name gt lt line_num gt lt data_pattern gt lt line_num gt lt data_pattern gt lt data_pattern gt The DATA command allows you to edit the compare listing image for a given label and state row When DATA is sent to an instrument where no compare image is defined such as at power up all other data in the image is set to don t cares Not specifying the lt label_name gt parameter allows you to write data patterns to more than one label for the given line number The first pattern is placed in the leftmost label with the following patterns being placed ina left to right fashion as seen on the Compare display Specifying more patterns than there are labels simply results in the extra patterns being ignored Because don t cares Xs are allowed in the data pattern it must always be expressed as a string You may still use different bases but don t cares cannot be used in a decimal number 10 6 COM Pare Subsystem DATA lt label_name gt a string of up to 6 alphanumeric characters lt line_num gt integer from 122880 to 122880 HP 16554A or 253951 to 253951 HP 16555A or 507903 to 507903 HP 16555D lt data_pattern gt B O 1 X
178. mple Command lt line num mid screen gt Example W LIStSubsystem LINE Inserting Oscilloscope Waveforms WLISt INSert lt module spec gt lt label name gt This inserts a waveform from an oscilloscope to the timing waveforms display 1 2 3141516 71819110 slot in which master card is installed string of one alpha and one numeric character identical to that on the oscilloscope waveform display OUTPUT XXX WLIST INSERT 3 C1 LINE WLISt LINE lt line_num_mid_screen gt The LINE command allows you to scroll the timing analyzer listing vertically The command specifies the state line number relative to the trigger The analyzer then highlights the specified line at the center of the screen integer from 516096 to 516096 HP 16554A or 1040384 to 1040384 HP 16555A or 2080768 to 2080768 HP 16555D OUTPUT XXX WLIST LINE 0 Query Returned Format Example Command lt module spec gt lt waveform gt lt acquisition_ spec gt Example WLISt Subsystem MINus WLISt LINE w J The LINE query returns the line number for the state currently in the data listing roll box at center screen WLISt LINE lt line_num_mid_screen gt lt NL gt OUTPUT XXX WLIST LINE MINus WLISt MINus lt module spec gt lt waveform gt lt waveform gt The MINus command inserts time corre
179. mple TLISt Subsystem XSTate MACHine 1 2 TLISt XSEarch The XSEarch query returns the search criteria for the X marker MACHine 1 2 TLISt XSEarch lt occurrence gt lt origin gt lt NL gt OUTPUT XXX MACHINE1 TLIST XSEARCH XSTate MACHine 1 2 TLISt XSTate The XSTate query returns the line number in the listing where the X marker resides If data is not valid the query returns 2147483647 MACHine 1 2 TLISt XSTate lt state_num gt lt NL gt 2147483647 or integer from 1040384 to 1040384 CHP 16554A or from 2088960 to 2088960 CHP 16555A or from 4177920 to 4177920 HP 16555D OUTPUT XXX MACHINE1 TLIST XSTATE 14 22 Command lt time value gt Example Query Returned Format Example TLISt Subsystem XTAG XTAG MACHine 1 2 TLISt XTAG lt time_value gt The XTAG command specifies the tag value on which the X marker should be placed The tag value is always time for the timing analyzer If the data is not valid tagged data no action is performed real number OUTPUT XXX MACHINE1 TLIST XTAG 40 0E 6 MACHine 1 2 TLISt XTAG The XTAG query returns the X marker position in time regardless of whether the marker was positioned in time or through a pattern search If data is not valid tagged data the query returns 9 9E37 MACHine 1 2 TLISt XTAG lt time_value gt lt NL gt OUTPUT
180. n t cares X are allowed in the pattern value it must always be expressed as a string The values may be in binary B octal Q hexadecimal H or decimal default Don t cares cannot be used ina decimal number string of up to 6 alphanumeric characters string of up to 16 alphanumeric characters B O 1 X O OILIZI3Z141516171X H O 1 2 314 51617 8 91AIBICIDIE F X LOLEI21IS4 S16 7 PSP ae Hi OUTPUT XXX MACHINE1 SYMBOL PATTERN STATT MEM_RD HO1Xx 15 6 Command lt labe lt symbo 1 name gt 1 name gt lt start value gt lt stop value gt Example SYM Bol Subsystem RANGe RANGe MACHine 1 2 SYMBol RANGe label name gt lt symbol name gt lt start value gt lt stop value gt The RANGe command allows you to create a range symbol containing a start value and a stop value for the specified label The values may be in binary HB octal Q hexadecimal H or decimal default You can not use don t cares in any base string of up to 6 alphanumeric characters string of up to 16 alphanumeric characters B O 1 Q01011121314 5 6 7 I 4H 0 1 213 4 5 6 7 8 9 A B C D E FE Ol1 2 3 4 516 7 819 eler FN OUTPUT XXX MACHINE1 SYMBOL RANGE STAT TO_ACC 0 HOOOF 15 7 Command Example Command lt label name gt lt width value gt Example SYM
181. n to a procedure practice or the like which if not correctly performed or adhered to could result in personal injury Do not proceed beyond a Warning sign until the indicated conditions are fully understood and met CAUTION The Caution sign denotes a hazard It calls attention to an operating procedure practice or the like which if not correctly performed or adhered to could result in damage to or destruction of part or all of the product Do not proceed beyond a Caution symbol until the indicated conditions are fully understood or met Hewlett Packard P O Box 2197 1900 Garden of the Gods Road Colorado Springs CO 80901 Product Warranty This Hewlett Packard product has a warranty against defects in material and workmanship for a period of one year from date of shipment During the warranty period Hewlett Packard Company will at its option either repair or replace products that prove to be defective For warranty service or repair this product must be returned to a service facility designated by Hewlett Packard or products returned to ewlett Packard for warranty ervice the Buyer shall repay shipping charges to lewlett Packard and ewlett Packard shall pay ipping charges to return he product to the Buyer Iowever the Buyer shall pay all shipping charges duties and taxes for products returned to Hewlett Packard from another country Hewlett Packard warrants that its software and
182. nds Byte Position 1 11 de 13 DATA and SETup Commands Section Header Description Section Header Description Because block data may contain multiple sections this description numbers bytes beginning at the section header The initial 10 bytes of the block length specifier and any other sections are not included in the numbering The section header uses bytes 1 through 16 this manual begins counting at 1 there is no byte 0 The 16 bytes of the section header are as follows 10 bytes Section name DATA space space space space space space in ASCII for the DATA instruction 1 byte Reserved 1 byte Module ID 34 decimal for the HP 16554A and HP 16555A D master boards and 35 for expander boards 4 bytes Length of block in bytes that when converted to decimal specifies the number of bytes contained in the data block Section Data For the SYSTem DATA query when DBLock mode is UNPacked the lt section data gt parameter consists of two parts the data preamble and the acquisition data These are described in the following two sections When DBLock mode is set to PACKed the format is highly configuration dependent Because of the complexity and because it may be changed without notice it is not described here Use UNPacked format for data you wish to post process and PACKed data for measurements you may want to load back into the analyzer module later 17 6 Byte Position 17 2L
183. nds in 16 ns to 500 us increments The increment value varies with the time value of the specified timer real number from 400 ns to 500 seconds in increments which vary from 16 ns to 500 us OUTPUT XXX MACHINE1 TTRIGGER TIMER1 100E 6 MACHine 1 2 TTRigger TIMER 1 2 The TIMER query returns the current time value for the specified timer MACHine 1 2 TTRigger TIMER 1 2 lt time_value gt lt NL gt OUTPUT XXX MACHINE1 TTRIGGER TIMER1 12 22 TTRigger TTRace Subsystem TPOSition TPOSition Command MACHine 1 2 TTRigger TPOSition STARt CENTer END DELay lt time_val gt POSTstore lt poststore gt The TPOSition trigger position command allows you to set the trigger at the start center end or at any position in the trace poststore Poststore is defined as 0 to 100 percent with a poststore of 100 percent being the same as start position and a poststore of 0 percent being the same as an end trace The DELay mode can be used to set the time between the trigger point and the start of the trace causing the trace to begin after the trigger point lt time_val gt real number from either 2 x sample period or 16 ns whichever is greater to 516096 x sample period HP 16554A or 1040384 x sample period HP 16555A D lt poststore gt integer from 0 to 100 representing percentage of poststore Example OUTPUT XXX MACHINE1 TT
184. nizer specification relative to the origin An occurrence of 0 places the marker on the selected origin With a negative occurrence the marker searches before the origin With a positive occurrence the marker searches after the origin integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D TRIGger STARt XMARKer OUTPUT XXX MACHINE1 SLIST OSEARCH 10 TRIGGER Query Returned Format Example Query Returned Format lt state num gt Example SLISt Subsystem OSTate MACHine 1 2 SLISt OSEarch The OSEarch query returns the search criteria for the O marker MACHine 1 2 SLISt OSEarch lt occurrence gt lt origin gt lt NL gt OUTPUT XXX MACHINE1 SLIST OSEARCH OSTate MACHine 1 2 SLISt OSTate The OSTate query returns the line number in the listing where the O marker resides If data is not valid the query returns 2147483647 MACHine 1 2 SLISt OSTate lt state_num gt lt NL gt integer from 516096 to 516096 or 2147483647 HP 16554A or from 1040384 to 1040384 or 2147483647 HP 16555A or from 2080768 to 2080768 or 2147483647 HP 16555D OUTPUT XXX MACHINE1 SLIST OSTATE Command lt time value gt lt state value gt Example Query Returned Format Example SLISt Subsystem OTAG OTAG MACHin
185. nsion card in a three card module Bytes 233 through 236 contain the number of valid rows of data for pod 3 of either the expansion card in a two card module or a middle cardslot expansion card in a three card module Bytes 237 through 240 contain the number of valid rows of data for pod 2 of either the expansion card in a two card module or a middle cardslot expansion card in a three card module 17 9 Byte Position Example DATA and SETup Commands Data Preamble Description Bytes 241 through 244 contain the number of valid rows of data for pod 1 of either the expansion card in a two card module or a middle cardslot expansion card in a three card module Bytes 245 through 248 contain the number of valid rows of data for pod 4 of the master card Bytes 249 through 252 contain the number of valid rows of data for pod 3 of the master card Bytes 253 through 256 contain the number of valid rows of data for pod 2 of the master card Bytes 257 through 260 contain the number of valid rows of data for pod 1 of the master card 88 bytes The trigger point location for each pod organized in the same way as the data rows bytes 173 260 These rows start at 0 which represents the first sample stored for a pod Bytes 345 through 348 contain the trigger location for pod 1 If bytes 341 and 344 contain the value 101008 the data in row 101008 for that pod is the trigger There are 101008 rows of pre trigger data 234 b
186. ntil the trigger is found COUNT HFEF OUTPUT 707 MACHINE1 STRIGGER SEQUENCE 2 1 OUTPUT 707 MACHINE1 STRIGGER TERM A S OUTPUT 707 MACHINE1 STRIGGER STORE1 NOSTATE OU OU OU OU PUT 707 MENU 2 3 KEKKK KK KK KK KK KK KK KKKKKKKKKKKKK KKK KK KKK Change the displayed menu to the state analyzer in repetitive mod PUT 707 MENU 2 7 PUT 707 RMODE REPETITIVE PUT 707 START kkk kk kkkkkk kk kkkkkk kk kk kkkkkk KK KK KKKKK kkkkkkkkkkk kk kkkkkk RR KKK listing and start the state kkkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkkxxk xxk The logic analyzer is now running in the repetitive mod and will remain in repetitive until the STOP command is sent PRINT The logic analyzer is now running PRINT and will remain in repetitive unt PRINT PRINT Press CONTINUE PAUSE in the repetitive mode il the STOP command is sent Ikxkx xkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkkxkxkxkkxkxkxkxkxkxkxkkxkkkxkxkkxkkxkxkxkkxkkkxkxkxkxkxkxkkkxkkkkkkxkxkx k OU OU OU OU Stop the acquisition and copy the acqu Listings PUT 707 STOP PUT 707 MENU 2 10 ired data to the compare reference PUT 707 MACHINE1 COMPARE MENU REFER PUT 707 MACHINE1 COMPARE COPY T The logic analyzer acquistion is now s is displayed
187. number is an integer representing time in picoseconds If the tag value is a state tag the number is an integer state count The total size of the tag array is 8 or 16 bytes per row times the greatest number of valid rows SYSTem SETup SYStem SETup lt block data gt The SYStem SETup command configures the logic analyzer module as defined by the block data sent by the controller It is not affected by DBLock There are three data sections which are always returned The strings which are included in the section header are CONFIG We DISPLAY1 d BIG ATTRIB 17 13 lt block data gt lt block length specifier lt length gt lt section gt lt section header gt lt section data gt Example Query Returned Format DATA and SETup Commands SYSTem SETup Additionally the following sections may also be included depending on what is available SYMBOLS A SYMBOLS B INVASM A INVASM B lt block length specifier gt lt section gt 8 lt length gt the total length of all sections in byte format must be represented with 8 digits lt section header gt lt section data gt 16 bytes in the following format 10 bytes for the section name 1 byte reserved 1 byte for the module ID code 84 for the HP 16554A and HP 16555A D logic analyzer 4 bytes for the length of the section data in bytes format depends on the type of data The total length of a section is 16 for
188. ogic analysis system generates an Argument out of range error NONE lt pod gt lt pod gt an integer from 1 to 12 This example assigns pod pairs 1 2 and 5 6 to machine 1 OUTPUT XXX MACHINE1 ASSIGN 5 2 1 MACHine 1 2 ASSign The ASSign query returns which pods are assigned to the current analyzer machine MACHine 1 2 ASSign lt pod_list gt lt NL gt OUTPUT XXX MACHINE1 ASSIGN 3 6 M ACHine Subsystem LEVelarm LEVelarm Command MACHine 1 2 LEVelarm lt arm_level gt The LEVelarm command allows you to specify the sequence level for a specified machine that will be armed by the Intermodule Bus or the other machine This command is only valid if the specified machine is on and the arming source is not set to RUN with the ARM command lt arm_level gt integer from 1 to 11 representing sequence level Example OUTPUT XXX MACHINE1L LEVELARM 2 Query MACHine 1 2 LEVelarm The LEVelarm query returns the current sequence level receiving the arming for a specified machine Returned Format MACHine 1 2 LEVelarm lt arm_level gt lt NL gt Example OUTPUT XXX MACHINE1 LEVELARM 3 7 Command lt machine name gt Example Query Returned Format Example Command M ACHine Subsystem NAME NAME MACHine 1 2 NAME machine name gt The NAME command all
189. on VRUNs XCONdition XOTime XPATIern XSEarch XTIMe 16555817 HP 16554A HP 16555A HP 16555D Command Tree 1 9 Table 1 1 Programming the HP 16554A HP 16555A HP 16555D Command Set Organization Alphabetical Command to Subsystem Directory Command ACCumulate ACQM ode ACQuisition ARM ARM Line ASSign AUTorange BASE BRANch BUCKet CENter CLEar CLOCk CLRP attern CLRStat CMASk COLumn COPY DATA DB Lock DELay EDGE FIND HAXis HIGH HISTatistic HISTogram INSert LABel LEVelarm LINE LOW MASTer MENU MINus M LEN gth MM ODe MODE Where Used SCHart SWAVeform TWAVeform TFORmat STRigger SWAVeform TTRigger TWAVeform MACHine Module Level Commands MACHine SPA SYMBol STRigger TTRigger SPA SCHart SWAVeform TWAVeform COM Pare STRigger TTRigger SFORmat SLISt SWAVeform TLISt TWAVeform SWAVeform TWAVeform COM Pare SLISt TLISt COM Pare COM Pare SLISt TLISt Module Level Commands SWAVeform TWAVeform WLISt TTRigger COM Pare STRigger TTRigger SCHart SPA SPA SPA SWAVeform TWAVeform WLISt SFORmat SPA TFORmat MACHine COM Pare SLISt TLISt WLISt SPA SFORmat COM Pare TWAVeform WLISt SPA STRigger SW AVeform TTRigger TWAVeform SLISt TLISt TWAVeform SPA Command MOP Qual MQUal NAME OCONdition OMARker OPATtern OSEarch OSTate OTAG OTHer OTIMe OVERIay OVERView OVSTatistic PATTern PLUS QUALifier RANGe REMove REName
190. or 80 Mbytes HP 16555D in a three card configuration The SYSTem DATA section describes each part of the block data as it appears when used by the DATA instruction when DBLock is set to UNPacked The beginning byte number the length in bytes and a short description is given for each part of the block data This is intended to be used primarily for processing of data in the controller This description is for data downloaded in UNPacked format Data sentto a controller with the DBLock mode set to PACKed can be reloaded into the analyzer It is highly configuration dependent and so is not documented for post processing Data sent to a controller with the DBLock mode set to UNPacked cannot be reloaded into the analyzer 17 2 DATA and SETup Commands Data Format Data Format To understand the format of the data within the block data there are four important things to keep in mind e Data is sent to the controller in binary form e Each byte as described in this chapter contains 8 bits e The first bit of each byte is the MSB most significant bit e Byte descriptions are printed in binary decimal or ASCII depending on how the data is described Example The first ten bytes that describe the section name contain a total of 80 bits as follows Byte 1 Byte 10 Binary 0100 0100 0100 0001 0101 0100 0100 0001 0010 0000 0010 0000 MSB LSB Decimal 68 65 84 65 32 32 32 32 32 32 ASCII DATA space space spac
191. ows you to assign a name of up to 10 characters to a particular analyzer machine for easier identification Spaces are valid characters string of up to 10 alphanumeric characters OUTPUT XXX MACHINE1 NAME DRAM TEST MACHine 1 2 NAME z J The NAME query returns the current analyzer name as an ASCII string MACHine 1 2 NAME lt machine name gt lt NL gt OUTPUT XXX MACHINE1 NAME REName MACHine 1 2 REName lt res_id gt lt new_text gt DEFault The REName command allows you to assign a specific name of up to eight characters to terms A through J Range 1 and 2 Timer 1 and 2 and Edge 1 and 2 The terms do not have to be assigned to the specified machine The DEFault option sets all resource term names to the default names assigned when turning on the instrument lt res id gt lt new text gt lt state terms gt Example Query Returned Format Example Command lt res id gt lt state terms gt M ACHine Subsystem RESource lt state_terms gt H J for state analyzer lt state_terms gt EDGE 1 2 for timing analyzer string of up to 8 alphanumeric characters A B C D E F G I RANGel RANGe2 TIMerl TIMer2 OUTPUT XXX MACHINE1 RENAME A DATA MACHine 1 2 RENAME lt res_id gt The REName query returns the current names for specified terms assign
192. p label name al LINE Ir space line num mid screen Sei LINE Leg MMODe a space OFF PATTern MMODe gt Le oco dition J space ENTering Si EXITing OCONdition od OPA Ttern e space label name gt i L lletel pattern c tim OPA Tiern J space H label name Si 16555516 y TLISt Subsystem Syntax Diagram 14 3 TLISt Subsystem Figure 14 1 continued y OSEarch ei space L NE wm TRIGger Har occurrence a STARt XMARKer OSEarch OSTate vl OTAG J space j time value OTAG REMove He He RUNTI e space m run until spec RUNTIl TAVerage TMAXimum TMINimum Wi TLISt Subsystem Syntax Diagram continued 16555S17 wf TLISt Subsystem Figure 14 1 continued Y VRUNs H XCONdition space ENTering EXITing XCONdition gt Lena Tier Pee space Hr label_name Je label pattern Let e xPATtern om space Hr label name P Le xSEarch RES space H r occurrence ri Linger ra XSEarch Leg xT AG space re time value Lal 16555818 TLISt Subsystem Syntax Diagram continued
193. pace H r proceed qualifier Led gt occurrence FIND lt N gt i al space rf memory length gt MLENgth gt e RANGe lt N gt Sei space Hr label name ri D start pattern TT br e stop pattern rr RANGe lt N gt z gt SEQuence E space mum of levels ei D lev of trig SEQuence Lal space Ht store_qualifier ee y 16555506 y STRigger Subsystem Syntax Diagram STRigger STRace Subsystem Figure 6 1 continued y STORe lt N gt TAG pl space gt OFF H state tag qualifier AG Leg Lei AKenbranch Led space NOSTore AKenbranch TCoNtrol lt n gt Led space t r mer mum 9 9 y CONTinue Sei TCONtrol lt N gt gt Gei ERM Le space rei term_id ei e abel_name Lei Lei pattern H r Gei ERM Le space j term_id Lei abel_name TIMER lt timer_rum gt gt space j timer_value gt IMER lt timer_num gt ei POSition space STARt gt CENTer END Poststore eC ei post value TPOSition S 16555520
194. pecify a master clock operation qualifier 1 AND 2 1 2 where 2 indicates qualifier pair 3 4 AND OR OUTPUT XXX MACHINE1 SFORMAT MOPQUAL 1 AND MACHine 1 2 SFORmat MOPQual lt clock_pair_id gt The MOPQual query returns the operation qualifier specified for the master clock MACHine 1 2 SFORmat MOPQUal lt clock_pair_id gt lt qual_operation gt lt NL gt OUTPUT XXX MACHinel SFORMAT MOPQUAL 1 Command lt qual num gt lt clock id gt lt qual level gt Example Query Returned Format Example SFORmat Subsystem M QUal MQUal MACHine 1 2 SFORmat MQUal lt qual_num gt lt clock_id gt lt qual_level gt The MQUal master qualifier command allows you to specify the level qualifier for the master clock 1121314 J K L M OFF LOW HIGH OUTPUT XXX MACHINE2 SFORMAT MQUAL 1 J LOW MACHine 1 2 SFORmat MQUal lt qual_num gt The MQUal query returns the qualifier specified for the master clock MACHine 1 2 SFORmat MQUal lt qual_level gt lt NL gt OUTPUT XXX MACHINE2 SFORMAT MQUAL 1 Command lt name gt Example Command SFORmat Subsystem REMove REMove MACHine 1 2 SFORmat REMove lt name gt ALL The REMove command allows you to delete all labels or any one label for a given machine string of up to 6 alphanumeric characters OUTPUT XXX MACHINE1 SFORMAT REMOVE AT OUTPUT
195. positioned If data is not valid the query returns 2147483647 Returned Format WLISt XSTate lt state_num gt lt NL gt lt state_num gt integer Example OUTPUT XXX WLIST XSTATE WLISt Subsystem XTIMe XTIMe Command WLISt XTIMe lt time_value gt The XTIMe command positions the X Marker on the timing waveforms in the mixed mode display If the data is not valid the command performs no action lt time_value gt real number Example OUTPUT XXX WLIST XTIME 40 0E 6 Query WLISt XTIMe The XTIMe query returns the X Marker position in time If data is not valid the query returns 9 9E37 Returned Format WLISt XTIMe lt time_value gt lt NL gt Example OUTPUT XXX WLIST XTIME SFORmat Subsystem Introduction The SFORmat subsystem contains the commands available for the State Format menu in the HP 16554A HP 16555A HP 16555D logic analyzer modules These commands are e CLOCk e LABel e MASTer e MODE e MOPQual e MQUal e REMove e SETHold e SLAVe e SOPQual e SQUal e THReshold 5 2 SFORmat Subsystem Figure 5 1 SFORmat J me CLOCK lt N gt space gt MASTer al DEMultiplex LABEL space label name gt i Daa polarity aie clock_bits Lt Je upper _bits Lei ei lower _bits a LABel ei space abel name Leg Lei baier ei space Sei clock_id gt J
196. pression2f gt lt expression2g gt lt expression2h gt lt boolean_op gt TTRigger TTRace Subsystem Qualifier Qualifier The qualifier for the timing trigger subsystem can be terms A through G and I Timer 1 and 2 Range 1 and 2 and Edge 1 and 2 In addition qualifiers can be the NOT boolean function of terms timers and ranges The qualifier can also be an expression or combination of expressions as shown below and figure 12 2 Complex Qualifier on page 12 11 The following parameters show how qualifiers are specified in all commands of the TTRigger subsystem that use lt qualifier gt ANYSTATE NOSTATE lt expression gt lt expressionla gt lt expressionlb gt lt expressionla gt OR lt expressionlb gt lt expressionla gt AND lt expressionlb gt lt expressionla_term gt lt expressionla_term gt OR lt expressionla_term gt lt expressionla_term gt AND lt expressionla_term gt lt expressionlb_term gt lt expressionlb_term gt OR lt expressionlb_term gt lt expressionlb_term gt AND lt expressionlb_term gt lt expression2a gt lt expression2b gt lt expression2c gt lt expression2d gt lt expression2e gt lt expression2f gt lt expression2g gt lt expression2h gt lt term3a gt lt term3b gt lt term3a gt lt boolean_op gt lt term3b gt lt term3c gt lt range3a gt lt term3c gt lt boolean_op gt lt range3
197. query returns the O Marker position in time If data is not valid the query returns 9 937 WLISt OTIMe lt time_value gt lt NL gt OUTPUT XXX WLIST OTIME OVERlay WLISt OVERlay lt module_number gt lt label gt lt label gt The OVERIay command overlays two or more oscilloscope waveforms and adds the resultant waveform to the current waveform display The first parameter of the command syntax specifies which slot contains the oscilloscope time base card The next parameters are the labels of the waveforms that are to be overlaid Overlay only inserts oscilloscope waveforms It cannot be used with analyzer waveforms 1 2 31 4 51617 8 9 10 Glot where master card is located string containing lt acquisition_spec gt 1 2 A B C D E F G H I Jd slot where acquisition card is located OUTPUT XXX WLIST OVERLAY 3 C1 B1 Command lt module spec gt lt waveform gt lt acquisition_ spec gt Example WLISt Subsystem PLUS PLUS WLISt PLUS lt module_spec gt lt waveform gt lt waveform gt The PLUS command inserts time correlated A B oscilloscope waveforms on the screen The first parameter specifies which slot is the oscilloscope module 1 through 10 refers to slots A through J The next two parameters specify which waveforms will be added to each other PLUS only inserts oscilloscope waveforms It cannot be used with analyzer wa
198. r samples through the maximum system memory depth minus 8192 states Memory depth is affected by acquisition mode If the lt memory_depth gt value sent with the command is not a legal value the closest legal setting will be used 4096 8192 16384 32768 65536 131072 262144 516096 HP 16554A 524288 1040384 HP 16555A 524288 1048576 2080768 HP 16555D Example Query Returned Format Example Command lt number of samples gt Example Query Returned Format Example SW AVeform Subsystem RANGe OUTPUT XXX MACHINE1 SWAVEFORM MLENGTH 262144 MACHine 1 2 SWAVeform MLENgth The MLENgth query returns the current analyzer memory depth selection MACHine 1 2 SWAVeform MLENgth lt memory_length gt lt NL gt OUTPUT XXX MACHINE1 SWAVEFORM MLENGTH RANGe MACHine 1 2 SWAVeform RANGe lt number_of_samples gt The RANGe command allows you to specify the number of samples across the screen on the State Waveform display It is equivalent to ten times the states per division setting states Div on the front panel A number between 10 and 5000 may be entered integer from 10 to 5000 OUTPUT XXX MACHINE2 SWAVEFORM RANGE 80 MACHine 1 2 SWAVeform RANGE The RANGe query returns the current range value MACHine 1 2 SWAVeform RANGe lt number_of_samples gt lt NL gt OUTPUT XXX
199. re selector is used as part of a compound header to access the settings found in the Compare menu It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree OUTPUT XXX MACHIN E1l COMPARE FIND 819 10 4 Command Example Command lt label name gt lt care spec gt Example COM Pare Subsystem CLEar CLEar MACHine 1 2 COMPare CLEar The CLEar command clears all don t cares in the reference listing and replaces them with zeros except when the CLEar command immediately follows the SET command see SET command OUTPUT XXX MACHINE2 COMPARE CLEAR CMASk MACHine 1 2 COMPare CMASk lt label_name gt lt care__spec gt The CMASk Compare Mask command allows you to set the bits in the channel mask for a given label in the compare listing image to compares or don t compares The CMASk query returns the state of the bits in the channel mask for a given label in the compare listing image a string of up to 6 alphanumeric characters string of characters 82 characters maximum care don t care OUTPUT XXX MACHINE2 COMPARE CMASK DATA Command Example Command COM Pare Subsystem COPY COPY MACHine 1 2 COMPare COPY The COPY command copies the current acquired State Listing for the specified machine into the Co
200. rex j mod num label name gt RUNTI je space LS run until spec m RUNTil TAVerage TMAXimum VRUNs XOTAG I TAverage Grama Y Leiner B SLISt Subsystem Syntax Diagram continued 16555507 A 7 4 Figure 7 1 continued H ex XOTime SLISt Subsystem H XPATtern D space H label name ir label pattern H XPATtern e space label_name xSEarch Ip space j occurrence ei XSEarch ex XSTate p gt T RIGger STARt ext ac space E time_value state_value XTAG SLISt Subsystem Syntax Diagram continued 16555508 7 5 Table 7 1 SLISt Subsystem SLISt Subsystem Parameter Values Parameter mod_num col_num line_number label_name base line_num_mid_screen label_pattern occurrence time_value state value run until spec value Value 112131415161718 9110 integer from 1 to 61 integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D a string of up to 6 alphanumeric characters BINary HEXadecimal OCTal DECimal TWOS ASCii SYMBol IASSembler forlabels or ABSolute RELative for tags integer from 516096 to 516096 HP 16554A or from
201. rm SPA SLISt TLISt SLISt TLISt TWAVeform WLISt SLISt TLISt TWAVeform SLISt TLISt TWAVeform SLISt TLISt WLISt SLISt TLISt TWAVeform WLISt Figure 1 2 Programming the HP 16554A HP 16555A HP 16555D Module Status Reporting Module Status Reporting Each module reports its status to the Module Event Status Register MESR lt N gt which in turn reports to the Combined Event Status Register CESR in the HP 16500 16501A mainframe see HP 16500 16501A Programmer s Guide chapter 6 The Module Event Status Register is enabled by the Module Event Status Enable Register MESE lt N gt The MESE lt N gt and MESR lt N gt instructions are not used in conjunction with the SELect command so they are not listed in the HP 16554A HP 16555A HP 16555D s command tree The following descriptions of the MESE lt N gt and MESR lt N gt instructions provide the module specific information needed to enable and interpret the contents of the registers Module Event Module Status Register Combined Event Status Register Mainframe Y Status Byte Register 16500 BL23 Module Status Reporting Command lt N gt lt enable mask gt Example Query Returned Format Example Programming the HP 16554A HP 16555A HP 16555D MESE lt N gt MESE lt N gt MESE lt N gt lt enable_mask gt The MESE lt N gt command sets the Modul
202. rns the current acquisition mode MACHine 1 2 SWAVeform ACQuisition AUTOmatic MANual lt NL gt OUTPUT XXX MACHINE2 SWAVEFORM ACQUISITION CENTer MACHine 1 2 SWAVeform CENTer lt marker_type gt The CENTer command allows you to center the waveform display about the specified markers The markers are placed on the waveform in the SLISt subsystem X O XO TRIGger OUTPUT XXX MACHINE1 SWAVEFORM CENTER X CLRPattern MACHine 1 2 SWAVeform CLRPattern X O ALL The CLRPattern command allows you to clear the marker patterns in the selected Specify Patterns menu OUTPUT XXX MACHINE SWAVEFORM CLRPATTERN 8 6 Command Example Command lt number of samples gt Example Query Returned Format Example SW AVeform Subsystem CLRStat CLRStat MACHine 1 2 SWAVeform CLRStat The CLRStat command allows you to clear the waveform statistics without having to stop and restart the acquisition OUTPUT XXX MACHINE1 SWAVEFORM CLRSTAT DELay MACHine 1 2 SWAVeform DELay lt number_of_samples gt The DELay command allows you to specify the number of samples between the State trigger and the horizontal center of the screen for the waveform display integer from 516096 to 516096 CHP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 CHP 16555D
203. rval time TOTal total number of samples TTOTal overall total time of all interval samples lt interval_number gt number of hits in given interval If TMINimum TMAXaximum TAVErage or TTOTal are not currently valid the real value 9 9E37 is returned SPA 1 2 TINTerval TSTatistic TMINimum TMAXimum TAVerage TOTal lt time_number gt TOTal lt interval_number gt lt number_hits gt lt NL gt Oto7 integer number real number 10 20 30 40 50 60 DIM String 100 OUTPUT XXX SELECT 1 OUTPUT XXX SPA1 TINTerval TSTatistic 3 ENTER XXX String PRINT String END 16 25 16 26 17 DATA and SETup Commands Introduction The DATA and SETup commands are SYSTem commands that allow you to send and receive block data between the HP 16554A HP 16555A or HP 16555D and a controller Use the DATA instruction to transfer acquired timing and state data and the SETup instruction to transfer instrument configuration data This is useful for e Re loading to the logic analyzer e Processing data later e Processing data in the controller This chapter explains how to use these commands The format and length of block data depends on the instruction being used the configuration of the instrument and the amount of acquired data The length of the data block can be as big as 20 Mbytes HP 16554A 40 Mbytes HP 16555A
204. s Sael 8l9 AIB CI D I B F X Heckt BF 15 4 Selector Example Command lt label name gt lt base value gt Example SYM Bol Subsystem SYM Bol SYMBol MACHine 1 2 SYMBol The SYMBol selector is used as a part of a compound header to access the commands used to create symbols It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree OUTPUT XXX MACHINE1 SYMBOL BASE DATA BINARY BASE MACHine 1 2 SYMBol BASE lt label_name gt lt base_value gt The BASE command sets the base in which symbols for the specified label will be displayed in the symbol menu It also specifies the base in which the symbol offsets are displayed when symbols are used BINary is not available for labels with more than 20 bits assigned In this case the base will default to HEXadecimal string of up to 6 alphanumeric characters BINary HEXadecimal OCTal DECimal ASCii OUTPUT XXX MACHINE1 SYMBOL BASE DATA HEXADECIMAL Command lt label name gt lt symbol name gt lt pattern_value gt Example SYM Bol Subsystem PATTern PATTerm MACHine 1 2 SYMBol PATTern lt label_name gt lt symbol_name gt lt pattern_value gt The PATTern command allows you to create a pattern symbol for the specified label Because do
205. s 60 END 16 11 Command lt memory length gt Example Query Returned Format Example SPA Subsystem OVERView M LEN gth OVERView MLENgth SPA 1 2 OVERView MLENgth lt memory_length gt The MLENgth command specifies the memory depth Valid memory depths range from 4096 states or samples through the maximum system memory depth minus 8192 states HP 16554A HP 16555A or minus 16384 states HP 16555D Memory depth is affected by acquisition mode If the lt memory_depth gt value sent with the command is not a legal value the closest legal setting will be used 4096 8192 16384 32768 65536 131072 262144 516096 HP 16554A 524288 1040384 HP 16555A 524288 1048576 2080768 HP 16555D OUTPUT XXX SPA1 OVERVIEW MLENGTH 262144 SPA 1 2 OVERView MLENgth The MLENgth query returns the current analyzer memory depth selection SPA 1 2 OVERView MLENgth lt memory_length gt lt NL gt OUTPUT XXX SPA1 OVERVIEW MLENGTH 16 12 SPA Subsystem OVERView ON ARker OVERView OMARker Command SPA 1 2 OVERView OMARker lt o_pattern gt The OVERView OMARker command sends the O marker to the lower boundary of the bucket where the specified pattern is located A request to place the marker outside the defined boundary forces the marker to the appropriate end bucket A query
206. s information on the SYSTem DATA and SYSTem SETup commands for this module TTRigger TTRace Subsystem TWAVeform Subsystem TLISt Subsystem ea ES A iii Part 3 chapter 18 contains program examples of actual tasks that show you how to get started in programming the HP 16554A and HP 16555A D logic analyzers These examples are written in HP BASIC 6 2 however the program concepts can be used in any other popular programming language Error messages for the HP 16554A and HP 16555A D are included in generic system error messages and are in the HP 16500 16501A Programmer s Guide SYM Bol Subsystem SPA Subsystem 7 DATA and SETup Commands Programming Examples Index lels e vi Part 1 1 Part 2 Contents General Information Programming the HP 16554A HP 16555A HP 16555D Selecting the Module 1 3 Programming the Logic Analyzer 1 3 Mainframe Commands 1 5 Command Set Organization 1 8 Module Status Reporting 1 12 MESE lt N gt 1 18 MESR lt N gt 1 15 Module Level Commands ARMLine 2 5 DBLock 2 5 MACHine 2 6 SPA 2 7 WLISt 2 7 Commands MACHine Subsystem MACHine 3 4 ARM 3 5 ASSign 3 6 LEVelarm 3 7 NAME 3 8 REName 3 8 RESource 3 9 TYPE 3 10 Contents 1 Contents 4 WLISt Subsystem WLISt 4 4 DELay 4 5 INSert 4 6 LINE 4 7 MINus 4 8 OSTate 4 9 OTIMe 4 9 OVERIlay 4 10 PLUS 4 11 RANGe 4 12 REMove 4 12 XOTime 4 13 XSTate 4 13 XTIMe 4 14 5 SFORmat Subsystem
207. t DELay space number of samples DELay INSert Sei space O label_name _id w space memory_length MLENgth RANGe space Si range_values RER RANGE REMove gd jooogadade SS et space vi STORe Chi TAKenbranch pa TPOSition et space STAR END POSTstore a e percent TPOSition SWAVeform Subsystem Syntax Diagram 16555509 Table 8 1 Selector Example SW AVeform Subsystem SWAVeform SW AVeform Subsystem Parameter Values Parameter number_of_samples label_name bit_id bit_num range_values mark_type percent memory_length Value integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D string of up to 6 alphanumeric characters OVERlay lt bit_num gt ALL integer representing a label bit from 0 to 31 integer from 10 to 5000 representing 10 x states Division X O XO TRIGger integer from 0 to 100 4096 8192 16384 32768 65536 131072 262144 516096 HP 16554A only 524288 1040384 HP 16555A only 524288 1048576 2080768 HP 16555D only SWAVeform MACHine 1 2 SWAVeform The SWAVeform State Waveform selector is used as part of a compound header to access the settings in the State Wa
208. t lt label_pattern gt lt NL gt OUTPUT XXX MACHINE1 TWAVEFORM XPATTERN A 13 27 Command lt origin gt lt occurrence gt Example Query Returned Format Example TW AVeform Subsystem XSEarch XSEarch MACHine 1 2 TWAVeform XSEarch lt occurrence gt lt origin gt The XSEarch command defines the search criteria for the X marker The criteria are then used with the associated XPATtern specification and the XCONdition when moving markers on patterns The origin parameter tells the marker to begin a search from the trigger or start The occurrence parameter determines which occurrence of the XPATtern recognizer specification relative to the origin the marker actually searches for An occurrence of 0 places a marker on the origin TRIGger STARt integer from from 1040384 to 1040384 CHP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 HP 16555D OUTPUT XXX MACHINE1 TWAVEFORM XSEARCH 10 TRIGGER MACHine 1 2 TWAVeform XSEarch lt occurrence gt lt origin gt The XSEarch query returns the search criteria for the X marker MACHine 1 2 TWAVeform XSEarch lt occurrence gt lt origin gt lt NL gt OUTPUT XXX MACHINE1 TWAVEFORM XSEARCH 13 28 Command lt time value gt Example Query Returned Format Example TW AVeform Subsystem X
209. tat The CLRStat command allows you to clear the waveform statistics without having to stop and restart the acquisition OUTPUT XXX MACHIN El TWAV EFORM CLRSTAT Command lt delay value gt Example Query Returned Format Example TW AVeform Subsystem DELay DELay MACHine 1 2 TWAVeform DEL ay lt delay_value gt The DELay command specifies the amount of time between the timing trigger and the horizontal center of the the timing waveform display The allowable values for delay are 2500 s to 2500 s real number between 2500 s and 2500 s OUTPUT XXX MACHINE1 TWAVEFORM D ELAY 100E 6 MACHine 1 2 TWAVeform DEL ay The DELay query returns the current time offset delay value from the trigger MACHine 1 2 TWAVeform DELay lt time_value gt lt NL gt ELAY OUTPUT XXX MACHINE1 TWAVEFORM D 13 10 Command lt module spec gt lt label name gt lt bit 1d gt Example TW AVeform Subsystem INSert INSert MACHine 1 2 TWAVeform INSert lt module_spec gt lt label_name gt lt bit_id gt OVERlay ALL The INSert command inserts waveforms in the timing waveform display The waveforms are added from top to bottom up to 96 waveforms Once 96 waveforms are present each time you insert another waveform it replaces the last waveform Time correlated
210. te PRINT CHR Byte Byte Byte 48 IF Byte 1 THE F ER Comm USING D Numbytes IF Byte 2 THEN ENTER Comm USING DD Numbytes IF Byte 3 THEN E ER Comm USING DDD Numbytes IF Byte 4 THEN ENTER Comm USING DDDD Numbytes IF Byte 5 THEN E ER Comm USING DDDDD Numbytes IF Byte 6 THEN ENTER Comm USING DDDDDD Numbytes IF Byte 7 THEN ENTER Comm USING DDDDDDD Numbytes IF Byte 8 THEN ENTER Comm USING DDDDDDDD Numbytes Str1S DVALS Numbytes 10 DVALS returns an 11 character string PRINT Str1 12 Byte 18 20 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 TS 76 77 78 79 80 81 82 821 83 85 86 87 92 93 94 95 96 97 98 99 10 Sch a Bt ach S ch lt OE at RP a a a a a Bach Biet Dat a EE Et SD Sei ct Ka ES et Zoch ed Zeit ect ka Sa Programming Examples Sending Queries to the Logic Analyzer i kkk kk kkkkkk kk kkkkkk zk TRANSER THE DATA kkkxkxkxkxkxkxkxkxkxkxkxkxkxkxkkxkxkkxkxkkkxkkxkkkkxk Transfer the data from the logic analyzer to the buffer TRANSFER Comm TO Buff COUNT Numbytes WAIT 1 ENTER Comm USING K Length PRINT LENGTH of Length string is Byte 1 PRINT GOT THE DATA Press continue PAUSE KKKKKKKKKKKKK KK KK KKKK SEND THE DATA KKEKKKKKKKKKKK KK KK KK KK KKKK KK KK KK KKK Make sure buffer is not empty 1 IF Numbytes 0 THEN PRINT BUFFER IS EMP
211. the TAGS column is assumed and the next parameter must specify RELative or ABSolute integer from 1 to 61 1 2 3141516171819110 a string of up to 6 alphanumeric characters TAGS to insert state or time tags BINary HEXadecimal OCTal DECimal TWOS ASCii SYMBol IASSembler for labels or ABSolute RELative for tags OUTPUT XXX MACHINE1 SLIST COLUMN 4 ADDR HEX 7 7 Query Returned Format Example Command Example SLISt Subsystem CLRPattern MACHine 1 2 SLISt COLumn lt col_num gt The COLumn query returns the column number module slot machine label name and base for the specified column MACHine 1 2 SLISt COLumn lt col_num gt lt module_num gt MACHine 1 2 lt label_name gt lt base gt lt NL gt OUTPUT XXX MACHINE1 SLIST COLUMN 4 CLRPattern MACHine 1 2 SLISt CLRPattern X O ALL The CLRPattern command allows you to clear the marker patterns in the Specify Patterns menu OUTPUT XXX MACHINE1 SLISt CLRPATTERN X Query Returned Format lt line number gt lt label name gt lt pattern_ string gt Example Command lt line_num_mid_ screen gt Example SLISt Subsystem DATA DATA MACHine 1 2 SLISt DATA lt line_number gt lt label_name gt The DATA query returns the value at a specified line number for a given label The format will be the sa
212. the section header plus the length of the section data So when calculating the value for lt length gt don t forget to include the length of the section headers The format of the setup block is not affected by the DBLock command setting OUTPUT XXX SETUP lt block data gt SYStem SETup The SYStem SETup query returns a block of data that contains the current configuration to the controller SYStem SETup lt block data gt lt NL gt 17 14 Part 3 18 Programming Examples Programming Examples 18 Programming Examples Introduction This chapter contains short usable and tested programs that cover the most asked for examples The examples are written in HP BASIC 6 0 Making a timing analyzer measurement Making a state analyzer measurement Making a state compare analyzer measurement Transferring logic analyzer configuration between the logic analyzer and the controller Checking for measurement completion Sending queries to the logic analyzer 10 20 30 40 50 60 70 80 90 OO JO UT Gs GA NI EH Kai KH bai Jak CITER Eh ENGE E E E E e ER EF HERE E E SC 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 OU I I I OU OU OU I I I OU OU I I I I OU Programming Examples Making a Timing Analyzer Measurement Making a Timing Analyzer Measurement This program sets up the logic analyzer to make a simple tim
213. they are available for either machine but not both machines simultaneously integer from 1 to the number of existing sequence levels maximum 12 112 OUTPUT XXX MACHINE2 STRIGGER TCONTROL6 1 PAUSE MACHine 1 2 STRigger TCONTROL lt N gt lt timer num gt The TCONtrol query returns the current TCONtrol setting of the specified level MACHine 1 2 STRigger TCONTROL lt N gt lt timer_num gt OFF STARt PAUSe CONTinue lt NL gt OUTPUT XXX MACHINE2 STRIGGER TCONTROL6 1 Command lt term id gt lt label name gt lt pattern gt Example STRigger STRace Subsystem TERM TERM MACHine 1 2 STRigger TERM lt term_id gt lt label_name gt lt pattern gt The TERM command allows you to specify a pattern recognizer term in the specified machine Each command deals with only one label in the given term therefore a complete specification could require several commands Since a label can contain 32 or fewer bits the range of the pattern value will be between 2 1 and 0 When the value of a pattern is expressed in binary it represents the bit values for the label inside the pattern recognizer term Because the pattern parameter may contain don t cares and be represented in several bases it is handled as a string of characters rather than a number Eight of the 10 terms A through G and I are always available for either machine but not both simultaneous
214. this branch qualifier is matched it will cause the sequencer to jump to the specified sequence level BRANch functions like the else on branch of the front panel sequence level The terms used by the branch qualifier A through G and I are defined by the TERM command The meaning of IN_RANGE and OUT_RANGE is determined by the RANGe command The edge terms are defined by the EDGE command 12 9 Example lt N gt lt to level number gt lt number_of_ lt qua levels gt lifier gt branch_ Example TTRigger TTRace Subsystem BRANch Within the limitations shown by the syntax definitions complex expressions may be formed using the AND and OR operators Expressions are limited to what you could manually enter through the Timing Trigger menu Regarding parentheses the syntax definitions on the next page show only the required ones Additional parentheses are allowed as long as the meaning of the expression is not changed Figure 12 2 on page 12 11 shows a complex expression as seen in the Timing Trigger menu The following statements are all correct and have the same meaning Notice that the conventional rules for precedence are not followed The expressions are evaluated from left to right OUTPUT XXX MACHINE1 TTRIGGER BRANCH1 C AND D OR F ORG 1 OUTPUT XXX MACHINE1 TTRIGGER BRANCH1 IC AND D OR F OR Gy yep ER OUTPUT XXX MACHINE1 TTRIGGER BRANCH1 E OR C AND D OR G
215. ts the mode controlling the marker movement and the display of marker readouts When PATTern is selected the markers will be placed on patterns When STATe is selected and state tagging is on the markers move on qualified states counted between normally stored states When TIME is selected and time tagging is enabled the markers move on time between stored states When MSTats is selected and time tagging is on the markers are placed on patterns but the readouts will be time statistics OFF PATTern STATe TIME MSTats OUTPUT XXX MACHINE1 SLIST MMODE TIME Query Returned Format Example Command lt label name gt lt label pattern gt Example SLISt Subsystem OPATtern MACHine 1 2 SLISt MMODe The MMODe query returns the current marker mode selected MACHine 1 2 SLISt MMODe lt marker_mode gt lt NL gt OUTPUT XXX MACHINE1 SLIST MMODE OPATtern MACHine 1 2 SLISt OPATtern lt label_name gt lt label_pattern gt The OPATtern command allows you to construct a pattern recognizer term for the O Marker which is then used with the OSEarch criteria when moving the marker on patterns Because this command deals with only one label at a time a complete specification could require several invocations When the value of a pattern is expressed in binary it represents the bit values for the label inside the pattern recognizer term In whatever base
216. two timers and they are available for either machine but not both machines simultaneously real number from 400 ns to 500 seconds in increments which vary from 16 ns to 500 us OUTPUT XXX MACHINE1 STRIGGER TIMER1 100E 6 MACHine 1 2 STRigger TIMER 1 2 The TIMER query returns the current time value for the specified timer MACHine 1 2 STRigger TIMER 1 2 lt time_value gt lt NL gt OUTPUT XXX MACHINE1 STRIGGER TIMER1 6 21 Command lt poststore gt Example Query Returned Format Example STRigger STRace Subsystem TPOSition TPOSition MACHine 1 2 STRigger TPOSition STARt CENTer END POSTstore lt poststore gt The TPOSition trigger position command allows you to set the trigger at the start center end or at any position in the trace poststore Poststore is defined as 0 to 100 percent with a poststore of 100 percent being the same as start position and a poststore of 0 percent being the same as an end trace integer from 0 to 100 representing percentage of poststore OUTPUT XXX MACHINE1 STRIGGER TPOSITION END OUTPUT XXX MACHINE2 STRIGGER TPOSITION POSTstore 75 MACHine 1 2 STRigger TPOSition The TPOSition query returns the current trigger position setting MACHine 1 2 STRigger TPOSition STARt CENTer END POSTstore lt poststore gt lt NL gt
217. uery returns 9 9E37 MACHine 1 2 TLISt XOTag lt XO_time gt lt NL gt real number OUTPUT XXX MACHINE1 TLIST XOTAG 14 19 Query Returned Format lt XO time gt Example Command lt label name gt lt label pattern gt TLISt Subsystem XOTime XOTime MACHine 1 2 TLISt XOTime The XOTime query returns the time from the X to O markers If there is no data the query returns 9 9E37 MACHine 1 2 TLISt XOTime lt XO_time gt lt NL gt real number OUTPUT XXX MACHINE1 TLIST XOTIME XPATtern MACHine 1 2 TLISt XPATtern lt label_name gt lt label_pattern gt The XPATtern command allows you to construct a pattern for the X marker which is then used with the XSEarch criteria when moving the marker on patterns Since this command deals with only one label at a time a complete specification could require several iterations When the value of a pattern is expressed in binary it represents the bit values for the label inside the pattern recognizer term In whatever base is used the value must be between 0 and are 1 since a label may not have more than 32 bits Because the lt label_pattern gt parameter may contain don t cares it is handled as a string of characters rather than a number string of up to 6 alphanumeric characters B O 1 X 4 01011121314 5 6 7 X I H 0 1 2 31415 6 718 9 AIBICI DIE F X OTERI ESTE AIE IE e a EY
218. umber gt for the number of hits in that range Depending on whether the other range is on or off the statistic TOTal includes or excludes the number of hits in the other range SPA 1 2 HISTogram HSTatistic TOTal OTHer lt range_number gt lt number_hits gt lt NL gt 0 to 10 integer number 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1l HISTogram HSTatistic 7 40 ENTER XXX String 50 PRINT Strings 60 END 16 16 Command lt label name gt Example Query Returned Format Example SPA Subsystem HISTogram LABel HISTogram LABel SPA 1 2 HISTogram LABel lt label name gt The HISTogram LABel command selects a new label for collecting SPA measurements A query returns the name of the currently selected label Selecting a new label defaults the State Histogram range names bucket sizes and hit accumulators string of up to 6 alphanumeric characters OUTPUT XXX SPA2 HISTogram LABel An SPA 1 2 HISTogram LABel SPA 1 2 HISTogram LABel lt label_name gt lt NL gt 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 HISTogram LABel 40 ENTER XXX String 50 PRINT Strings 60 END 16 17 Command Example Query Returned Format Example SPA Subsystem HISTogram OTHer HISTogram OTHer SPA 1 2 HISTogra
219. uns and total number of runs made Valid runs are those where the pattern search for both the X and O markers was successful resulting in valid time measurements MACHine 1 2 TWAVeform VRUNs lt valid_runs gt lt total_runs gt lt NL gt zero or positive integer zero or positive integer OUTPUT XXX MACHINE1 TWAVEFORM VRUNS 13 25 Command Example Query Returned Format Example Query Returned Format lt time value gt Example TW AVeform Subsystem XCONdition XCONdition MACHine 1 2 TWAVeform XCONdition ENTering EXITing The XCONdition command specifies where the X marker is placed The X marker can be placed on the entry or exit point of the XPATtern when in the PATTern marker mode OUTPUT XXX MACHINE1 TWAVEFORM XCONDITION ENTERING MACHine 1 2 TWAVeform XCONdition The XCONdition query returns the current setting MACHine 1 2 TWAVeform XCONdition ENTering EXITing lt NL gt OUTPUT XXX MACHINE1 TWAVEFORM XCONDITION XOTime MACHine 1 2 TWAVeform XOTime The XOTime query returns the time from the X marker to the O marker If data is not valid the query returns 9 9E37 MACHine 1 2 TWAVeform XOTime lt time value gt lt NL gt real number OUTPUT XXX MACHINEl1 TWAVEFORM XOTIME 13 26 Command lt label name gt lt label
220. veform menu It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree OUTPUT XXX MACHINE2 SWAVEFORM RANGE 40 Command Example Query Returned Format Example Command Example SW AVeform Subsystem ACCumulate ACCumulate MACHine 1 2 SWAVeform ACCumulate ON 1 OFF 0 The ACCumulate command allows you to control whether the waveform display gets erased between individual runs or whether subsequent waveforms are allowed to be displayed over the previous waveforms OUTPUT XXX MACHINE1 SWAVEFORM ACCUMULATE ON MACHine 1 2 SWAVeform ACCumulate The ACCumulate query returns the current setting The query always shows the setting as the characters 0 off or 1 on MACHine 1 2 SWAVeform ACCumulate 0 1 lt NL gt OUTPUT XXX MACHINE SWAVEFORM ACCUMULATE ACQuisition MACHine 1 2 SWAVeform ACQuisition AUTOmatic MANual The ACQuisition command allows you to specify the acquisition mode for the state analyzer The acquisition modes are automatic and manual OUTPUT XXX MACHINE2 SWAVEFORM ACQUISITION AUTOMATIC Query Returned Format Example Command lt marker type gt Example Command Example SW AVeform Subsystem CENTer MACHine 1 2 SWAVeform ACQuisition The ACQuisition query retu
221. veforms 1 2 3 4 516 7 8 9 10 slot where master card is located string containing lt acquisition_spec gt 1 2 A B C D E F G H 1I J slot where acquisition card is located OUTPUT XXX WLIST PLUS 1 A1 A2 Command lt time range gt Example Query Returned Format Example Command Example WLISt Subsystem RANGe RANGe WLISt RANGe lt time_value gt The RANGe command specifies the full screen time in the timing waveform menu It is equivalent to ten times the seconds per division setting on the display The allowable values for RANGe are from 10 ns to 10 ks real number between 10 ns and 10 ks OUTPUT XXX WLIST RANGE 100E 9 WLISt RANGe The RANGe query returns the current full screen time WLISt RANGe lt time_value gt lt NL gt OUTPUT XXX WLIST RANGE REMove WLISt REMove The REMove command deletes all waveforms from the display OUTPUT XXX WLIST REMOVE W LIStSubsystem XOTime XOTime Query WLISt XOTime The XOTime query returns the time from the X marker to the O marker If data is not valid the query returns 9 9E37 Returned Format WLISt XOTime lt time value gt lt NL gt lt time value gt real number Example OUTPUT XXX WLIST XOTIME XSTate Query WLISt XSTate The XSTate query returns the state where the X Marker is
222. veforms on the display The first parameter specifies where the oscilloscope master card resides where 1 through 10 refers to slots A through J The next two parameters specify which waveforms will be subtracted from each other M IN us is only available for oscilloscope waveforms lt module_spec gt 1 2 3 4 5 617 8 9 10 lt waveform gt string containing lt acquisition_spec gt 1 2 lt acquisition_ A B C D E F G H I J slot where acquisition card is located spec gt Example OUTPUT XXX MACHINE1 TWAVEFORM MINUS 1 A1 A2 13 13 Command Example Query Returned Format lt marker mode gt Example TW AVeform Subsystem MMODe MMODe MACHine 1 2 TWAVeform MMODe OFF PATTern T ME MSTats The MMODe Marker Mode command selects the mode controlling marker movement and the display of the marker readouts When PATTern is selected the markers will be placed on patterns When TIME is selected the markers move on time In MSTats the markers are placed on patterns but the readouts will be time statistics OUTPUT XXX MACH INE1 TWAV EFORM MMODE TIME MACHine 1 2 TWAVeform MMODe The MMODe query returns the current marker mode MACHine 1 2 TWAVeform MMODe OFF PATTern TIM E MSTats OUTPUT XXX MACHI El TWAV EFORM MMOD lt marker_mode gt lt NL gt
223. waveforms from an oscilloscope or another logic analyzer module can also be inserted in the logic analyzer s timing waveforms display Oscilloscope waveforms occupy the same display space as three logic analyzer waveforms When inserting waveforms from an oscilloscope or another logic analyzer module the optional module specifier must be used 1 through 10 corresponds to modules A through J If you do not specify the module the selected module is assumed The second parameter specifies the label name that will be inserted The optional third parameter specifies the label bit number overlay or all Ifa number is specified only the waveform for that bit number is added to the screen If you specify OVERIay all the bits of the label are displayed as a composite overlaid waveform If you specify ALL all the bits are displayed sequentially If you do not specify the third parameter ALL is assumed 112 3 4 516171819 10 string of up to 6 alphanumeric characters integer from 0 to 31 OUTPUT XXX MACHINE1 TWAVEFORM INSERT 3 WAVE 9 13 11 Command lt module spec gt lt label name gt Example Command lt memory length gt Example TW AVeform Subsystem M LENgth Inserting Oscilloscope Waveforms MACHine 1 2 TWAVeform INSert lt module_spec gt lt label_name gt This inserts a waveform from an oscilloscope to the timing waveforms display 1121314151617181
224. ween the X and O markers If data is not valid the query returns 9 9E37 MACHine 1 2 TLISt TMINimum lt time_value gt lt NL gt real number OUTPUT XXX MACHINE1 TLIST TMINIMUM VRUNs MACHine 1 2 TLISt VRUNs The VRUNs query returns the number of valid runs and total number of runs made Valid runs are those where the pattern search for both the X and O markers was successful resulting in valid time measurements MACHine 1 2 TLISt VRUNs lt valid_runs gt lt total_runs gt lt NL gt zero or positive integer zero or positive integer OUTPUT XXX MACHINE1 TLIST VRUNS 14 18 Command Example Query Returned Format Example Query Returned Format lt XO time gt Example TLISt Subsystem XCONdition XCONdition MACHine 1 2 TLISt XCONdition ENTering EXITing The XCONdition command specifies where the X marker is placed The X marker can be placed on the entry or exit point of the XPATtern when in the PATTern marker mode OUTPUT XXX MACHINE1 TLIST XCONDITION ENTERING MACHine 1 2 TLISt XCONdition The XCONdition query returns the current setting MACHine 1 2 TLISt XCONdition ENTering EXITing lt NL gt OUTPUT XXX MACHINE1 TLIST XCONDITION XOTag MACHine 1 2 TLISt X0OTag The XOTag query returns the time from the X to the O marker If there is no data the q
225. xt highest numbered pod This way they match the left to right descending order of the pods you see on the Format display Not including enough pod specifications results in the lowest numbered pods being assigned a value of zero all channels excluded If you include more pod specifications than there are pods for that machine the extra ones will be ignored However an error is reported any time more than 22 pod specifications are listed The polarity can be specified at any point after the label name Because pods contain 16 channels the format value for a pod must be between 0 and 65535 Cas on When giving the pod assignment in binary each bit will correspond to a single channel A 1 in a bit position means the associated channel in that pod is assigned to the label A 0 in a bit position means the associated channel in that pod is excluded from the label Leading zeroes may be omitted For example assigning B1111001100 is equivalent to entering _ _ through the touchscreen A label can not have a total of more than 32 channels assigned to it string of up to 6 alphanumeric characters POSitive NEGative format integer from 0 to 65535 for a clock clocks are assigned in decreasing order lt upper bits gt lt lower bits gt Example Query Returned Format lt assignment gt Example Command lt name gt Example TFORmat Subsystem REM ove format integer from
226. ytes Unused 2 bytes Real Time Clock RTC year at time of acquisition Year value is equal to the year minus 1990 2 bytes RTC month 1 January 12 December at time of acquisition 1 byte RTC day of the month at time of acquisition 1 byte RTC day of the week at time of acquisition 1 byte RTC hour 0 through 23 at time of acquisition 1 byte RTC minutes at time of acquisition 1 byte RTC seconds at time of acquisition 17 10 DATA and SETup Commands Acquisition Data Description Acquisition Data Description The acquisition data section consists of a variable number of bytes depending on the number of cards in the configuration the acquisition mode and the state tag setting The data is grouped in rows of bytes with one sample from each pod in a single row The width of the row is based on the number of cards in the system Each card has four pods with two bytes of data per pod The clock pod data four bytes is always first in the data row The first two bytes of the clock pod data are unused The total number of bytes in a data row for the various card count configurations is Cards Clock Pod Bytes Data Bytes Total Bytes Per Row 1 4 bytes 8 bytes 12 bytes 2 4 bytes 16 bytes 20 bytes 3 4 bytes 24 bytes 28 bytes The sequence of pod data within a row is the same as shown above for the number of valid rows per pod The number of valid rows per pod can be determined by examining bytes 253 throug
227. yzer To select the module use the system command SELect followed by the numeric reference for the slot location of the logic analyzer 1 through 10 refering to slots A through J respectively For example if the logic analyzer is in slot E then the command SELect 5 would select this module For more information on the select command refer to the HP 16500 16501A Programmer s Guide It is available through your HP Sales Office Programming the Logic Analyzer A typical logic analyzer program will do the following e select the appropriate module e name a specified analyzer e specify the analyzer type e assign pods e assign labels e sets pod thresholds e specify a trigger condition e set up the display e specify acquisition type e start acquiring data 1 3 Example Programming the HP 16554A HP 16555A HP 16555D Programming the Logic Analyzer The following example program sets up the logic analyzer to make a simple timing analyzer measurement 10 OUTPUT XXX SELECT 3 20 OUTPUT XXX MACH1 NAME TIMING 30 OUTPUT XXX MACH1 TYPE TIMING 40 OUTPUT XXX MACH1 ASSIGN 1 50 OUTPUT XXX MACH1 TFORMAT LABEL COUNT POS 0 0 255 60 OUTPUT XXX MACH1 TTRIGGER TERM A COUNT HFF 70 OUTPUT XXX MACH1 TWAVEFORM RANG
Download Pdf Manuals
Related Search
Related Contents
manual uprights.cdr Hyundai D460SL Troubleshooting Expansion Devices Questions How can upgrading ロータリー SX05 *説明書は必ず読んでく だ さ い。 URML/Guide Informatique Copyright © All rights reserved.
Failed to retrieve file