Synchronize XNET Timestamp to the Real Time Clock

Updated Jul 24, 2018

Reported In

Hardware

  • CAN Interface Device
  • CompactRIO Controller

Software

  • LabVIEW Real-Time Module

Driver

  • NI-XNET
  • NI-RIO

Issue Details

Can I synchronize the timestamp of my XNET module with my Real-Time system's timestamp?

Solution

It's not possible to synchronize the XNET module directly to the Real-Time OS's clock. An XNET module will take the Real-Time OS's timestamp when the XNET Session is created, and then will increment this value at the Scan Engine rate. While this should keep a consistent phase between the two clocks, it is possible to see some jitter on the ~50 - 100 us range between these two timestamps.

WAS THIS ARTICLE HELPFUL?

Not Helpful