A bug about Packet output

I am encountering an issue where the Packet Out block from the Simulink Desktop Real‑Time toolbox fails to transmit CAN FD messages. I am using a PCAN‑FD‑USB adapter configured as shown in the attached settings. I packaged a 64‑byte CAN FD message, but another tool receives it as an 8‑byte classic CAN frame instead of a CAN FD frame. My suspicion is that the message‑type parameter passed to the PCAN API is incorrect.
Incidentally, the Packet Input block works correctly and can receive 64‑byte CAN FD data without problems.
This issue also persists in MATLAB R2026a.

답변 (0개)

태그

질문:

桌
대략 11시간 전

Community Treasure Hunt

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

Start Hunting!

Translated by