Measure:source - Agilent Technologies MSO6102A Programmer's Reference Manual

6000 series
Hide thumbs Also See for MSO6102A:
Table of Contents

Advertisement

3
Commands by Subsystem

:MEASure:SOURce

Command Syntax
:MEASure:SOURce <source1>[,<source2>]
<source1>,<source2> ::= {<digital channels> | CHANnel<n> | FUNCtion
<digital channels> ::= DIGital0,..,DIGital15 for the MSO models
<n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models
<n> ::= {1 | 2} for the two channel oscilloscope models
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, or MATH
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 only applies to
:MEASure:DELay and :MEASure:PHASe measurements.
MATH is an alias for FUNCtion. The query will return FUNC if the source is FUNCtion or
N O T E
MATH.
Return Format
<source1>,<source2><NL>
<source1>,<source2> ::= {<digital channels> | CHAN<n> | FUNC | NONE}
See Also:
Example Code
270
(see
page
564)
"Introduction to :MEASure Commands"
":MARKer:MODE"
on page 234
":MARKer:X1Y1source"
":MARKer:X2Y2source"
":MEASure:DELay"
on page 255
":MEASure:PHASe"
on page 264
' MEASURE - The commands in the MEASURE subsystem are used to make
' measurements on displayed waveforms.
myScope.WriteString ":MEASURE:SOURCE CHANNEL1"
myScope.WriteString ":MEASURE:FREQUENCY?"
varQueryResult = myScope.ReadNumber
MsgBox "Frequency:" + vbCrLf _
| MATH}
on page 248
on page 236
on page 238
' Read frequency.
Agilent 6000 Series Oscilloscopes Programmer's Reference
' Source to measure.
' Query for frequency.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents