07-11-2018 02:13 AM
Dear all,
I have attached a txt file collected from a sensor. The sampling rate is 25600 samples per second and the number of samples is 20000 samples. May i know how do i properly plot out the FFT to view the dominant frequency of this plot?
Thank you!
Solved! Go to Solution.
07-11-2018 03:02 AM - edited 07-11-2018 03:03 AM
07-11-2018 04:38 AM
Dear sir,
Yah i also similar method to plot this. I have attached this new text file which is the correct one. Is there any indication that the dominant frequency is at around 40 to 50 Hz?
How can i push this to be plotted to see the time-freq response?
07-11-2018 04:44 AM - edited 07-11-2018 04:48 AM
602.17 Hz if a tone detection is applied 😉
for the second the first dominant frequency is
12,47 followed by 25,3
07-11-2018 04:45 AM
Yah i also similar method to plot this. I have attached this new text file which is the correct one. Is there any indication that the dominant frequency is at around 40 to 50 Hz?
How can i push this to be plotted to see the time-freq response on a spectrogram?
07-11-2018 04:50 AM - edited 07-11-2018 04:51 AM
here is my code... Q&D
feed the wfrm into the spectrogram vi ...
the resolution of your samples is not very high 😉
07-11-2018 05:15 AM
Dear sir,
You are finding the highest amplitude with its freq in time domain directly? The amp and freq vi will automatically find the dominant frequency? What does the residual setting in this vi does?
Will fft in the frequency domain provides a better interpretation? I am figuring out whether i can find anything between 40 to 50 Hz dominant frequency as i am simulating it with a source that provides this range.
Thank you!
07-11-2018 07:25 AM
That's is a quick and dirty written vi.
For details hoover over the subvis, rigth-click and read the help 😉