LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FFT vi truncate the signal freq.

Solved!
Go to solution

Hello,

 

I noticed that the FFT vi truncate my signal. see attachments.

 

I am basically removing noise from a signal (I have both the in-phase -I- and out of phase -Q- signals...)

 

(Ignore the curve fitting vi, that's just to remove the DC component from the signal, this is irrelevant to this discussion).

 

Regards,

Ali

Download All
0 Kudos
Message 1 of 4
(2,490 Views)

I think I discovered the problem, I will post here once I solve it.

0 Kudos
Message 2 of 4
(2,472 Views)
Solution
Accepted by topic author student_1

You are losing your timing information for the data going to the PSD graph.  It is operating on arrays.  The FFT functions assume a dT or dF of 1.  So when things are put into the graph, you are seeing values up to 0.5 since Nyquist limits you to 1/2 of the sample frequency.  The PSD2 graph does not have this problem because the blue DDT wire maintains the timing data.

 

If you build your array into a waveform datatype and bundle in the dT value, your data should look like the other graph.

Message 3 of 4
(2,458 Views)

That's right, I do not know how I did not notice it although I already used this VI in another place in the same program. Thank you.

0 Kudos
Message 4 of 4
(2,451 Views)