Using Simulink and a TI C2000 how to collect and log multiple signals over serial communications.
7 ビュー (過去 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!