902 Keysight InfiniiVision 4000 X-Series Oscilloscopes Programmer's Guide
31 :SBUS<n> Commands
:SBUS<n>:CAN:TRIGger:PATTern:ID
(see page 1610)
Command Syntax
:SBUS<n>:CAN:TRIGger:PATTern:ID <string>
<string> ::= "nn...n" where n ::= {0 |1|X|$}
<string ::= "0xnn...n" where n ::= {0,..,9 | A,..,F | X | $}
The :SBUS<n>:CAN:TRIGger:PATTern:ID command defines the CAN identifier
pattern resource according to the string parameter. This pattern, along with the
identifier mode (set by the :SBUS<n>:CAN:TRIGger:PATTern:ID:MODE command),
control the identifier pattern searched for in each CAN message.
If the string parameter starts with "0x", it is a hexadecimal string made up of
hexadecimal and X (don't care) characters; otherwise, it is a binary string made up
of 0, 1, and X (don't care) characters.
Query Syntax
:SBUS<n>:CAN:TRIGger:PATTern:ID?
The :SBUS<n>:CAN:TRIGger:PATTern:ID? query returns the current settings of the
specified CAN identifier pattern resource in the 29-bit binary string format.
Return Format
<string><NL> in 29-bit binary string format
Errors • "-241, Hardware missing" on page 1551
See Also • "Introduction to :TRIGger Commands" on page 1295
• ":SBUS<n>:CAN:TRIGger:PATTern:ID:MODE" on page 903
• ":SBUS<n>:CAN:TRIGger:PATTern:DATA" on page 898
The ID pattern resource string is always 29 bits. Only 11 of these bits are used when the
:SBUS<n>:CAN:TRIGger:PATTern:ID:MODE is STANdard.
A string longer than 29 bits is truncated to 29 bits when setting the ID pattern resource.