Why do I get an error after repetitive usage of my program using the Data Acquisition Toolbox?
I have created a GUI for signal sampling using the Data Acquisition Toolbox and my DAQ card. After repetitive usage of the program the message below appears in the MATLAB command window and the program ceases to acquire new data.
Error event occurred at 11:22:09 for the object: nidaq1-AI. Timeout in GETDATA. Error in ErrorAction: 'daqaction'. Error using ==> daqmexcb Timeout waiting for device to stop. Stop has been forced. ??? Error using ==> analoginput/getdata Timeout in GETDATA. Error in ==> C:\matlabR12\work\SignaltoNoise\DAQcard.m On line 82 ==> data = getdata(ai); ??? Error while evaluating uicontrol Callback.
How do I get rid of this problem so as to obtain uninterrupted program functionality?
Best Answer