Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog In on the USB-6008 collects too slow

Hello,

I am using NI-DAQmx Base in LabView 7.1 on WinXP to collect a referenced single-ended voltage signal from the Analog In using a USB-6008 multifunctional device and am only achieving sample rates of approximately 3 Hz. I've tried to collect from multiple computers (all running Win XP) and achieve the same sampling rate. I don't think this is correct since the manual says the max sampling rate should be 10kS/s. Any help or ideas as to why the collection rate is so low would be great. Thanks.

Mike
0 Kudos
Message 1 of 3
(3,233 Views)
Hello m32601,
You are absolutely right, 3Hz is no where near the sample rate you should be able to achieve. I'm assuming the problem lies in how you are programming the acquisition. Are you using a continuous acquisition? There is a good one (as well as many other examples) that install with NI-DAQmx Base here: Start>>All Programs>>National Instruments>>NI-DAQmx Base>>Examples>>LabVIEW 7.1. I would look at Dynamic>>ai, then "Cont Acq&Graph Voltage-Int Clk.vi". See if you can get higher rates using that example.
-Alan A.
0 Kudos
Message 2 of 3
(3,221 Views)
Thanks Alan. You're right, my programming was completely wrong - had the create task, create channel, start task, stop task, and clear task within my while loop instead of just the read. Feel pretty silly about that, but it's working much better. Thanks again.

Mike
0 Kudos
Message 3 of 3
(3,216 Views)