Page 1 of 1

Timing problem of PCAN-View's log trace

Posted: Mon 28. Aug 2023, 08:27
by stephenylc
Hi All,

I used PCAN-View to transmit messages and log trace at the same time.
But, I found a unreasonable phenomenon that the earlier Time Offset has been placed at later Message Number highlighted in yellow shown in attached files.
For example, the time offset of message number 39, 39.6 ms, is smaller than the one of message number 38, 40.9 ms.

Anyone can let me know there is any reason that causes this unreasonable result ?

Re: Timing problem of PCAN-View's log trace

Posted: Mon 28. Aug 2023, 09:08
by M.Maidhof
Hi,

there is no sorting algorithm inplemented in the tracer of PCAN-View, so the messages will be set to the tracer with their timestamps as they are received by the PCAN hardware, or when you send them with periodical signal with the timesstamps when they will be sent out by the driver. This will always happen when you trace with PCAN-View while you also tranmit messages. To have a sorted trace file, please trace with a separate CAN channel on the same CAN bus.

regards

Michael.

Re: Timing problem of PCAN-View's log trace

Posted: Tue 29. Aug 2023, 09:18
by stephenylc
Hi Michael,

Understood. Thank you!


regards

Stephen