How to receive and visualize CAN Data using CAN explorer?
조회 수: 11 (최근 30일)
이전 댓글 표시
I am using the matlab version R2023b and i am trying to visualize CAN data using CAN explorer , I was following the article https://au.mathworks.com/help/vnt/ug/use-can-explorer-data-reception-visualization.html# for Visualization but i am encountering issues with signal scopes, As i load the dbc file in the database and configure the signal table and I try to run it , nothing happens there is no value being shown in signal table and there is no change in graph , I thought maybe its the dbc files that are not accurate and i tried using the test file of can explorer but even in that there was no change and i am encountering this issue with every single dbc file that i use it in the CAN explorer, if someone can help me with this issue it would be a huge help.
I have attached a screenshot of the issue that i am encountering for the reference.
댓글 수: 0
답변 (1개)
Ayush Modi
2024년 3월 5일
Hi Jay,
I am assuming, after setting up the scope, you started the monitoring from the toolstrip. This enables the MathWorks Virtual Channel to receive the data. However, you need to send the data separately for it to appear in the Message table or scope at the receiver end.
Please follow the section Replay Pre-Recorded CAN Data of the below MathWorks documentation to send and receive the data in the same MATLAB instance:
Hope this helps!
댓글 수: 2
Ayush Modi
2024년 3월 14일
I have used the .dbc file from the example you mentioned. After I started monitoring, I was seeing this:
So I stopped the monitoring. Ran the "replayCANData.m" file from the example. After that, I started monitoring again. I was able to see the plot:
Could you try the same with the .dbc file from the example ?
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!