05-19-2010 01:07 PM
Hi all,
I've recently taken over an existing LabVIEW based project that controls an USB-6229 to read analog voltages. I'm trying to optimize the VI since it takes approximately 4-10 seconds to scan the channels, with each channel being read multiple times to get an average value. I would think this task would take considerably less time. I'm going to post the block diagram to get some feedback.
I was initially thinking of reducing the samples per channel and reducing the array size based on the needed number of channels.
Thanks,
Mark
05-19-2010 03:35 PM
Hm...don't optimize it...create a new one!
Have a look at the DAQmx Examples (Help>Find Examples) and look for a finite acquisition example.
It does the same like the VI you posted, only hardware timed and you simply need to add the averaging.
Christian