NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

CompactRio DAQmx NTP

Solved!
Go to solution

Hi everybody,

 

I have a problem using DAQmx and NTP on a cRIO-9053.

 

When I install the DAQmx driver and NTP, the clock drifts.

 

I read somewhere that I have to choose between time synchronization modes for DAQmx (IEEE 1588, IEEE 802 or NTP).

 

My system can only use NTP. So I didn't install time sync services on my cRIO.

 

If I don't install DAQmx, everything is perfect. NTP synchronizes the time.

 

If I install DAQmx, the time drifts. More than one second per day.

 

Does someone have solved the problem ?

 

Thanks.

0 Kudos
Message 1 of 2
(1,945 Views)
Solution
Accepted by topic author pacome

Hello, I believe there are two documents that can help explain this behavior and offer a few potential solutions:

  • This document describes the root cause of the drift you are most likely seeing. The default installation on your target will include NI-DAQmx and NI-Sync, the latter of which includes some services that will steer the clock.
  • One option to disable that behavior is described in this document. If you install NI-Sync 20.1 to the target (not sure which version you currently install), you can disable the described behavior. At that point, you should be able to synchronize as expected. 
  • One potential other option: if you do not need NI-Sync installed, you could uninstall it. Off the top of my head, I am not certain of the dependency relationships and how that might impact other installed software (e.g. NI-DAQmx). 

 

In either case, I would be interested in hearing more about your application and what you are trying to accomplish so we (NI) can evaluate how we can better serve this type of use case. Please feel free to send me a message.

Brian.D
NI Product Owner
VeriStand
0 Kudos
Message 2 of 2
(1,908 Views)