09-09-2010 01:10 AM
09-09-2010 07:15 AM
It depends upon what you mean by "real time." That is a term which means different things to different people.
Spectral analysis typically operates by calculating the FFT of a block of data and perhaps doing some additional calculations on the results. So at minimum your spectral analysis will be delayed by the time it takes to acquire a block of data samples plus the calculation time. The frequency resolution is dependent on the number of samples.
This means that you have several trade-offs to consider. How often do you save the raw (time series) data? How large are the input blocks to the spectral analysis? What else is your program doing at the same time? What it the penalty for delaying the logging of the spectral analysis?
Lynn