You say that you have a 2D array but the power spectrum function only accepts a 1D array so my guess is that you've stripped up the timing information. The power spectrum function has no idea what the timing is because there is no input for dt. If you use the FFT Power Sprectrum function which uses a waveform data type as the input, your frequencies would probably be correct. You can add the timing information, though, to your graph by determining dt from the 2D array and then wiring that information into the graph. Turn on Contect Help and move your cursor over the graph on the diagram. At the bottom of the help screen, you will see a Bundle function. Add the Bundle function, wire the output of the power spectrum, the delta x and x0 to it and then wire the output to the graph.
Message Edited by Dennis Knutson on 03-28-200607:39 AM
Message Edited by Dennis Knutson on 03-28-200607:39 AM