MDO3000 Programmer Manual.pdf - 第818页
Commands Listed in A lphabetical Order TRIGger:A:BUS :B<x>:CAN:DA T a:V ALue Arguments <NR1> is a number specifying the data offset. It c an be set to -1 to 7 for CAN 2 .0 a n d- 1t o6 3f o rC A NF D .T h e s…

Commands Listed in Alphabetical Order
TRIGger:A:BUS
:B<x>:CAN:CONDition).
B<x> is the bus number (1-4). 1-3 for
the MDO4000C and 1-2 for the MDO3000.
Conditions
This command requires a DPO4AUTO or DPO4AUTOMAX application module
on DPO/MSO4000B and MDO4000/B/C models and a MDO3AUTO application
module on MDO3000 models.
Group
Trigger
Syntax
TRIGger:A:BUS:B<x>:CAN:DATa:DIRection {READ|WRITE|NOCARE}
TRIGger:A:BUS:B<x>:CAN:DATa:DIRection?
Arguments
READ sets the CAN data direction to READ.
WRITE sets the CAN data direction to WRITE.
NOCARE sets the CAN data direction to either.
Examples
TRIGGER:A:BUS:B1:CAN:DATA:DIRECTION WRITE sets the CAN data
direction to Write.
TRIGger:A:BUS:B<x>:CAN:DATa:OFFSet
This command specifies the data offset in bytes to search for in a CAN search.
The default value is 0. B<x> is the bus number (1-4). 1-3 for the MDO4000C and
1-2 for the MDO3000.
Conditions
This command requires a DPO4AUTO or DPO4AUTOMAX application
module on a DPO/MSO4000B and MDO4000/B/C models and a MDO3AUTO
application module on MDO3000 models.
Group
Trigger
Syntax
TRIGger:A:BUS:B<x>:CAN:DATa:OFFSet <NR1>
TRIGger:A:BUS:B<x>:CAN:DATa:OFFSet?
Related Commands
BUS:B<x>:CAN:STANDard
TRIGger:A:BUS:B<x>:CAN:CONDition
TRIGger:A:BUS:B<x>:CAN:DATa:SIZe
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-787

Commands Listed in Alphabetical Order
TRIGger:A:BUS
:B<x>:CAN:DATa:VALue
Arguments
<NR1> is a number specifying the data offset. It can be set to -1 to 7 for CAN 2.0
and-1to63forCANFD.Theserangesaremodifiedbythefollowing:
A value of -1 signifies “don’t care” and the instrument will match any byte value
that satisfy the match criteria.
A value of 0 signifies the start of the data field. If matching N bytes of data,
the system will only produce a match if the first N bytes of the data field satisfy
the match criteria.
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 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.
Trying to specify a data offset above the current maximum will result in the offset
being set to the current maximum.
Examples
TRIGger:A:BUS:B<x>:CAN:DATa:OFFSet 5 sets the CAN data offset to
5 bytes.
TRIGger:A:BUS:B<x>:CAN:DATa:OFFSet? might return 7, indicating that
CAN data offset is 7 bytes.
If the CAN standard is set for CAN 2.0 and the search data size is set to 3, the
maximum value for the data offset will be 5 (8 – 3 = 5).
If the CAN standard is set for CAN FD and the search data size is set to 8, the
maximum value for the data offset will be 56 (64 – 8 = 56).
TRIGger:A:BUS:B<x>:CAN:DATa:QUALifier
Thiscommandsetsthequalifier(<,>,=,not=,<=)tobeusedwhentriggeringon
a CAN bus signal. The trigger condition must be set to IDANDDATA OR DATA
(using TRIGger:A:BUS:B<x>:CAN:CONDition).
B<x> is the bus number (1-4).
1-3 for the MDO4000C and 1-2 for the MDO3000.
Conditions
This command requires a DPO4AUTO or DPO4AUTOMAX application module
on DPO/MSO4000B and MDO4000/B/C models and a
MDO3AUTO application
module on MDO3000 models.
Group
Trigger
2-788 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
Syntax
TRIGger:A:BUS
:B<x>:CAN:DATa:QUALifier
{LESSthan|Than|EQual|UNEQual|LESSEQual|EQual}
TRIGger:A:BUS:B<x>:CAN:DATa:QUALifier?
Arguments
LESSthan sets the oscilloscope to trigger when the data is less than the qualifier
value.
Than sets the oscilloscope to trigger when the data is than the qualifier value.
EQual sets the oscilloscope to trigger when the data is equal to the qualifier value.
UNEQual sets the oscilloscope to trigger when the data is not equal to the qualifier
value.
LESSEQual sets the oscilloscope to trigger when the data is less than or equal
to the qualifier value.
EQual sets the oscilloscope to trigger when the data is than or equal to the
qualifier value.
Examples
TRIGGER:A:BUS:B1:CAN:DATA
:QUALIFIER LESSTHAN
sets the oscilloscope
to trigger when the data is less than the qualifier value.
TRIGGER:A:BUS:B1:CAN:DAT
A:QUALIFIER?
might return
:TRIGGER:A:BUS:B1:CAN:DATA:QUALIFIER THAN, indicating that the
oscilloscope is set to trigger when the data is than the qualifier value.
TRIGger:A:BUS:B<x>:CAN
:DATa:SIZe
This command sets the length of the data string, in bytes, to be used when
triggering on a CAN bus signal. The trigger condition must be set to
IDANDDATA OR DATA (usin
g TRIGger:A:BUS:B<x>:CAN:CONDition).
B<x> is the bus number (1-4). 1-3 for the MDO4000C and 1-2 for the MDO3000.
Conditions
This command requires a DPO4AUTO or DPO4AUTOMAX application module
on DPO/MSO4000B and MDO4000/B/C models and a MDO3AUTO application
module on MDO3000 models.
Group
Trigger
Syntax
TRIGger:A:BUS:B<x>:CAN:DATa:SIZe <NR1>
TRIGger:A:BUS:B<x>:CAN:DATa:SIZe?
Arguments
<NR1> is the length of the data string in bytes.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-789