Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

NetworkTimeProtocol CR1000X - no correct adjustement


GNWCLZ Sep 30, 2022 01:08 PM

Hi all,

we have a strange behavior with NetworkTimeProtocol.

 

Sub SyncTime()

NTPPing = PingIP(NTPServer,4000)

If NTPPing > 0 Then ' Syncronize Clock
ClockDeviation = NetworkTimeProtocol(NTPServer,0,1000)
EndIf EndSub

 

In SlowScan we call the sub routine every hour with

 

Call SyncTime()

 

After that the logger clock / timestamp was set to 1954/09/12 11:50:10 and ClockDeviation is between -40 and -60 every call of SyncTime().

We have try several NTP servers and also the NTP server built in the router which the CR1000x is connected to. Also we tried NetworkTimeProtocol directly and not in a sub routine.

I have no idea what we are doing wrong.

Thanks everyone for help.


john,park Sep 5, 2024 08:24 AM

Have you solved this problem?


minionrush Sep 18, 2024 10:20 AM

This post is under review.

Log in or register to post/reply in the forum.