How to receive and visualize CAN Data using CAN explorer?
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Ayush Modi
el 5 de Mzo. de 2024
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 comentarios
Ayush Modi
el 14 de Mzo. de 2024
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 ?
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!