![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1581261/image.png)
issues about RateTransition block when performed serial communiction on Speedgoat
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1577202/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1577202/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1577207/image.png)
0 comentarios
Respuestas (1)
Dimitri MANKOV
el 3 de En. de 2024
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1581261/image.png)
Best,
Dimitri
2 comentarios
madhan ravi
el 4 de En. de 2024
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.
Ver también
Categorías
Más información sobre Target Computer Setup en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!