02-10-2013 06:06 AM
02-10-2013 06:12 AM
Sounds like you're acquiring too slowly. The buffers on the DAQ device which store acquired data need to be read from sufficiently fast enough in order to prevent overflow occurring. You should try increasing the number of samples you read from the buffer and the frequency at which you do so. What combination of Sample Rate and Number of Samples are you using?
Also, after acquiring your data, you should avoid any intensive processing of that data within your acquisition loop. The reason for this is because if your processing code is lengthy enough, it will take a longer amount of time to complete and then return back to the acquisition stage; this means that you're taking even longer to sample from the buffer properly. To work around this, you could separate your acquisition and processing into two separate loops.
Hope this helps.
02-10-2013 06:17 AM
02-10-2013 06:21 AM
It'd really help if I could see this section of your code... I'm no mind reader!
It sounds like your DAQ device is still sampling even when you're not reading from the buffer. Try performing a Finite Acquisition when the button is pressed.
02-10-2013 03:28 PM
Please stop using Facebook as a interface. You've been asked that before and you've also been asked to post your code before. Every time you start LabVIEW, you get a menu of options with the Getting Started window and one of them is a link here.
You also should take a couple of LabVIEW tutorials. It sounds like you are making some very basic mistakes.