How can i set the timestamp in CAN Explorer(vehicle network toolbox) ?

4 vues (au cours des 30 derniers jours)
JAEHOON SHIM
JAEHOON SHIM le 4 Mai 2023
I am currently sending CAN communication from the Aurix TC 375 evaluation board to the PC. To view this in Matlab, I am using CAN explorer (Vehicle Network Toolbox).
Currently, with the use of the dbc file, CAN explorer has successfully interpreted the data. However, strangely, the plotted graph is not being displayed, as shown in the image below. (The graph is updating in real-time.)
I think the reason for this is because the 'Time' of the data is different from the 'Time' on the graph. How can I adjust the 'Time' of the data?
Or please let me know of any other solution.
Thank you.
(below figure : magnified image)

Réponses (1)

Rasmita
Rasmita le 9 Juin 2023
Hi Jaehoon,
It is my understanding that, you are using CAN explorer to visualize CAN data in MATLAB using .dbc file. But the plotted graph is not showing in Signal Scopes, as the ‘Time’ of data is different from the ‘Time’ on the graph.
To get the accurate plot, you need to configure the channel bus speed in CAN Explorer. Because the absence of the correct bus speed configuration can result in problems with time scaling on the graph.
The x-axis representing time may not be properly scaled, leading to compressed or expanded timelines. As a result, the plotted data may not be accurately aligned with the expected time intervals, making it difficult to analyse the temporal relationships between different messages.
Please refer to the below documentation link to see an example on this:
Hope this helps you resolve the query!

Catégories

En savoir plus sur Vehicle Network Toolbox dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by