MDO3000 Programmer Manual.pdf - 第640页
Commands Listed in A lphabetical Order NOTE. Parallel bus commands work with MSO4000B Series, MDO4000/B/C Series, and MDO3000 Seri es oscilloscopes only . Conditions For I 2 C or SPI bus signals, install the DPO 4EMBD ap…

Commands Listed in Alphabetical Order
SEARCH:SEARC
H<x>:STATE
Sets the search state to on or off. <x> is the search number, which is always 1.
The query form returns the search state.
A series of example command sequences showing different searches and triggers
is included as an appendix. (See page F-1, Search and Trigger Command
Sequence Ex
amples.)
Group
Search
Syntax
SEARCH:SEARCH<x>:STATE {<NR1>|OFF|ON}
SEARCH:SEARCH<x>:STATE?
Arguments
OFF or <NR1> = 0 sets the search state to off.
ON or <NR1> ≠ 0 sets the search state to on.
SEARCH:SEARCH<x>:TOTal? (Query Only)
Returns the total number of matches for the search. The total number of matches
may be than the number of marks placed. <x> is the search number, which
is always 1.
NOTE. A series of example command s equences showing different searches and
triggers is included as an appendix. (See page F-1, Search and Trigger Command
Sequence Examples.)
Group
Search
Syntax
SEARCH:SEARCH<x>:TOTal?
Returns
<NR1> is the total number of matches.
SEARCH:SEARCH<x>:TRIGger:A:BUS? (Query Only)
Queries the SEARCH:SEARCH< x>:TRIGger:A:BUS settings. <x> is the search
number, which is always 1. There are four buses, B1 through B4, except for
MDO3000, which only has two buses, B1–B2.
To set the search type to bus, use SEARCH:SEARCH<x>:TRIGger:A:TYPe BUS.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-609

Commands Listed in Alphabetical Order
NOTE. Parallel
bus commands work with MSO4000B Series, MDO4000/B/C
Series, and MDO3000 Series oscilloscopes only.
Conditions
For I
2
C or SPI
bus signals, install the DPO4EMBD application module,
except for MDO3000 models, which require MDO3EMBD.
For RS-232,
RS-422, RS-485, or UART bus signals, install the DPO4COMP
module, except for MDO3000 models, which require MDO3COMP.
For I
2
S, Le
ft Justified (LJ), Right Justified (RJ), or TDM bus signals, install
the DPO4AUDIO module, except for MDO3000 models, which require
MDO3AUDIO.
For CAN or LIN bus signals, install the DPO4AUTO or DPO4AUTOMAX
module, except for MDO3000 models, which require MDO3AUTO.
For FlexRay bus signals, install the DPO4AUTOMAX module, except for
MDO3000 models, which require MDO3FLEX.
For Ethernet signals on the MDO4000/B/C and MSO4000B and DPO4000B,
install the DPO4ENET module. Note that ≥350 MHz bandwidth models
are recommended for 100BASE-TX.
For MIL-STD-1553 bus signals, install the DPO4AERO module, except for
MDO3000 models, which require MDO3AERO.
For USB bus signals, install the DPO4USB module, except for
MDO3000 models, which require MDO3USB. Note that 1 GHz bandwidth
models are recommended for high-speed (HS) USB.
A table is available listing the commandsenabledbyeachapplicationmodule.
(See page H-1, List of Beta Commands and Features.)
Group
Search
Syntax
SEARCH:SEARCH<x>:TRIGger:A:BUS?
Returns
I2C specifies the Inter-IC bus.
SPI specifies the Serial Peripheral Interface bus (not available on two-channel
models).
CAN specifies the Controller Area Network bus.
RS232C specifies the RS-232C bus.
PARallel specifies the Parallel bus.
USB specifies the USB bus.
2-610 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
LIN specifies th
eLINbus.
FLEXRay specifies the FlexRay bus.
AUDio specifies the audio bus.
ETHERnet specifies the Ethernet bus.
MIL1553B specifies the MIL-STD-1553 bus.
Examples
SEARCH:SEARCH1:TRIGGER:A:BUS? might return
SEARCH:SEARCH1:TRIGGER:A:BUS:B1:SPI:CONDITION
SS;:SEARCH:SEARCH1:TRIGGER:A:BUS:B2:SPI:CONDITION
SS;:SEARCH:SEARCH1:TRIGGER:A:BUS:B3:SPI:CONDITION
SS;:SEARCH:SEARCH1:TRIGGER:A:BUS:B4:SPI:CONDITION
SS;:SEARCH:SEARCH1:TRIGGER:A:BUS:B1:SPI:DATA:MOSI:VALUE "XX"
.
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:ARINC429A:CONDition
This command sets the condition (word start, label, matching data, word end, or
error) to be used to search on ARINC429 bus data. SEARCH<x> is the search
number, which is always 1. B<x> is the bus number.
Conditions
This command requires installation of a DPO4AERO application module for
MDO4000C models, or MDO3AERO for MDO3000 models.
Group
Search
Syntax
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:ARINC429A:CONDition
{STARt|END|LABel|DATA|LABELANDDATA|ERRor}
SEARCH:SEARCH<x>:TRIGger:A:B
US:B<x>:ARINC429A:CONDition?
Related Commands
Most of the other SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:ARINC429A
commands are impacted by the se
tting of this command.
SEARCH:SEARCH<x>:TRIGger:A:BUS:B<x>:ARINC429A:ERRTYPE
TRIGger:A:BUS:B<x>:ARINC429A:CONDition
BUS:B<x>:ARINC429A:SOUrce
Arguments
STARt specifies a search based on the first bit of a word.
END specifiesasearchbasedonthe32ndbitofaword.
LABel specifies a search for a matching label.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-611