Appendix E: Search and Trigger Command Sequence
Examples
The following are some example command sequences that show a variety of
different sear ches and triggers. The commands in these sequence s are not
order-dependent.
To use these examples, connect channel 1, channel 2, channel 3 and channel 4
(if available) 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 Resets the oscilloscope. Wait for the reset to complete
(approximately 3 seconds).
:SELect:CH2 1 Turns the CH2 waveform on.
:AUTOSet EXECute Autosets the displayed waveform CH2. Wait for the autoset to
complete (approximately 3 seconds).
:SEARCH:SEARCH1:TRIGger:A:TYPe EDGE Specifies that this will be an edge search (a mark will be placed
when the source waveform passes through a specified threshold
level in the specified direction).
:SEARCH:SEARCH1:TRIGger:A:EDGE:SOUrce CH2 Specifies the CH2 waveform as the source waveform.
:SEARCH:SEARCH1:TRIGger:A:LOWerthreshold:CH2 TTL Specifies 1.4 volts as the threshold level.
:SEARCH:SEARCH1:TRIGger:A:EDG E:SLOpe FALL Specifies 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.
Example 2: Single Threshold Edge Trigger
Goal: Trigger on the channel 2 waveform when the waveform crosses below a
threshold of 1.4 volts.
Command Comment
*RST Resets the oscilloscope. Wait for the reset to complete (approximately
3 seconds).
:SELect:CH2 1 Turns the CH2 waveform on.
MSO2000B, DPO2000B, MSO2000 and DPO2000 Series Oscilloscopes Programmer Manual E-1