Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

get frequency and amplitude from fft module

Hi,

I am trying to save the frequencies and the corresponding amplitudes of a certain signal in an array.

But I couldn't find a way to get the components of the output of the FFT Spectrum(Mag-Phase).VI

Please could you help me get the output components of the mentioned FFT VI

 

Thank you,

 

 

Bill

0 Kudos
Message 1 of 3
(3,493 Views)

It's a cluster so you would use the unbundle by name to get the f0, df, and magnitude array. If you really need a frequency array, use a for loop with a shift register. Initialize the shift register to the f0 value, increment the shift register value by df, and run the for loop to a count equal to the magnitude array.

 

p.s. This has nothing to do with instrument control. If you have a NEW question, you should post to the LabVIEW board.

Message Edited by Dennis Knutson on 04-25-2010 12:00 PM
0 Kudos
Message 2 of 3
(3,482 Views)
Message Edited by Dennis Knutson on 04-25-2010 12:06 PM
0 Kudos
Message 3 of 3
(3,475 Views)