OSEarch
OSEarch
command/query
The OSEarch command defines the search criteria for the 0 marker
which is then used with the associated
OPATtern
recognizer specification
and the
OCONdition
when moving markers on patterns. The origin
parameter tells the marker to begin a search with the trigger or with the X
marker. The actual occurrence the marker searches for is determined by
the occurrence parameter of the
OPATtem
recognizer specification,
relative to the origin. An occurrence of 0 places a marker on the selected
origin. With a negative occurrence, the marker searches before the origin.
With a positive occurrence, the marker searches after the origin.
The OSEarch query returns the search criteria for the 0 marker.
Command Syntax:
:MACHine{l
12):TWAVeform:OSEarch ~ocourrence
7,
<origin
7
where:
<origin 7 ::
=
{TRIGger
plAF&er)
c
occurrence
7
:: = integer from
-9999
to
+QQQQ
Example:
OUTPUT XXX; ":MACHINEl:TWAVEFORM:OSEARCH +lO.TRIGGER"
Query Syntax:
:MACHine{l
J2):TWAVeform:OSEarch?
Returned Format:
[:MACHine(l(2]:TWAVeform:OSEarch]
<occurrence
7,
<origin
7
c
NL7
Example:
10 DIM
Os$
[loo]
20 OUTPUT XXX;":MACHINEl:TWAVEFORM:OSEARCH?"
30 ENTER XXX; Os$
40 PRINT Os$
50 END
HP 1650B/HP 1651B
Programming Reference
lWAVeform Subsystem
19-13