MATLAB: CAN messages sent on the Channel 1 CAN bus are visible on the channel 2 CAN bus

busdevicevehicle network toolboxvirtual

Why does a message on Channel 1 also appear on Channel 2 when using MathWorks (or Kvaser) virtual devices? Are these not separate buses?

Best Answer

For the MathWorks virtual device, the buses are "looped-back together" meaning that all of the messages are visible on both buses. While this is not how the actual hardware is setup, the current implementation does not support completely separate buses. Since these are used in simulations, the hardware components are not fully modeled along with this functionality.