MDO3000 Programmer Manual.pdf - 第639页
Commands Listed in Alphabetical Order SEARCH:SEARC H<x>:ST A TE Sets the s earch 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…

Commands Listed in Alphabetical Order
SEARCH:SEARC
H<x>:LIST? (Query Only)
This query returns a list of all automatically created search marks on waveforms
in the time domain (leaving out any manually created marks). These automatic
marks are cre
ated using a search command. The entries returned are in the form
of an enumeration representing the source waveform, followed by 7 time mark
parameters.
SEARCH<x> is the search number, which is always 1. To return a list
of manual marks, use the query form of MARK:USERLIST.
NOTE. A series of example command sequences showing d ifferent searches and
triggers is included as an appendix. (See page F-1, Search and Trigger Command
Sequence
Examples.)
Group
Search
Syntax
SEARCH:SEARCH<x>:LIST?
Related Commands
MARK:USERLIST, MARK:SAVEALL
Returns
The query is returned in the form: (
<Enum>,<NR3>,<NR3>,<NR3>,<NR3>,<NR3>,<NR3>,<NR3>) ..
<Enum> is the source waveform.
The 7 NR3 time mark parameters returned are as follows:
Start — start value in percent of record
End — end value in percent of record
Focus — focus value in percent of record
X value — horizontal value of the focus point in the mark’s waveform units
Y value — vertical value of the focus point in the mark’s waveform units
Delta X value — always 0, since there is no time-domain reference mark.
Delta Y value — always 0, since there is no time-domain reference mark.
Examples
SEARCH:SEARCH1:LIST? might return
CH1,23.6824,23.6824,23.6824,-1.0527E-3,-26.7798,0.0E+0,0.0E+0;CH1,50.0050,
50.0050,50.0050,200.0200E-9,-25.4704,0.0E+0,0.0E+0;CH1,
76.3376,76.3376,76.3376,1.0535E-3,0.0E+0,0.0E+0,0.0E+0 which
indicates three search marks on Channel 1.
2-608 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

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