MDO3000 Programmer Manual.pdf - 第656页
Commands Listed in A lphabetical Order Arguments <NR1> i san u m b e r s pecifying the data offset. It can 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 er a n g e sa r em o d i fi e db yt h ef …

Commands Listed in Alphabetical Order
Conditions
This command re
quires a DPO4AUTO or DPO4AUTOMAX application module
on DPO/MSO4000B and MDO4000/B/C models and a MDO3AUTO application
module on MDO3000 models.
Group
Search
Syntax
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:DIRection
{READ|WRITE|NOCARE}
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:DIRection?
Related Commands
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:CONDition
Arguments
READ specifies the read direction.
WRITE specifies the write direction.
NOCARE specifies either a read or write direction.
SEARCH:SEARCH<x>: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. SEARCH<x> is the search
number, which is always 1, and
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
Search
Syntax
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:OFFSet <NR1>
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:OFFSet?
Related Commands
BUS:B<x>:CAN:STANDard
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:CONDition
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:SIZe
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:VALue
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-625

Commands Listed in Alphabetical Order
Arguments
<NR1> isanumbe
r specifying the data offset. It can be set to -1 to 7 for CAN 2.0
and-1to63forCANFD.Theserangesaremodifiedbythefollowing:
A value of -1 si
gnifies “don’t care” and the instrument will match any byte value
that satisfy the match criteria.
Avalueof0s
ignifies 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 rang
e of valid data offset values accordingly.
Trying to specify a data offset above the current maximum will result in the offset
being s
et to the current maximum.
Examples
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:OFFSet 5 sets the
CAN data offset to 5 bytes.
SEARCH:SEARCH<x>: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).
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:QUALifier
This command sets the qualifier (<, >, =, not =, <=) to be used to search on CAN
bus data. This only applies if the search condition has been set to IDANDDATAor
DATA (using SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:CONDition).
SEARCH<x> is the search number, which is always 1, and 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
Search
2-626 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
Syntax
SEARCH:SEARCH
<x>:TRIGger:A:BUS:B<x>:CAN:DATa:QUALifier
{LESSthan|MOREthan|EQual|UNEQual|LESSEQual|EQual}
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:QUALifier?
Related Commands
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:VALue
Arguments
LESSthan searches for bus data less than the value specified by
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:VALue.
MOREthan searches for bus data greater than the value specified by
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:VALue.
EQual searches for bus data equal to the value specified by SEARCH:
SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:VALue.
UNEQual searches for bus data not equal to the value specified by
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:VALue.
LESSEQual searches for bus data less equal to the value specified by
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:VALue.
EQual searches for bus data equal to the value specified by SEARCH:
SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:VALue.
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:SIZe
This command sets the length of the data string, in bytes, to be used to search
on CAN bus data. This only applies if the search condition has been set to
IDANDDATA or DATA (using SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:
CAN:CONDition).
SEARCH<x> is the search number, which is always 1, and 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 applic
ation module
on DPO/MSO4000B and MDO4000/B/C models and a MDO3AUTO application
module on MDO3000 models.
Group
Search
Syntax
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:SIZe <NR1>
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:SIZe?
Arguments
<NR1> is the data string length in bytes.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-627