LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

frequency of aquiring data

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?!

 

0 Kudos
Message 1 of 4
(2,437 Views)

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?

0 Kudos
Message 2 of 4
(2,424 Views)

its miyu DAQ lite , second question answer usb , third question answer yes they provide driver

i attached labview file that i wrote

 

0 Kudos
Message 3 of 4
(2,403 Views)

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

0 Kudos
Message 4 of 4
(2,400 Views)