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

1 回表示 (過去 30 日間)
JAEHOON SHIM
JAEHOON SHIM 2023 年 5 月 4 日
回答済み: Rasmita 2023 年 6 月 9 日
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)

回答 (1 件)

Rasmita
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!

カテゴリ

Help Center および File ExchangeVehicle Network Toolbox についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by