Using Simulink and a TI C2000 how to collect and log multiple signals over serial communications.
4 次查看(过去 30 天)
显示 更早的评论
I currently have a TI C2000 Launchpad XL and can use Simulink to measure the position of a motor shaft from an encoder. I can program the board to calculate the position and speed, but I am only able to get one out at a time. The goal would be to have the Board calculate both position and speed then send that data to the PC. I am attaching screenshots of my models. Any insight would be helpful.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1154148/image.png)
Above is the model that is being programmed onto the C2000.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1154153/image.png)
Above is the model running on the PC to gather the serial output.
0 个评论
回答(1 个)
Keyur Mistry
2022-11-23
In this example it has been demostrated that how one can communicate two different signals from launchpad to PC via serial communication.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!