10-06-2010 09:02 AM
Hello,
I am getting a strange error trying to use the NI PCIe-1427 with the MATLAB image acquisition toolbox configured with continuous acquisition. After about 5 minutes of acquisition, I get the error below:
??? ni: A frame has been dropped and the acquisition has been canceled.
Does anyone have any clues as to why I am getting this error / where I can find out what causes it? I need to acquire several hours worth of data and this error completely aborts my acquisition.
--Y
10-07-2010 09:56 AM
Hi Ysirotin,
What driver version do you have on your system? Can you post a screesnshot of the errors please.
Thanks and have a great day.
10-07-2010 10:11 AM
Hello,
Turns out that I found the problem. I had a slow memory allocation in my MATLAB code and this delay allowed too many frames to be accumulated in memory. I still do not know the source of the exact text of the error, but upon removing the slow memory allocation the error no longer occurs. I believe that it may have resulted from a buffer overrun of some sort in the underlying driver.
Given that this no longer poses a problem for me, I will not pursue it further.
Thank you for your help!
03-26-2013 04:50 PM
Hi, I have encountered the same problem.
What do you mean by "slow memory allowcation process"?
I have some 'getdata' functions there.
Could you please tell me how you get ride of that?
Thank you.
Yang
03-27-2013 04:19 PM
Yang,
Unfortunately the issue appears to reside in MatLab and this thread is over 2 years old. It may be worth contacting MathWorks for additional assistance or creating a new thread.