LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FFT of Numerical Data

Solved!
Go to solution

Hello everyone.

 

I'm having some issues for my project.

 

I'd like to apply the Fast Fourier Transform on the data acquired by an accelerometer. I'm doing vibration measurements, the data input is a string that it's then splitted into the values of the 3 axis and converted into numbers.

 

What I'd like to do is the FFT of those datas, but I don't know how to "convert" them into waveform to apply the Transform.

 

Any help is appreciated.

 

My VI, commented, is attached.

0 Kudos
Message 1 of 5
(2,424 Views)
Solution
Accepted by topic author AndreasSchnaas

Dear AndreasSchnaas,

 

you may try the "Spreadsheet String to Array" function.

 

To allow for any detailed answer, save some default data in your controls and indicators and post your VI once again. Data cannot be gathered using your VI unless the proper hardware is available for the user.

 

Cheers,

Message 2 of 5
(2,415 Views)

The basic FFT VI works with arrays. You have to do the frequency scaling manually.

 

Or you can use the Build Waveform primitive from the Waveform palette. Connect the array to the Y input and 1/(sample rate) to the dt input.

 

Lynn

0 Kudos
Message 3 of 5
(2,394 Views)

Spreadsheet to array was just what I needed. Thank you very much!

0 Kudos
Message 4 of 5
(2,357 Views)
You are very welcome!
0 Kudos
Message 5 of 5
(2,354 Views)