MDO3000 Programmer Manual.pdf - 第655页

Commands Listed in Alphabetical Order Conditions This command re quires a DPO4AUTO or D PO4AUTOMAX application module on DPO/MSO4000B and MDO4000/B/C m odels and a MDO3AUTO application module on MDO3000 models. Group Sea…

100%1 / 1158
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.
FORMERRor, ANYERRor, FDBRS, and FDESI are only supported on MDO3000
and MDO4000C models and available only when :BUS:B<x>:CAN:STANDard
is set to
CANFD.
Group
Search
Syntax
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:CONDition
{SOF|FRAMEtype|IDentifier|DATA|IDANDDATA|EOF|ACKMISS|ERROR|
FORMERRor|ANYERRor|FDBRS|FDESI}
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:CONDition?
Arguments
SOF specifies a search based on the start of frame.
FRAMEtype specifies a search based on the frame type.
IDentifier specifies a search based on the frame identifier.
DATA specifies a search based on the frame data.
IDANDDATA specifies a search based on the frame identifier and data.
EOF specifies a search based on the end of frame.
ACKMISS specifies a search based on the missing ACK field.
ERROR specifies a search based on bit stuffing errors.
FORMERRor specifies a search based on packet form errors.
ANYERRor specifies a search based on matching any packet error (missing ACK,
or form error).
FDBRS specifies a search based on a CAN FD frame’s BRS bit.
FDESIspecifies a search based on a CAN FD frame’s ESI bit.
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:CAN:DATa:DIRection
This command sets the data direction (read, write or nocare) to be used to search on
CAN bus data. This only applies if the search condition has been set to IDentifier
(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.
2-624 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
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.Theserangesaremodiedbythefollowing:
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:QUALier
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