NI-CAN Timestamp Drift Relative to PC Clock Hardware: Industrial Communications, Industrial Communications>>CAN
Problem: Why do timestamps for my CAN frames start out synchronized to my PC clock, but drift over time? Solution: This is fundamentally due to the fact that the CAN card receives an initial timestamp from the PC when the ncOpen function is executed, but uses its onboard processor, which is clocked by an on-board oscillator, to determine subsequent timestamps. The fact that this oscillator drifts and is not synchronized with the PC oscillator causes the CAN timestamps to drift over time relative to the PC clock. The degree of drift may vary from system to system and, unfortunately, there is no suggested hardware fix to synchronize the clocks. There are, however, a few software "re-synchronization" techniques which can be suggested if this poses a problem for a particular application:
Related Links: Attachments:
Report Date: 04/20/2005 Last Updated: 10/15/2006 Document ID: 3KJCSL4B |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
