> Thanks for your response. I was vague in my request. Basically, the input signal is derived from the 'SVT Power Spectrum.vi'. It is setup to produce a voltage/frequency spectrum waveform graph with 10000 data points and a resolution of 1/8Hz (.125Hz), from 0 to 1250 Hz. The Power Spectrum vi output unbundels to F0,DF, and Magnitude.
My other input is from disk, and is a calibration reference file which contains voltage and frequency arrays.
As the reference frequencies may differ with the SVT input, I use the Threshold 1D Array tool for INDEX numbers, which are then used later to merge the two source voltages. The Threshold tool must have dual frequency inputs.
In another case, I use the output of the SVT Spectrum Peak Search.vi to do this process, and it works because this vi outputs frequency and voltage, using the Unbundle tool.
Thanks, mail me for more info if needed...DH
Dear Don,
Thanks for the additional details. I think I am beginning to better understand your goal. Let me try to clarify what I think you are trying to do, and then correct or confirm my interpretation.
I think you are taking an input from some real system and calculating its spectrum or frequency response. I believe that you have a file containing a similar spectrum or response that should either match the measured one or be in some way compared with it. The spectrum for your input signal contains 10000 points from 0 to 1250 Hz, but your reference file may contain different points over the same range. You want to use the threshold VI to find an index for each point in the reference, where that index in the measured spectrum would be the same frequency as the reference point.
I think I was confused by a little of our terminology. The only voltages in this picture are the original waveform that is the input to SVT Power Spectrum. Remember that the output of SVT Power Spectrum contains an array of magnitudes, which indicate the amount of power (which is proportional to the square of voltage) in the signal at a particular frequency. I think that is okay for this application, assuming your reference file contains power values that were generated in a manner consistent with what we are comparing them to.
As a matter of logistics, please reply to posts here on the forum; I will be notified and able to respond quickly to a post here, but not through an e-mail to the webmaster.
Thank you,
Kyle Bryson
National Instruments