NI-TimeSync 15.0 or Later Not Working on Linux Real-Time with NI-Industrial Communications for EtherCAT 14.0 or Earlier

Updated Dec 29, 2017

Reported In

Driver

  • NI-Industrial Communications for EtherCAT
  • NI-TimeSync

Operating System

  • NI Linux Real-Time

Issue Details

I have NI-Industrial Communications for EtherCAT 14.0 or earlier and NI-TimeSync 15.0 or later installed on my Linux Real-Time (RT) target, and I notice that NI-TimeSync is not syncing time. Specifically, the status file normally available at /var/run/ptp.status is missing. Additionally, if I look at the messages log located at /var/log/messages, I see an entry similar to one of the following:

nitsmd[1620]: Failed to load TimeSync daemon, got status: FAIL(-52005,null)
nitsmd[2122]: Failed to load TimeSync daemon, got status: FAIL(-1,null)

Solution

NI-Industrial Communications for EtherCAT 14.0 or earlier and NI-TimeSync 15.0 or later are incompatible with one another. In order to install both drivers to a target, you will need to do one of the following:
  • Upgrade to NI-Industrial Communications for EtherCAT 14.5 or later.
  • If you cannot upgrade, downgrade your version of NI-TimeSync to 14.5 or earlier.

WAS THIS ARTICLE HELPFUL?

Not Helpful