Technical data
Measure Commands 24
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 493
:MEASure:FFT:FREQuency
Command :MEASure:FFT:FREQuency [<source>]
The :MEASure:FFT:FREQuency command enables the frequency
measurement. The source is specified with the :MEASure:SOURce
command or with the optional parameter following the :MEASure:FFT
command.
The source must be a function that is set to FFT, or a waveform memory
that contains an FFT for this command and query to work.
<source> {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> For functions and waveform memories: 1, 2, 3, or 4.
Query
:MEASure:FFT:FREQuency? [<source>]
The :MEASure:FFT:FREQuency? query returns the frequency measurement.
Returned Format
[:MEASure:FFT:FREQuency] <frequency>[,<result_state>]<NL>
<result_state> If SENDvalid is ON, the result state is returned with the measurement
result. See the :MEASure:RESults table in this chapter for a list of the
result states.
Example This example measures the frequency the peak specified by the
:meas:fft:peak1 for channel 4.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":func4:fftm chan4" ' Perform FFT on channel 4.
myScope.WriteString ":func4:disp on" ' Display the FFT.
myScope.WriteString ":meas:FFT:thr-47" ' Set peak threshold at-47 dBm.
myScope.WriteString ":meas:FFT:Peak1 2" ' Meas amplitude of peak 2.
myScope.WriteString ":meas:FFT:freq func4" ' Perform frequency meas.
myScope.WriteString ":meas:FFT:freq? func4" ' Query for measurement.
varFrequency = myScope.ReadNumber
Debug.Print FormatNumber(varFrequency, "Scientific")