How to overcome running into errors due to exceeding maximum missed ticks when using data and image acquisition simultaneously in Simulink?
15 ビュー (過去 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!