Find – Measurement Computing Analyzer488 User Manual
Page 128

Section 4
Serial Controller
4.34
FIND
The FIND command searches the record memory for a specific bus event, trigger
point, first recorded location, or last recorded location. FIND returns the record
memory location containing the bus event that was specified. If the event is not found,
the number 65535 is returned.
Bus management and data line states are specified following the keyword
MATCH
. Bus management lines and data lines can be specified as asserted, unasserted,
or "don't care". All bus management and data lines are "don't care" unless specified.
Data lines may be specified in Binary, Decimal, Hexadecimal, or ASCII. The bus
ERROR
condition can be specified to find events which caused a bus error.
The trigger point is specified using the keyword TRIGGER. TRIGGER and
MATCH
can not be used in the same command line.
The starting location for a search may be specified using the keyword START
followed by a record memory location. If no memory location is specified, the search
starts at the current location pointer.
Search direction is specified with a plus sign [+] for a forward search or a minus
sign [-] for a backward search. If no sign is given, search direction is forward.
The keyword FIRST specifies the location of the first recorded bus event of the
most recently recorded sequence. The keyword LAST specifies the location of the last
recorded bus event of the most recently recorded sequence. Only one of these may be
used in a command line and the keyword MATCH may not be used.
The query option, FIND?, returns the last bus event specified using the FIND
command. Response is a fixed-field string with the match pattern returned.
TYPE
Record command
SYNTAX
FIND {[?]|MATCH[state][line]<byte>[ERROR]|
[
TRIGGER][START{location}][+|-]|[FIRST|LAST]}