Technical data

498 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
24 Measure Commands
:MEASure:FREQuency
Command :MEASure:FREQuency [<source>[,<direction>]]
The :MEASure:FREQuency command measures the frequency of the first
complete cycle on the screen using the mid- threshold levels of the
waveform (50% levels if standard thresholds are selected).
The source is specified with the :MEASure:SOURce command or with the
optional parameter following the :MEASure:FREQuency command.
The algorithm is:
If the first edge on the screen is rising,
then
frequency = 1/(second rising edge time - first rising edge time)
else
frequency = 1/(second falling edge time - first falling edge time)
<source> {CHANnel<N> | FUNCtion<N> | WMEMory<N> | CLOCk | MTRend |
MSPectrum | EQUalized}
MTRend and MSPectrum sources are only available if the oscilloscope has
the EZJIT option installed and the feature is enabled.
The CLOCk source is only available if the oscilloscope has the High Speed
Serial option installed and the feature is enabled.
The EQUalized source is only available if the oscilloscope has the High
Speed Serial option and the Serial Data Equalization option installed and
the features are enabled. This command uses the Feed- Forward Equalized
(FFE) signal as the source.
<N> CHANnel<N> is an integer, 1 - 4.
FUNCtion<N> and WMEMory<N> are:
An integer, 1 - 4, representing the selected function or waveform memory.
<direction> {RISing | FALLing}
Specifies direction of edge for measurement. When <direction> is specified,
the <source> parameter is required.
Using the <direction> parameter will set the "Measure All Edges" mode if it
is not currently set.
Example This example measures the frequency of the channel 1 waveform.
myScope.WriteString ":MEASURE:FREQUENCY CHANNEL1"
Query :MEASure:FREQuency? [<source>[,<direction>]]
The :MEASure:FREQuency? query returns the measured frequency.