How do I add a unique ID to the the graph in CAN Explorer in the Vehicle Network Toolbox?

2 visualizzazioni (ultimi 30 giorni)
Hello! I pulled some CAN data into Vehicle Network Toolbox/CAN Explorer and was hoping to be able to visualize it using the graph. I found a video on how to add a signal to the graph but it involved having a DBC file (and I didn't see an example document/format of how I would create said DBC file). Is there a way to add a signal to the graph any other way? I tried going through the menus and couldn't find a way to do it and dragging/dropping, and right clicking don't seem to get me anywhere either.
Any info on how I can take a signal and add it to a graph would be greatly appreciated. If there's not an easy way to do so (that might be a feature request at that point), is there an example DBC format or can I see an example if I wanted to add, say, signals with IDs for 0x18D, 0x224, and 0x27A (I have a bunch I want to add but once I see an example, I can put one together myself)? Thanks!

Risposta accettata

Animesh
Animesh il 13 Giu 2023
Modificato: Animesh il 13 Giu 2023
According to my understanding you have imported some CAN data in Vehicle Network toolbox but having trouble visualizing it due to absence of DBC file.
If you want to add signals of very specific CAN ids, you will need a DBC file. DBC file describes the signals, messages and nodes on a CAN bus.
You can create this file manually using a text editor or by using 3rd party applications.
To get more information on how to create a DBC file you can refer to the following MATLAB answer : https://in.mathworks.com/matlabcentral/answers/370480-how-can-i-create-or-edit-a-can-database-dbc-file-and-its-defined-can-messages-and-signals
Once you have your DBC file, you can import the DBC file to CAN Explorer and then on the signal browser, drag the signal you want to add from DBC file to the graph view where you want the signal to appear.
Further you can refer the following documentation for more information on visualizing CAN data : https://in.mathworks.com/help/vnt/ug/use-can-explorer-data-reception-visualization.html#responsive_offcanvas

Più risposte (0)

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by