MDO3000 Programmer Manual.pdf - 第638页
Commands Listed in A lphabetical Order SEARCH:SEARC H<x>:LIST? (Query Only) This query returns a list of all automatically created search marks on wave forms in the time domain (leaving out any man ually created ma…

Commands Listed in Alphabetical Order
STAR;DAT:VAL "
XXXXXXXX";SIZ 1;DIR
NOCARE;:SEARCH:SEARCH1:TRIG:A:BUS:B2:I2C:ADDR:MOD ADDR7;TYP
USER;VAL "XXXXXXX" ;:SEARCH:SEARCH1 :TRIG:A:BUS:B2:CAN:COND
SOF;FRAME DATA;DAT:VAL "XXXXXXXX";S IZ 1;DIR NOCARE;QUAL
EQU; :S EARCH:SEARCH1:TRIG:A:BUS:B2:CAN:ID:MOD ST;VAL
"XXXXXXXXXXX";:SEARCH:SEARCH1:TRIG:A:BUS:SOU B1;:SEA
RCH:SEARCH
1:TRIG:A:TYP EDG;LEV 0.0000;LEV:CH1
0.0000;CH2 0.0000;CH3 0.0000;CH4 0.0000;MATH
0.0000;RE F1 0.0000;REF2 0.0000;REF3 0.0000;REF4
0.0000;:SEARCH:SEARCH1:TRIG:A:UPP:CH1 800.0000E-3;CH2
800.000 0E-3;CH3 800.0000E-3;CH4 800.0000E-3;MATH
800.0000E-3;REF1 800.0000E-3;REF2 8 00.0000E-3;REF3 800.000
0E-3;REF
4 800.00 00E-3;:SEARCH:SEARCH1:TRIG:A:LOW:CH1
0.0000;CH2 0.0000;CH3 0.0000;CH4 0.0000;MATH 0.
0000;REF1 0.0000;REF2 0.0000;REF3 0.0000;REF4
0.0000;:SEARCH:SEARCH1:TRIG:A:EDGE:SOU CH1;SLO
RIS;:SE ARCH:SEARCH1:TR IG:A:LOGI:FUNC AND;THR:CH1
0.0000;CH2 0.0000;CH3 0.0000;CH4 0.0000;MATH
0.000
0;REF1 0 .0000;REF2 0.0000;REF3 0.0000;REF4
0.0000;:SEARCH:SEARCH1:TRIG:A:LOGI:INP:CH1 X;CH2 X;CH3
X;CH4 X ;MA TH X; REF1 X;REF2 X;REF3 X;REF4 X;CLOC:SOU
NONE;EDGE RIS;:SEARCH:S EARCH1:TRIG:A:LOGI:PAT:INP:CH1
X;CH 2 X;CH3 X;CH4 X;MATH X;REF1 X;REF2 X;REF3 X;REF4
X;:SEARCH:SEARCH1:TRIG:A:LOGI:PAT:WHE TRU;WHE:LESSL
8.0
000E-9;L 8.0000E-9;:SEA RCH:SEARCH1:TRIG:A:PULSEW:SOU
CH1;POL POS;WHE LESS;WID 8.0000E-9;:SEA
RCH:SEARCH1:TRIG:A:RUNT:SOU CH1;POL POS;WHE OCCURS;WID
8.0000E-9;:SEARCH:SEARCH1:TRIG:A:TRAN:SOU CH1 ;POL POS;WHE
SLOW;DELT 8.0000E-9;:SE ARCH:SEARCH1:TRIG:A:SETH:CLOC:SOU
CH1;EDGE RIS;THR 0.0000;:SEARC H:SEARCH1:TRIG:A:SETH:DAT:SOU
C
H2;THR 0. 0000;:SEARCH:SEARCH1:TRIG:A:SETH:HOLDT
8.0000E-9;SETT 8.0000 E-9;:SEARCH:S EARCH1:STATE 0
SEARCH:SEARCH<x>:COPy (No Query Form)
Copies the search criteria to the trigger, or the trigger criteria to a search. <x> is
the search number, which is always 1.
Group
Search
Syntax
SEARCH:SEARCH<x>:COPy {SEARCHtotrigger|TRIGgertosearch}
Arguments
SEARCHtotrigger copies the search criteria to the trigger
TRIGgertosearch copies the trigger criteria to the search
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-607

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