Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Optimizing USB-6229 AI scan with LabVIEW

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.

 

 

usb-6229_diagram2.png

 

 

I was initially thinking of reducing the samples per channel and reducing the array size based on the needed number of channels.

 

Thanks,

Mark

0 Kudos
Message 1 of 2
(3,142 Views)

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

Message 2 of 2
(3,130 Views)