480
Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide
5
Commands by Subsystem
:TRIGger:CAN:PATTern:DATA
Command Syntax
:TRIGger:CAN:PATTern:DATA <value>,<mask>
<value> ::= 64-bit integer in decimal, <nondecimal>, or <string>
<mask> ::= 64-bit integer in decimal, <nondecimal>, or <string>
<nondecimal> ::= #Hnn...n where n ::= {0,..,9 | A,..,F} for hexadecimal
<nondecimal> ::= #Bnn...n where n ::= {0 | 1} for binary
<string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F} for hexadecimal
The :TRIGger:CAN:PATTern:DATA command defines the CAN data pattern
resource according to the value and the mask. This pattern, along with the
data length (set by the :TRIGger:CAN:PATTern:DATA:LENGth command),
control the data pattern searched for in each CAN message.
Set a <value> bit to "0" to set the corresponding bit in the data pattern to
low. Set a <value> bit to "1" to set the bit to high.
Set a <mask> bit to "0" to ignore that bit in the data stream. Only bits
with a "1" set on the mask are used.
Query Syntax
:TRIGger:CAN:PATTern:DATA?
The :TRIGger:CAN:PATTern:DATA? query returns the current settings of
the specified CAN data pattern resource.
Return Format
<value>, <mask><NL> in nondecimal format
Errors
•
See Also
•
"Introduction to :TRIGger Commands"
•
":TRIGger:CAN:PATTern:DATA:LENGth"
•
N O T E
If more bytes are sent for <value> or <mask> than specified by the
:TRIGger:CAN:PATTern:DATA:LENGth command, the most significant bytes will be
truncated. If the data length is changed after the <value> and <mask> are programmed, the
added or deleted bytes will be added to or deleted from the least significant bytes.
N O T E
This command is only valid when the automotive CAN and LIN serial decode option (Option
AMS) has been licensed.
Summary of Contents for InfiniiVision 7000A Series
Page 1: ...Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide...
Page 34: ...34 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 1 What s New...
Page 44: ...44 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 2 Setting Up...
Page 58: ...58 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 3 Getting Started...
Page 750: ...750 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 8 Error Messages...
Page 922: ...922 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide Index...