Showing results for 
Search instead for 
Did you mean: 

How to get remote source timestamp at short time intervals

Go to solution


I want to get a time stamp from a remote time source at something like 4 minute intervals and have been looking at UDP and TCP client example VIs but have not found suitable address and port numbers to make it work. I know the pc uses ntp for time correction but dont want to use the pc time as a baseline. can anyone suggest a good way to go about this? 

0 Kudos
Message 1 of 6

You might do a Web search using "LabVIEW NTP".  There are solutions for LabVIEW Real-Time readily available.


Bob Schor

0 Kudos
Message 2 of 6

Thanks, found a great solution "help with connecting to NIST NTP server on port 123"

0 Kudos
Message 3 of 6

Once you get this working, why don't you post it back to this thread and mark it as a Solution?  This helps others who come here wondering "How do I ...".  Glad I set you on the right track.


Bob Schor

0 Kudos
Message 4 of 6
Accepted by topic author EdHarris

Here is the solution provided by Altenbach in the post mentioned above. I changed the IP address to a local server and it worked.
 ‏29 KB

0 Kudos
Message 5 of 6

Hi Altenbach,

That last version of your code doesnt contain the correction for round trip delay does it? If not, any suggestion how to set about including it?

0 Kudos
Message 6 of 6