LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Freq Data from FFT

Solved!
Go to solution

FFT.jpg

I am trying to extract the Frequency data from my FFT like I extract the Magnitude data, as a 1-D array, in order to easily write it to an excel file.

As shown, I can get the delta-freq value, and I could make a for loop that calculates the values with the dF value, but I would much rather just extract the whole array like I do with 'magnitude'.  Is there an option for this, or should I just write the loop and calculate the values?

0 Kudos
Message 1 of 2
(2,025 Views)
Solution
Accepted by topic author LarsUlrich

Build yourself an array of frequencies, such as this:

 

timeaRRAY.png

 

(Just realised the indicator label is Time Array - as I usualy do this for waveforms!)

 

You can also pass the magnitude array into the for loop with an autoindexing input, whilst omitting the array size primitive wired to the iteration count.

 

Edit - to answer your question, no, there's no other easy method I'm aware of.

---
CLA
Message 2 of 2
(1,994 Views)