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

3 views (last 30 days)
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!

Answers (1)

Alexandra Clara Saracho
Alexandra Clara Saracho on 15 Mar 2018
Did you manage to solve this?

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!