What exactly don't you understand about the picture I posted? Since you didn't post your code, I used the FFT Power Spectrum on the Waveform Measurements palette. I then used an Unbundle by Name to get the various components of the output. This is the same output that you would wire to a graph. The output is what is called a cluster. A cluster can contain any number of different data types. In this case, the cluster consists of a numeric called f0, (frequency 0), a numeric called df (delta frequency), and a numeric array called magnitude. The magnitude array is all of the y values in the graph. A normal graph in LabVIEW does not require an x array because it automatically spaces the y values based on f0 and df. Any specific x value can be determined for a given y value by a little array manipulation and arithmetic. This is what I showed in the bottom of the picture. If you do require a full x array, then that too can be created. That's what I showed in the top of the picture. A lot of the analysis functions in LabVIEW do not require a separate x array since they will do all of the calculations for you to determine an x value. Some functions do require a separate x array and that creation of one is showed in the top part of the picture.
You might also want to check into some of the links at
LabVIEW Learning Center.
Message Edited by Dennis Knutson on 10-19-2005 10:25 AM