02-18-2009 04:44 PM
No problem. Will this do for finding the peak freqs? (Written in LV 8.2.1) Inputs are your signal (to the FFT) and a magnitude cutoff.
-Matt
02-19-2009 11:03 AM
02-19-2009 03:24 PM
Well, you couldn't graph them separately yet. Next thing you need to do is put in the three bandpass filters based on the frequencies that FreqFinder found. Then you'll get three filtered signals, each with one of the frequencies in it. If you FFT those and plot it, you should see one peak per plot.
Caveats: You have to make the band narrow enough so it doesn't include the other freqs, so you may want to calculate the high and low cutoff frequencies based on the three freqs -- for example, if you have f1, f2, and f3 (in increasing frequency), then the upper cuttoff freq for the f1 filter should be the greater of f1 + (f2-f1)/10 or f1 +100 ... or something like that.
Does that help?
-Matt
02-23-2009 09:01 PM
So... do you still need help or is that enough?
-Matt
02-24-2009 09:48 AM
Sorry I was sick for the weekend
I'm gonna try that now and I'll get back to you as soon as possible
Thanks a lot for your help. I apreciate it
Moe
02-24-2009 09:51 AM
02-24-2009 02:18 PM
Hope you are feeling better.
The easiest way is to generate known signals (simulated) and see if it finds them (say at 100, 1K and 2K Hz). Sorry, I can't look at the code right now (I can only upload new code when I am at work). One thing you can also try is the express VI Tone -- it will even let you set the frequencies you want to extract. Unfortunately, you can't do this dynamically (which is what you want), but it would be a good way to check your code using a known simulated signal.
-Matt
************ kudos always appreciated, but only when deserved **************************