Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Making a 3-D Spectrogram

3 ratings | 1.67 out of 5
Print


Most instruments make measurements in either the time or frequency domains. For example, a broad range of equipment ranging from audio analyzers to spectrum analyzers is available for making frequency-domain measurements, while digitizers, oscilloscopes, and other instruments are available for making time-domain measurements. However, joint time-frequency analysis, often displayed using a 3-D spectrogram (where the three dimensions are time, frequency, and amplitude), is substantially more difficult.

The wide (20 MHz) vector capture capabilities of the PXI-5660 RF signal analyzer, combined with Spectral Measurements Toolset algorithms and the ability of LabVIEW to display 3-D objects using ActiveX controls, make this measurement possible. A 3-D spectrogram is an important diagnostic tool, especially when looking at modulated waveforms. When a signal is downconverted and digitized by the RF signal analyzer, the Spectral Measurements Toolset computes the spectrogram. To create the 3-D spectrogram, a short time Fourier transform (STFT) is calculated. A STFT is composed of an array of complex FFTs at fixed time intervals. The results of the STFT are manipulated using array functionality in LabVIEW, and a 3-D plot of the result is displayed using an ActiveX graph object called from LabVIEW.

[+] Enlarge Image
Figure 1. LabVIEW 3D Spectrogram


3 ratings | 1.67 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).