Cannot read data using Baseboard/Legacy Serial Read block in Simulink Real-Time (SLRT)
Afficher commentaires plus anciens
I am not able to receive data on the baseboard serial port of my Speedgoat machine using the following blocks from the Simulink Real-Time / RS232 / Mainboard library:
For 2020a and earlier, you can access the documentation for the relevant blocks by executing the following commands in MATLAB R2020a:
- RS-232 Send/Receive:web(fullfile(docroot, 'xpc/io_ref/rs232sendreceive.html'))
- RS-232 Send/Receive FIFO:web(fullfile(docroot, 'xpc/io_ref/rs232sendreceivefifo.html'))
For 2020b and later, use the following commands in MATLAB R2020b to access the documentation:
- Legacy Serial Read:web(fullfile(docroot, 'slrealtime/io_ref/legacyserialread.html'))
- Legacy Serial Port:web(fullfile(docroot, 'slrealtime/io_ref/legacyserialport.html'))
- Legacy Serial Port F:web(fullfile(docroot, 'slrealtime/io_ref/legacyserialportf.html'))
When I use these blocks to read data off the baseboard serial COM port, I receive nothing but zeros.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Serial Port (RS232) Protocol Blocks dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!