LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Power Spectrum VI Performance

I am looking to accelerate the performance of the Power Spectrum and Peak Finder VI's in LabVIEW.  Right now to process 10000 points the power spectrum takes 1.3 Miliseconds.  While this number is not huge, when doing 3000 of these analyses in a shot, it gets large, quickly.  I would like to know if there's anything to be done to speed it up.  For example, the nubmers i am sending it are fairly small Single Precision Floats, would it work better with larger numbers?...

Thanks for all your thoughts in advance.

Eugene
0 Kudos
Message 1 of 2
(2,045 Views)

Hi

I read in some place, and time ago, that those vis (power spectrum,fft, psd, etc) are optimized for power of 2 number points. I am not sure if this keeps being true, but you can try to use, say, 8192 points, or zero pading to 16384 to see if speed increases.

Hope it helps.

Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 2 of 2
(2,038 Views)