09-14-2020 09:13 AM
when i compute the fft of sine wave, the output doesnt appear to peak signal/ delta signal. in fact it appears as a cluster of random signal at specific frequency
09-14-2020 12:24 PM
First. Please use capitalization in you your sentences.
Second, you describe something here, but the words aren't adequate to understand what you are talking about. Why don't you attach some pictures. Perhaps even a VI with the results saved as default and any values in controls saved as default.
09-14-2020 12:25 PM - edited 09-14-2020 12:48 PM
You need to show us your VI.
09-14-2020 03:11 PM
Hi Amandeep,
Please post picture or upload VIs to enable community member to help and to get the solution at the earliest.
By the way, please find the attached VI of FFT of sine wave, might be helpful.
09-15-2020 05:16 AM
It looks exactly as I would expect. You have a peak at the frequency of sine wave, then low level noise; which is expected because the signal is time sliced an quantized.
09-15-2020 08:43 AM
If you want to measure properties of a pure sine signal (frequency, amplitude,phase), you should use sine approximation methods (LSME-FIT) or try the tone detection vi.
DFT (or FFT) can give correct results under very certain conditions... rarely met without good knowledge of digital signal processing. The tone detection vi provided use FFT but care for those conditions (or correct side effects)
09-15-2020 09:12 AM
@amandeepkaur wrote:
when i compute the fft of sine wave, the output doesnt appear to peak signal/ delta signal. in fact it appears as a cluster of random signal at specific frequency
A day later and you have not followed up on our questions. Did you solve your problem?
(Also, the term "cluster" has a specific meaning in LabVIEW, but you seem to use it to describe something else).
An FFT of a sine wave is a trivial problem for non-pathalogical data. You get distortions if your input consists of a non-integer number of periods. You might get alias frequencies if your sampling rate is insufficient.
09-15-2020 12:52 PM
How to calculate the fft of sine wave and plot its real and imaginary parts.
I tried using two methods. The screenshots of both VIs are attached below.
I am not able to obtain a peak value at specific frequency of sine wave.
09-15-2020 12:55 PM
I have posted the screenshot of VI in my current question in this discussion
forum
09-15-2020 12:58 PM
hey!
yes, i have solved my previous problem.
This platform has been of great help.
I think I was not very clear in describing my current problem. I have attached the screenshot of VI in my current ques. Kindly look into it