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

4 Ansichten (letzte 30 Tage)
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!

Antworten (1)

Alexandra Clara Saracho
Alexandra Clara Saracho am 15 Mär. 2018
Did you manage to solve this?

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by