346 Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Reference
3 Commands by Subsystem
:TRIGger[:EDGE]:SOURce
(see page 530)
Command Syntax
:TRIGger[:EDGE]:SOURce <source>
<source> ::= {CHANnel<n> | EXTernal | LINE}
<n>::={1|2|3|4}forthefour channel oscilloscope models
<n> ::= {1 | 2} for the two channel oscilloscope models
The :TRIGger[:EDGE]:SOURce command selects the channel that produces
the trigger.
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 | NONE}
See Also • "Introduction to :TRIGger Commands" on page 313
• ":TRIGger:MODE" on page 319
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"
Example program from the start: "VISA COM Example in Visual Basic" on
page 578