Commands listed in alphabetical order
Examples
TRIGGER:A:BUS
:B1:CAN:DATA:DIRECTION WRITE
sets the CAN data
direction to Write.
TRIGGER:A:BU
S:B1:CAN:DATA:DIRECTION?
might return
:TRIGGER:A:BUS:B1:CAN:DAT A:DIRECTION NOCARE indicating the data
direction can be either read or write.
TRIGger:{A
|B}:BUS:B<x>:CAN:DATa:OFFSet
This command s ets or queries the data offset value, in bytes, to use when
triggering on the CAN data field. The bus number is specified by x. The trigger
conditio
n must be set to DATA or IDANDDATA.
Conditions
Requires the SR-AERO Triggering and Analysis application.
Group
Trigger
Syntax
TRIGger:{A|B}:BUS:B<x>:CA N:DATa:OFFSet <NR1>
TRIGger:{A|B}:BUS:B<x>:CA N:DATa:OFFSet?
Related Commands
BUS:B<x>:CAN:STANDard
TRIGger:{A|B}:BUS:B<x>:CAN:DATa:SIZe
TRIGger:{A|B}:BUS:B<x>:CAN:DATa:VALue
Arguments
<NR1> is an integer whose minimum and default values are -1 (don't care), and the
maximum is up to 7 (for CAN 2.0) or up to 63 (for ISO CAN FD and Non-ISO
CAN FD).
The maximum is dependent on the number of bytes being matched and the CAN
standard selected. Its value is calculated as [Absolute Maximum] - [Data Match
Size]. For CAN 2.0, the absolute maximum is 8 bytes. For ISO CAN FD and
Non-ISO CAN FD, the absolute maximum is 64 bytes. The minimum data match
size is 1 byte, which produces the ranges listed above. Increasing the data match
size above 1 byte will adjust the range of valid data offset values accordingly.
Examples
TRIGGER:A:BUS:B1:CAN:DATA :OFFSET 5 sets the CAN data offset to 5 bytes.
TRIGGE
R:A:BUS:B1:CAN:DATA:OFFSET ?
might return 7, indicating the CAN
data offset is 7 bytes.
If the C
AN standard is set for CAN 2.0, and the trigger data size is s et to 3, the
maximum value for the data offset will be 5 (8 - 3 = 5).
2-772 MSO54, MSO56, MSO58, MSO58LP Programmer