LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple FFT graph problem

Hi to all,

The problem is: I have  a 100Hz sine in a text file (sampled at 800Hz), and when try to see the FFT of that signal, the dominant frenquency should be around 100Hz, but doesn't happen. I think that's because the "Convert to Dynamic Data" VI, but how can I solve this? The VI and the signal file goes in attachment.

Thanks in advance.

Ricardo.
Download All
0 Kudos
Message 1 of 3
(2,846 Views)
Before converting the array into the Dynamic Data type, convert it into a waveform type.  Feed the data into the Y element of the waveform cluster and enter the inverse of the sampling rate into the dt element of the waveform cluster.  Feed the waveform data into they Covert to Dynamic Data and change the properties of it to accept a single 1D waveform.  Your frequency info will then appear in the FFT.

Looking at your data, if this sine wave is at 100 Hz then it is not sampled at 800 Hz.  It is sampled at a higher rate.
Randall Pursley
Message 2 of 3
(2,835 Views)
Thank you very much rpursley8. You helped me. My signal is sampled at 2,3KHz indeed. Thank you for your help.
0 Kudos
Message 3 of 3
(2,820 Views)