How is the CAN Pack block from Simulink Real Time triggered to send remote frames?

5 views (last 30 days)
I've used this block before for non-remote frames inside Switch Case Action Subsystems but for remote frames it does not send the can message (I've connected ports 1 and 2 and read my own sent frames). Besides, should the input labeled 'None' be unconnected?

Answers (1)

Dimitri MANKOV
Dimitri MANKOV on 11 Aug 2022
Hi Remi,
This might be due to the driver blocks for the I/O hardware you're using to send the remote CAN frame. In case you're using Simulink Real-Time with Speedgoat hardware, please try installing the latest Speedgoat I/O Blockset version for your MATLAB release, and see if it helps.
As to the input port labelled "None", you can either ground it or leave it disconnected (since no data is transmitted in a CAN remote frame anyway).
I hope this is helpful!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!