11-19-2018 12:07 AM
Hi, I want to FFT my real-time DAQ system.
I attach my program.
I refer to below design.
My DAQ's Fs=2000Hz
Data is acquired Every 0.5ms.
But I don't know how can i collect data to 1-D array.
I haven't been learn about Labview array......... T.T
Please help me how can i do that.
11-19-2018 01:08 AM - edited 11-19-2018 01:55 AM
You get one point at a time and the fft of that is not interesting. (I don't think you understand the typecast function).
Accumulate your values in a shift register or use "fft ptbypt".
11-19-2018 07:51 AM
@Sangkyu wrote:
My DAQ's Fs=2000Hz
Data is acquired Every 0.5ms.
But I don't know how can i collect data to 1-D array.
I haven't been learn about Labview array......... T.T
At the beginning of this Forum, there are links to Tutorials on learning the basics of LabVIEW. Loops and Arrays are covered very early. You need to spend a little time (a few hours) learning LabVIEW (would you attempt to perform an FFT using C++, or Matlab, or any other Programming Language without knowing about Arrays, Loops, etc.?). You can also find video tutorials on the Web. Spend some time learning.
Bob Schor
11-21-2018 03:36 AM
I also think you should spend some time to learn about LabVIEW and data acquisition.
Here are some links for you.
Tutorial: Arrays and Clusters
http://www.ni.com/white-paper/7571/en/
LabVIEW / Array / Shift register
https://www.youtube.com/watch?v=IyO-OyOCh8k
FFT Example From Single Input Data Using LabVIEW