Why are certain messages not transmitted when I use multiple CAN Transmit blocks in multiple Enabled Subsystems with PEAK-System hardware?

7 views (last 30 days)
I am using a PEAK-System device with multiple CAN Transmit blocks in multiple Enabled subsystems. At certain timesteps, the blocks do not transmit a message, even though the correct subsystem is enabled. Why aren't all messages transmitted?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 6 Feb 2018
This is a limitation of using PEAK-System devices with Vehicle Network Toolbox CAN Transmit blocks in multiple Enabled subsystems.
Depending on your application, you might be able to use one of the following workarounds:
  1. Replace the Enabled subsystems with a different type of conditional subsystem, such as an if-action, switch-case-action, or triggered subsystem.
  2. If you must use an Enabled subsystem, redesign your model so that all the Transmit blocks are contained within a single Enabled subsystem.
  3. If none of the above are possible, you can use CAN hardware from another vendor to achieve the correct behavior.

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!