LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FFT for multiple channels

Setting up the VI like that still only runs one waveform through the FFT at a time. I want to run all of them through the FFT and display all the outputs at the same time on the same plot. That method only displays one output at a time.

0 Kudos
Message 11 of 19
(1,410 Views)

Putting your code inside a for loop that indexes the waveform array is a simple solution.

0 Kudos
Message 12 of 19
(1,407 Views)

@Dennis Knutson wrote:

Putting your code inside a for loop that indexes the waveform array is a simple solution.


I have tried that, but can not get it to work. Would it be possible  show me how you would format it?

0 Kudos
Message 13 of 19
(1,394 Views)

Here's a mod of Lynn's program. Took 30 seconds to change.

 

I would recomend you take the free LabVIEW tutorials and pay special attention to how for loops work, especially the auto-indexing feature.

0 Kudos
Message 14 of 19
(1,388 Views)

I have tried that exact configuration and it did not work. Did the vi you posted work for you, cause it does not display the output correctly when I run it (which is the same thing that was happening to me earlier).

0 Kudos
Message 15 of 19
(1,385 Views)

Well, I forgot to wire a false to the 'compute frequencies' input but it worked as well as with a single waveform - meaning I am running in simulation mode so I have no signal to input and have no way of judging what the fft for a single waveform is supposed to be.

0 Kudos
Message 16 of 19
(1,375 Views)

After you go through the tutorials as Dennis suggested, run this version to collect some typical data.  Then follow the instructions on the front panel to save the data and post the modified VI with data.

 

Lynn

0 Kudos
Message 17 of 19
(1,370 Views)

And here's a version that uses the  polymorphic FFT Spectrum function set for N Channels. No for loop and it works directly with waveforms.

0 Kudos
Message 18 of 19
(1,367 Views)

I should be all set, thanks for the help.

0 Kudos
Message 19 of 19
(1,358 Views)