04-29-2011 02:18 PM
Dear users,
We're trying to use LabVIEW to aquire data from Eagle uDAQ,but we have a
problem with frequency of aquiring data,actually we can't get more than
40 sample per second.Is there anyone to help us o solve the poblem?!
04-29-2011 03:03 PM
What is Eagle uDAQ? Do you have a weblink that shows what it is?
How are you communicating with it? Is it a .dll, USB, or serial port? Do they provide LabVIEW drivers?
05-02-2011 08:10 AM
its miyu DAQ lite , second question answer usb , third question answer yes they provide driver
i attached labview file that i wrote
05-02-2011 09:01 AM
The biggest problem may be in the EDRE_ADSingle.vi which you did not post. That VI gets called 16 times for each iteration of the loop. How long does it take on each call? Is it doing anything which does not need to be done on each iteration, like initializing the external device?
Other things which may slow you down: Writing to file can be slow. You do it twice in each iteration of the loop. Moving the file writes to a parallel loop may allow the acquisition to run faster. You are doing the the same thing many times. Make subVIs. Use arrays and for loops. Avoid coercion dots. Move indicators to a parallel loop - writing to the display can slow the loop.
The Producer/Consumer Design Pattern is an example of how to use parallel loops for something like this.
Lynn