issues about RateTransition block when performed serial communiction on Speedgoat
2 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I'm reaching out to seek assistance with a model I've built for receiving information from a sensor using RS-232 serial communication on Speedgoat. The sensor's sending frequency is approximately 100Hz, although it's not fixed.
Regarding the block parameters, I have set the sample time of the Legacy Serial Read block to 0.001s, the FIFO Write block to 0.001s as well, and the FIFO ASCII Read block to 0.01s. There is also a RateTransition block that connects the FIFO Write and FIFO ASCII Read blocks for rate transition.
While debugging the model, I didn't encounter any error messages. However, when I attempted to run it on the target, it failed with no error message porvided
I would greatly appreciate any assistance or insights that anyone can provide.
0 个评论
回答(1 个)
Dimitri MANKOV
2024-1-3
Hi Yunchao,
Could you open the Diagnostic Viewer on the bottom of your Simulink model, and select the correct log (Build) as shown in the picture below? This should provide you with more details:
Best,
Dimitri
2 个评论
madhan ravi
2024-1-4
Like Dimi mentions, post a screenshot of your Daignostics Viewer of your Simulink Model after you run the model. It helps others to debug the problem.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!