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

1 回表示 (過去 30 日間)
Remi 2016 年 3 月 8 日
回答済み: Dimitri MANKOV 2022 年 8 月 11 日
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?

回答 (1 件)

Dimitri MANKOV
Dimitri MANKOV 2022 年 8 月 11 日
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!


Help Center および File ExchangeMessages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by