02-05-2022 02:17 AM
I wanted to obtain the real time fft for a pulse signal and tried using the "fft by pt" sub vi with a window size of 100. I have used myrio for acquiring the signal and sampled it at 200hz. The fft shows a peak at 0 and goes to 0 level at 1. I am not able to figure out. Can anyone please help me out?
02-05-2022 09:55 AM
@Zikra_Furqan wrote:
I wanted to obtain the real time fft for a pulse signal and tried using the "fft by pt" sub vi with a window size of 100. I have used myrio for acquiring the signal and sampled it at 200hz. The fft shows a peak at 0 and goes to 0 level at 1. I am not able to figure out. Can anyone please help me out?
Going only by your limited information (you have not shown a vi, sample data or described the pulse width or repetition rate) I would have to conclude that the record indicates a large component of between 0hz and 2hz. This does not surprise me in the least! It's a PULSE!
02-05-2022 11:07 AM
@Zikra_Furqan wrote:
I wanted to obtain the real time fft for a pulse signal and tried using the "fft by pt" sub vi with a window size of 100. I have used myrio for acquiring the signal and sampled it at 200hz. The fft shows a peak at 0 and goes to 0 level at 1. I am not able to figure out. Can anyone please help me out?
As a first step, generate a static array containing your expected pulse and do a plain FFT. Work if out until you see what you expect to see. Then go back to the ptbypt, but use a simulated signal. Only once everything is worked out, go back to the real signal.
02-06-2022 04:32 AM
Will try it out and get back to you if there is any doubt. Thanks a lot for the inputs.
02-06-2022 04:33 AM
Thanks a lot for the inputs. Will definitely try to include more info next time.