Appendix E: Search and Trigger Command Sequence
Examples
The following are some example command sequences that show a variety of
different searches and triggers. The commands in these sequences are not
order-dependent.
To use these examples, connect channel 1, channel 2, channel 3 and channel 4 to
the probe compensation signal located on the right hand side of the front panel.
The search and trigger command group sections contain more information on
general search and trigger concepts. ,
Example 1: Single Threshold Edge Search
Goal: Search the channel 2 waveform and place a mark at each instance where it
crosses below a threshold of 1.4 volts.
Command
Comment
*RST;:*OPC?
Resets the oscilloscope and waits for that operation to complete
(approximately 1 to 5 seconds depending on the complexity of
the previous setup).
display:waveview1:ch2:state 1
Turns the CH2 waveform on.
:AUTOset EXECute>;*OPC?
Autosets the displayed waveform CH2 and waits for the auto
setup to complete.
:SEARCH:SEARCH1:TRIGger:A:TYPe EDGE
Speci
fi
es that this will be an edge search (a mark will be placed
when the source waveform passes through a speci
fi
ed threshold
level in the speci
fi
ed direction).
:SEARCH:SEARCH1:TRIGger:A:EDGE:SOUrce CH2
Speci
fi
es the CH2 waveform as the source waveform.
:SEARCH:SEARCH1:TRIGger:A:LOWerthreshold:CH2 1.4
Speci
fi
es 1.4 volts as the threshold level.
:SEARCH:SEARCH1:TRIGger:A:EDGE:SLOpe FALL
Speci
fi
es the falling edge as the direction.
:SEARCH:SEARCH1:STATE 1
Turns the search on.
:SEARCH:SEARCH1:TOTal?
Returns 4, indicating that CH2 fell below the 1.4 volt threshold 4
times.
:SEARCH:SEARCH1:LIST?
Returns a list of the 4 marks:
CH2
,11.2411,11.2411,11.2411,-1.5504E-3,
0.0E+0,0.0E+0,0.0E+0;
CH2
,37.0737,37.0737,37.0737,
-517.0517E-6,0.0E+0,0.0E+0,0.0E+0;
CH2
,62.9163,62.9163,62.9163,
516.6517E-6,0.0E+0,0.0E+0,
0.0E+0;
CH2
,88.7489,88.7489,88.7489,
1.5500E-3,0.0E+0,0.0E+0,0.0E+0
MSO54, MSO56, MSO58, MSO58LP Programmer
E-1
Summary of Contents for MSO54
Page 1: ...xx 5 Series MSO MSO54 MSO56 MSO58 MSO58LP ZZZ Programmer Manual P077130502 077 1305 02 ...
Page 2: ......
Page 3: ...5 Series MSO MSO54 MSO56 MSO58 MSO58LP ZZZ Programmer Manual xx www tek com 077 1305 02 ...
Page 8: ...Preface iv MSO54 MSO56 MSO58 MSO58LP Programmer ...
Page 26: ...Command Syntax 2 10 MSO54 MSO56 MSO58 MSO58LP Programmer ...
Page 936: ...Status and Events 3 20 MSO54 MSO56 MSO58 MSO58LP Programmer ...
Page 937: ...Appendix A Character Set MSO54 MSO56 MSO58 MSO58LP Programmer A 1 ...
Page 938: ...Appendix A Character Set A 2 MSO54 MSO56 MSO58 MSO58LP Programmer ...