How do I send serial commands to a device with Simulink Real Time?
4 views (last 30 days)
I have a Speedgoat real time target machine and am trying to communicate with a Micro Maestro servo controller through Simulink Real Time. I've been using the setup outlined in the attached picture to test the software (I have a COM1 transmitting to COM2), but for some reason no data is coming across. Any thoughts?
Dimitri MANKOV on 2 Dec 2022
What kind of cable are you using to test this loopback model? Please note that a null-modem cable (or adaptor) must be used in such a scenario in order to connect the Tx pin of COM1 to the Rx pin of COM2, and vice-versa.
I hope this is helpful!