Technical data

Table Of Contents
822 Agilent Infiniium 9000 Series Oscilloscopes Programmer's Reference
28 Serial Bus Commands
:SBUS<N>:SPI:TRIGger:PATTern:DATA
Command :SBUS<N>:SPI:TRIGger:PATTern:DATA <quoted_string>
The :SBUS<N>:SPI:TRIGger:PATTern:DATA command defines the SPI data
pattern resource according to the string parameter. This pattern, along
with the data width, control the data pattern searched for in the data
stream.
The :SBUS<N>:SPI:TRIGger:PATTern:DATA command must receive the
number of bytes specified by the :SBUS<N>:SPI:TRIGger:PATTern:WIDTh
command.
<N> An integer, 1-4.
<quoted_string> If the quoted string parameter starts with "0x", it is a hexadecimal string
made up of hexadecimal and X (don't care) characters (for example,
"0x34XF"); otherwise, it is a binary string made up of 0, 1, and X (don't
care) characters (for example, "00110100XXXX1111").
Example To enable the SBUS1 trigger, set the SPI trigger type to MOSI, set a 32- bit
data pattern width, and specify the 0x0080FFFF data pattern:
myScope.WriteString ":CHANnel1:DISPlay ON"
myScope.WriteString ":CHANnel2:DISPlay ON"
myScope.WriteString ":CHANnel3:DISPlay ON"
myScope.WriteString ":CHANnel4:DISPlay ON"
myScope.WriteString ":SBUS1:MODE SPI"
myScope.WriteString ":SBUS1:SPI:WIDTh 16"
myScope.WriteString ":SBUS1:SPI:TYPE WIRE4"
myScope.WriteString ":SBUS1:SPI:SOURce:MOSI CHANnel1"
myScope.WriteString ":SBUS1:SPI:SOURce:CLOCk CHANnel2"
myScope.WriteString ":SBUS1:SPI:SOURce:FRAMe CHANnel3"
myScope.WriteString ":SBUS1:SPI:SOURce:MISO CHANnel4"
myScope.WriteString ":TRIGger:MODE SBUS1"
myScope.WriteString ":SBUS1:SPI:TRIGger:TYPE MOSI"
myScope.WriteString ":SBUS1:SPI:TRIGger:PATTern:WIDTh 2"
myScope.WriteString ":SBUS1:SPI:TRIGger:PATTern:DATA '0x0080ffff'"
Query :SBUS<N>:SPI:TRIGger:PATTern:DATA?
NOTE
You must set :SBUS<N>:MODE to SPI before you can send other :SBUS<N>:SPI:TRIGger
commands.
NOTE
The :SBUS<N>:SPI:TRIGger:PATTern:WIDTh should be set before
:SBUS<N>:SPI:TRIGger:PATTern:DATA.