Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-1608FS Analog Inputs

Hello.  I am using a two Measurement Computing USB-1608FS boards for analog inputs.  I am also using LabView 8.5 for the software.  I am logging all sixteen analog inputs at the same time (in the same loop).  I also average the output over the last four inputs in the same loop.  I need this loop to run pretty fast (right now is has a 5ms wait).  I have a pretty fast computer but this loop still uses up to 33% of my processor.  What I would like to do, is to speed this loop up by using the “burst” or “continuous” modes of the usb devices.  Is there a way for the software to call the usb device one time and get all 8 readings at once?  Right now, I think I call each device 8 times per loop iteration.  I enclosed a screen dump of what my code looks like now.  Any help or direction in this is greatly appreciated.


Thanks

Dan


Download All
0 Kudos
Message 1 of 3
(3,489 Views)
If AIn is the function you are calling to read the DAQ device and if you have to call that 16 times (once for each channel), you are not calling them at the same time. It is calling channel by channel. I have not used measurement computing analog cards but there are usually ways to provide a channel list and call a single acquire function. For specifics on what the measurement computing drivers can and cannot do, you need to contact measurement computing - not NI.
Message 2 of 3
(3,480 Views)

You should be using the AIinScan function. If you go to the Measurement Computing web site,you can download the Labview Universal LIbrary function reference PDF for more info on this and all of the functions in the library.

 

Good luck,

Dave

 

 

Message 3 of 3
(3,449 Views)