906 Agilent InfiniiVision 3000 X-Series Oscilloscopes Programmer's Guide
31 :TRIGger Commands
:TRIGger[:EDGE]:SOURce
(see page 1138)
Command Syntax
:TRIGger[:EDGE]:SOURce <source>
<source> ::= {CHANnel<n> | EXTernal | LINE | WGEN} for the DSO models
<source> ::= {CHANnel<n> | DIGital<d> | EXTernal | LINE | WGEN}
for the MSO models
<n> ::= 1 to (# analog channels) in NR1 format
<d> ::= 0 to (# digital channels - 1) in NR1 format
The :TRIGger[:EDGE]:SOURce command selects the input that produces the
trigger.
• EXTernal — triggers on the rear panel EXT TRIG IN signal.
• LINE — triggers at the 50% level of the rising or falling edge of the AC
power source signal.
• WGEN — triggers at the 50% level of the rising edge of the waveform
generator output signal. This option is not available when the DC,
NOISe, or CARDiac waveforms are selected.
Query Syntax
:TRIGger[:EDGE]:SOURce?
The :TRIGger[:EDGE]:SOURce? query returns the current source. If all
channels are off, the query returns "NONE."
Return Format
<source><NL>
<source> ::= {CHAN<n> | EXT | LINE | WGEN | NONE} for the DSO models
<source> ::= {CHAN<n> | DIG<d> | EXTernal | LINE | WGEN | NONE}
for the MSO models
See Also • "Introduction to :TRIGger Commands" on page 877
• ":TRIGger:MODE" on page 886
Example Code
' TRIGGER_EDGE_SOURCE - Selects the channel that actually produces th
e
' edge trigger. Any channel can be selected.
myScope.WriteString ":TRIGger:EDGE:SOURce CHANnel1"
See complete example programs at: Chapter 40, “Programming Examples,”
starting on page 1147