11-25-2008 01:39 PM
Hello -
I am using a FireWire CMOS linescan camera to read an interference pattern, then using a simple Fourier transform spectral interferometery (FTSI) phase retrieval algorithm to detect the relative phase between successive shots. My camera has a linescan rate of 28 kHz, and I have timed my phase retrieval algorithm to take ~0.7 ms (from camera trigger to phase output). I am using the phase signal to control a piezoelectric stack, by sending a single sample voltage to the analog output of a USB-6211 DAQ card.
Sending this voltage output increases the time of my loop to nearly 4 ms. I would really like to achieve a 1 kHz or better sample rate. Is the problem with my DAQ card or with my computer processor? Can any NI DAQ cards support such high speeds?
Thanks,
- Mike Chini
Solved! Go to Solution.
11-25-2008 04:28 PM
11-26-2008 10:22 AM
Hey Mike,
With USB, your loop rate is going to be around or under 1khz even on the best of systems. USB has higher latency and less determism than PCI and PCIe. You can get much better single sample AO rates on a PCI card, potentially a PCI-6221. We have some benchmarks for RT targets for AI/AO in a loop, you should be able to get similar performance in Windows, though if you're doing a lot of other processing your loop rates can suffer.
Hope this helps,
Andrew S
12-02-2008 05:16 PM