Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

fft with cdaq9178 & daqmx

I'm using daqmx to for signal acquistion on the cDAQ-9178 system. The FFT performance is slow (the harmonics change slowly, and they're there for a little longer after the signal is switched off). Any ideas to improve? 

0 Kudos
Message 1 of 6
(3,285 Views)

Hi,

 

How are you performing the FFT? Could you take a screenshot of your program?

 

Regards

 

Tannerite
National Instruments
0 Kudos
Message 2 of 6
(3,265 Views)

please see attached vi. FFT is done for the waveform

0 Kudos
Message 3 of 6
(3,256 Views)

LabVIEW's "Find Examples" also hasnt a good implemeation called FFT and Inverse FFT.vi. To perform an FFT, you must feed it an array. By definition, an FFT cannot be "real time". The delay could be that you are feeding the function a large array each time you perform the transform. You could possibly shorten the array and zero pad the rest. It really depends on your application.

 

Best,

 

Tanner

Tannerite
National Instruments
0 Kudos
Message 4 of 6
(3,243 Views)

reading fewer samples does make fft faster. But then for the application accuracy is required. Therefore fewer samples is not desirable.

 

0 Kudos
Message 5 of 6
(3,241 Views)

I understand. Have you had a chance to check out some of the resources that v124 or myself has posted? Also, A screenshot would be helpful in determining the root cause of your issue.

 

Best,

 

Tanner

Tannerite
National Instruments
0 Kudos
Message 6 of 6
(3,232 Views)