Appendix E: Search and Trigger Command Sequence Examples
Command Comment
:TRIGger:A:TYPe EDGE Specifies that this will be an edge trigger (trigger will occur when the
source waveform passes through a specified threshold level in the
specified dire
ction).
:TRIGger:A:
EDGE:SOUrce CH2
Specifies the
CH2 waveform as the source waveform.
:TRIGger:A
:LOWerthreshold:CH2 1.4
Specifies 1.
4 volts as the threshold level.
:TRIGger:A
:EDGE:SLOpe FALL
Specifies as
falling edge as the direction.
:TRIGger:
STATE?
Should ret
urn TRIGGER, not AUTO.
Example 3: Dual Threshold Runt Search
Goal: Search the channel 3 waveform for negative runt pulses and plac e a mark at
each instance when the waveform drops below an upper threshold of 1.4 volts, but
does not cross a lower threshold of -2 volts before re-crossing the u pper threshold.
The pulse wi dth must be less than 600 microseconds.
Command Comment
*RST Resets the o scilloscope. Wait for the reset to complete
(approximately 3 seconds).
:SELect:CH3 1 Turns the CH3 waveform on.
:AUTOSet EXECute Autosets the displayed waveform CH3. Wait for the autoset to
complete (approximately 3 seconds).
:SEARCH:SEARCH1:TRIGger:A:TYPe RUNT Specifies that this will be a runt search (a mark will be placed on
a pulse amplitude that crosses one threshold but fails to cross a
second threshold before re-crossing the first).
:SEARCH:SEARCH1:TRIGger:A:EDGE:SOUrce CH3 Specifies to use channel 3 as the source waveform.
:SEARCH:SEARCH1:TRIGger:A:LOWerthreshold:CH3 -2 Specifies to use -2 volts as the lower threshold.
:SEARCH:SEARCH1:TRIGger:A:UPPerthreshold: CH3 1.4 Specifies to use 1.4 volts as the upper threshold.
:SEARCH:SEARCH1:TRIGger:A:RUNT:POLarity NEGative Specifies to search for when the runt polarity is negative.
:SEARCH:SEARCH1:TRIGger:A:RUNT:WIDth 600E-6 Specifies a pulse width of 600E-6 seconds.
:SEARCH:SEARCH1:TRIGger:A:RUNT:WHEn LESSthan Specifies to search for when the pulse width is less than
600E-6 seconds.
:SEARCH:SEARCH1:STATE 1
Turns the search on.
:SEARCH:SEARCH1:TOTal?
Returns 3, indicating that 3 total negative runt pulses were less than
600E-6 seconds wide
Example 4: Single Threshold Logic Search on Three Waveforms
Goal: Search the channel 1, 2 and 3 waveforms and place a mark at each instance
when either channel 1 is above 1.4 volts, channel 2 is above 1.5 volts, or channel
3 is above 1.3 volts.
E-2 MSO2000B, DPO2000B, MSO2000 and DPO2000 Series Oscilloscopes Programmer Manual