Appendix E: Search and Trigger Command Sequence Examples
Command Comment
:SEARCH:SEARCH1:TOTal?
Returns 3, ind
icating that 3 total negative runt pulses w ere less than
600E-6 seconds wide
:SEARCH:SEARCH1:LIST? Returns a list of 3 marks:
CH3,11.2311,24.1624,24.1624,1.0335E3,0.0E+0,0.0E+0,0.0E+0;CH3,37.0837,
50.0150,50.
0150,600.0600E9,0.0E+0,0.0E+0,0.0E+0;CH3,62.9263,75.8576,
75.8576,1.0343E-3,0.0E+0,0.0E+0,0.0E+0
NOTE. You could use a similar command sequence with a transition type search.
Example 4: Single Threshold Logic Search on Three Waveform s
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 a bove 1.3 volts.
Command Comment
*RST Resets the oscilloscope. Wait for the reset to complete
(approximately 3 seconds).
:DISPLAY:WAVEVIEW1:CH1:STATE 1 Turns the CH1 waveform on.
:DISPLAY:WAVEVIEW1:CH2:STATE 1 Turns the CH2 waveform on.
:DISPLAY:WAVEVIEW1:CH3:STATE 1 Turns the CH3 waveform on.
:AUTOset EXECute Autosets the displayed w aveforms CH1, CH 2 and CH3. Wait
for the autoset to complete (approximately 3 seconds).
:SEARCH:SEARCH1:TRIGger:A:TYPe LOGIc Specifies that this will be a logic search (a mark will be placed
when all channels transition to the specified state).
:SEARCH:SEARC H1:T RIG ger:A:LOGIc:INPut:CH1 HIGH Specifies the Boolean logic criteria for channel 1; in this case,
high.
:SEARCH:SEARC H1:T RIG ger:A:LOGIc:INPut:CH2 HIGH Specifies the Boolean logic criteria for channel 2; in this case,
high.
:SEARCH:SEARC H1:T RIG ger:A:LOGIc:INPut:CH3 HIGH Specifies the Boolean logic criteria for channel 3; in this case,
high.
:SEARCH:SEARCH1:TRIGger:A:LOGIc:THReshold:CH1 1.4 Specifies to use 1.4 volts as the threshold for CH1.
:SEARCH:SEARCH1:TRIGger:A:LOGIc:THReshold:CH2 1.5 Specifies to use 1.5 volts as the threshold for CH2.
:SEARCH:SEARCH1:TRIGger:A:LOGIc:THReshold:CH3 1.3 Specifies to use 1.3 volts as the threshold for CH3.
:SEARCH:SEARC H1:T RIGger:A:LOGIc:PATtern:WHEn TRUE Specifies the condition for generating a logic pattern search;
in this case, true.
:SEARCH:SEARC H1:T RIGger:A:LOGIc:FUNC tion OR Specifies the logic operator for the logic search; in this case,
OR.
:SEARCH:SEARCH1:STATE 1
Turns the search on.
MSO54, MSO56, MSO58, MSO58LP Programmer E-3