Programmer’s GuidePublication number 16555-97011First edition, January 1997For Safety information, Warranties, and Regulatoryinformation, see the page
XOTag 7–19XOTime 7–19XPATtern 7–20XSEarch 7–21XSTate 7–22XTAG 7–228 SWAVeform SubsystemSWAVeform 8–4ACCumulate 8–5ACQuisition 8–5CENTer 8–
FINDCommand :MACHine{1|2}:STRigger:FIND<N><proceed_qualifier>,<occurrence>The FIND command defines the proceed qualifier for a given
Query :MACHine{1|2}:STRigger:FIND4?The FIND query returns the current proceed qualifier specification for agiven sequence level.Returned Format [:MACH
RANGeCommand :MACHine{1|2}:STRigger:RANGe<N> <label_name>,<start_pattern>,<stop_pattern>The RANGe command allows you to speci
Query :MACHine{1|2}:STRigger:RANGe<N>?The RANGe query returns the range recognizer end point specifications forthe range.Returned Format [:MACHi
STOReCommand :MACHine{1|2}:STRigger:STORe<N> <store_qualifier>The STORe command defines the store qualifier for a given sequence level.Any
TAGCommand :MACHine{1|2}:STRigger:TAG{OFF|TIME|<state_tag_qualifier>}The TAG command selects the type of count tagging (state or time) to beperf
TAKenbranch Command :MACHine{1|2}:STRigger:TAKenbranch {STORe|NOSTore}The TAKenbranch command allows you to specify whether the state causingthe branc
TCONtrolCommand :MACHine{1|2}:STRigger:TCONtrol<N> <timer_num>,{OFF|STARt|PAUSe|CONTinue}The TCONtrol (timer control) command allows you t
TERM Command :MACHine{1|2}:STRigger:TERM <term_id>,<label_name>,<pattern>The TERM command allows you to specify a pattern recognizer
Query :MACHine{1|2}:STRigger:TERM? <term_id>,<label_name>The TERM query returns the specification of the term specified by termidentificat
FIND 10–8LINE 10–9MENU 10–9RANGe 10–10RUNTil 10–11SET 10–1211 TFORmat SubsystemTFORmat 11–4ACQMode 11–5LABel 11–6REMove 11–7THReshold 11–812 TTR
TPOSition Command :MACHine{1|2}:STRigger:TPOSition{STARt|CENTer|END| POSTstore,<poststore>}The TPOSition (trigger position) command allows you t
7SLISt Subsystem
IntroductionThe SLISt subsystem contains the commands available for the StateListing menu in the HP 16554A/HP 16555A/HP 16555D logic analyzermodules.
Figure 7-1SLISt Subsystem Syntax DiagramSLISt Subsystem7–3
Figure 7-1 (continued)SLISt Subsystem Syntax Diagram (continued)SLISt Subsystem7–4
Figure 7-1 (continued)SLISt Subsystem Syntax Diagram (continued)SLISt Subsystem7–5
Table 7-1 SLISt Subsystem Parameter ValuesParameter Valuemod_num{1|2|3|4|5|6|7|8|9|10}col_num integer from 1 to 61line_number integer from -516096 to
SLISt Selector :MACHine{1|2}:SLIStThe SLISt selector is used as part of a compound header to access thosesettings normally found in the State Listing
Query :MACHine{1|2}:SLISt:COLumn? <col_num>The COLumn query returns the column number, module slot, machine, labelname, and base for the specifi
DATA Query :MACHine{1|2}:SLISt:DATA? <line_number>,<label_name>The DATA query returns the value at a specified line number for a givenlabe
13 TWAVeform SubsystemTWAVeform 13–7ACCumulate 13–7ACQuisition 13–8CENTer 13–9CLRPattern 13–9CLRStat 13–9DELay 13–10INSert 13–11MLENgth 13–12MINus 13–
Query :MACHine{1|2}:SLISt:LINE?The LINE query returns the line number for the state currently in the box atthe center of the screen.Returned Format [:
Query :MACHine{1|2}:SLISt:MMODe?The MMODe query returns the current marker mode selected.Returned Format[:MACHine{1|2}:SLISt:MMODe] <marker_mode>
Query :MACHine{1|2}:SLISt:OPATtern? <label_name>The OPATtern query returns the pattern specification for a given label name.Returned Format[:MAC
Query :MACHine{1|2}:SLISt:OSEarch?The OSEarch query returns the search criteria for the O marker. Returned Format[:MACHine{1|2}:SLISt:OSEarch] <occ
OTAG Command :MACHine{1|2}:SLISt:OTAG{<time_value>|<state_value>}The OTAG command specifies the tag value on which the O Marker should bep
OVERlay Command :MACHine{1|2}:SLISt:OVERlay <col_num>,<module_num>,MACHine{1|2},<label_name>The OVERlay command allows you to add ti
RUNTil Command :MACHine{1|2}:SLISt:RUNTil <run_until_spec>The RUNTil (run until) command allows you to define a stop condition whenthe trace mod
TAVerage Query :MACHine{1|2}:SLISt:TAVerage?The TAVerage query returns the value of the average time between the Xand O Markers. If the number of val
TMINimum Query :MACHine{1|2}:SLISt:TMINimum?The TMINimum query returns the value of the minimum time between the Xand O Markers. If data is not valid
XOTag Query :MACHine{1|2}:SLISt:XOTag?The XOTag query returns the time from the X to O markers when the markermode is time, or number of states from t
14 TLISt SubsystemTLISt 14–7COLumn 14–7CLRPattern 14–8DATA 14–9LINE 14–9MMODe 14–10OCONdition 14–11OPATtern 14–12OSEarch 14–13OSTate 14–14OTAG 14–14RE
XPATtern Command :MACHine{1|2}:SLISt:XPATtern<label_name>,<label_pattern>The XPATtern command allows you to construct a pattern recognizer
XSEarch Command :MACHine{1|2}:SLISt:XSEarch <occurrence>,<origin>The XSEarch command defines the search criteria for the X marker, which i
XSTate Query :MACHine{1|2}:SLISt:XSTate?The XSTate query returns the line number in the listing where the X markerresides. If data is not valid, the
Query :MACHine{1|2}:SLISt:XTAG?The XTAG query returns the X marker position in time when time tagging ison or in states when state tagging is on, rega
7–24
8SWAVeform Subsystem
IntroductionThe commands in the State Waveform subsystem allow you toconfigure the display so that you can view state data as waveforms. Upto 96 chann
Figure 8-1SWAVeform Subsystem Syntax DiagramSWAVeform Subsystem8–3
Table 8-1 SWAVeform Subsystem Parameter ValuesParameter Valuenumber_of_samples integer from -516096 to +516096 (HP 16554A) or from -1040384to +10403
ACCumulateCommand :MACHine{1|2}:SWAVeform:ACCumulate{{ON|1}|{OFF|0}}The ACCumulate command allows you to control whether the waveformdisplay gets eras
16 SPA SubsystemMODE 16–7OVERView:BUCKet 16–8OVERView:HIGH 16–9OVERView:LABel 16–10OVERView:LOW 16–11OVERView:MLENgth 16–12OVERView:OMARker 16–13OVERV
Query MACHine{1|2}:SWAVeform:ACQuisition?The ACQuisition query returns the current acquisition mode.Returned Format[MACHine{1|2}:SWAVeform:ACQuisition
CLRStatCommand :MACHine{1|2}:SWAVeform:CLRStatThe CLRStat command allows you to clear the waveform statistics withouthaving to stop and restart the ac
INSertCommand MACHine{1|2}:SWAVeform:INSert <label_name>,<bit_id>The INSert command allows you to add waveforms to the state waveformdispl
Example OUTPUT XXX;":MACHINE1:SWAVEFORM:MLENGTH 262144"Query :MACHine{1|2}:SWAVeform:MLENgth?The MLENgth query returns the current analyzer
REMoveCommand :MACHine{1|2}:SWAVeform:REMoveThe REMove command clears the waveform display before building a newdisplay.Example OUTPUT XXX;":MACH
TPOSitionCommand MACHine{1|2}:SWAVeform:TPOSition{STARt|CENTer|END|POSTstore,<percent>}The TPOSition command allows you to control where the tri
8–12
9SCHart Subsystem
IntroductionThe State Chart subsystem provides the commands necessary forprogramming the HP 16554A/HP 16555A/HP 16555D’s Chart display.The commands al
Figure 9-1SCHart Subsystem Syntax DiagramTable 9-1 SCHart Subsystem Parameter ValuesParameter Valuestate_low_valueinteger between ±516096 (HP 16554A)
Part 3 Programming Examples18 Programming ExamplesMaking a Timing Analyzer Measurement 18–3Making a State Analyzer Measurement 18–5Making a State Co
SCHartSelector :MACHine{1|2}:SCHartThe SCHart selector is used as part of a compound header to access thesettings found in the State Chart menu. It a
CENTerCommand MACHine{1|2}:SCHart:CENTer <marker_type>The CENTer command centers the chart display about the specified markers.The markers are p
ExampleOUTPUT XXX;":MACHINE1:SCHART:HAXIS STATES, −100, 100"OUTPUT XXX;":MACHINE1:SCHART:HAXIS ’READ’, ’−511’, ’511’, 0,300"Query
Query MACHine{1|2}:SCHart:VAXis?The VAXis query returns the current vertical axis label and scaling.Returned Format[:MACHine{1|2}:SCHart:VAXis] <la
9–8
10COMPare Subsystem
IntroductionCommands in the state COMPare subsystem provide the ability to do abit-by-bit comparison between the acquired state data listing and acomp
COMPare Subsystem Syntax DiagramFigure 10-1COMPare Subsystem10–3
Table 10-1 COMPare Subsystem Parameter ValuesParameter Valuelabel_name string of up to 6 characterscare_spec string of characters "{*|.}..."
CLEarCommand :MACHine{1|2}:COMPare:CLEarThe CLEar command clears all "don’t cares" in the reference listing andreplaces them with zeros exce
Contents–10
COPYCommand :MACHine{1|2}:COMPare:COPYThe COPY command copies the current acquired State Listing for thespecified machine into the Compare Listing tem
<label_name> a string of up to 6 alphanumeric characters<line_num> integer from –122880 to +122880 (HP 16554A) or –253951 to +253951(HP 1
FINDQuery :MACHine{1|2}:COMPare:FIND? <diff_occurrence>The FIND query is used to get the line number of a specified differenceoccurrence (first,
LINECommand :MACHine{1|2}:COMPare:LINE <line_num>The LINE command allows you to center the compare listing display about aspecified line number.
RANGeCommand :MACHine{1|2}:COMPare:RANGe {FULL |PARTial,<start_line>,<stop_line>}The RANGe command allows you to define the boundaries for
RUNTilCommand :MACHine{1|2}:COMPare:RUNTil {OFF | LT,<value> |GT,<value> | INRange,<value>,<value> |OUTRange,<value>,<
Query :MACHine{1|2}:COMPare:RUNTil?The RUNTil query returns the current stop criteria for the comparison whenrunning in repetitive trace mode.Returned
11TFORmat Subsystem
IntroductionThe TFORmat subsystem contains the commands available for theTiming Format menu in the HP 16554A/HP 16555A/HP 16555D logicanalyzer module.
TFORmat Subsystem Syntax DiagramFigure 11-1TFORmat Subsystem11–3
Part 11 Introduction to Programming2 Module Level CommandsGeneral Information
Table 11-1 TFORmat Subsystem Parameter ValuesParameter Value<N> an integer from 1 to 12name string of up to 6 alphanumeric characterspolarity{P
ACQMode Command :MACHine{1|2}:TFORmat:ACQMode {FULL | HALF} The ACQMode (acquisition mode) command allows you to select theacquisition mode for the ti
LABel Command :MACHine{1|2}:TFORmat:LABel <name>[,<polarity>,<clock_bits>,[<clock_bits>,]<upper_bits>,<lower_bits>
<upper_bits> format (integer from 0 to 65535) for a pod (pods are assigned in decreasingorder)<lower_bits> format (integer from 0 to 65535
THReshold Command :MACHine{1|2}:TFORmat:THReshold<N>{TTL|ECL|<value>}The THReshold command allows you to set the voltage threshold for a g
12TTRigger (TTRace) Subsystem
IntroductionThe TTRigger subsystem contains the commands available for theTiming Trigger menu in the HP 16554A/HP 16555A/HP 16555D logicanalyzer modul
Figure 12-1TTRigger Subsystem Syntax DiagramTTRigger (TTRace) Subsystem12–3
Figure 12-1 (continued)TTRigger Subsystem Syntax Diagram (continued)TTRigger (TTRace) Subsystem12–4
Table 12-1 TTRigger Parameter ValuesParameter Valuebranch_qualifier<qualifier>to_level_num integer from 1 to last sequence levelproceed_qualifie
QualifierThe qualifier for the timing trigger subsystem can be terms A through G andI, Timer 1 and 2, Range 1 and 2, and Edge 1 and 2. In addition, q
<term3a> { A | NOTA }<term3b> { B | NOTB }<term3c> { C | NOTC }<term3d> { D | NOTD }<term3e> { E | NOTE }<term3f>
Qualifier RulesThe following rules apply to qualifiers:•Qualifiers are quoted strings and, therefore, need quotes.•Expressions are evaluated from left
ACQuisitionCommand :MACHine{1|2}:TTRigger:ACQuisition{AUTOmatic|MANual} The ACQuisition command allows you to specify the acquisition mode for thetimi
Within the limitations shown by the syntax definitions, complex expressionsmay be formed using the AND and OR operators. Expressions are limited towh
Query :MACHine{1|2}:TTRigger:BRANch<N>?The BRANch query returns the current branch qualifier specification for agiven sequence level.Returned Fo
Terms A through E, RANGE 1, EDGE1, and TIMER 1 must be grouped togetherand terms F, G, and I, RANGE 2, EDGE2, and TIMER 2 must be grouped together.In
EDGECommand :MACHine{1|2}:TTRigger:EDGE<N> <label_name>,<edge_spec>The EDGE command allows you to define edge specifications for a g
Query :MACHine{1|2}:TTRigger:EDGE<N>? <label_name>The EDGE query returns the current specification for the given label.Returned Format[:M
LT less than<duration_time>real number from 8 ns to 5.00 seconds depending on sample period<occurrence> integer from 1 to 1048575 ExampleO
1Programming the HP 16554A/HP 16555A/HP 16555D
MLENgthCommand :MACHine{1|2}:TTRigger:MLENgth <memory_length>The MLENgth command allows you to specify the analyzer memory depth.Valid memory d
RANGeCommand :MACHine{1|2}:TTRigger:RANGe<N> <label_name>,<start_pattern>,<stop_pattern>The RANGe command allows you to specif
SEQuenceCommand :MACHine{1|2}:TTRigger:SEQuence <number_of_levels>The SEQuence command defines the timing analyzer trigger sequence. Firstit de
SPERiodCommand :MACHine{1|2}:TTRigger:SPERiod <sample_period>The SPERiod command allows you to set the sample period of the timinganalyzer.<s
TCONtrol Command :MACHine{1|2}:TTRigger:TCONtrol<N> <timer_num>,{OFF|STARt|PAUSe|CONTinue}The TCONtrol (timer control) command allows you
TERMCommand :MACHine{1|2}:TTRigger:TERM <term_id>,<label_name>,<pattern>The TERM command allows you to a specify a pattern recognize
Query :MACHine{1|2}:TTRigger:TERM?<term_id>,<label_name>The TERM query returns the specification of the term indicated by termidentificati
TPOSition Command :MACHine{1|2}:TTRigger:TPOSition{STARt|CENTer|END|DELay, <time_val>|POSTstore,<poststore>}The TPOSition (trigger positio
12–24
13TWAVeform Subsystem
IntroductionThis chapter introduces you to the basic command structure used toprogram the logic analyzer. Also included is an example program thatset
IntroductionThe TWAVeform subsystem contains the commands available for theTiming Waveforms menu in the HP 16554A/HP 16555A/HP 16555Dlogic analyzer mo
Figure 13-1TWAVeform Subsystem Syntax DiagramTWAVeform Subsystem13–3
Figure 13-1 (continued)TWAVeform Subsystem Syntax Diagram (continued)TWAVeform Subsystem13–4
Figure 13-1 (continued)TWAVeform Subsystem Syntax Diagram (continued)TWAVeform Subsystem13–5
Table 13-1 TWAVeform Parameter ValuesParameter Valuedelay_value real number between -2500 s and +2500 smodule_spec{1|2|3|4|5|6|7|8|9|10}bit_id integer
TWAVeformSelector :MACHine{1|2}:TWAVeformThe TWAVeform selector is used as part of a compound header to access thesettings found in the Timing Wavefor
Query :MACHine{1|2}:TWAVeform:ACCumulate?The ACCumulate query returns the current setting. The query always showsthe setting as the characters, "
CENTerCommand :MACHine{1|2}:TWAVeform:CENTer <marker_type>The CENTer command allows you to center the waveform display about thespecified marker
DELayCommand :MACHine{1|2}:TWAVeform:DELay <delay_value>The DELay command specifies the amount of time between the timingtrigger and the horizon
INSertCommand :MACHine{1|2}:TWAVeform:INSert [<module_spec>,]<label_name>[,{<bit_id>|OVERlay|ALL}]The INSert command inserts wavefor
Selecting the ModuleBefore you can program the logic analyzer, you must first "select" it. Thisdirects your commands to the logic analyzer.
Inserting Oscilloscope WaveformsCommand:MACHine{1|2}:TWAVeform:INSert <module_spec>,<label_name>This inserts a waveform from an oscillosco
Query :MACHine{1|2}:TWAVeform:MLENgth?The MLENgth query returns the current analyzer memory depth selection.Returned Format[:MACHine{1|2}:TWAVeform:ML
MMODeCommand :MACHine{1|2}:TWAVeform:MMODe{OFF|PATTern|TIME|MSTats}The MMODe (Marker Mode) command selects the mode controlling markermovement and the
OCONditionCommand :MACHine{1|2}:TWAVeform:OCONdition{ENTering|EXITing}The OCONdition command specifies where the O marker is placed. TheO marker can
OPATternCommand :MACHine{1|2}:TWAVeform:OPATtern <label_name>,<label_pattern>The OPATtern command allows you to construct a pattern recogn
OSEarchCommand :MACHine{1|2}:TWAVeform:OSEarch <occurrence>,<origin>The OSEarch command defines the search criteria for the O marker which
OTIMeCommand :MACHine{1|2}:TWAVeform:OTIMe <time_value>The OTIMe command positions the O marker in time when the marker modeis TIME. If data is
<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|I|J
RANGeCommand :MACHine{1|2}:TWAVeform:RANGe <time_value>The RANGe command specifies the full-screen time in the timing waveformmenu. It is equiv
RUNTilCommand :MACHine{1|2}:TWAVeform:RUNTil <run_until_spec>The RUNTil (run until) command defines stop criteria based on the timebetween the X
The following example program sets up the logic analyzer to make a simpletiming analyzer measurement.Example 10 OUTPUT XXX;":SELECT 3"
SPERiodCommand :MACHine{1|2}:TWAVeform:SPERiod <sample_period>The SPERiod command allows you to set the sample period of the timinganalyzer.<
TAVerageQuery :MACHine{1|2}:TWAVeform:TAVerage?The TAVerage query returns the value of the average time between theX and O markers. If there is no va
TMINimumQuery :MACHine{1|2}:TWAVeform:TMINimum?The TMINimum query returns the value of the minimum time between the Xand O markers. If there is no va
Query MACHine{1|2}:TWAVeform:TPOSition?The TPOSition query returns the current trigger setting.Returned Format[MACHine{1|2}:TWAVeform:TPOSition] {STAR
XCONditionCommand :MACHine{1|2}:TWAVeform:XCONdition{ENTering | EXITing}The XCONdition command specifies where the X marker is placed. The Xmarker ca
XPATternCommand :MACHine{1|2}:TWAVeform:XPATtern<label_name>,<label_pattern>The XPATtern command allows you to construct a pattern for the
XSEarchCommand :MACHine{1|2}:TWAVeform:XSEarch<occurrence>,<origin>The XSEarch command defines the search criteria for the X marker. Thec
XTIMeCommand :MACHine{1|2}:TWAVeform:XTIMe <time_value>The XTIMe command positions the X marker in time when the marker modeis time. If data is
13–30
14TLISt Subsystem
Mainframe CommandsThese commands are part of the HP 16500/16501A mainframe system andare mentioned here only for reference. For more information on t
IntroductionThe TLISt subsystem contains the commands available for the TimingListing menu in the HP 16554A/HP 16555A/HP 16555D logic analyzermodules
Figure 14-1TLISt Subsystem Syntax DiagramTLISt Subsystem14–3
Figure 14-1 (continued)TLISt Subsystem Syntax Diagram (continued)TLISt Subsystem14–4
Figure 14-1 (continued)TLISt Subsystem Syntax Diagram (continued)TLISt Subsystem14–5
Table 14-1 TLISt Parameter ValuesParameter Valuemod_num{1|2|3|4|5|6|7|8|9|10}mach_num{1|2}col_num integer from 1 to 61line_number integer between ±10
TLIStSelector :MACHine{1|2}:TLIStThe TLISt selector is used as part of a compound header to access thosesettings normally found in the Timing Listing
Example OUTPUT XXX;":MACHINE1:TLIST:COLUMN 4,2,’A’,HEX"Query :MACHine{1|2}:TLISt:COLumn? <col_num>The COLumn query returns the column
DATAQuery :MACHine{1|2}:TLISt:DATA? <line_number>,<label_name>The DATA query returns the value at a specified line number for a givenlabel
Query :MACHine{1|2}:TLISt:LINE?The LINE query returns the line number for the state currently in the dataroll box at the center of the screen.Returned
OCONditionCommand :MACHine{1|2}:TLISt:OCONdition {ENTering|EXITing}The OCONdition command specifies where the O marker is placed. TheO marker can be
MENU Command/query The MENU command selects a new displayed menu. The first parameter (X)specifies the desired module. The optional, second paramete
OPATternCommand :MACHine{1|2}:TLISt:OPATtern <label_name>,<label_pattern>The OPATtern command allows you to construct a pattern for the O
OSEarchCommand :MACHine{1|2}:TLISt:OSEarch <occurrence>,<origin>The OSEarch command defines the search criteria for the O marker, which is
OSTateQuery :MACHine{1|2}:TLISt:OSTate?The OSTate query returns the line number in the listing where the O markerresides. If data is not valid, the q
Query :MACHine{1|2}:TLISt:OTAG?The OTAG query returns the O marker position in time regardless of whetherthe marker was positioned in time or through
RUNTilCommand :MACHine{1|2}:TLISt:RUNTil <run_until_spec>The RUNTil (run until) command allows you to define a stop condition whenthe run mode i
TAVerageQuery :MACHine{1|2}:TLISt:TAVerage?The TAVerage query returns the value of the average time between the Xand O markers. If the number of vali
TMINimumQuery :MACHine{1|2}:TLISt:TMINimum?The TMINimum query returns the value of the minimum time between the Xand O markers. If data is not valid,
XCONditionCommand :MACHine{1|2}:TLISt:XCONdition {ENTering|EXITing}The XCONdition command specifies where the X marker is placed. TheX marker can be
XOTimeQuery :MACHine{1|2}:TLISt:XOTime?The XOTime query returns the time from the X to O markers. If there is nodata the query returns 9.9E37.Returne
Example OUTPUT XXX;":MACHINE1:TLIST:XPATTERN ’DATA’,’255’ "OUTPUT XXX;":MACHINE1:TLIST:XPATTERN ’ABC’,’#BXXXX1101’ "Query :MACHine
STOP Command The STOP command stops the specified module. If the specified module isconfigured as part of an intermodule run, STOP will stop all asso
Query :MACHine{1|2}:TLISt:XSEarch?The XSEarch query returns the search criteria for the X marker. Returned Format[:MACHine{1|2}:TLISt:XSEarch] <occ
XTAGCommand :MACHine{1|2}:TLISt:XTAG <time_value>The XTAG command specifies the tag value on which the X marker should beplaced. The tag value
14–24
15SYMBol Subsystem
IntroductionThe SYMBol subsystem contains the commands that allow you todefine symbols on the controller and download them to theHP 16554A/HP 16555A/H
SYMBol Subsystem Syntax DiagramFigure 15-1SYMBol Subsystem15–3
Table 15-1 SYMBol Parameter ValuesParameter Valuelabel_name string of up to 6 alphanumeric characterssymbol_name string of up to 16 alphanumeric chara
SYMBolSelector :MACHine{1|2}:SYMBolThe SYMBol selector is used as a part of a compound header to access thecommands used to create symbols. It always
PATTernCommand :MACHine{1|2}:SYMBol:PATTern <label_name>,<symbol_name>,<pattern_value>The PATTern command allows you to create a pat
RANGeCommand :MACHine{1|2}:SYMBol:RANGe <label_name>,<symbol_name>,<start_value>,<stop_value>The RANGe command allows you to c
Command Set Organization The command set for the HP 16554A/HP 16555A/HP 16555D is divided intomodule-level commands and subsystem commands. Module-le
REMoveCommand :MACHine{1|2}:SYMBol:REMoveThe REMove command deletes all symbols from a specified machine.Example OUTPUT XXX;":MACHINE1:SYMBOL:REM
16SPA Subsystem
IntroductionThis chapter provides you with information for programming theSystem Performance Analysis (SPA) features on the HP 16554A/HP 16555A/HP 165
Figure 16-1SPA Subsystem Syntax DiagramSPA Subsystem 16–3
Figure 16-1 (continued)SPA Subsystem Syntax Diagram (continued)SPA Subsystem16–4
Figure 16-1 (continued)SPA Subsystem Syntax Diagram (continued)SPA Subsystem 16–5
Table 16-1 SPA Subsystem Parameter ValuesParameter Valuebucket_num 0 to (number of valid buckets - 1)high_patt<pattern>label_name a string of up
MODECommand :SPA{1|2}:MODE {OVERView|HISTogram|TINTerval}The MODE command selects which menu to display: State Overview, StateHistogram, or Time Inter
OVERView:BUCKetQuery :SPA{1|2}:OVERView:BUCKet?{SIZE|NUMBer|<bucket_num>}The OVERView:BUCKet query returns data relating to the State Overviewm
OVERView:HIGHCommand :SPA{1|2}:OVERView:HIGH <high_pattern>The OVERView:HIGH command sets the upper boundary of the StateOverview measurement.
HP 16554A/HP 16555A/HP 16555D Command TreeFigure 1-1Programming the HP 16554A/ HP 16555A/HP 16555DCommand Set Organization 1–9
OVERView:LABelCommand :SPA{1|2}:OVERView:LABel <label_name>The OVERView:LABel command selects a new label for collecting the SPAmeasurements.
OVERView:LOWCommand :SPA{1|2}:OVERView:LOW <low_pattern>The OVERView:LOW command sets the lower boundary of the StateOverview measurement. A q
OVERView:MLENgthCommand :SPA{1|2}:OVERView:MLENgth <memory_length>The MLENgth command specifies the memory depth. Valid memory depthsrange from
OVERView:OMARkerCommand :SPA{1|2}:OVERView:OMARker <o_pattern>The OVERView:OMARker command sends the O marker to the lowerboundary of the bucke
OVERView:OVSTatisticQuery :SPA{1|2}:OVERView:OVSTatistic?{XHITs|OHITs|TOTal}The OVERView:OVSTatistic query returns the number of hits associated with
OVERView:XMARkerCommand :SPA{1|2}:OVERView:XMARker <x_pattern>The OVERView:XMARker command sends the X marker to the lowerboundary of the bucke
HISTogram:HSTatisticQuery :SPA{1|2}:HISTogram:HSTatistic?{TOTal|OTHer|<range_number>}The HISTogram:HSTatistic query returns the total number of
HISTogram:LABelCommand :SPA{1|2}:HISTogram:LABel <label_name>The HISTogram:LABel command selects a new label for collecting SPAmeasurements. A
HISTogram:OTHerCommand :SPA{1|2}:HISTogram:OTHer {INCLuded|EXCLuded}The HISTogram:OTHer command selects including or excluding the "other"h
HISTogram:QUALifierCommand :SPA{1|2}:HISTogram:QUALifier <label_name>,<pattern>The HISTogram:QUALifier command sets the pattern associate
Table 1-1Alphabetical Command-to-Subsystem DirectoryCommand Where UsedACCumulate SCHart, SWAVeform, TWAVeformACQMode TFORmatACQuisition STRigger, SWAV
HISTogram:RANGeCommand :SPA{1|2}:HISTogram:RANGe {OFF | <range_num>,<range_name>,<low_patt>,<high_patt>}The HISTogram:RANGe c
HISTogram:TTYPeCommand :SPA{1|2}:HISTogram:TTYPe {ALL|QUALified}The HISTogram:TTYPe command sets the trigger to trigger on anystate or onqualified st
TINTerval:AUTorangeCommand :SPA{1|2}:TINTerval:AUTorange{LOGarithmic|LINear},<min_time>,<max_time>The TINTerval:AUTorange command automat
TINTerval:QUALifierCommand :SPA{1|2}:TINTerval:QUALifier <label_name>,<start_pattern>,<end_pattern>The TINTerval:QUALifier command
TINTerval:TINTervalCommand :SPA{1|2}:TINTerval:TINTerval<interval_number>,<min_time>,<max_time>The TINTerval:TINTerval command spec
TINTerval:TSTatisticQuery :SPA{1|2}:TINTerval:TSTatistic? {TMINimum|TMAXimum|TAVerage|TOTal|TTOTal|<interval_number>}The TINTerval:TSTatistic q
16–26
17DATA and SETup Commands
IntroductionThe DATA and SETup commands are SYSTem commands that allowyou to send and receive block data between the HP 16554A,HP 16555A, or HP 16555D
Data FormatTo understand the format of the data within the block data, there are fourimportant things to keep in mind.•Data is sent to the controller
Table 1-1, continuedAlphabetical Command-to-Subsystem Directory, continuedCommand Where UsedTCONtrol STRigger, TTRiggerTERM STRigger, TTRiggerTHReshol
SYSTem:DATACommand :SYSTem:DATA <block data>The SYSTem:DATA command transmits the acquisition memory data fromthe controller to the HP 16554A/HP
<block data> <block length specifier><section>...<block lengthspecifier#8<length><length> the total length of all sec
Section Header DescriptionBecause block data may contain multiple sections, this description numbersbytes beginning at the section header. The initia
Data Preamble DescriptionThe UNPacked block data is organized as 574 bytes of preamble information,followed by a variable number of bytes of data. The
Byte Position37 4 bytes - List of pods in this analyzer, where a binary 1 indicates that thecorresponding pod is assigned to this analyzerbit 31 bit 3
Byte Position61 4 bytes - Tag type for state mode in one of the following decimal values:0 = off1 = time tags2 = state tags65 8 bytes - Trigger offset
Byte Position Bytes 241 through 244 contain the number of valid rows of data forpod 1 of either the expansion card in a two-card module, or a middleca
Acquisition Data DescriptionThe acquisition data section consists of a variable number of bytes dependingon the number of cards in the configuration,
The depth of the data array is equal to the pod with the greatest number ofrows of valid data. If a pod has fewer rows of valid data than the data ar
Example A three-card configuration with 516096 valid rowsFirst data byte = byte 591Last data byte = 14,451,278 [591 + (28 × 516096) - 1]Time Tag Data
In This BookThis guide, combined with theHP 16500/16501A Programmer’sGuide, provides you with the informationneeded to program the HP 16554A andHP 165
Module Status Reporting Each module reports its status to the Module Event Status Register(MESR<N>), which in turn reports to the Combined Event
Additionally, the following sections may also be included, depending on whatis available:"SYMBOLS A ""SYMBOLS B ""INVASM A &
Part 318 Programming ExamplesProgramming Examples
18Programming Examples
IntroductionThis chapter contains short, usable, and tested programs that coverthe most asked for examples. The examples are written in HP BASIC6.0.
Making a Timing Analyzer MeasurementThis program sets up the logic analyzer to make a simple timing analyzermeasurement. This example can be used with
360 OUTPUT 707;":MACH1:TWAVEFORM:REMOVE"370 OUTPUT 707;":MACH1:TWAVEFORM:INSERT ’COUNT’, ALL"380 OUTPUT 707;":MACH1:TWA
Making a State Analyzer MeasurementThis state analyzer program selects the HP 16554A/HP 16555A/HP 16555Dmodule, displays the configuration menu, defin
270 ! ******************* SETUP THE TRIGGER SPECIFICATION ********************280 ! The trigger specification will use five sequence levels with t
720 ! ***************** CONFIGURE SEQUENCE LEVEL 4 ***************************730 ! Store a combination of resource terms (C or D or RANGE1) in le
MESE<N>Command :MESE<N><enable_mask>The MESE<N> command sets the Module Event Status Enable register bits.The MESE register co
1170 IF (Status AND 1)=1 THEN GOTO 11901180 GOTO 10701190 PRINT TABXY(30,15);"Measurement is complete"1200 !1210 ! ********************
Making a State Compare Analyzer MeasurementThis program example acquires a state listing, copies the listing to thecompare listing, acquires another s
310 ! ******************************************************************320 ! Specify two sequence levels, the trigger sequence level, specify330
720 !***********************************************************************730 ! Display line 4090 of the compare listing and start the analyzer7
1100 !************************************************************************1110 ! Start the logic analyzer to acquire new data and then stop it t
1540 !1550 ENTER 707 USING "#,2A";Error$1555 ENTER 707 USING "#,1A";Comma$1560 ENTER 707 USING "K";Line$1570 GOTO 1
Transferring the Logic Analyzer ConfigurationThis program uses the SYSTem:SETup query to transfer the configuration ofthe logic analyzer to your contr
270 ! *********************** SEND THE SETUP QUERY **************************280 OUTPUT 707;":SYSTEM:HEADER ON"290 OUTPUT 707;":S
660 ! ********************* SEND THE SETUP **********************************670 ! Make sure buffer is not empty.680 !690 IF Numbytes=0 THEN 7
1060 ! ********************** RESTORE BUFFER POINTERS ***********************1070 ! Restore the transfer buffer pointer1080 !1090 CONTROL @Buff,5;
Table 1-2 Module Event Status Enable Register (A "1" enables the MESR bit)Bit Weight Enables7 128 Not used6 64 Not used5 32 Not used4 16
Checking for Measurement CompletionThis program can be appended to or inserted into another program when youneed to know when a measurement is complet
Sending Queries to the Logic AnalyzerThis program example contains the steps required to send a query to thelogic analyzer. Sending the query alone o
150 !160 ! ************* INTITIALIZE VARIABLE FOR NUMBER OF BYTES *****************170 ! The variable "Numbytes" contains the number o
550 ! ******************** TRANSER THE DATA ********************************560 ! Transfer the data from the logic analyzer to the buffer.570 !5
1010 ! ************* TRANSFER DATA TO THE HP 16554A/HP 16555 ****************1020 ! Transfer the data from the buffer to the HP 16554A/HP 16555A.103
IndexAA+B, 4–11, 13–19A,B, 13–18A-B, 13–13ACCumulate command/query, 8–5, 9–4,13–7ACQMode command/query, 11–5ACQuisition command/query, 6–8, 8–5,12–9,
WIDTh, 15–8WLISt, 2–7, 4–4XCONdition, 13–26, 14–19XMARker, 16–15XPATtern, 7–20, 13–27, 14–20XSEarch, 7–21, 13–28, 14–21XTAG, 7–22, 14–23XTIMe, 4–14, 1
OOCONdition command/query, 13–15, 14–11offset, 4–5OMARker command/query, 16–13OPATtern command/query, 7–11, 13–16,14–12OR’d trigger, 3–5OSEarch comman
TSTatistic, 16–25TTYPe, 16–21TYPE, 3–11VAXis, 9–7VRUNs, 7–18, 13–25, 14–18XCONdition, 13–26, 14–19XMARker, 16–15XOTag, 7–19, 14–19XOTime, 4–13, 7–19,
TSTatistic query, 16–25TTRace selector, 12–8TTRigger selector, 12–8TTRigger/TTRace subsystem, 12–1, 12–3 to 12–23TTYPe command/query, 16–21TWAVeform s
MESR<N>Query :MESR<N>? The MESR<N> query returns the contents of the Module Event Statusregister. When you read the MESR, the value
Index–6
© Copyright Hewlett-Packard Company 1987,1990, 1993, 1994, 1997All Rights Reserved.Reproduction, adaptation, ortranslation without priorwritten permis
Product WarrantyThis Hewlett-Packardproduct has a warrantyagainst defects in materialand workmanship for a periodof one year from date ofshipment. Du
Table 1-3 Module Event Status Register Bit Weight Condition7 128 Not used6 64 Not used5 32 Not used4 16 Not used3 8 1 = One or more pattern search
2Module Level Commands
IntroductionThe logic analyzer module level commands access the globalfunctions of the HP 16554A/HP 16555A/HP 16555D logic analyzermodule. These com
Module Level Syntax Diagram Figure 2-1Module Level Commands2–3
Table 2-1 Module Level Parameter Values Parameter Type of Parameter or Command Referencemachine_numMACHine{1|2}arm_parm arm parameters see chapter 3a
ARMLineCommand :ARMLine MACHine<N>The ARMLine command selects which machine generates the arm out signalon the IMB (intermodule bus). This comma
Part 3, chapter 18, contains program examples of actual tasks that show youhow to get started in programming the HP 16554A and HP 16555A/D logicanalyz
The UNPacked option uploads data in a format that is easy to interpret andprocess. The UNPacked format cannot be downloaded back into the analyzer.Ex
SPACommand :SPA<N>The SPA command selects which of the two analyzers the subsequentcommands or queries will refer to. SPA is also a subsystem co
Part 23 MACHine Subsystem4 WLISt Subsystem5 SFORmat Subsystem6 STRigger (STRace) Subsystem7 SLISt Subsystem8 SWAVeform Subsystem9 SCHart Subsystem10 C
3MACHine Subsystem
IntroductionThe MACHine subsystem contains the commands that control themachine level of operation of the logic analyzer. Some of the functionsare nor
Machine Subsystem Syntax DiagramFigure 3-1MACHine Subsystem3–3
Table 3-1 Machine Subsystem Parameter ValuesParameter Valuearm_source {RUN | INTermodule | MACHine {1|2}}pod_list{NONE | <pod_num>[, <pod_nu
ARMCommand :MACHine{1|2}:ARM <arm_source>The ARM command specifies the arming source of the specified analyzer(machine). The RUN option disable
SPA Subsystem16DATA and SETup Commands17Programming Examples18IndexSYMBol Subsystem15v
ASSignCommand :MACHine{1|2}:ASSign <pod_list>The ASSign command assigns pods to a particular analyzer (machine). TheASSign command will assign t
LEVelarmCommand :MACHine{1|2}:LEVelarm <arm_level>The LEVelarm command allows you to specify the sequence level for aspecified machine that will
NAMECommand :MACHine{1|2}:NAME <machine_name>The NAME command allows you to assign a name of up to 10 characters to aparticular analyzer (machin
<res_id> {<state_terms>|H|J} for state analyzer{<state_terms>|EDGE{1|2}} for timing analyzer<new_text> string of up to 8 alpha
Example OUTPUT XXX;":MACHINE1:RESOURCE A,C,RANGE1"Query :MACHine{1|2}:RESOURCE?The RESource query returns the current resource terms assigne
Query :MACHine{1|2}:TYPE?The TYPE query returns the current analyzer type for the specified analyzer.Returned Format[:MACHine{1|2}:TYPE] <analyzer
4WLISt Subsystem
IntroductionThe commands in the WLISt (Waveforms/LISting) subsystem controlthe X and O marker placement on the waveforms portion of theTiming/State mi
WLISt Subsystem Syntax DiagramFigure 4-1WLISt Subsystem4–3
Table 4-1 WLISt Subsystem Parameter Values Parameter Valuedelay_value real number between -2500 s and +2500 smodule_spec{1|2|3|4|5|6|7|8|9|10} (slot w
DELay Command :WLISt:DELay <delay_value>The DELay command specifies the amount of time between the timingtrigger and the horizontal center of th
INSert Command :WLISt:INSert [<module_spec>,]<label_name>[,{<bit_id>|OVERlay|ALL}]The INSert command inserts waveforms in the timing
Inserting Oscilloscope WaveformsCommand:WLISt:INSert <module_spec>,<label_name>This inserts a waveform from an oscilloscope to the timing
Query :WLISt:LINE?The LINE query returns the line number for the state currently in the datalisting roll box at center screen.Returned Format [:WLISt:
OSTate Query :WLISt:OSTate?The OSTate query returns the state where the O Marker is positioned. If datais not valid, the query returns 2147483647.Ret
Query :WLISt:OTIMe?The OTIMe query returns the O Marker position in time. If data is not valid,the query returns 9.9E37.Returned Format [:WLISt:OTIMe
PLUS Command :WLISt:PLUS <module_spec>,<waveform>,<waveform>The PLUS command inserts time-correlated A+B oscilloscope waveforms onth
RANGe Command :WLISt:RANGe <time_value>The RANGe command specifies the full-screen time in the timing waveformmenu. It is equivalent to ten tim
XOTime Query :WLISt:XOTime?The XOTime query returns the time from the X marker to the O marker. Ifdata is not valid, the query returns 9.9E37.Returne
ContentsPart 1 General Information1 Programming the HP 16554A/ HP 16555A/HP 16555DSelecting the Module 1–3Programming the Logic Analyzer 1–3Mainfram
XTIMe Command :WLISt:XTIMe <time_value>The XTIMe command positions the X Marker on the timing waveforms in themixed mode display. If the data i
5SFORmat Subsystem
IntroductionThe SFORmat subsystem contains the commands available for theState Format menu in the HP 16554A/HP 16555A/HP 16555D logicanalyzer modules.
Figure 5-1SFORmat Subsystem Syntax DiagramSFORmat Subsystem5–3
Figure 5-1 (continued)SFORmat Subsystem Syntax Diagram (continued)SFORmat Subsystem5–4
Table 5-1 SFORmat Subsystem Parameter ValuesParameter Value<N> an integer from 1 to 12label_name string of up to 6 alphanumeric characterspolar
SFORmat Selector :MACHine{1|2}:SFORmatThe SFORmat (State Format) selector is used as a part of a compoundheader to access the settings in the State Fo
Query :MACHine{1|2}:SFORmat:CLOCk<N>?The CLOCk query returns the current clocking mode for a given pod.Returned Format[:MACHine{1|2}:SFORmat:CLO
<name> string of up to 6 alphanumeric characters<polarity> {POSitive | NEGative}<clock_bits> format (integer from 0 to 65535) for a
MASTerCommand :MACHine{1|2}:SFORmat:MASTer <clock_id>,<clock_spec>The MASTer clock command allows you to specify a master clock for a give
4 WLISt SubsystemWLISt 4–4DELay 4–5INSert 4–6LINE 4–7MINus 4–8OSTate 4–9OTIMe 4–9OVERlay 4–10PLUS 4–11RANGe 4–12REMove 4–12XOTime
MODECommand :MACHine{1|2}:SFORmat:MODE {NORMal|FAST}The MODE command places an HP 16555 state analyzer in either 100 MHz(normal) or 110 MHz (fast) mod
MOPQualCommand :MACHine{1|2}:SFORmat:MOPQual <clock_pair_id>,<qual_operation>The MOPQual (master operation qualifier) command allows you t
MQUalCommand :MACHine{1|2}:SFORmat:MQUal <qual_num>,<clock_id>,<qual_level>The MQUal (master qualifier) command allows you to specif
REMove Command :MACHine{1|2}:SFORmat:REMove {<name>|ALL}The REMove command allows you to delete all labels or any one label for agiven machine.&
<pod_num> an integer from 1 to 12<set_hold_value>integer {0|1|2|3|4|5|6|7|8|9} representing the following setup andhold values:Table 5-2Se
SLAVeCommand :MACHine{1|2}:SFORmat:SLAVe <clock_id>,<clock_spec>The SLAVe clock command allows you to specify a slave clock for a givenmac
SOPQualCommand :MACHine{1|2}:SFORmat:SOPQual <clock_pair_id>,<qual_operation>The SOPQual (slave operation qualifier) command allows you to
SQUalCommand :MACHine{1|2}:SFORmat:SQUal<qual_num>,<clock_id>,<qual_level>The SQUal (slave qualifier) command allows you to specify
THResholdCommand :MACHine{1|2}:SFORmat:THReshold<N>{TTL|ECL|<voltage>}The THReshold command allows you to set the voltage threshold for a
6STRigger (STRace) Subsystem
6 STRigger (STRace) SubsystemQualifier 6–6STRigger (STRace) 6–8ACQuisition 6–8BRANch 6–9CLEar 6–11FIND 6–12MLENgth 6–13RANGe 6–14SEQuence 6–15STORe 6
IntroductionThe STRigger subsystem contains the commands available for theState Trigger menu in the HP 16554A/HP 16555A/HP 16555D logicanalyzer module
Figure 6-1STRigger Subsystem Syntax DiagramSTRigger (STRace) Subsystem6–3
Figure 6-1 (continued)STRigger Subsystem Syntax Diagram (continued)STRigger (STRace) Subsystem6–4
Table 6-1 STRigger Subsystem Parameter ValuesParameter Valuebranch_qualifier <qualifier>qualifier see "Qualifier" on page 6–6to_lev_n
QualifierThe qualifier for the state trigger subsystem can be terms A through J, Timer1 and 2, and Range 1 and 2. In addition, qualifiers can be the
<term3a> { A | NOTA }<term3b> { B | NOTB }<term3c> { C | NOTC }<term3d> { D | NOTD }<term3e> { E | NOTE }<term3f>
STRigger (STRace)Selector :MACHine{1|2}:STRigger The STRigger (STRace) (State Trigger) selector is used as a part of acompound header to access the se
BRANchCommand :MACHine{1|2}:STRigger:BRANch<N><branch_qualifier>,<to_level_number>The BRANch command defines the branch qualifier fo
Example OUTPUT XXX;":MACHINE1:STRIGGER:BRANCH1 ’ANYSTATE’, 3"OUTPUT XXX;":MACHINE1:STRIGGER:BRANCH2 ’A’, 7"OUTPUT XXX;":MACHI
Example The following example would be used to specify the complex qualifier shownin figure 6-2.OUTPUT XXX;":MACHINE1:STRIGGER:BRANCH1 ’((A OR B)
Komentáře k této Příručce