HP 16554A Programmer's Manual page 161

State/timing logic analyzers
Table of Contents

Advertisement

a string of up to 6 alphanumeric characters
<label_name>
integer from –122880 to +122880 (HP 16554A) or –253951 to +253951
<line_num>
(HP 16555A) or –507903 to +507903 (HP 16555D)
<data_pattern>
"{#B{0|1|X} . . . |
#Q{0|1|2|3|4|5|6|7|X} . . . |
#H{0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|X} . . . |
{0|1|2|3|4|5|6|7|8|9} . . . }"
Example
OUTPUT XXX;":MACHINE2:COMPARE:DATA 'CLOCK', 42, '#B011X101X'"
OUTPUT XXX;":MACHINE2:COMPARE:DATA 'OUT3', 0, '#HFF40'"
OUTPUT XXX;":MACH1:COMP:DATA 129,'#BXX00','#B1101','#B10XX'"
OUTPUT XXX;":MACH1:COMP:DATA −511,'4','64','16','256','8','6'"
Query
:MACHine{1|2}:COMPare:DATA? <label_name>,
<line_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"
30 OUTPUT XXX;":MACHINE2:COMPARE:RANGE?"
35 ENTER XXX; First, Last
40 PRINT "LINE #", "VALUE of "; Label$
45 FOR State = First TO Last
50
OUTPUT XXX;":MACH2:COMPARE:DATA? '"
55
ENTER XXX; Response$
60
PRINT State, Response$
65 NEXT State
70 END
!Turn headers off (from responses)
!Read in the range's end-points
!Print compare value for each state
Label$
"',"
VAL$(State)
COMPare Subsystem
DATA
10–7

Advertisement

Table of Contents
loading

This manual is also suitable for:

16555d16555a

Table of Contents