Raspberry PI Simulink Package Two Encoders XCP Error
Afficher commentaires plus anciens

The model is congifured to run on a raspberry pi 4 model B, This problem appears only when i'm trying to monitor my model after deploying it on the raspberry pi, when only one encoder block exists it works fine, but when i add the second one theis error appears and simulink cann't connect to my to log my data.
7 commentaires
Walter Roberson
le 12 Mar 2022
The reference to XCP tells me that you configured for Simulink Real-TIme, which is intended to be run on SpeedGoat systems. Are you sure that is what you wanted?
Muhammad Essam
le 12 Mar 2022
Modifié(e) : Muhammad Essam
le 12 Mar 2022
Arnau Mañosa
le 25 Avr 2022
I have the same problem.
On a model with ony 5 encoders on fixed-time for a RPi4. It's impossible to use more than one at a time.
If anybody knows a possible solution, will ve very apreciated
thanks!
Walter Roberson
le 25 Avr 2022
"xpc" is the Simulink Real-time product. Is that the product you are using? Simulink Real-time is only supported on Speedgoat hardware, not on Raspberry Pi.
Muhammad Essam
le 25 Avr 2022
Arnau Mañosa
le 27 Avr 2022
Hello everyone
I had read this document https://es.mathworks.com/help/supportpkg/raspberrypi/ug/remotely-monitoring-and-controlling-an-application-on-hardware.html and for this reason I assumed that it could be worked with XCP and the RPi4.
Anyway, at least I'm not an expert on Simulink. Surely what @Walter Roberson says will surely be more accurate.
On the other hand,@Muhammad Essam can you tell me this about interruptions? What block did you use? Did you use the External Interrupt of the RPi support package?
Today I will try to find a solution.
Thank you all
Hamza Hobbani
le 11 Mar 2024
Réponses (1)
Hamza Hobbani
le 6 Mar 2024
0 votes
Hello Mr. Essam,
have you found a solution for this issue? I am facing the same with my raspi 4 B.
Thanks.
Best
Catégories
En savoir plus sur Raspberry Pi Blockset 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!