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

4 views (last 30 days)
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)

Answers (1)

Rasmita
Rasmita on 9 Jun 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!

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!