How to overcome running into errors due to exceeding maximum missed ticks when using data and image acquisition simultaneously in Simulink?
21 次查看(过去 30 天)
显示 更早的评论
The following error appears when I try and collect images from a frame grabber and analog data simultaneously using Simulink:
An error occurred while running the simulation and the simulation was terminated
Error reported by S-function 'sldrtai' in 'aplioTest/Analog Input':
Maximum missed ticks count exceeded
I need to increase my missed ticks to at least 2000 and reduce my video capture rate to 12 fps to be able to collect 2 seconds worth. This doesn't make it feasible for collecting any usable data.
Ideally I would like to collect .avi at 50Hz, analog and digital data at 1000Hz in synchronous for at least a couple of minutes. I am using version R2015a in Windows 7 Enterprise (64bits) with the Image Acquisition toolbox. Independently they work without problems. Any suggestions as to how to solve this error and how to go about synchronizing and collecting video and analog/digital data in Simulink would be greatly appreciated.
Many thanks in advance.
2 个评论
frank cheng
2021-4-25
Same problem. Found some explanation on Mathwork Document.(https://jp.mathworks.com/help/sldrt/ug/simulink-real-time-normal-mode.html)
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 National Instruments Frame Grabbers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!