Timing problem of PCAN-View's log trace

Windows® Compatible Software for Displaying CAN Messages
Post Reply
stephenylc
Posts: 2
Joined: Mon 28. Aug 2023, 07:26

Timing problem of PCAN-View's log trace

Post by stephenylc » Mon 28. Aug 2023, 08:27

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 ?
Attachments
trace1.JPG
trace1.JPG (62.08 KiB) Viewed 4353 times
trace1.trc
(234.57 KiB) Downloaded 1103 times

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

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

Post by M.Maidhof » Mon 28. Aug 2023, 09:08

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.

stephenylc
Posts: 2
Joined: Mon 28. Aug 2023, 07:26

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

Post by stephenylc » Tue 29. Aug 2023, 09:18

Hi Michael,

Understood. Thank you!


regards

Stephen

Post Reply