:MEASure Commands 24
Keysight InfiniiVision 4000 X-Series Oscilloscopes Programmer's Guide 615
:MEASure:SOURce
(see page 1610)
Command Syntax
:MEASure:SOURce <source1>[,<source2>]
<source1>,<source2> ::= {<digital channels> | CHANnel<n> | FUNCtion<m>
| MATH<m> | WMEMory<r>}
<digital channels> ::= DIGital<d> for the MSO models
<n> ::= 1 to (# of analog channels) in NR1 format
<m> ::= 1 to (# math functions) in NR1 format
<r> ::= 1-2 in NR1 format
<d> ::= 0 to (# digital channels - 1) in NR1 format
The :MEASure:SOURce command sets the default sources for measurements. The
specified sources are used as the sources for the MEASure subsystem commands
if the sources are not explicitly set with the command.
If a source is specified for any measurement, the current source is changed to this
new value.
If :MARKer:MODE is set to OFF or MANual, setting :MEASure:SOURce to
CHANnel<n>, FUNCtion<m>, or MATH<m> will also set :MARKer:X1Y1source to
source1 and :MARKer:X2Y2source to source2.
Query Syntax
:MEASure:SOURce?
The :MEASure:SOURce? query returns the current source selections. If source2 is
not specified, the query returns "NONE" for source2. If all channels are off, the
query returns "NONE,NONE". Source2 applies only to :MEASure:DELay and
:MEASure:PHASe measurements.
Return Format
<source1>,<source2><NL>
<source1>,<source2> ::= {<digital channels> | CHAN<n> | FUNC<m>
| WMEM<r> | NONE}
See Also: • "Introduction to :MEASure Commands" on page 568
• ":MARKer:MODE" on page 531
MATH<m> is an alias for FUNCtion<m>. The query will return FUNC<m> if the source is
FUNCtion<m> or MATH<m>.
FUNCtion or MATH (without the "<m>" math function number) is an alias for FUNCtion2 or
MATH2. The query will return FUNC2 if the source is FUNCtion or MATH.