![background image](http://html.mh-extra.com/html/tektronix/mso54/mso54_programmers-manual_1078778999.webp)
Appendix E: Search and Trigger Command Sequence Examples
Command
Comment
:SEARCH:SEARCH1:TOTal?
Returns 3, indicating that 3 total negative runt pulses were 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 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.
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 waveforms CH1, CH2 and CH3. Wait
for the autoset to complete (approximately 3 seconds).
:SEARCH:SEARCH1:TRIGger:A:TYPe LOGIc
Speci
fi
es that this will be a logic search (a mark will be placed
when all channels transition to the speci
fi
ed state).
:SEARCH:SEARCH1:TRIGger:A:LOGIc:INPut:CH1 HIGH
Speci
fi
es the Boolean logic criteria for channel 1; in this case,
high.
:SEARCH:SEARCH1:TRIGger:A:LOGIc:INPut:CH2 HIGH
Speci
fi
es the Boolean logic criteria for channel 2; in this case,
high.
:SEARCH:SEARCH1:TRIGger:A:LOGIc:INPut:CH3 HIGH
Speci
fi
es the Boolean logic criteria for channel 3; in this case,
high.
:SEARCH:SEARCH1:TRIGger:A:LOGIc:THReshold:CH1 1.4
Speci
fi
es to use 1.4 volts as the threshold for CH1.
:SEARCH:SEARCH1:TRIGger:A:LOGIc:THReshold:CH2 1.5
Speci
fi
es to use 1.5 volts as the threshold for CH2.
:SEARCH:SEARCH1:TRIGger:A:LOGIc:THReshold:CH3 1.3
Speci
fi
es to use 1.3 volts as the threshold for CH3.
:SEARCH:SEARCH1:TRIGger:A:LOGIc:PATtern:WHEn TRUE
Speci
fi
es the condition for generating a logic pattern search;
in this case, true.
:SEARCH:SEARCH1:TRIGger:A:LOGIc:FUNCtion OR
Speci
fi
es 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
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 ...