To download NI software, including the products shown below, visit ni.com/downloads.
Synchronizing with an NTP server in this way is not recommended. Please see the Choosing a CompactRIO Synchronization Technology article for details on how to sync with an NTP server.
Why is this vi available?
Sometimes system clocks drift in time, also useful when synchronising multiple devices to a known time stamp using a known NTP server. This vi will set the time of a networked RT device from a known NTP location.
How to use?
Place the "Get TimeStamp from NTP" subvi within a timed loop. Specify a Time Server IP Address for the NTP server you would like to synchronize to. Do not run the time loop too often, as this can also cause the RTC to drift ( Using LabVIEW to Read the Real-Time Clock (RTC) Directly From BIOS )
SubVI
Recommendations
Requirements
Description-Separate-2
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Good job!!! I I was looking for this VI since 3 months!
Thank you very much.
Paolo.