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

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Frequency measurements (high-speed/high accuracy)

5 ratings | 3.20 out of 5
Print

Downloads

Filename: fast_frequency.llb
Requirements: View

This new vi in LabVIEW 6i has some powerful techniques for detecting the frequency and amplitude of sine waves with great accuracy and speed. Unlike traditional techniques, an integral number of periods of the signal are not required for an accurate measurement.

Experiment #1: Click the cursor to the right of the last digit in the Frequency display of the Input Signal. Hit the Up key on your keyboard to change the Frequency to 10.000001 Hz. Note that Detected Frequency also changes precisely the same.

Experiment #2: Set the Noise level to its maximum value of 20 dB. Note that you no longer can see the sinewave in the waveform graph. Nor can you see it in the Frequency Spectrum. And the Detected Frequency is also "pure noise". Now change the Duration of Measurement to 10 s. Now note that the Detected Frequency can still measure it with 2 to 3 digits resolution, even though the signal to noise ratio is negative, that is, there is 10 times as much signal as noise!

Experiment #3: With the same settings as in Experiment #2, change the Duration of the measurement to 100 s. Notice how this gives much more accarate Frequency and Amplitude values, but at the expense of longer measurement and computation times. To make this measurement, your computer is now performing 100k FFTs as part of this technique.

Experiment #4: Explore on your own.

Requirements


Filename: fast_frequency.llb

Software Requirements


Application Software: LabVIEW Full Development System 6.0
Language(s): LabVIEW

 
5 ratings | 3.20 out of 5
Print

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/).