XSEarch
XSEarch
command/query
The XSEarch command defines the search criteria for the X marker
which is then used with the associated
XPATtern
recognizer specihcation
and the
XCONdition
when moving markers on patterns. The origin
parameter tells the marker to begin a search with the trigger. The
occurrence parameter determines which occurrence of the XF’ATtern
recognizer specification, relative to the origin, the marker actually
searches for. An occurrence of 0 (zero) places a marker on the origin.
The XSEarch query returns the search criteria for the X marker.
Command Syntax:
:MACHine{
112):TWAVeform:XSEarch
<occurrence
z-,
<origin
>
where:
c origin
>
:: =
TRlGger
c
occurrence
>
::
=
integer from -9999 to
+9999
Example:
OUTPUT XXX;
“:MACHINEl:TWAVEFORM:XSEARCH,+lO,TRIGGER”
Query Syntax:
:MACHine{
1
[2):TWAVeform:XSEarch? c
occurrence
>,
<origin
B
Returned Format:
[:MACHine{
112):TWAVeform:XSEarchl
<occurrence
>,
<origin
>
<
NLz-
Example:
10 DIM
xss
[loo]
20 OUTPUT
XXX;“:MACHINEl:TWAVEFORM:XSEARCH?”
30 ENTER XXX;
Xs$
40 PRINT
Xs$
50 END
TWAVeform Subsystem
19-28
HP
1850B/HP
18518
Programming Reference