Clear Filters
Clear Filters

CAN Explorer not transmitting messages

3 views (last 30 days)
Chandni S Vijay
Chandni S Vijay on 16 Jun 2023
Answered: Harimurali on 20 Mar 2024
I have loaded the Matlab provided sample .dbc files to CAN explorer and did the necessary settings for signals. However, when I click run, messages can't be seen in the table nor it is seen in the scope. I have tried with different .dbc files but same issue is seen. Kindly provide a solution.
  1 Comment
Gabriel
Gabriel on 16 Jun 2023
Are you running the script to generate CAN Messages?
Replay Pre-Recorded CAN Data
Replay the CAN data onto MathWorks Virtual 1 Channel 2 for CAN Explorer to receive on MathWorks Virtual 1 Channel 1 in the same MATLAB instance. To start the data replay, execute the script replayCANData.m. You can also execute the script sequentially multiple times to generate CAN data beyond 60 seconds for additional experiments.

Sign in to comment.

Answers (1)

Harimurali
Harimurali on 20 Mar 2024
Hi Chandni,
I understand that you have loaded the DBC file to the CAN Explorer, configured the signal table, configured the signal scopes and tried to run the explorer. The issue here is that there is no CAN data for the explorer to visualize, due to which the message table, signal table and the signal scopes are empty.
CAN data needs to be transmitted so that the CAN Explorer can receive the data and then the data will appear in the message table, signal table and the signal scopes.
Start monitoring in the explorer and run the "replayCANData" MATLAB script mentioned in the given documentation: https://www.mathworks.com/help/releases/R2023b/vnt/ug/use-can-explorer-data-reception-visualization.html

Categories

Find more on Load Signal Data for Simulation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!