Dear PCAN team
I have compared timestamps recorded by 2 PCAN-View instances
One PCAN-View shared the adapter with the app that actually sent the messages on CAN bus and
another PCANview instance used another adapter connected to the same bus
The observed timestamp difference is about 500 microseconds
I found the solution - use another adapter for timestamp recording
Best regards, Fedor Solodovnik
PCAN-View timestamp not exact when sharing PCAN-USB adapter
-
- Posts: 8
- Joined: Fri 10. Sep 2021, 11:00
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: PCAN-View timestamp not exact when sharing PCAN-USB adapter
You need to understand that a PCAN-View, connected to the same Hardware that your own application use, receive the CAN messages via the internal CAN Simulation NET.
The API directly push the CAN Frames from your Application into the Software Queue from the PCAN-View.
The real CAN Interface need to receive the CAN Frames from the driver queue, transport via USB to the Firmware of the Device, fill the CAN Controller, send the Frame physically on the BUS.
Here we have Arbitration etc. Then the other real CAN-USB Device must do all the things too.
Receive the CAN Frame from the CAN Bus into his CAN Core, Firmware send via USB to the PC driver, the driver push the CAN Frame into the Application / PCAN-View queue.
The API directly push the CAN Frames from your Application into the Software Queue from the PCAN-View.
The real CAN Interface need to receive the CAN Frames from the driver queue, transport via USB to the Firmware of the Device, fill the CAN Controller, send the Frame physically on the BUS.
Here we have Arbitration etc. Then the other real CAN-USB Device must do all the things too.
Receive the CAN Frame from the CAN Bus into his CAN Core, Firmware send via USB to the PC driver, the driver push the CAN Frame into the Application / PCAN-View queue.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------