background image

2–8

Summary of Contents for 16554A

Page 1: ...t 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 ...

Page 2: ...ii ...

Page 3: ...e frequently used with the logic analyzer module HP 16554A HP 16555A HP 16555D logic analyzer command tree Alphabetic command to subsystem directory Chapter 2 contains module level commands Part 2 consists of chapters 3 through 16 which contain the subsystem commands for the logic analyzer and chapter 17 which contains information on the SYSTem DATA and SYSTem SETup commands for this module Progra...

Page 4: ...P 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 iv ...

Page 5: ...SPA Subsystem 16 DATA and SETup Commands 17 Programming Examples 18 Index SYMBol Subsystem 15 v ...

Page 6: ...vi ...

Page 7: ...c Analyzer 1 3 Mainframe Commands 1 5 Command Set Organization 1 8 Module Status Reporting 1 12 MESE N 1 13 MESR N 1 15 2 Module Level Commands ARMLine 2 5 DBLock 2 5 MACHine 2 6 SPA 2 7 WLISt 2 7 Part 2 Commands 3 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 ...

Page 8: ...TIMe 4 9 OVERlay 4 10 PLUS 4 11 RANGe 4 12 REMove 4 12 XOTime 4 13 XSTate 4 13 XTIMe 4 14 5 SFORmat Subsystem 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 Contents 2 ...

Page 9: ...uence 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 OVERlay 7 15 REMove 7 15 RUNTil 7 16 TAVerage 7 17 TMAXimum 7 17 TMINimum 7 18 VRUNs 7 18 Contents Contents 3 ...

Page 10: ...e 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 9 SCHart Subsystem SCHart 9 4 ACCumulate 9 4 CENTer 9 5 HAXis 9 5 VAXis 9 6 10 COMPare Subsystem COMPare 10 4 CLEar 10 5 CMASk 10 5 COPY 10 6 DATA 10 6 Contents Contents 4 ...

Page 11: ...Mode 11 5 LABel 11 6 REMove 11 7 THReshold 11 8 12 TTRigger TTRace Subsystem Qualifier 12 6 TTRigger TTRace 12 8 ACQuisition 12 9 BRANch 12 9 CLEar 12 12 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 ...

Page 12: ... MLENgth 13 12 MINus 13 13 MMODe 13 14 OCONdition 13 15 OPATtern 13 16 OSEarch 13 17 OTIMe 13 18 OVERlay 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 Contents 6 ...

Page 13: ...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 23 15 SYMBol Subsystem SYMBol 15 5 BASE 15 5 PATTern 15 6 RANGe 15 7 REMove 15 8 WIDTh 15 8 Contents Contents 7 ...

Page 14: ...ogram OTHer 16 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 17 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 Dat...

Page 15: ...zer 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 Contents 9 ...

Page 16: ...Contents 10 ...

Page 17: ...Part 1 1 Introduction to Programming 2 Module Level Commands General Information ...

Page 18: ......

Page 19: ...1 Programming the HP 16554A HP 16555A HP 16555D ...

Page 20: ...ntroduces 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 1 2 ...

Page 21: ... 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 select the appropriate module name a specified analyzer specify the analyzer type assign pods assign labels sets pod thresho...

Page 22: ...d 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 Li...

Page 23: ...e which card has the controlling software for the module that is where the master card is located Example 12 11 1 1 34 2 2 0 0 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...

Page 24: ...ich 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 1 and 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 c...

Page 25: ...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 bu...

Page 26: ... 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 follo...

Page 27: ...HP 16554A HP 16555A HP 16555D Command Tree Figure 1 1 Programming the HP 16554A HP 16555A HP 16555D Command Set Organization 1 9 ...

Page 28: ...MINus TWAVeform WLISt MLENgth SPA STRigger SWAVeform TTRigger TWAVeform MMODe SLISt TLISt TWAVeform MODE SPA Command Where Used MOPQual SFORmat MQUal SFORmat NAME MACHine OCONdition TLISt TWAVeform OMARker SPA OPATtern SLISt TLISt TWAVeform OSEarch SLISt TLISt TWAVeform OSTate SLISt TLISt WLISt OTAG SLISt TLISt OTHer SPA OTIMe TWAVeform WLISt OVERlay SLISt TWAVeform WLISt OVERView SPA OVSTatistic ...

Page 29: ...TWAVeform TPOSition STRigger SWAVeform TTRigger TWAVeform TSTatistic SPA TTYPe SPA TYPE MACHine Command Where Used VAXis SCHart VRUNs SLISt TLISt TWAVeform WIDTh SYMBol XCONdition TLISt TWAVeform XMARker SPA XOTag SLISt TLISt XOTime SLISt TLISt TWAVeform WLISt XPATtern SLISt TLISt TWAVeform XSEarch SLISt TLISt TWAVeform XSTate SLISt TLISt WLISt XTAG SLISt TLISt XTIMe TWAVeform WLISt Programming th...

Page 30: ...d by the Module Event Status Enable Register MESE N The MESE N and MESR N 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 N and MESR N instructions provide the module specific information needed to enable and interpret the contents of the registers Figure 1 2 Module St...

Page 31: ...or 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 N 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 enable_mask integer from 0 to 255 Example OUTPUT XXX MESE5 1 Query MESE N The MESE query...

Page 32: ...arches failed 2 4 Trigger found 1 2 RNT Run until satisfied 0 1 MC 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 in the MESR and a zero disables the bit Programming the HP 16554A HP 16555A HP 16555D MESE N 1 14 ...

Page 33: ...dule 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 Returned Format MESR N status NL N 1 2 3 4 5 6 7 8 9 10 number of slot in which the module resides status integer from 0 to 255 Example 10 OUTPUT XXX MESR5 20 ENTER XXX Mer 30 PRINT Mer 40 END Pro...

Page 34: ...t 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 Programming the HP 16554A HP 16555A HP 16555D MESR N 1 16 ...

Page 35: ...2 Module Level Commands ...

Page 36: ...Introduction The logic analyzer module level commands access the global functions of the HP 16554A HP 16555A HP 16555D logic analyzer module These commands are ARMLine DBLock MACHine SPA WLISt 2 2 ...

Page 37: ...Module Level Syntax Diagram Figure 2 1 Module Level Commands 2 3 ...

Page 38: ...ands see chapter 7 swaveform_cmds state waveform subsystem commands see chapter 8 schart_cmds state chart subsystem commands see chapter 9 compare_cmds compare subsystem commands see chapter 10 tformat_cmds timing format subsystem commands see chapter 11 ttrace_cmds timing trace subsystem commands see chapter 12 twaveform_cmds timing waveform subsystem commands see chapter 13 tlist_cmds timing lis...

Page 39: ...triggering Returned Format ARMLine MACHine N NL Example OUTPUT XXX ARMLine DBLock Command 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 arc...

Page 40: ...Ked UNPacked NL Example OUTPUT XXX DBLock MACHine Command MACHine N 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 subsys...

Page 41: ...e SPA subsystem N 1 2 Example OUTPUT XXX SPA1 MODE OVERVIEW WLISt Command 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 details of the WLISt subsystem are in chapter 4 Example OUTPUT XXX WLIST...

Page 42: ...2 8 ...

Page 43: ...m 6 STRigger STRace Subsystem 7 SLISt Subsystem 8 SWAVeform Subsystem 9 SCHart Subsystem 10 COMPare 11 TFORmat Subsystem 12 TTRigger TTRace Subsystem 13 TWAVeform Subsystem 14 TLISt Subsystem 15 SYMBol Subsystem 16 SPA Subsystem 17 DATA and SETup Commands Commands ...

Page 44: ......

Page 45: ...3 MACHine Subsystem ...

Page 46: ...r menu These commands are ARM LEVelarm The functions of three of these commands reside in the State Timing Configuration menu These commands are ASSign NAME 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 REName RESource 3 2 ...

Page 47: ...Machine Subsystem Syntax Diagram Figure 3 1 MACHine Subsystem 3 3 ...

Page 48: ...DGE 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 res_id res_id MACHine Selector MACHine N The MACHine N selector specifies which of the two analyzers machines available in the module the commands or queries following will refer to Because the MACHine N command is a root level command it will normally appear as ...

Page 49: ...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 arm_source RUN INTermodule MACHine 1 2 Example OUTPUT XXX MACHINE1 ARM MACHINE2 Query MACHine 1 2 ARM The ARM query returns the source that the current analyzer machine will be armed by Ret...

Page 50: ... unassigned category If you specify a pod number greater than currently available the logic analysis system generates an Argument out of range error pod_list NONE pod pod pod an integer from 1 to 12 Example This example assigns pod pairs 1 2 and 5 6 to machine 1 OUTPUT XXX MACHINE1 ASSIGN 5 2 1 Query MACHine 1 2 ASSign The ASSign query returns which pods are assigned to the current analyzer machin...

Page 51: ...he specified machine is on and the arming source is not set to RUN with the ARM command arm_level integer from 1 to 11 representing sequence level Example OUTPUT XXX MACHINE1 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 arm_level NL Example OUTPUT XXX MACHINE1 LEVELARM M...

Page 52: ...eturns the current analyzer name as an ASCII string Returned Format MACHine 1 2 NAME machine name NL Example OUTPUT XXX MACHINE1 NAME REName Command MACHine 1 2 REName res_id new_text 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 machin...

Page 53: ...s_id 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 a...

Page 54: ...mmand MACHine 1 2 TYPE analyzer type 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 ...

Page 55: ...y MACHine 1 2 TYPE The TYPE query returns the current analyzer type for the specified analyzer Returned Format MACHine 1 2 TYPE analyzer type NL Example OUTPUT XXX MACHINE1 TYPE MACHine Subsystem TYPE 3 11 ...

Page 56: ...3 12 ...

Page 57: ...4 WLISt Subsystem ...

Page 58: ...n 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 in In order to have mixed mode one machine must be a state analyzer with time tagging on use MACHine N STRigger TAG TIME DELay INSert LINE MINus OSTate OTIMe OVERlay PLUS RANGe REMove XOTime XSTate XTIMe...

Page 59: ...WLISt Subsystem Syntax Diagram Figure 4 1 WLISt Subsystem 4 3 ...

Page 60: ...rm string containing acquisition_spec 1 2 acquisition_spec A B C D E F G H I J time_value real number time_range real number between 10 ns and 10 ks WLISt Selector 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 ...

Page 61: ...ng waveform display The allowable values for delay are 2500 s to 2500 s delay_value 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 delay_value NL Example OUTPUT XXX WLIST DELAY WLISt Subsystem DELay 4 5 ...

Page 62: ...lyzer 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 If a number is specified only the waveform for that bit numb...

Page 63: ...cilloscope waveform display Example OUTPUT XXX WLIST INSERT 3 C1 LINE Command WLISt LINE line_num_mid_screen 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 line_num_mid_ screen integer from 516096 to 516096 HP 16554A or 104038...

Page 64: ...n 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 MINus only inserts oscilloscope waveforms It cannot be used with analyzer waveforms module_spec 1 2 3 4 5 6 7 8 9 10 slot where master card is located waveform string containing acquisit...

Page 65: ...Format WLISt OSTate state_num NL state_num integer Example OUTPUT XXX WLIST OSTATE OTIMe Command WLISt OTIMe time_value 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 time_value real number Example OUTPUT XXX WLIST OTIME 40 0E 6 WLISt Subsystem OSTate 4 9 ...

Page 66: ...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 module_spec 1 2 3 4 5 6 7 8 9 10 slot where master card is located waveform string containing acquisition_spe...

Page 67: ...ots 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 waveforms module_spec 1 2 3 4 5 6 7 8 9 10 slot where master card is located waveform string containing acquisition_spec 1 2 acquisition_ spec A B C D E F G H I J slot where acquisition card is located Example OUTPUT XXX WLIST PLUS 1 A...

Page 68: ...ues for RANGe are from 10 ns to 10 ks time_range real number between 10 ns and 10 ks Example OUTPUT XXX WLIST RANGE 100E 9 Query WLISt RANGe The RANGe query returns the current full screen time Returned Format WLISt RANGe time_value NL Example OUTPUT XXX WLIST RANGE REMove Command WLISt REMove The REMove command deletes all waveforms from the display Example OUTPUT XXX WLIST REMOVE WLISt Subsystem...

Page 69: ...ormat WLISt XOTime time_value NL time_value real number Example OUTPUT XXX WLIST XOTIME XSTate Query WLISt XSTate The XSTate query returns the state where the X Marker is positioned If data is not valid the query returns 2147483647 Returned Format WLISt XSTate state_num NL state_num integer Example OUTPUT XXX WLIST XSTATE WLISt Subsystem XOTime 4 13 ...

Page 70: ...the data is not valid the command performs no action time_value 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 time_value NL Example OUTPUT XXX WLIST XTIME WLISt Subsystem XTIMe 4 14 ...

Page 71: ...5 SFORmat Subsystem ...

Page 72: ...system contains the commands available for the State Format menu in the HP 16554A HP 16555A HP 16555D logic analyzer modules These commands are CLOCk LABel MASTer MODE MOPQual MQUal REMove SETHold SLAVe SOPQual SQUal THReshold 5 2 ...

Page 73: ...Figure 5 1 SFORmat Subsystem Syntax Diagram SFORmat Subsystem 5 3 ...

Page 74: ...Figure 5 1 continued SFORmat Subsystem Syntax Diagram continued SFORmat Subsystem 5 4 ...

Page 75: ...sing order 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 clock_id J K L M clock_spec OFF RISing FALLing BOTH clock_pair_id 1 2 qual_operation AND OR qual_num 1 2 3 4 qual_level OFF LOW HIGH pod_num an integer from 1 to 12 set_hold_value 0 1 2 3 4 5 6 7 8 9 value vol...

Page 76: ...en the MASTer option is specified the pod 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 ...

Page 77: ...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 a...

Page 78: ...27 40312 520 OUTPUT XXX MACHINE2 SFORMAT LABEL SIG 1 B11 B0000000011111111 B0000000000000000 Query MACHine 1 2 SFORmat LABel name 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 Returned ...

Page 79: ...tion requires four commands one for each clock Edge specifications RISing FALLing or BOTH are ORed At least one clock edge must be specified clock_id J K L M clock_spec OFF RISing FALLing BOTH Example OUTPUT XXX MACHINE2 SFORMAT MASTER J RISING Query MACHine 1 2 SFORmat MASTer clock_id The MASTer query returns the clock specification for the specified clock Returned Format MACHine 1 2 SFORmat MAST...

Page 80: ... has only one state analysis mode 70 MHz In 110 MHz mode the h and j resource terms are not available Example OUTPUT XXX MACHINE2 SFORMAT MODE NORM Query MACHine 1 2 SFORmat MODE The MODE query is valid for both the HP 16554 and HP 16555 Returned Format MACHine 1 2 SFORmat MODE NORMal FAST NL Example OUTPUT XXX MACHINE2 SFORMAT MODE SFORmat Subsystem MODE 5 10 ...

Page 81: ...e you can specify a master clock operation qualifier 1 AND 2 clock_pair_ id 1 2 where 2 indicates qualifier pair 3 4 qual_ operation AND OR Example OUTPUT XXX MACHINE1 SFORMAT MOPQUAL 1 AND Query MACHine 1 2 SFORmat MOPQual clock_pair_id The MOPQual query returns the operation qualifier specified for the master clock Returned Format MACHine 1 2 SFORmat MOPQUal clock_pair_id qual_operation NL Examp...

Page 82: ...ster clock qual_num 1 2 3 4 clock_id J K L M qual_level OFF LOW HIGH Example OUTPUT XXX MACHINE2 SFORMAT MQUAL 1 J LOW Query MACHine 1 2 SFORmat MQUal qual_num The MQUal query returns the qualifier specified for the master clock Returned Format MACHine 1 2 SFORmat MQUal qual_level NL Example OUTPUT XXX MACHINE2 SFORMAT MQUAL 1 SFORmat Subsystem MQUal 5 12 ...

Page 83: ...ommand MACHine 1 2 SFORmat SETHold pod_num set_hold_value 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 st...

Page 84: ... 3 5 1 0 3 2 0 1 5 ns 3 2 5 1 5 3 3 0 1 5 4 1 5 2 0 ns 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 pod_num The SETHold query returns the current setup and hold settings Returned Format MACHine 1 2 SFOR...

Page 85: ...res 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 clock_id J K L M clock_spec OFF RISing FALLing BOTH Example OUTPUT XXX MACHINE2 SFORMAT SLAVE J RISING Query MACHine 1 2 SFORmat SLAVe clock_id The SLAVe query returns the clock specification for the specified clock Returned Format MACHine 1 2 ...

Page 86: ...e you can specify a slave clock operation qualifier 1 AND 2 clock_pair_ id 1 2 where 2 specifies qualifier pair 3 4 qual_ operation AND OR Example OUTPUT XXX MACHine2 SFORMAT SOPQUAL 1 AND Query MACHine 1 2 SFORmat SOPQual clock_pair_id The SOPQual query returns the operation qualifier specified for the slave clock Returned Format MACHine 1 2 SFORmat SOPQual clock_pair_id qual_operation NL Example...

Page 87: ...clock qual_num 1 2 3 4 clock_id J K L M qual_level OFF LOW HIGH Example OUTPUT XXX MACHINE2 SFORMAT SQUAL 1 J LOW Query MACHine 1 2 SFORmat SQUal qual_num The SQUal query returns the qualifier specified for the slave clock Returned Format MACHine 1 2 SFORmat SQUal clock_id qual_level NL Example OUTPUT XXX MACHINE2 SFORMAT SQUAL 1 SFORmat Subsystem SQUal 5 17 ...

Page 88: ...integer from 1 to 12 indicating pod number voltage real number between 6 00 to 6 00 TTL default value of 1 6 V ECL default value of 1 3 V Example OUTPUT XXX MACHINE1 SFORMAT THRESHOLD1 4 0 Query MACHine 1 2 SFORmat THReshold N The THReshold query returns the current threshold for a given pod Returned Format MACHine 1 2 SFORmat THReshold N value NL Example OUTPUT XXX MACHINE1 SFORMAT THRESHOLD4 SFO...

Page 89: ...6 STRigger STRace Subsystem ...

Page 90: ...s 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 ACQuisition BRANch CLEar FIND MLENgth RANGe SEQuence STORe TAG TAKenbranch TCONtrol TERM TIMER TPOSition 6 2 ...

Page 91: ...Figure 6 1 STRigger Subsystem Syntax Diagram STRigger STRace Subsystem 6 3 ...

Page 92: ...Figure 6 1 continued STRigger Subsystem Syntax Diagram continued STRigger STRace Subsystem 6 4 ...

Page 93: ...of_levels integer from 2 to 12 lev_of_trig integer from 1 to number of existing sequence levels 1 store_qualifier qualifier state_tag_qualifier qualifier timer_num 1 2 timer_value 400 ns to 500 seconds term_id A B C D E F G H I J H and J not available in 110 MHz mode pattern B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 post_value integer from 0 to 100 represe...

Page 94: ...on1a expression1a_term expression1a_term OR expression1a_term expression1a_term AND expression1a_term expression1a_ term expression2a expression2b expression2c expression2d expression1b expression1b_term expression1b_term OR expression1b_term expression1b_term AND expression1b_term expression1b_ term expression2e expression2f expression2g expression2h expression2a term3a term3b term3a boolean_op t...

Page 95: ...Qualifier Rules The following rules apply to qualifiers Qualifiers are quoted strings and therefore need quotes Expressions are evaluated from left to right Parentheses are used to change the order evaluation and are optional An expression must map into the combination logic presented in the combination pop up menu see figure 6 2 on page 6 10 Examples A A OR B A OR B AND C A OR B AND C AND IN_RANG...

Page 96: ...UT XXX MACHINE1 STRIGGER TAG TIME ACQuisition Command MACHine 1 2 STRigger ACQuisition AUTOmatic MANual The ACQuisition command allows you to specify the acquisition mode for the State analyzer Example OUTPUT XXX MACHINE1 STRIGGER ACQUISITION AUTOMATIC Query MACHine 1 2 STRigger ACQuisition The ACQuisition query returns the current acquisition mode Returned Format MACHine 1 2 STRigger ACQuisition ...

Page 97: ...e 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 Example The following statements are all correct and have the same meaning Notice that the conventional rules for precedence a...

Page 98: ...BRANch N The BRANch query returns the current branch qualifier specification for a given sequence level Returned Format MACHine 1 2 STRigger BRANch N branch_qualifier to_level_num NL Example OUTPUT XXX MACHINE1 STRIGGER BRANCH3 Figure 6 2 Complex qualifier Figure 6 2 is a front panel representation of the complex qualifier a Or b Or f Or g STRigger STRace Subsystem BRANch 6 10 ...

Page 99: ...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 Command MACHine 1 2 STRigger CLEar All SEQuence RESource Th...

Page 100: ... are defined by the TERM command 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 ...

Page 101: ...us 8192 states HP 16554A or HP 16555A or minus 16384 states HP 16555D Memory depth is affected by acquisition mode If the memory_length value sent with the command is not a legal value the closest legal setting will be used memory_length 4096 8192 16384 32768 65536 131072 262144 516096 HP 16554A only 524288 1040384 HP 16555A only 524288 1048576 2080768 HP 16555D only Example OUTPUT XXX MACHINE1 ST...

Page 102: ...etween 232 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 label_name string of up to 6 alphanumeric characters start_pattern stop_pattern B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 N 1 2 Example OUTPUT XXX M...

Page 103: ...es 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 num_levels integer from 2 to 12 trig_level integer from 1 to number of existing sequence levels 1 Example OUTPUT XXX MACHINE1 STRIGGER SEQUENCE 4 3 Query MACHine 1 2 STRigger SEQuence The SEQuence query...

Page 104: ... 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 N an integer from 1 to the number of existing sequence levels maximum 12 store_ qualifier qualifier see Qualifier on page 6 6 Example OUTPUT XXX MACHINE1 STRIGGER STORE1 ANYSTATE OUTPUT XXX MACHINE1 STRIGGER S...

Page 105: ...nter 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 state_tag_ qualifier qualifier see Qualifier on page 6 6 Example OUTPUT XXX MACHINE1 STRIGGER TAG OFF OUTPUT XXX MACHINE1 STRIGGER TAG TIME O...

Page 106: ...fied machine The states causing the branch are defined by the BRANch and FIND commands Example OUTPUT XXX MACHINE2 STRIGGER TAKENBRANCH STORE Query MACHine 1 2 STRigger TAKenbranch The TAKenbranch query returns the current setting Returned Format MACHine 1 2 STRigger TAKenbranch STORe NOSTore NL Example OUTPUT XXX MACHINE2 STRIGGER TAKENBRANCH STRigger STRace Subsystem TAKenbranch 6 18 ...

Page 107: ...able for either machine but not both machines simultaneously N integer from 1 to the number of existing sequence levels maximum 12 timer_num 1 2 Example OUTPUT XXX MACHINE2 STRIGGER TCONTROL6 1 PAUSE Query MACHine 1 2 STRigger TCONTROL N timer_num The TCONtrol query returns the current TCONtrol setting of the specified level Returned Format MACHine 1 2 STRigger TCONTROL N timer_num OFF STARt PAUSe...

Page 108: ...resented 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 simultaneously 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 ...

Page 109: ...400 ns to 500 seconds in 16 ns to 500 µs increments The increment value varies with the time value of the specified timer There are two timers and they are available for either machine but not both machines simultaneously time_value real number from 400 ns to 500 seconds in increments which vary from 16 ns to 500 µs Example OUTPUT XXX MACHINE1 STRIGGER TIMER1 100E 6 Query MACHine 1 2 STRigger TIME...

Page 110: ... position and a poststore of 0 percent being the same as an end trace poststore integer from 0 to 100 representing percentage of poststore Example OUTPUT XXX MACHINE1 STRIGGER TPOSITION END OUTPUT XXX MACHINE2 STRIGGER TPOSITION POSTstore 75 Query MACHine 1 2 STRigger TPOSition The TPOSition query returns the current trigger position setting Returned Format MACHine 1 2 STRigger TPOSition STARt CEN...

Page 111: ...7 SLISt Subsystem ...

Page 112: ...or the State Listing menu in the HP 16554A HP 16555A HP 16555D logic analyzer modules These commands are COLumn CLRPattern DATA LINE MMODe OPATtern OSEarch OSTate OTAG OVERlay REMove RUNTil TAVerage TMAXimum TMINimum VRUNs XOTag XOTime XPATtern XSEarch XSTate XTAG 7 2 ...

Page 113: ...Figure 7 1 SLISt Subsystem Syntax Diagram SLISt Subsystem 7 3 ...

Page 114: ...Figure 7 1 continued SLISt Subsystem Syntax Diagram continued SLISt Subsystem 7 4 ...

Page 115: ...Figure 7 1 continued SLISt Subsystem Syntax Diagram continued SLISt Subsystem 7 5 ...

Page 116: ...er for labels or ABSolute RELative for tags line_num_mid_screen integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D label_pattern B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 occurrence integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D...

Page 117: ...isting 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 the TAGS column is assumed and the next parameter must specify RELative or ABSolute col_num integer from 1 to 61 module_num 1 2 3 4 5 6 7 8 9 10 label...

Page 118: ...ned Format MACHine 1 2 SLISt COLumn col_num module_num MACHine 1 2 label_name base NL Example OUTPUT XXX MACHINE1 SLIST COLUMN 4 CLRPattern Command MACHine 1 2 SLISt CLRPattern X O ALL The CLRPattern command allows you to clear the marker patterns in the Specify Patterns menu Example OUTPUT XXX MACHINE1 SLISt CLRPATTERN X SLISt Subsystem CLRPattern 7 8 ...

Page 119: ...lphanumeric characters pattern_ string B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX MACHINE1 SLIST DATA 512 RAS LINE Command MACHine 1 2 SLISt LINE line_num_mid_screen 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 sp...

Page 120: ...ent 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 patt...

Page 121: ... 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 232 1 since a label may not have more than 32 bits Because the label_pattern parameter may contain don t cares it is handled as a string of characters rather than a ...

Page 122: ... 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 recognizer 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 occurr...

Page 123: ...t 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 Returned Format MACHine 1 2 SLISt OSTate state_num NL state_num 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 Example OUTPUT XXX MACHINE1 SLIST OSTA...

Page 124: ...eal number Example OUTPUT XXX MACHINE1 SLIST OTAG 40 0E 6 Query 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 9E37 for time tagging or returns 2147483647 for state tagging Returned Fo...

Page 125: ...h the column specified The column must already contain a label col_num integer from 1 to 61 Module_num 1 2 3 4 5 6 7 8 9 10 label_name a string of up to 6 alphanumeric characters Example OUTPUT XXX MACHINE1 SLIST OVERlay 25 5 MACHINE2 DATA REMove Command MACHine 1 2 SLISt REMove The REMove command removes all labels except the leftmost label from the listing menu Example OUTPUT XXX MACHINE1 SLIST ...

Page 126: ...tions are as follows The difference is less than LT some value The difference is greater than GT some value The difference is inside some range INRange 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 run_until_ spec OFF LT value GT value INRange value value OUTRange...

Page 127: ...ulting in valid time measurements Returned Format MACHine 1 2 SLISt TAVerage time_value NL time_value real number Example OUTPUT XXX MACHINE1 SLIST TAVERAGE TMAXimum Query 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 Returned Format MACHine 1 2 SLISt TMAXimum time_value NL time_value re...

Page 128: ... MACHINE1 SLIST TMINIMUM VRUNs Query 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 Returned Format MACHine 1 2 SLISt VRUNs valid_runs total_runs NL valid_runs zero or positive integer total_runs zero or positive inte...

Page 129: ...tes NL XO_time real number XO_states integer Example OUTPUT XXX MACHINE1 SLIST XOTAG XOTime Query 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 the 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 return...

Page 130: ...e must be between 0 and 232 1 since a label may not have more than 32 bits Because the label_pattern parameter may contain don t cares it is handled as a string of characters rather than a number label_name string of up to 6 alphanumeric characters label_pattern B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 Examples OUTPUT XXX MACHINE1 SLIST XPATTERN DATA 255 ...

Page 131: ... the XPATtern recognizer specification relative to the origin the marker actually searches for An occurrence of 0 places a marker on the selected origin occurrence integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D origin TRIGger STARt Example OUTPUT XXX MACHINE1 SLIST XSEARCH 10 TRIGGER Query MACHine 1 2 SLISt XSEarch The XSEarch quer...

Page 132: ...4 or 2147483647 HP 16555A or from 2080768 to 2080768 or 2147483647 HP 16555D Example OUTPUT XXX MACHINE1 SLIST XSTATE XTAG Command MACHine 1 2 SLISt XTAG time_value state_value 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 t...

Page 133: ...ng 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 9E37 for time tagging or returns 2147483647 for state tagging Returned Format MACHine 1 2 SLISt XTAG time_value state_value NL Example OUTPUT XXX MACHINE1 SLIST XTAG SLISt Subsystem XTAG 7 23 ...

Page 134: ...7 24 ...

Page 135: ...8 SWAVeform Subsystem ...

Page 136: ... X axis is restricted to representing only samples states regardless of whether time tagging is on or off As a result 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 ...

Page 137: ...Figure 8 1 SWAVeform Subsystem Syntax Diagram SWAVeform Subsystem 8 3 ...

Page 138: ...states Division mark_type X O XO TRIGger percent integer from 0 to 100 memory_length 4096 8192 16384 32768 65536 131072 262144 516096 HP 16554A only 524288 1040384 HP 16555A only 524288 1048576 2080768 HP 16555D only SWAVeform Selector MACHine 1 2 SWAVeform The SWAVeform State Waveform selector is used as part of a compound header to access the settings in the State Waveform menu It always follows...

Page 139: ...orm ACCumulate The ACCumulate query returns the current setting The query always shows the setting as the characters 0 off or 1 on Returned Format MACHine 1 2 SWAVeform ACCumulate 0 1 NL Example OUTPUT XXX MACHINE1 SWAVEFORM ACCUMULATE ACQuisition Command MACHine 1 2 SWAVeform ACQuisition AUTOmatic MANual The ACQuisition command allows you to specify the acquisition mode for the state analyzer The...

Page 140: ..._type 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 marker_type X O XO TRIGger Example OUTPUT XXX MACHINE1 SWAVEFORM CENTER X CLRPattern Command MACHine 1 2 SWAVeform CLRPattern X O ALL The CLRPattern command allows you to clear the marker patterns in the selected Specify Patterns menu Example ...

Page 141: ...er of samples between the State trigger and the horizontal center of the screen for the waveform display number_of_ samples integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D Example OUTPUT XXX MACHINE2 SWAVEFORM DELAY 127 Query MACHine 1 2 SWAVeform DELay The DELay query returns the current sample offset value Returned Format MACHine ...

Page 142: ...it_num integer representing a label bit from 0 to 31 Example OUTPUT XXX MACHINE1 SWAVEFORM INSERT WAVE 19 OUTPUT XXX MACHINE1 SWAVEFORM INSERT ABC OVERLAY OUTPUT XXX MACH1 SWAV INSERT POD1 B1001 MLENgth Command MACHine 1 2 SWAVeform MLENgth memory_length The MLENgth command allows you to specify the analyzer memory depth Valid memory depths range from 4096 states or samples through the maximum sys...

Page 143: ...mand 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 number_of_ samples integer from 10 to 5000 Example OUTPUT XXX MACHINE2 SWAVEFORM RANGE 80 Query MACHine 1 2 SWAVeform RANGe The RANGe query returns the current range v...

Page 144: ...d 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 Example OUTPUT XXX MACHINE2 SWAVEFORM TAKENBRANCH STORE Query MACHine 1 2 SWAVeform TAKenbranch The TAKenbranch query returns the current setting Returned Format MACHine 1 2 SWAVeform TAKenbranch STORe NOSTore NL Example OUTPUT XXX MACHI...

Page 145: ... 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 percent integer from 1 to 100 Example OUTPUT XXX MACHINE2 SWAVEFORM TPOSITION CENTER Query MACHine 1 2 SWAVeform TPOSition The TPOSition query returns the current trigger setting Returned Format MACHine 1 2 SWAVeform TPOSition STARt CENTer END POSTs...

Page 146: ...8 12 ...

Page 147: ...9 SCHart Subsystem ...

Page 148: ...ates 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 for...

Page 149: ...value integer from state_low_value to 516096 HP 16554A 1040384 HP 16555A or 2080768 HP 16555D label_name a string of up to 6 alphanumeric characters label_low_value string from 0 to 232 1 HFFFFFFFF label_high_value string from label_low_value to 232 1 HFFFFFFFF low_value string from 0 to 232 1 HFFFFFFFF high_value string from low_value to 232 1 HFFFFFFFF marker_type X O XO TRIGger SCHart Subsystem...

Page 150: ...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 Example OUTPUT XXX MACHINE1 SCHART ACCUMULATE OFF Query MACHine 1 2 SCHart ACCumulate The ACCumulate query returns the current setting The query always shows the setting as the character 0 off or...

Page 151: ... 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 state_low_ value integer from 516096 to 516096 HP 16554A or from 1040384 to 1040384 HP 16555A or from 2080768 to 2080768 HP 16555D state_high_ value integer from state_low_valu...

Page 152: ...lue Example OUTPUT XXX MACHINE1 SCHART HAXIS VAXis Command MACHine 1 2 SCHart VAXis label_name low_value high_value 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 label_name a string of up to 6 alphanumeric characters low_value string from 0 to 232 1 HFFFFFFFF high_value st...

Page 153: ...Hart VAXis The VAXis query returns the current vertical axis label and scaling Returned Format MACHine 1 2 SCHart VAXis label_name low_value high_value NL Example OUTPUT XXX MACHINE1 SCHART VAXIS SCHart Subsystem VAXis 9 7 ...

Page 154: ...9 8 ...

Page 155: ...10 COMPare Subsystem ...

Page 156: ... 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 CLEar CMASk COPY DATA FIND LINE MENU RANGe RUNTil SET 10 2 ...

Page 157: ...COMPare Subsystem Syntax Diagram Figure 10 1 COMPare Subsystem 10 3 ...

Page 158: ...880 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 start_line to 122880 HP 16554A or 253951 HP 16555A or 507903 HP 16555D COMPare Selector MACHine 1 2 COMPare The COMPare selector is used as part of a compound header to access the settings found in the Compare m...

Page 159: ...CMASk label_name care__spec 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 label_name a string of up to 6 alphanumeric characters care_spec string of characters 32 characters maxi...

Page 160: ... 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 label_name 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 in a left to right fashion as seen on the Comp...

Page 161: ...ine_num 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 label_name line_num data_pattern NL 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 MACH...

Page 162: ...ting 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 diff_occurrence is greater than the number of differences the query returns the last difference and the associated line number Returned Format MACHine 1 2 COMPare FIND difference_occurrence line_number NL diff_ occurrence integer from 1 to 122880 HP 16554A o...

Page 163: ...555A 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 line_num NL 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...

Page 164: ...top_line integer from start_line to 122880 HP 16554A or 253951 HP 16555A or 507904 HP 16555D Example OUTPUT XXX MACHINE1 COMPARE RANGE PARTIAL 511 512 OUTPUT XXX MACHINE2 COMPARE RANGE FULL Query MACHine 1 2 COMPare RANGe The RANGe query returns the current boundaries for the comparison Returned Format MACHine 1 2 COMPare RANGe FULL PARTial start_line stop_line NL Example 10 DIM String 100 20 OUTP...

Page 165: ...ubsystem These four conditions are as follows The difference is less than LT some value The difference is greater than GT some value The difference is inside some range INRange 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 There are two conditions which are based ...

Page 166: ...alue value EQUal NEQual NL Example OUTPUT XXX MACHINE2 COMPARE RUNTIL SET Command MACHine 1 2 COMPare SET 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 Example OUTPUT XXX MACHINE2 CO...

Page 167: ...11 TFORmat Subsystem ...

Page 168: ...roduction The TFORmat subsystem contains the commands available for the Timing Format menu in the HP 16554A HP 16555A HP 16555D logic analyzer module These commands are ACQMode LABel REMove THReshold 11 2 ...

Page 169: ...TFORmat Subsystem Syntax Diagram Figure 11 1 TFORmat Subsystem 11 3 ...

Page 170: ...signed 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 Selector 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 bel...

Page 171: ...ull channel 125 MHz HP 16554A or 250 MHz HP 16555A D conventional mode at half channel 250 MHz HP 16554A or 500 MHz HP 16555A D Example OUTPUT XXX MACHINE2 TFORMAT ACQMODE HALF Query MACHine 1 2 TFORmat ACQMode The ACQMode query returns the current acquisition mode Returned Format MACHine 1 2 TFORmat ACQMode FULL HALF NL Example OUTPUT XXX MACHINE2 TFORMAT ACQMODE TFORmat Subsystem ACQMode 11 5 ...

Page 172: ...nclude 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 216 1 When giving the pod assignment in binary each bit will corresp...

Page 173: ...ion for the selected by name label If the label does not exist nothing is returned Numbers are always returned in decimal format Returned Format MACHine 1 2 TFORmat LABel name polarity assignment NL assignment format integer from 0 to 65535 for a pod pods are assigned in decreasing order Example OUTPUT XXX MACHINE2 TFORMAT LABEL DATA REMove Command MACHine 1 2 TFORmat REMove name ALL The REMove co...

Page 174: ...s N pod number integer from 1 to 12 value voltage real number 6 00 to 6 00 TTL default value of 1 6 V ECL default value of 1 3 V Example OUTPUT XXX MACHINE1 TFORMAT THRESHOLD1 4 0 Query MACHine 1 2 TFORmat THReshold N The THReshold query returns the current threshold for a given pod Returned Format MACHine 1 2 TFORmat THReshold N value NL Example OUTPUT XXX MACHINE1 TFORMAT THRESHOLD2 TFORmat Subs...

Page 175: ...12 TTRigger TTRace Subsystem ...

Page 176: ...odule 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 ACQuisition BRANch CLEar EDGE FIND MLENgth RANGe SEQuence SPERiod TCONtrol TERM TIMER TPOSition 12 2 ...

Page 177: ...Figure 12 1 TTRigger Subsystem Syntax Diagram TTRigger TTRace Subsystem 12 3 ...

Page 178: ...Figure 12 1 continued TTRigger Subsystem Syntax Diagram continued TTRigger TTRace Subsystem 12 4 ...

Page 179: ...ns to 500 seconds term_id A B C D E F G I pattern B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 qualifier see Qualifier on page 12 6 post_value integer from 0 to 100 representing percentage time_val real number duration_time real number from 8 ns to 5 s based on the sample period sample_period real number from 4 ns HP 16554A or 2 ns HP 16555A D to 8 ms edge_sp...

Page 180: ...n1b expression1a expression1a_term expression1a_term OR expression1a_term expression1a_term AND expression1a_term expression1b expression1b_term expression1b_term OR expression1b_term expression1b_term AND expression1b_term expression1a_ term expression2a expression2b expression2c expression2d expression1b_ term expression2e expression2f expression2g expression2h expression2a term3a term3b term3a ...

Page 181: ...rm3i I NOTI range3a IN_RANGE1 OUT_RANGE1 range3b IN_RANGE2 OUT_RANGE2 edge3a EDGE1 NOT EDGE1 edge3b EDGE2 NOT EDGE2 timer3a TIMER1 TIMER1 timer3b TIMER2 TIMER2 is optional such that it can be used zero or more times must be used at least once and can be repeated TTRigger TTRace Subsystem Qualifier 12 7 ...

Page 182: ...hin the TTRigger menu Examples A A OR B A OR B AND C A OR B AND C AND IN_RANGE2 A OR B AND C AND IN_RANGE1 IN_RANGE1 AND A OR B AND C TTRigger TTRace Selector 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...

Page 183: ... MACHINE1 TTRIGGER ACQUISITION BRANch Command MACHine 1 2 TTRigger BRANch N branch_qualifier to_level_number The BRANch command defines the branch qualifier for a given sequence level When 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 qualif...

Page 184: ...d 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 OR G 1 OUTPUT XXX MACHINE1 TTRIGGER BRANCH1 C AND D OR F OR G 1 OUTPUT XXX MACHINE1 TTRIGGER BRANCH1 F OR C AND D OR G 1 N integer from 1 to number_of_levels to_level_ number integer from 1 to number_of_levels ...

Page 185: ... BRANch N branch_qualifier to_level_num NL Example OUTPUT XXX MACHINE1 TTRIGGER BRANCH3 Figure 12 2 Complex Qualifier Figure 12 2 is a front panel representation of the complex qualifier a Or b Or f Or g Example This example would be used to specify this complex qualifier OUTPUT XXX MACHINE1 TTRIGGER BRANCH1 A OR B AND F OR G 2 TTRigger TTRace Subsystem BRANch 12 11 ...

Page 186: ...AND 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 Command MACHine 1 2 TTRigger CLEar All SEQuence RESource The CLEar command allows you to clear all settings in the Timing Trigger...

Page 187: ...it will be The edge_spec 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 N 1 2 label_name string of up to 6 alphanumeric characters edge_spec string consisting of R F E to total number of bits Example For 8 bits assigned OUTPUT XXX MACHINE1 TTRIGGER EDGE1 DATA ...

Page 188: ...e trigger 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 defin...

Page 189: ...ND1 ANYSTATE GT 10E 6 OUTPUT XXX MACHINE1 TTRIGGER FIND3 NOTA AND NOTB OR G OCCURRENCE 10 Query MACHine 1 2 TTRigger FIND4 The FIND query returns the current time qualifier specification for a given sequence level Returned Format MACHine 1 2 TTRigger FIND N time_qualifier condition_mode NL Example OUTPUT XXX MACHINE1 TTRIGGER FIND N TTRigger TTRace Subsystem FIND 12 15 ...

Page 190: ... with the command is not a legal value the closest legal setting will be used memory_length 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 Example OUTPUT XXX MACHINE1 TTRIGGER MLENGTH 262144 Query MACHine 1 2 TTRigger MLENgth The MLENgth query returns the current analyzer memory dep...

Page 191: ... recognizers end points Don t cares are not allowed in the end point pattern specifications label_name string of up to 6 alphanumeric characters N 1 2 start_pattern stop_pattern B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX MACHINE1 TTRIGGER RANGE1 DATA 127 255 OUTPUT XXX MACHINE1 TTRIGGER RANGE2 ABC B00001111 HCF Query MACHine 1 2 TTRigger RANGe ...

Page 192: ...tween 1 and 10 when the analyzer is armed by the RUN key In timing analyzers the trigger is always the last level number_of_ levels integer from 1 to 10 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 number_of_levels level_of_trigger NL Example OUTPUT XXX...

Page 193: ...riod real number from 4 ns HP 16554A or 2 ns HP 16555A D to 8 ms Example OUTPUT XXX MACHINE1 TTRIGGER SPERIOD 50E 9 Query MACHine 1 2 TTRigger SPERiod The SPERiod query returns the current sample period Returned Format MACHine 1 2 TTRigger SPERiod sample_period NL Example OUTPUT XXX MACHINE1 TTRIGGER SPERIOD TTRigger TTRace Subsystem SPERiod 12 19 ...

Page 194: ...R command N integer from 1 to the number of existing sequence levels maximum 10 timer_num 1 2 Example OUTPUT XXX MACHINE2 TTRIGGER TCONTROL6 1 PAUSE Query MACHine 1 2 TTRigger TCONTROL N timer_num The TCONtrol query returns the current TCONtrol setting of the specified level Returned Format MACHine 1 2 TTRigger TCONTROL N timer_num OFF STARt PAUSe CONTinue NL Example OUTPUT XXX MACHINE2 TTRIGGER T...

Page 195: ...arameter 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 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 settin...

Page 196: ...or the specified timer The limits of the timer are 400 ns to 500 seconds in 16 ns to 500 µs increments The increment value varies with the time value of the specified timer time_value real number from 400 ns to 500 seconds in increments which vary from 16 ns to 500 µs Example OUTPUT XXX MACHINE1 TTRIGGER TIMER1 100E 6 Query MACHine 1 2 TTRigger TIMER 1 2 The TIMER query returns the current time va...

Page 197: ...art of the trace causing the trace to begin after the trigger point time_val real number from either 2 sample period or 16 ns whichever is greater to 516096 sample period HP 16554A or 1040384 sample period HP 16555A D poststore integer from 0 to 100 representing percentage of poststore Example OUTPUT XXX MACHINE1 TTRIGGER TPOSITION END OUTPUT XXX MACHINE1 TTRIGGER TPOSITION POSTstore 75 Query MACH...

Page 198: ...12 24 ...

Page 199: ...13 TWAVeform Subsystem ...

Page 200: ...6554A HP 16555A HP 16555D logic analyzer module These commands are ACCumulate ACQuisition CENTer CLRPattern CLRStat DELay INSert MINus MLENgth MMODe OCONdition OPATtern OSEarch OTIMe OVERlay PLUS RANGe REMove RUNTil SPERiod TAVerage TMAXimum TMINimum TPOSition VRUNs XCONdition XOTime XPATtern XSEarch XTIMe 13 2 ...

Page 201: ...Figure 13 1 TWAVeform Subsystem Syntax Diagram TWAVeform Subsystem 13 3 ...

Page 202: ...Figure 13 1 continued TWAVeform Subsystem Syntax Diagram continued TWAVeform Subsystem 13 4 ...

Page 203: ...Figure 13 1 continued TWAVeform Subsystem Syntax Diagram continued TWAVeform Subsystem 13 5 ...

Page 204: ...H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 occurrence integer time_value real number time_range real number between 10 ns and 10 ks run_until_spec OFF LT value GT value INRange value value OUTRange value value GT greater than LT less than value real number time_val real number sample_period real number from 4 ns HP 16554A or 2 ns HP 16555A D to 8 ms marker_type X O XO TRIGger memory_l...

Page 205: ...e level in the command tree Example OUTPUT XXX MACHINE1 TWAVEFORM DELAY 100E 9 ACCumulate Command MACHine 1 2 TWAVeform ACCumulate setting 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 setting 0 OFF or 1 ON Example OUTPUT XXX MACHINE1 TWAVEFORM ACCU...

Page 206: ...CQuisition Command 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 Query MACHine 1 2 TWAVeform ACQuisition The ACQuisition query returns the current acquisition mode Returned Format MACHine 1 2 TWAVeform ACQuisition AUTOmatic MANual NL Example OUTPUT XXX MACH...

Page 207: ...ommand MACHine 1 2 TWAVeform CLRPattern X O ALL The CLRPattern command allows you to clear the patterns in the selected Specify Patterns menu Example OUTPUT XXX MACHINE1 TWAVEFORM CLRPATTERN ALL CLRStat Command MACHine 1 2 TWAVeform CLRStat The CLRStat command allows you to clear the waveform statistics without having to stop and restart the acquisition Example OUTPUT XXX MACHINE1 TWAVEFORM CLRSTA...

Page 208: ... allowable values for delay are 2500 s to 2500 s delay_value real number between 2500 s and 2500 s Example OUTPUT XXX MACHINE1 TWAVEFORM DELAY 100E 6 Query MACHine 1 2 TWAVeform DELay The DELay query returns the current time offset delay value from the trigger Returned Format MACHine 1 2 TWAVeform DELay time_value NL Example OUTPUT XXX MACHINE1 TWAVEFORM DELAY TWAVeform Subsystem DELay 13 10 ...

Page 209: ...c 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 If a number is specified only the waveform for that bit number is added to the scree...

Page 210: ... 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 memory_depth value sent with the command is not a legal value the closest legal setting will be used memory_length 4096...

Page 211: ...nus B oscilloscope waveforms 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 MINus is only available for oscilloscope waveforms module_spec 1 2 3 4 5 6 7 8 9 10 waveform string containing acquisition_spec 1 2 acquisition_ spec A B...

Page 212: ...terns When TIME is selected the markers move on time In MSTats the markers are placed on patterns but the readouts will be time statistics Example OUTPUT XXX MACHINE1 TWAVEFORM MMODE TIME Query MACHine 1 2 TWAVeform MMODe The MMODe query returns the current marker mode Returned Format MACHine 1 2 TWAVeform MMODe marker_mode NL marker_mode OFF PATTern TIME MSTats Example OUTPUT XXX MACHINE1 TWAVEFO...

Page 213: ...ntry or exit point of the OPATtern when in the PATTern marker mode Example OUTPUT XXX MACHINE1 TWAVEFORM OCONDITION ENTERING Query MACHine 1 2 TWAVeform OCONdition The OCONdition query returns the current setting Returned Format MACHine 1 2 TWAVeform OCONdition ENTering EXITing NL Example OUTPUT XXX MACHINE1 TWAVEFORM OCONDITION TWAVeform Subsystem OCONdition 13 15 ...

Page 214: ...32 bits Because the label_pattern parameter may contain don t cares it is handled as a string of characters rather than a number label_name string of up to 6 alphanumeric characters label_pattern B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX MACHINE1 TWAVEFORM OPATTERN A 511 Query MACHine 1 2 TWAVeform OPATtern label_name The OPATtern query ...

Page 215: ...tion 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 origin STARt TRIGger XMARker occurrence integer from 1040384 to 1040384 HP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 HP 16555D Example OUTPUT XXX MACHINE1 T...

Page 216: ...ormat MACHine 1 2 TWAVeform OTIMe time_value NL Example OUTPUT XXX MACHINE1 TWAVEFORM OTIME OVERlay Command MACHine 1 2 TWAVeform OVERlay module_number label label label The OVERlay 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 nex...

Page 217: ... 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 module_spec 1 2 3 4 5 6 7 8 9 10 waveform string containing acquisition_spec 1 2 acquisition_ spec A B C D E F G H...

Page 218: ...nge real number between 10 ns and 10 ks Example OUTPUT XXX MACHINE1 TWAVEFORM RANGE 100E 9 Query MACHine 1 2 TWAVeform RANGe The RANGe query returns the current full screen time Returned Format MACHine 1 2 TWAVeform RANGe time_value NL Example OUTPUT XXX MACHINE1 TWAVEFORM RANGE REMove Command MACHine 1 2 TWAVeform REMove The REMove command deletes all waveforms from the display Example OUTPUT XXX...

Page 219: ... 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 run_until_ spec OFF LT value GT value INRange value value OUTRange value value value real number Example OUTPUT XXX MACHINE1 TWA...

Page 220: ...eriod real number from 4 ns HP 16554A or 2 ns HP 16555A D to 8 ms Example OUTPUT XXX MACHINE1 TWAVEFORM SPERIOD 50E 9 Query MACHine 1 2 TWAVeform SPERiod The SPERiod query returns the current sample period Returned Format MACHine 1 2 TWAVeform SPERiod sample_period NL Example OUTPUT XXX MACHINE1 TWAVEFORM SPERIOD TWAVeform Subsystem SPERiod 13 22 ...

Page 221: ...time_value NL time_value real number Example OUTPUT XXX MACHINE1 TWAVEFORM TAVERAGE TMAXimum Query 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 Returned Format MACHine 1 2 TWAVeform TMAXimum time_value NL time_value real number Example OUTPUT XXX MACHINE1 TWAVEFORM TMAXIMUM TWA...

Page 222: ...OSTstore percent 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 acqui...

Page 223: ...ry MACHine 1 2 TWAVeform 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 Returned Format MACHine 1 2 TWAVeform VRUNs valid_runs total_runs NL valid_runs zero or positive integer total_runs zero or positive integer Example OUTPUT XXX MAC...

Page 224: ...2 TWAVeform XCONdition The XCONdition query returns the current setting Returned Format MACHine 1 2 TWAVeform XCONdition ENTering EXITing NL Example OUTPUT XXX MACHINE1 TWAVEFORM XCONDITION XOTime Query 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 Returned Format MACHine 1 2 TWAVeform XOTime time_valu...

Page 225: ...the label_pattern parameter may contain don t cares it is handled as a string of characters rather than a number label_name string of up to 6 alphanumeric characters label_pattern B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX MACHINE1 TWAVEFORM XPATTERN A 511 Query MACHine 1 2 TWAVeform XPATtern label_name The XPATtern query in pattern marke...

Page 226: ...recognizer specification relative to the origin the marker actually searches for An occurrence of 0 places a marker on the origin origin TRIGger STARt occurrence integer from from 1040384 to 1040384 HP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 HP 16555D Example OUTPUT XXX MACHINE1 TWAVEFORM XSEARCH 10 TRIGGER Query MACHine 1 2 TWAVeform XSEarch occurrence origin The XS...

Page 227: ...no action time_value real number from 2 5 ks to 2 5 ks Example OUTPUT XXX MACHINE1 TWAVEFORM XTIME 40 0E 6 Query 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 Returned Format MACHine 1 2 TWAVeform XTIMe time_value NL Example OUTPUT XXX MACHINE1 TWAVEFORM XTIME TWAVeform Subsystem XTIMe 13 29 ...

Page 228: ...13 30 ...

Page 229: ...14 TLISt Subsystem ...

Page 230: ...55D logic analyzer modules and is the same as the SLISt subsystem except for the OCONdition and XCONdition commands The TLISt subsystem commands are COLumn CLRPattern DATA LINE MMODe OCONdition OPATtern OSEarch OSTate OTAG REMove RUNTil TAVerage TMAXimum TMINimum VRUNs XCONdition XOTag XOTime XPATtern XSEarch XSTate XTAG 14 2 ...

Page 231: ...Figure 14 1 TLISt Subsystem Syntax Diagram TLISt Subsystem 14 3 ...

Page 232: ...Figure 14 1 continued TLISt Subsystem Syntax Diagram continued TLISt Subsystem 14 4 ...

Page 233: ...Figure 14 1 continued TLISt Subsystem Syntax Diagram continued TLISt Subsystem 14 5 ...

Page 234: ...Tal DECimal TWOS ASCii SYMBol for labels or ABSolute RELative for tags line_num_mid_screen integer between 1040384 HP 16554A or 2088960 HP 16555A or 4177920 HP 16555D label_pattern B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 occurrence integer between 1040384 HP 16554A or 2088960 HP 16555A or 4177920 HP 16555D time_value real number run_until_spec OFF LT val...

Page 235: ...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...

Page 236: ...column Returned Format MACHine 1 2 TLISt COLumn col_num module_num MACHine 1 2 label_name base NL Example OUTPUT XXX MACHINE1 TLIST COLUMN 4 CLRPattern Command 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 Example OUTPUT XXX MACHINE1 TLIST CLRPATTERN O TLISt Subsystem CLRPattern 14 8 ...

Page 237: ... alphanumeric characters pattern_ string B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX MACHINE1 TLIST DATA 512 RAS LINE Command MACHine 1 2 TLISt LINE line_num_mid_screen 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 specifi...

Page 238: ...vement 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 marker_mode OFF PATTern TIME MSTats Example OUTPUT XXX MACHINE1 TLIST MMODE TIME Query MACHine 1 2 TLISt MMODe The MMODe quer...

Page 239: ...on the entry or exit point of the OPATtern when in the PATTern marker mode Example OUTPUT XXX MACHINE1 TLIST OCONDITION ENTERING Query MACHine 1 2 TLISt OCONdition The OCONdition query returns the current setting Returned Format MACHine 1 2 TLISt OCONdition ENTering EXITing NL Example OUTPUT XXX MACHINE1 TLIST OCONDITION TLISt Subsystem OCONdition 14 11 ...

Page 240: ...e between 0 and 232 1 since a label may not have more than 32 bits Because the label_pattern parameter may contain don t cares it is handled as a string of characters rather than a number label_name string of up to 6 alphanumeric characters label_pattern B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX MACHINE1 TLIST OPATTERN DATA 255 OUTPUT XX...

Page 241: ...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 occurrence integer from 1040384 to 1040384 HP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 HP 16555D origin TRIGger STARt XMARker Example OUTPUT XXX MACHINE1 TLIST OSEARCH 10...

Page 242: ...o 1040384 HP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 HP 16555D Example OUTPUT XXX MACHINE1 TLIST OSTATE OTAG Command MACHine 1 2 TLISt OTAG time_value 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 time_value real number Ex...

Page 243: ...a pattern search If data is not valid the query returns 9 9E37 Returned Format MACHine 1 2 TLISt OTAG time_value NL 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 TLISt Subsystem REMove 14 15 ...

Page 244: ...alue The difference is greater than GT some value The difference is inside some range INRange 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 run_until_ spec OFF LT value GT value INRange value value OUTRange value value value real number from 9E9 to 9E9 Example OUTPUT XXX MACHINE1 TLIST ...

Page 245: ...ulting in valid time measurements Returned Format MACHine 1 2 TLISt TAVerage time_value NL time_value real number Example OUTPUT XXX MACHINE1 TLIST TAVERAGE TMAXimum Query 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 Returned Format MACHine 1 2 TLISt TMAXimum time_value NL time_value re...

Page 246: ...MACHINE1 TLIST TMINIMUM VRUNs Query 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 Returned Format MACHine 1 2 TLISt VRUNs valid_runs total_runs NL valid_runs zero or positive integer total_runs zero or positive integ...

Page 247: ...NG Query MACHine 1 2 TLISt XCONdition The XCONdition query returns the current setting Returned Format MACHine 1 2 TLISt XCONdition ENTering EXITing NL Example OUTPUT XXX MACHINE1 TLIST XCONDITION XOTag Query MACHine 1 2 TLISt XOTag The XOTag query returns the time from the X to the O marker If there is no data the query returns 9 9E37 Returned Format MACHine 1 2 TLISt XOTag XO_time NL XO_time rea...

Page 248: ... 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 232 1 since a label may not have more than 32 bits Because the label_pattern parameter m...

Page 249: ...ch 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 or...

Page 250: ...Hine 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 Returned Format MACHine 1 2 TLISt XSTate state_num NL state_num 2147483647 or integer from 1040384 to 1040384 HP 16554A or from 2088960 to 2088960 HP 16555A or from 4177920 to 4177920 HP 16555D Example OUTPUT XXX MACHINE1 TLIST XSTATE TLISt Subs...

Page 251: ...n is performed time_value real number Example OUTPUT XXX MACHINE1 TLIST XTAG 40 0E 6 Query 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 Returned Format MACHine 1 2 TLISt XTAG time_value NL Example OUTPUT XXX MACHINE1 TLIST XTAG...

Page 252: ...14 24 ...

Page 253: ...15 SYMBol Subsystem ...

Page 254: ...system 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 BASE PATTern RANGe REMove WIDTh 15 2 ...

Page 255: ...SYMBol Subsystem Syntax Diagram Figure 15 1 SYMBol Subsystem 15 3 ...

Page 256: ...ymbol_name string of up to 16 alphanumeric characters pattern_value B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 start_value stop_value B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 width_value integer from 1 to 16 SYMBol Subsystem 15 4 ...

Page 257: ...SYMBol BASE label_name base_value 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 label_name string of up to 6 alphanumeric charact...

Page 258: ...expressed as a string The values may be in binary B octal Q hexadecimal H or decimal default Don t cares cannot be used in a decimal number label_name string of up to 6 alphanumeric characters symbol_name string of up to 16 alphanumeric characters pattern_value B 0 1 X Q 0 1 2 3 4 5 6 7 X H 0 1 2 3 4 5 6 7 8 9 A B C D E F X 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX MACHINE1 SYMBOL PATTERN STAT MEM_RD...

Page 259: ...he values may be in binary B octal Q hexadecimal H or decimal default You can not use don t cares in any base label_name string of up to 6 alphanumeric characters symbol_name string of up to 16 alphanumeric characters start_value stop_value B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX MACHINE1 SYMBOL RANGE STAT IO_ACC 0 H000F SYMBol Subsystem RAN...

Page 260: ...bel_name width_value 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 label_name string of up to 6 alphanumeric characters width_value integer from 1 to 16 Example OUTPUT XXX MACHINE1 SYMBOL WIDTH DATA 9 SYMBol Subsystem REMove 15 8 ...

Page 261: ...16 SPA Subsystem ...

Page 262: ...nds 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 OVERView TINTerval BUCKet AUTorange HIGH QUALifier LABel TINTerval LOW TSTatistic MLENgth MODE OMARker OVSTatistic XMARker HISTogram HISTatistic LABel OTHer QUALifier RANGe TTYPe 16 2 ...

Page 263: ...Figure 16 1 SPA Subsystem Syntax Diagram SPA Subsystem 16 3 ...

Page 264: ...Figure 16 1 continued SPA Subsystem Syntax Diagram continued SPA Subsystem 16 4 ...

Page 265: ...Figure 16 1 continued SPA Subsystem Syntax Diagram continued SPA Subsystem 16 5 ...

Page 266: ...072 262144 516096 HP 16554A 524288 1040384 HP 16555A 524288 1048576 2080768 HP 16555D o_patt pattern x_patt pattern 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 pattern end_pattern pattern interval_num an integer from 0 to 7 pattern B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 ...

Page 267: ...uery returns the current menu mode Example OUTPUT XXX SPA1 MODE OVERView OUTPUT XXX SPA2 MODE HISTogram OUTPUT XXX SPA1 MODE TINTerval Query SPA 1 2 MODE Returned Format SPA 1 2 MODE OVERView HISTogram TINTerval NL Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 MODE 40 ENTER XXX String 50 PRINT String 60 END SPA Subsystem MODE 16 7 ...

Page 268: ...MBer for number of buckets or bucket_num for the number of hits in the specified bucket number Returned Format SPA 1 2 OVERView BUCKet SIZE NUMBer bucket_num number NL bucket_num 0 to number of valid buckets 1 number integer number Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 OVERView BUCKet 23 40 ENTER XXX String 50 PRINT String 60 END SPA Subsystem OVERView BUCKet 16 8 ...

Page 269: ...tic counters and the number of buckets and their size high_pattern B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX SPA1 OVERView HIGH 23394 OUTPUT XXX SPA2 OVERView HIGH Q4371 Query SPA 1 2 OVERView HIGH Returned Format SPA 1 2 OVERView HIGH high_pattern NL Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 OVERView HIGH 40 ENTER XX...

Page 270: ...e State Overview data accumulators statistic counters and the number of buckets and their size label_name string of up to 6 alphanumeric characters Example OUTPUT XXX SPA2 OVERView LABel A Query SPA 1 2 OVERView LABel Returned Format SPA 1 2 OVERView LABel label_name NL Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 OVERView LABel 40 ENTER XXX String 50 PRINT String 60 END SPA...

Page 271: ...istic counters and the number of buckets and their size low_pattern B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX SPA2 OVERView LOW 23394 OUTPUT XXX SPA1 OVERView LOW Q4371 Query SPA 1 2 OVERView LOW Returned Format SPA 1 2 OVERView LOW low_pattern NL Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 OVERView LOW 40 ENTER XXX Str...

Page 272: ...f the memory_depth value sent with the command is not a legal value the closest legal setting will be used memory_length 4096 8192 16384 32768 65536 131072 262144 516096 HP 16554A 524288 1040384 HP 16555A 524288 1048576 2080768 HP 16555D Example OUTPUT XXX SPA1 OVERVIEW MLENGTH 262144 Query SPA 1 2 OVERView MLENgth The MLENgth query returns the current analyzer memory depth selection Returned Form...

Page 273: ...ket A query returns the pattern associated with the lower end of the bucket where the marker is placed o_pattern B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX SPA2 OVERView OMARker H3C31 Query SPA 1 2 OVERView OMARker Returned Format SPA 1 2 OVERView OMARker o_pattern NL Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 OVERView ...

Page 274: ...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 Returned Format SPA 1 2 OVERView OVSTatistic XHITs OHITs TOTal number_hits NL number_hits integer number Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 OVERView OVSTatistic OHITs 40 ENTER XXX String 50 PRINT S...

Page 275: ...ket A query returns the pattern associated with the lower end of the bucket where the marker is placed x_pattern B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX SPA2 OVERView XMARker H3C31 Query SPA 1 2 OVERView XMARker Returned Format SPA 1 2 OVERView XMARker x_pattern NL Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 OVERView ...

Page 276: ...ge or range_number 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 Returned Format SPA 1 2 HISTogram HSTatistic TOTal OTHer range_number number_hits NL range_number 0 to 10 number_hits integer number Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 HISTogram HSTa...

Page 277: ...l defaults the State Histogram range names bucket sizes and hit accumulators label_name string of up to 6 alphanumeric characters Example OUTPUT XXX SPA2 HISTogram LABel A Query SPA 1 2 HISTogram LABel Returned Format SPA 1 2 HISTogram LABel label_name NL Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 HISTogram LABel 40 ENTER XXX String 50 PRINT String 60 END SPA Subsystem HIS...

Page 278: ...the other bucket is currently included or excluded Example OUTPUT XXX SPA2 HISTogram OTHer INCLuded OUTPUT XXX SPA1 HISTogram OTHer EXCLuded Query SPA 1 2 HISTogram OTHer Returned Format SPA 1 2 HISTogram OTHer INCLuded EXCLuded NL Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 HISTogram OTHer 40 ENTER XXX String 50 PRINT String 60 END SPA Subsystem HISTogram OTHer 16 18 ...

Page 279: ...for that label label_name string of up to 6 alphanumeric characters pattern B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX SPA2 HISTogram QUALifier A 255 Query SPA 1 2 HISTogram QUALifier label_name Returned Format SPA 1 2 HISTogram QUALifier label_name pattern NL Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 HISTogram QUALifi...

Page 280: ... string of up to 16 alphanumeric characters low_patt high_patt B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX SPA1 HISTogram RANGe OFF OUTPUT XXX SPA2 HISTogram RANGe 5 A 255 512 OUTPUT XXX SPA1 HISTogram RANGe 8 DATA B0100110 H9F Query SPA 1 2 HISTogram RANGe range_num Returned Format SPA 1 2 HISTogram RANGe range_number range_name low_pattern hig...

Page 281: ... state A query returns the current trace type setting Example OUTPUT XXX SPA2 HISTogram TTYPe ALL Query SPA 1 2 HISTogram TTYPe Returned Format SPA 1 2 HISTogram TTYPe ALL QUALified NL Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA1 HISTogram TTYPe 40 ENTER XXX String 50 PRINT String 60 END SPA Subsystem HISTogram TTYPe 16 21 ...

Page 282: ...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 min_time real number max_time real number Example OUTPUT XXX SPA2 TINTerval AUTorange LINear 4 0E 3 55 6E 2 OUTPUT XXX SPA1 TINTerval AUTorange LOGarithmic 3 3E 1 8 6E 2 SPA Subsystem TINTerval AUTorange 16 22 ...

Page 283: ...s start_pattern B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 end_pattern B 0 1 Q 0 1 2 3 4 5 6 7 H 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 Example OUTPUT XXX SPA1 TINTerval QUALifier A Q231 Q455 OUTPUT XXX SPA2 TINTerval QUALifier DATA H3A 255 Query SPA 1 2 TINTerval QUALifier label_name Returned Format SPA 1 2 TINTerval QUALifier label_name start_patte...

Page 284: ...0 to 7 min_time real number max_time real number Example OUTPUT XXX SPA2 TINTerval TINTerval 4 1 0E 3 47 0E5 OUTPUT XXX SPA1 TINTerval TINTerval 3 6 8E 7 4 90E2 Query SPA 1 2 TINTerval TINTerval interval_number Returned Format SPA 1 2 TINTerval TINTerval interval_number min_time max_time NL Example 10 DIM String 100 20 OUTPUT XXX SELECT 1 30 OUTPUT XXX SPA2 TINTerval TINTerval 6 40 ENTER XXX Strin...

Page 285: ...l number of samples TTOTal overall total time of all interval samples interval_number number of hits in given interval If TMINimum TMAXaximum TAVErage or TTOTal are not currently valid the real value 9 9E37 is returned Returned Format SPA 1 2 TINTerval TSTatistic TMINimum TMAXimum TAVerage TTOTal time_number TOTal interval_number number_hits NL interval_ number 0 to 7 number_hits integer number ti...

Page 286: ...16 26 ...

Page 287: ...17 DATA and SETup Commands ...

Page 288: ... length of the data block can be as big as 20 Mbytes HP 16554A 40 Mbytes HP 16555A 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 inte...

Page 289: ...yte is the MSB most significant bit 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 Binary 0100 0100 0100 0001 0101 0100 0100 0001 0010 0000 0010 0000 Decimal 68 65 84 65 32 32 32 32 32 32 ASCII DATA space space space space space space Byte 10 Byte 1 MSB ...

Page 290: ... D represents a digit ASCII characters 0 through 9 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 section consists of a section header and section data The section data format varies for each section and may be any length For the DATA instruction there...

Page 291: ...e for length don t forget to include the length of the section headers Query 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 o...

Page 292: ...54A and HP 16555A D master boards and 35 for expander boards 13 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 section data parameter consists of two parts the data preamble and the acquisition data These are described in the following two sections When...

Page 293: ...ent 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 33 4 bytes Machine data mode one of the following decimal values 1 off 0 70 MHz HP 16554A or 100 MHz HP 16555A D State d...

Page 294: ...Pod 10 Pod 9 Pod 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 Pod 7 Pod 6 Pod 5 Pod 4 Pod 3 Pod 2 Pod 1 unused Example 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 41 4 bytes Master chip for this analyzer 45 4 bytes Maximum hardware memory depth available for this analyzer 49 4 bytes Unused 53 8 bytes Sampl...

Page 295: ... 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...

Page 296: ...n 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 Example 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 349 234 bytes Unused 583 2 bytes Real Time Clock RTC year at time of acqu...

Page 297: ...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 through 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 clk pod 1 pod...

Page 298: ...LKJ Where x not used mstr master card exp expander card number Byte Position 591 2 bytes Not used clock pod 2 593 1 byte MSB of clock pod 1 594 1 byte LSB of clock pod 1 595 1 byte MSB of data pod 4 board x 596 1 byte LSB of data pod 4 board x 597 1 byte MSB of data pod 3 board x 598 1 byte LSB of data pod 3 board x 599 1 byte MSB of data pod 2 board x 600 1 byte LSB of data pod 2 board x 601 1 by...

Page 299: ...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 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 Command SYStem SETup block data The ...

Page 300: ...he HP 16554A and HP 16555A D logic analyzer 4 bytes for the length of the section data in bytes section data 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 length don t forget to include the length of the section headers The format of the setup block is not affected by the DBLock co...

Page 301: ...Part 3 18 Programming Examples Programming Examples ...

Page 302: ......

Page 303: ...18 Programming Examples ...

Page 304: ...ples 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 18 2 ...

Page 305: ...ine 1 TIMING configure Machine 1 as a timing analyzer 120 and assign pod 1 to Machine 1 130 140 OUTPUT 707 MACH1 NAME TIMING 150 OUTPUT 707 MACH1 TYPE TIMING 160 OUTPUT 707 MACH1 ASSIGN 1 170 180 190 Make a label COUNT give the label a positive polarity and 200 assign the lower 8 bits 210 220 OUTPUT 707 MACHINE1 TFORMAT REMOVE ALL 230 OUTPUT 707 MACH1 TFORMAT LABEL COUNT POS 0 0 B0000000011111111 ...

Page 306: ... MACHINE1 TWAVEFORM MMODE PATTERN 550 560 OUTPUT 707 MACHINE1 TWAVEFORM XPATTERN COUNT H03 570 OUTPUT 707 MACHINE1 TWAVEFORM OPATTERN COUNT H07 580 590 OUTPUT 707 MACHINE1 TWAVEFORM XCONDITION ENTERING 600 OUTPUT 707 MACHINE1 TWAVEFORM OCONDITION ENTERING 610 620 OUTPUT 707 MACHINE1 TWAVEFORM XSEARCH 1 TRIGGER 625 WAIT 2 630 OUTPUT 707 MACHINE1 TWAVEFORM OSEARCH 1 XMARKER 635 WAIT 2 640 650 660 Tu...

Page 307: ...gic Analyzer 30 40 SELECT THE HP 16554 HP 16555 MODULE 50 Select slot in which the HP 16554A HP 16555A HP 16555D is installed 60 In this example it is in slot B of the mainframe 70 80 OUTPUT 707 SELECT 2 90 100 CONFIGURE THE STATE ANALYZER 110 Name Machine 1 STATE configure Machine 1 as a state analyzer assign 120 pod 1 to Machine 1 and display System Configuration menu of the 130 HP 16554A HP 165...

Page 308: ...TERM C SCOUNT 33 470 OUTPUT 707 MACHINE1 STRIGGER TERM D SCOUNT 44 480 OUTPUT 707 MACHINE1 STRIGGER TERM E SCOUNT 59 490 500 Define a Range having a lower limit of 50 and an upper limit of 58 510 520 OUTPUT 707 MACHINE1 STRIGGER RANGE1 SCOUNT 50 58 530 540 CONFIGURE SEQUENCE LEVEL 1 550 Store NOSTATE in level 1 and Then find resource term A once 560 570 OUTPUT 707 MACHINE1 STRIGGER STORE1 NOSTATE ...

Page 309: ...yzer in single acquisition mode then determine when 920 the acquisition is complete 930 940 OUTPUT 707 RMODE SINGLE 950 OUTPUT 707 CLS 960 OUTPUT 707 START 970 980 CHECK FOR MEASUREMENT COMPLETE 990 Enable the MESR register and query the register for a measurement 1000 complete condition 1010 1020 OUTPUT 707 SYSTEM HEADER OFF 1030 OUTPUT 707 SYSTEM LONGFORM OFF 1040 1050 Status 0 1060 OUTPUT 707 M...

Page 310: ... State Listing and select a line number in the listing that 1230 allows you to see the beginning of the listing on the logic analyer 1240 display 1250 1260 OUTPUT 707 MACHINE1 SLIST COLUMN 1 SCOUNT DECIMAL 1270 OUTPUT 707 MENU 2 7 1280 OUTPUT 707 MACHINE1 SLIST LINE 16 1290 1300 END Programming Examples Making a State Analyzer Measurement 18 8 ...

Page 311: ...le is installed 70 In this example it is in slot B of the mainframe 80 90 OUTPUT 707 SELECT 2 100 110 CONFIGURE THE STATE ANALYZER 120 Name Machine 1 STATE configure Machine 1 as a compare state 130 analyzer and assign pod 1 to Machine 1 140 150 OUTPUT 707 MACHINE1 NAME STATE 160 OUTPUT 707 MACHINE1 TYPE COMPARE 170 OUTPUT 707 MACHINE1 ASSIGN 1 180 190 200 Remove all labels previously set up make ...

Page 312: ...The logic analyzer is now running in the repetitive mode 510 and will remain in repetitive until the STOP command is sent 520 530 PRINT The logic analyzer is now running in the repetitive mode 540 PRINT and will remain in repetitive until the STOP command is sent 550 PRINT 560 PRINT Press CONTINUE 570 PAUSE 580 590 600 Stop the acquisition and copy the acquired data to the compare reference 610 li...

Page 313: ...e end points of the compare can be fixed to prevent false failures 930 In addition you can use partial compare to compare only sections 940 of the state listing you are interested in comparing 950 960 OUTPUT 707 MACHINE1 COMPARE RANGE PARTIAL 0 508 970 980 The compare range is now from line 0 to 508 990 1000 1010 Change the Glitch jumper settings on the training board so that the 1020 data changes...

Page 314: ...isplay the Difference listing 1290 1300 OUTPUT 707 MACHINE1 COMPARE MENU DIFFERENCE 1310 1320 1330 Loop to query all 508 possible errors 1340 1350 FOR Error 1 TO 508 1360 1370 Read the compare differences 1380 1390 OUTPUT 707 MACHINE1 COMPARE FIND VAL Error 1400 1410 1420 Format the Error string data for display on the controller screen 1430 1440 IF Error 99 THEN GOTO 1580 1450 IF Error 9 THEN GOT...

Page 315: ...e first number after the last error 1650 1660 Error_line IVAL Line 10 1670 IF Error_line Error_line2 THEN GOTO 1780 1680 Error_line2 Error_line 1690 1700 1710 Print the error numbers and the corresponding line numbers on the 1720 controller screen 1730 1740 PRINT Error number Error is on line number Error_line 1750 1760 NEXT Error 1770 1780 PRINT 1790 PRINT 1800 PRINT Last error found 1810 GOTO 18...

Page 316: ...d data 10 SETUP COMMAND AND QUERY EXAMPLE 20 for the HP 16554A HP 16555A HP 16555D 30 40 CREATE TRANSFER BUFFER 50 Create a buffer large enough for the block data See Sending Queries 51 to the Logic Analyzer for how to calculate buffer size for data This 52 buffer is only big enough for setup information 53 60 ASSIGN Buff TO BUFFER 320000 70 80 INITIALIZE HPIB DEFAULT ADDRESS 90 100 REAL Address 1...

Page 317: ...omm USING DD Numbytes 470 IF Byte 3 THEN ENTER Comm USING DDD Numbytes 480 IF Byte 4 THEN ENTER Comm USING DDDD Numbytes 490 IF Byte 5 THEN ENTER Comm USING DDDDD Numbytes 500 IF Byte 6 THEN ENTER Comm USING DDDDDD Numbytes 510 IF Byte 7 THEN ENTER Comm USING DDDDDDD Numbytes 520 IF Byte 8 THEN ENTER Comm USING DDDDDDDD Numbytes 530 PRINT Numbytes 540 550 TRANSER THE SETUP 560 Transfer the setup f...

Page 318: ...PUT Comm USING AA VAL Numbytes 880 IF Byte 3 THEN OUTPUT Comm USING AAA VAL Numbytes 890 IF Byte 4 THEN OUTPUT Comm USING AAAA VAL Numbytes 900 IF Byte 5 THEN OUTPUT Comm USING AAAAA VAL Numbytes 910 IF Byte 6 THEN OUTPUT Comm USING AAAAAA VAL Numbytes 920 IF Byte 7 THEN OUTPUT Comm USING AAAAAAA VAL Numbytes 930 IF Byte 8 THEN OUTPUT Comm USING AAAAAAAA VAL Numbytes 940 950 SAVE BUFFER POINTERS 9...

Page 319: ...ONTROL Buff 5 Streg 1100 1110 SEND TERMINATING LINE FEED 1120 Send the terminating linefeed to properly terminate the setup string 1130 1140 OUTPUT Comm 1150 1160 PRINT SENT THE SETUP Program complete 1170 END Programming Examples Transferring the Logic Analyzer Configuration 18 17 ...

Page 320: ... can be used in a program to halt the program until measurement is complete 420 CHECK FOR MEASUREMENT COMPLETE 430 Enable the MESR register and query the register for a measurement 440 complete condition 450 460 OUTPUT 707 SYSTEM HEADER OFF 470 OUTPUT 707 SYSTEM LONGFORM OFF 480 490 Status 0 500 OUTPUT 707 MESE2 1 Enables register for slot B 510 OUTPUT 707 MESR2 Queries register for slot B 520 ENT...

Page 321: ...555D 30 40 CREATE TRANSFER BUFFER 50 51 NOTE WELL The data from the 16554A may be up to 19Mbytes long 52 NOTE WELL The data from the 16555A may be up to 38Mbytes long 53 NOTE WELL The data from the 16555D may be up to 76Mbytes long 54 You may estimate the size of the buffer needed using the following 55 formula 56 57 LET Cards Number of 16554 16555 cards in your module 58 LET Samples Memory Length...

Page 322: ... PRINT CHR Byte 380 WHILE Byte 35 390 ENTER Comm USING B Byte 400 PRINT CHR Byte 410 END WHILE 420 ENTER Comm USING B Byte 430 PRINT CHR Byte 440 Byte Byte 48 450 IF Byte 1 THEN ENTER Comm USING D Numbytes 460 IF Byte 2 THEN ENTER Comm USING DD Numbytes 470 IF Byte 3 THEN ENTER Comm USING DDD Numbytes 480 IF Byte 4 THEN ENTER Comm USING DDDD Numbytes 490 IF Byte 5 THEN ENTER Comm USING DDDDD Numby...

Page 323: ...DATA COMMAND 750 Send the Setup command 760 770 OUTPUT Comm USING 14A SYSTEM DATA 780 PRINT SYSTEM DATA command has been sent Press continue 790 PAUSE 800 810 SEND THE BLOCK DATA 820 Send the block data header to the HP 16554A HP 16555A in the proper 821 format 830 850 OUTPUT Comm USING A 8 860 Str1 DVAL Numbytes 10 870 Byte 1 920 PRINT USING AAAAAAAA Str1 4 930 OUTPUT Comm USING AAAAAAAA Str1 4 9...

Page 324: ...IT 1050 1060 RESTORE BUFFER POINTERS 1070 Restore the transfer buffer pointer 1080 1090 CONTROL Buff 5 Streg 1100 1110 SEND TERMINATING LINE FEED 1120 Send the terminating linefeed to properly terminate the data string 1130 1140 OUTPUT Comm 1150 1160 PRINT SENT THE DATA Program complete 1170 END Programming Examples Sending Queries to the Logic Analyzer 18 22 ...

Page 325: ...18 HISTogram QUALifier 16 19 HISTogram RANGe 16 20 HISTogram TTYPe 16 21 INSert 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 MLENgth 6 13 8 8 12 16 13 12 16 12 MMODe 7 10 13 14 14 10 MODE 5 10 Module Level 2 2 MOPQual 5 11 MQUal 5 12 NAME 3 8 OCONdition 13 15 14 11 OMARker 16 13 OPATtern 7 ...

Page 326: ...query 16 17 HISTogram OTHer command query 16 18 HISTogram QUALifier command query 16 19 HISTogram RANGe command query 16 20 HISTogram TTYPe command query 16 21 HSTatistic query 16 16 I INSert command 4 6 8 8 13 11 interleave 7 15 INTermodule Subsystem 1 7 internal clock 12 19 L label 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 ...

Page 327: ...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 13 10 8 12 15 HAXis 9 6 HIGH 16 9 HISTogram HSTatistic 16 16 HISTogram LABel 16 17 HISTogram OTHer 16 18 HISTogram QUALifier 16 19 HISTogram 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 MASTer 5 9 MENU 1 6 ME...

Page 328: ...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 13 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 subsy...

Page 329: ...tical scroll 4 7 VRUNs query 7 18 13 25 14 18 W 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...

Page 330: ...Index 6 ...

Page 331: ...void dangerous electric shock 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 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 Whenever it is likely that ...

Page 332: ...clusive remedies Hewlett Packard shall not be liable for any direct indirect special incidental or consequential damages whether based on contract tort 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 Packa...

Reviews: