Realtime Amplitude Spectrum
Overview
Signal Processing Resource Center » LabVIEW Signal Processing Shipping Examples » Realtime Amplitude Spectrum
Shows the difference in action between point-by-point and block-oriented amplitude spectra by running the two side by side. When you run the VI, you'll notice that the point-by-point (left) graph updates with every new sample, and the right (block-oriented) graph will only update after the number of samples in the Block Length has been reached. The reason for the difference is that the point-by-point Amplitude Spectra routine outputs a result with each new point generated, while the block oriented Amplitude Spectra can only operate once a full block of data becomes available. Note that although a result is available with the first input point, you must supply a number of points that exceeds the block length before the results will meet the resolution bandwidth (sampling rate/block length) that you expect.
This example, while not specifically written for the LabVIEW Real-Time Module, runs on RT targets.
Discover how to Analyze Data with LabVIEW
Learn about using textual algorithms for signal processing with NI LabVIEW MathScript
Front Panel
This example requires the Full or Professional version of LabVIEW and is included as a shipping example. Download the LabVIEW Evaluation to try this example on your computer, or visit the LabVIEW Online Evaluation to use LabVIEW without downloading any software. To run this example, open LabVIEW and navigate to Help » Find Examples... » Analyzing and Processing Signals » Signal Processing
Related Links
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program 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 program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM 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/).
