Why do I receive the error "MCC: Background operation already in progress" from the DAQ Toolbox with an MCC USB-1208FS-PLUS?

MCC confirmed to me that the usb-1208fs-plus model allows for concurrent AO/AI/DIO, so the background operation error should only occur, for example, if I try to start a new AO while one is already running. However, even if I explicitly call, stop(AO), before calling, start(AO), I still get this error. The only way to solve it is to restart Matlab.
In my application, I have a loop of stop(AO), putdata(AO,x), and start(AO) commands. The error is nearly guaranteed to occur at some point during the loop, but it seems random: it could be, for example, during the first iteration, the 83rd, or the 1001th.
I'm running 2014b. I assume this is a bug in the Matlab mcc driver. Can someone help me solve this? Also, why does restarting Matlab fix the problem?
Thanks!

답변 (1개)

Did you manage to solve this?

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2015년 12월 21일

편집:

2018년 3월 15일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by