LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read analog physical channel

I was away for a while, but now I'm back on it.

 

Based on customer requests, I now need to do the Analog Read (8 voltages) and 2 Digital Writes (1 is 20 booleans, and a 2nd one is 4 booleans).

 

My previous testing showed the analog read (DAQMx task defined in the project, all at once) took about 26 mSec, and the digital write (DAQMx task defined in the project, all at once) took 10 mSec.  As expected the loop took about 36 mSec.  When I made the above change the Analog read still took 26 mSec, but the digital writes took 10 mSec each.  Now the loop is up to about 46 mSec. per iteration.  This is the wrong direction.

 

Any other thoughts on speeding this thing up?  Is it the USB access to the USB-6212 that is slowing me down?  I had earlier apps running on a PCMCIA DAQ Card that ran similar operations in a 3 mSec loop.

 

Thanks for any thoughts.

Jeff

0 Kudos
Message 11 of 12
(529 Views)

I'm writing 1 value (bool) to each of N channels on the digital out.

On the analog in I'm reading 1 value from each of N channels, and then parsing.

 

I have attached a sample project and VI.

 

Thanks for your input,

Jeff

Download All
0 Kudos
Message 12 of 12
(523 Views)