782
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
27
:SBUS<n> Commands
:SBUS<n>:CAN:TRIGger:PATTern:ID
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
•
See Also
•
"Introduction to :TRIGger Commands"
•
":SBUS<n>:CAN:TRIGger:PATTern:ID:MODE"
•
":SBUS<n>:CAN:TRIGger:PATTern:DATA"
NOTE
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.