472
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide
21
:MEASure Commands
:MEASure:SOURce
Command Syntax
:MEASure:SOURce <source1>[,<source2>]
<source1>,<source2> ::= {CHANnel<n> | FUNCtion<m> | MATH<m>
| WMEMory<r>}
<n> ::= 1 to (# of analog channels) in NR1 format
<m> ::= 1 to (# math functions) in NR1 format
<r> ::= 1-2 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> ::= {CHAN<n> | FUNC<m> | WMEM<r> | NONE}
See Also:
•
"Introduction to :MEASure Commands"
•
•
•
•
NOTE
MATH<m> is an alias for FUNCtion<m>. The query will return FUNC<m> if the source is
FUNCtion<m> or MATH<m>.
NOTE
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.
Summary of Contents for P9241
Page 1: ...Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide...
Page 6: ...6 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide...
Page 36: ...36 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 1 What s New...
Page 41: ...Setting Up 2 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 41...
Page 44: ...44 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 2 Setting Up...
Page 222: ...222 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 7 Root Commands...
Page 244: ...244 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 8 ACQuire Commands...
Page 256: ...256 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 9 CALibrate Commands...
Page 278: ...278 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 10 CHANnel n Commands...
Page 328: ...328 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 15 EXTernal Trigger Commands...
Page 386: ...386 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 17 FUNCtion m Commands...
Page 390: ...390 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 18 HCOPY Commands...
Page 416: ...416 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 20 MARKer Commands...
Page 498: ...498 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 21 MEASure Commands...
Page 532: ...532 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 22 MTESt Commands...
Page 572: ...572 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 24 SAVE Commands...
Page 900: ...900 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 28 TIMebase Commands...
Page 1080: ...1080 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 31 WGEN w Commands...
Page 1142: ...1142 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide 34 Error Messages...
Page 1344: ...1344 Keysight P9241 42 43A Oscilloscopes SCPI Programmer s Guide Index...