07-23-2010 10:22 AM
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.
07-23-2010 10:24 AM
Putting your code inside a for loop that indexes the waveform array is a simple solution.
07-23-2010 10:59 AM
@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?
07-23-2010 11:10 AM
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.
07-23-2010 11:16 AM - edited 07-23-2010 11:25 AM
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).
07-23-2010 11:45 AM
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.
07-23-2010 11:59 AM
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
07-23-2010 12:03 PM
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.
07-23-2010 12:07 PM
I should be all set, thanks for the help.