:FUNCtion<m> Commands
17
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
393
:FUNCtion<m>[:FFT]:WINDow
Command Syntax
:FUNCtion<m>[:FFT]:WINDow <window>
<m> ::= 1 to (# math functions) in NR1 format
<window> ::= {RECTangular | HANNing | FLATtop | BHARris | BARTlett}
The :FUNCtion<m>[:FFT]:WINDow command allows the selection of different
windowing transforms or operations for the FFT (Fast Fourier Transform) function.
The FFT operation assumes that the time record repeats. Unless an integral
number of sampled waveform cycles exist in the record, a discontinuity is created
between the end of one record and the beginning of the next. This discontinuity
introduces additional frequency components about the peaks into the spectrum.
This is referred to as leakage. To minimize leakage, windows that approach zero
smoothly at the start and end of the record are employed as filters to the FFTs.
Each window is useful for certain classes of input signals.
• RECTangular — useful for transient signals, and signals where there are an
integral number of cycles in the time record.
• HANNing — useful for frequency resolution and general purpose use. It is good
for resolving two frequencies that are close together, or for making frequency
measurements. This is the default window.
• FLATtop — best for making accurate amplitude measurements of frequency
peaks.
• BHARris (Blackman-Harris) — reduces time resolution compared to the
rectangular window, but it improves the capacity to detect smaller impulses
due to lower secondary lobes (provides minimal spectral leakage).
• BARTlett — (triangular, with end points at zero) window is similar to the
Hanning window in that it is good for making accurate frequency
measurements, but its higher and wider secondary lobes make it not quite as
good for resolving frequencies that are close together.
Query Syntax
:FUNCtion<m>[:FFT]:WINDow?
The :FUNCtion<m>[:FFT]:WINDow? query returns the value of the window selected
for the FFT function.
Return Format
<window><NL>
<window> ::= {RECT | HANN | FLAT | BHAR | BART}
See Also
•
•