2-42
IM 701730-51E
:SEARch:SPI:SEARch:DATA:BYTE
Function
Sets the number of bytes of the data pattern
search on the analysis result or queries the
current setting.
Syntax
:SEARch:SPI:SEARch:DATA:BYTE
{<NRf>}
:SEARch:SPI:SEARch:DATA:BYTE?
<NRf>=1 to 8
Example
:SEARCH:SPI:SEARCH:DATA:BYTE 8
:SEARCH:SPI:SEARCH:DATA:BYTE? ->
:SEARCH:SPI:SEARCH:DATA:BYTE 8
:SEARch:SPI:SEARch:DATA:HEXa<x>
Function
Sets the pattern of the data pattern search on
the analysis result in hexadecimal.
Syntax
:SEARch:SPI:SEARch:DATA:HEXa<x>
{<String>}
<String>=2 characters by combining ‘0’ to ‘F’
and ‘X’
<x>=1 to 8
Example
:SEARCH:SPI:SEARCH:DATA:HEXA1 “1A”
:SEARch:SPI:SEARch:DATA:PATTern<x>
Function
Sets the pattern of data pattern search on the
analysis result in binary or queries the current
setting.
Syntax
:SEARch:SPI:SEARch:DATA:PATTern<x>
{<String>}
:SEARch:SPI:SEARch:DATA:PATTern<x>?
<String>=8 characters by combining ‘0,’ ‘1,’ and
‘X’
<x>=1 to 8
Example
:SEARCH:SPI:SEARCH:DATA:
PATTERN1 “10X10X10”
:SEARCH:SPI:SEARCH:DATA:PATTERN1?
-> :SEARCH:SPI:SEARCH:DATA:
PATTERN1 “10X10X10”
:SEARch:SPI:SEARch:NEXT?
Function
Executes the search on the data after the
current byte on the analysis result.
Syntax
:SEARch:SPI:SEARch:NEXT?
Example
:SEARCH:SPI:SEARCH:NEXT? -> 10
Description
If the search is successful, a value in the range
of –80000 to 80000 is returned. If it fails, “NAN”
is returned.
:SEARch:SPI:SEARch:PFORmat
Function
Sets the pattern format of the data pattern
search on the analysis result or queries the
current setting.
Syntax
:SEARch:SPI:SEARch:PFORmat
{HEXa|BINary}
:SEARch:SPI:SEARch:PFORmat?
Example
:SEARCH:SPI:SEARCH:PFORMAT BINARY
:SEARCH:SPI:SEARCH:PFORMAT? ->
:SEARCH:SPI:SEARCH:PFORMAT BINARY
:SEARch:SPI:SEARch:PREVious?
Function
Performs the analysis result search on the data
before the current byte and returns the search
position.
Syntax
:SEARch:SPI:SEARch:PREVious?
Example
:SEARCH:SPI:SEARCH:PREVIOUS? -> -10
Description
If the search is successful, a value in the range
of –80000 to 80000 is returned. If it fails, “NAN”
is returned.
:SEARch:SPI:SEARch:SOURce
Function
Sets the data to be searched on the analysis
result or queries the current setting.
Syntax
:SEARch:SPI:SEARch:SOURce
{DATA1|DATA2}
:SEARch:SPI:SEARch:SOURce?
Example
:SEARCH:SPI:SEARCH:SOURCE DATA1
:SEARCH:SPI:SEARCH:SOURCE? ->
:SEARCH:SPI:SEARCH:SOURCE DATA1
:SEARch:SPI:SEARch:TYPE
Function
Sets the analysis result search type or queries
the current setting.
Syntax
:SEARch:SPI:SEARch:TYPE
{FRAMe|INDefinite}
:SEARch:SPI:SEARch:TYPE?
Example
:SEARCH:SPI:SEARCH:TYPE FRAME
:SEARCH:SPI:SEARCH:TYPE? ->
:SEARCH:SPI:SEARCH:TYPE FRAME
:SEARch:TYPE
Function
Sets the search type or queries the current
setting.
Syntax
:SEARch:TYPE {SPATtern|WIDTh|EDGE|
PPATtern|ASCRoll|SPIBus}
:SEARch:TYPE?
Example
:SEARCH:TYPE SPIBUS
:SEARCH:TYPE? ->
:SEARCH:TYPE SPIBUS
2.8 Communication Commands