:TRIGger Commands 35
Keysight InfiniiVision 4000 X-Series Oscilloscopes Programmer's Guide 1329
:TRIGger[:EDGE]:SOURce
(see page 1610)
Command Syntax
:TRIGger[:EDGE]:SOURce <source>
<source> ::= {CHANnel<n> | EXTernal | LINE | WGEN | WGEN1 | WGEN2
| WMOD} for the DSO models
<source> ::= {CHANnel<n> | DIGital<d> | EXTernal | LINE | WGEN | WGEN1
| WGEN2 | WMOD} for the MSO models
<n> ::= 1 to (# analog channels) in NR1 format
<d> ::= 0 to (# digital channels - 1) in NR1 format
Note: WAVE and WGEN1 are equivalent.
Note: WGEN2 only available on models with 2 WaveGen outputs.
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, WGEN1, WGEN2 — 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.
• WMOD — when waveform generator FSK or FM modulation is used, triggers at
the 50% level of the rising edge of the modulating signal.
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 | WGEN1 | WGEN2 | WMOD
| NONE} for the DSO models
<source> ::= {CHAN<n> | DIG<d> | EXTernal | LINE | WGEN | WGEN1
| WGEN2 | WMOD | NONE} for the MSO models
See Also • "Introduction to :TRIGger Commands" on page 1295
• ":TRIGger:MODE" on page 1308
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 44, “Programming Examples,”
starting on page 1619