Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Spectrum Analyzer with NI-6111

I am trying to build a two channel (simultaneous) spectrum analyzer using Labview 7.0 and the PCI-6111 DAQ. I can make one channel work but it is very slow, but cannot find a method to acquire the second channel while the first is running. Are there any samples that might be useful? Attached is what I have so far. Is there anything I can do to speed it up? Any suggestions are GREATLY appreciated.
0 Kudos
Message 1 of 3
(2,742 Views)
I've attached an example that I've thrown together that acquires from two channels and performs an FFT of one or both channels (selectable). I didn't have a problem performing frequency analysis on multiple channels simultaneously. One thing to keep in mind though -- the more analysis you do while performing buffered acquisition, the more likely your CPU will run into trouble with transferring data. I hope my example helps.

Regards,

Todd D.
Message 2 of 3
(2,742 Views)
Thanks Todd,

Your comments on the buffered input was correct, taking the buffer out allows the program to run at near-real-time. The last addition to my program needs to provide an analog output. Do you have any suggestions on how I can add the output to the example I provided earlier?

Thanks again for your help!

Ted L
0 Kudos
Message 3 of 3
(2,742 Views)