PCAN-View TRC file time offset seems to be off

Windows® Compatible Software for Displaying CAN Messages
jdlogicman
Posts: 2
Joined: Wed 24. Mar 2021, 22:20

PCAN-View TRC file time offset seems to be off

Post by jdlogicman » Wed 24. Mar 2021, 22:24

As you can see, the time offset is definitely not milliseconds since the start:

Code: Select all

;$FILEVERSION=2.0
;$STARTTIME=44278.7302169329
;$COLUMNS=N,O,T,I,d,l,D
;
;   Start time: 3/23/2021 17:31:30.743.0
;   Generated by PCAN-View v4.3.3.610
;-------------------------------------------------------------------------------
;   Connection                 Bit rate
;   PCANLight_USB_16@pcan_usb  Nominal 1 MBit/s, Data 8 MBit/s
;-------------------------------------------------------------------------------
;   Message   Time    Type ID     Rx/Tx
;   Number    Offset  |    [hex]  |  Data Length
;   |         [ms]    |    |      |  |  Data [hex] ...
;   |         |       |    |      |  |  |
;---+-- ------+------ +- --+----- +- +- +- +- -- -- -- -- -- -- --
      1 4294967295.796 FD 1F203ECC Rx 64 CB 48 00 00 44 00 99 A2 E7 05 00 91 0B 00 00 05 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 20 10 E0 00 A5 5E 00 00 1F 00 00 00 2C 01 05 00 D8 21 01 00 01 00 19 00 19 00 00 00 00 00 00 00 00
Last edited by M.Gerber on Thu 25. Mar 2021, 11:48, edited 1 time in total.
Reason: Inserted [code] tag for improved readability

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

Re: PCAN-View TRC file time offset seems to be off

Post by M.Maidhof » Thu 25. Mar 2021, 07:42

Hi,

please provide some more details:

- which PCAN-USB Version (serial number) is in use?
- which firmware version?
- which driver version?
- please disconnect the PCAN-USB device, restart Windows, and connect it again.

regards

Michael

jdlogicman
Posts: 2
Joined: Wed 24. Mar 2021, 22:20

Re: PCAN-View TRC file time offset seems to be off

Post by jdlogicman » Thu 25. Mar 2021, 18:34

It's a PCAN-USB Pro FD
SN: IPEH-004061 13480
Driver: PCAN_USB 4.2.2.16474
Firmware: 3.2.0

It shows the bad timestamps in the Trace tab.

I was able to reproduce it until I restarted the computer. Restarting the computer seems to have resolved the issue.

Is this a known issue? I need to hand of a set of work instructions to our technicians, and if restarting the PC after installing the driver will make it reliable, I'll do that.

Thanks!

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

Re: PCAN-View TRC file time offset seems to be off

Post by M.Maidhof » Fri 26. Mar 2021, 09:03

Hi,

all used files are ok. The timestamps in our drivers are based on the PerformanceCounter of Windows. So if this internal Windows timer will provide such a strange timestamp value, it will also be available in our driver. We have seen this only a few times before, but we are not sure how this happens. This could be an issue based on Windows updates where a necessary reboot was not performed. If this will happen again, please contact us again by email through our support email address to check your system and to find out what causes the problem.

regards

Michael

optima
Posts: 6
Joined: Mon 31. Jan 2022, 17:30

Re: PCAN-View TRC file time offset seems to be off

Post by optima » Mon 31. Jan 2022, 18:04

Good day! I have the same problem with displaying the time. Why does it always start with 429496 ?
Attachments
pcan.jpg
pcan.jpg (276.04 KiB) Viewed 1425915 times

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: PCAN-View TRC file time offset seems to be off

Post by M.Heidemann » Tue 1. Feb 2022, 09:31

Hello,

Is this behavior replicable after a reboot
of the machine?

(Windows Start -> Restart)

Please let us know.

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

optima
Posts: 6
Joined: Mon 31. Jan 2022, 17:30

Re: PCAN-View TRC file time offset seems to be off

Post by optima » Tue 1. Feb 2022, 11:26

Restarting the computer does not help! In the date and time settings, I turned off the automatic update of the time zone, after which the time began to work correctly, but after that in the trace window it sees only its own data, but it does not see external data in the receive window!
Attachments
pcan2.jpg
pcan2.jpg (291.48 KiB) Viewed 1425888 times

optima
Posts: 6
Joined: Mon 31. Jan 2022, 17:30

Re: PCAN-View TRC file time offset seems to be off

Post by optima » Tue 1. Feb 2022, 11:46

After the physical disconnection from the USB, everything worked as it should!
Attachments
pcan3.jpg
pcan3.jpg (346.39 KiB) Viewed 1425885 times

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: PCAN-View TRC file time offset seems to be off

Post by M.Heidemann » Tue 1. Feb 2022, 12:36

Hello,

Thank you for your feedback.

In case this behavior is replicable again:

Can you retrace the steps you took until this behavior manifested?

Does your PC/LAPTOP go into sleep/Stand-by?

Is this a VM instance?

Best Regards

marvin
---
Marvin Heidemann
PEAK-Support Team

optima
Posts: 6
Joined: Mon 31. Jan 2022, 17:30

Re: PCAN-View TRC file time offset seems to be off

Post by optima » Tue 1. Feb 2022, 15:28

Returned all computer settings to their original position, but the program has not changed, the time is displayed correctly. In trace mode, the external signal (X) starts with a delay of 15 seconds. If you exit the PCAN-view program and reload it, then the external signal (RX) does not work at all! you have to reload the driver.
My computer: ntel(R) Core(TM) i7-4510U CPU @ 2.00GHz 2.00 GHz / 16.0 GB / Windows 10 Pro 64x /
Attachments
pcan4.jpg
pcan4.jpg (320.31 KiB) Viewed 1425873 times

Post Reply