CAN log message timestamps are incorrect

1 Ansicht (letzte 30 Tage)
Calum Meiklejohn
Calum Meiklejohn am 18 Jan. 2016
Bearbeitet: Calum Meiklejohn am 18 Jan. 2016
Hello, When I run a simulink simulation using either a real or virtual CAN bus and the Simulink block "CAN LOG" from the vehicle network toolbox the logged timestamps for the CAN messages are always offset by some amount. Eg If I wanted a CAN message to be sent out at time 1 second and again at time 2 seconds then when I check the log file it always shows the messages being offset by a second or more eg they are sent at 2.3 seconds and 3.3 seconds. Is this due to the log file starting to log the can bus before the simulation has even started? How can I fix this so the log file shows Timestamps similar to when simulink says it has sent the CAN messges?
Thanks

Antworten (0)

Kategorien

Mehr zu Vehicle Network Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by