MDO3000 Programmer Manual.pdf - 第637页

Commands Listed in Alphabetical Order STAR;DAT:VAL " XXXXXXXX";SIZ 1;DIR NOCARE;:SEARC H:SEARCH1:TRIG:A :BUS:B2:I2C:ADDR :MOD ADDR7;T YP USER;VAL "XXXXXXX" ;:SEARCH:SEARCH1 :TR IG:A:BUS:B2:CAN :COND S…

100%1 / 1158
Commands Listed in Alphabetical Order
Group
Save and Recall
Syntax
SAVe:WAVEform:GATIng {NONe|CURSors|SCREEN}
SAVe:WAVEform:GATIng?
Arguments
CURSors turns on cursors and the gates are the waveform record points at the
cursor positions.
NONe saves the entire waveform.
SCREEN, if zoom is on, the gates are the start and end waveform record points o
f
the zoom (upper) graticule, otherwise the gates are the start and end waveform
record points of the main graticule.
Examples
SAVE:WAVEFORM:GATING CURSors specifies that, when the waveform gating
is set to cursors, save waveform operations should save the waveform points
between the cursors. If cursors are turned off, waveform gating automatically
reverts to NONE.
SEARCH? (Query Only)
Returns all search-related settings.
Gr
oup
Search
Syntax
SEARCH?
Examples
SEARCH? might return:
:SEARCH:SEARCH1:TRIG:A:BUS:B1:SPI:COND SS;DAT:MOSI:VAL
"XXXXXXXX";:SEARCH:SEARCH1:TRIG:A:BUS:B1:SPI: DAT:MISO:VAL
"XXXXXXXX";:SEARCH:SEARCH1:TRIG:A:BUS:B1:SPI:DAT:SIZ
1;:SEARCH:SEARCH1:TRIG:A:BUS:B1:I2C:COND
STAR;DAT:VAL "XXXXXXXX ";SIZ 1;DIR
NOCARE;:SEARCH:SEARCH1:TRIG:A:BUS:B1:I2C:ADDR:MOD ADDR7;TYP
USER;VAL "XXXXXXX";:SE ARCH:SEARCH1:TRIG:A:BUS:B1:CAN:CON D
SOF;FRAME DATA;DAT:VAL "XXXXXXXX"; SIZ 1;D IR
NOCARE;QUAL EQU;:SEARC H:SEARCH1:TRIG:A:BUS:B1:CAN:ID:MOD
ST;VAL "XXXXXXXXXXX";: SEARCH:SEARCH1:TRI
G:A:BUS:B2:SPI:COND SS;DAT:MOSI:VAL
"XXXXXXXX";:SEARCH:SEARCH1:TRIG:A:BUS:B2:SPI:DAT:MISO:VAL
"XXXXX XXX";:SEARCH:SE ARCH1:TRIG:A:BUS:B2:SPI:DAT:SIZ
1;:SEARCH:SEARCH1:TRIG:A:BUS:B2:I2C:COND
2-606 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
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