06-01-2010 04:27 PM
In the attached file, the Fast Fourier Transform, de cumulative distribution and the probability density distribution is plotted at the end of the for loop.
How to plot the same graphs while the for loop is running? (I have LabView version 8.0)
Thank you verymuch,
Francisco
Solved! Go to Solution.
06-01-2010 04:46 PM
The obvious answer is to place the analysis inside the loop. ![]()
There are "point by point" versions of the signal processing VIs that you can use. For example, there's an FFT PtByPt VI that can be used to calculate the FFT progressively.
For the graphs you'd need to accumulate the data along the way. The best way to do this, since you know the size of the array, is to pre-allocate the arrays and use Replace Array Subset to update the array values with each iteration. If you pre-allocate the array values with NaN for the Y-values then they won't plot on the graph.
06-01-2010 05:03 PM
06-01-2010 05:08 PM
06-02-2010 08:16 AM
THANK YOU SO MUCH EVERYONE FOR YOUR KIND ANSWERS!