How can i set the timestamp in CAN Explorer(vehicle network toolbox) ?
1 次查看(过去 30 天)
显示 更早的评论
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1374299/image.png)
(below figure : magnified image)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1374304/image.png)
0 个评论
回答(1 个)
Rasmita
2023-6-9
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Vehicle Network Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!