Using Simulink and a TI C2000 how to collect and log multiple signals over serial communications.
4 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Keyur Mistry
on 23 Nov 2022
In this example it has been demostrated that how one can communicate two different signals from launchpad to PC via serial communication.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!