02-19-2014 06:43 PM
Hi,
i am trying to implement this flow chart
but when i implement the attached VI i got this error
can i know the problem please?
thanks
02-19-2014 07:31 PM
I think your problem is in the DAQ Assistant VI. You are telling it to read 1000 samples/sec continuously, but you are only reading 100 samples at a time. If you open the DAQ Assistant and click the run arrow, does that work? Or do you get the same error? As the error indicates, you are acquiring data on the cDAQ faster than you are removing that data from the cDAQ buffer and reading it into your program. Eventually the cDAQ buffer overflows.
02-19-2014 07:57 PM
i think the problem was because i was activating the highlight execution button
i dectivated it and now it is working
thanks
02-20-2014 06:01 AM
@Eng.Tareq wrote:
i think the problem was because i was activating the highlight execution button
i dectivated it and now it is working
thanks
Yep, that would definately do it. Slowing down the loop at all will cause this kind of error. I often see this error due to trying to save the data to disk, which is a slow process. Highlight Execution slows everything down to a crawl, so that will definately cause the buffer overflow error.