Matlab stop execution without any error while doing a real-time acquisition

2 次查看(过去 30 天)
Hello everybody,
I have a issue that maybe someone can clear me up. Basically, I built a GUI (graphical user interface) and I am using it to make some analyses while acquiring real-time data from a National Instrument hardware.
The problem is that at some time the Background acquisition stops without returning any error. Does anybody know why this happens or to what it might be related? Is there any way to solve this issue?
Thank you all.
  4 个评论
Mario Malic
Mario Malic 2020-9-11
编辑:Mario Malic 2020-9-11
I checked the other thread, maybe this solution might help, it will stop updating GUI once process is closed
while ~daqSession.HasExited
drawnow
pause (0.1) % Updates GUI every 0.1s
end

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by