User Manual

Table Of Contents
588 Keysight InfiniiVision 1000 X-Series Oscilloscopes Programmer's Guide
27 :TRIGger Commands
:TRIGger[:EDGE]:SOURce
(see page 782)
Command Syntax
:TRIGger[:EDGE]:SOURce <source>
<source> ::= {CHANnel<n> | EXTernal | LINE | WGEN}
<n> ::= 1 to (# analog channels) 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 or NOISe 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}
See Also "Introduction to :TRIGger Commands" on page 571
":TRIGger:MODE" on page 580
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 36, “Programming Examples,”
starting on page 791