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


Grasland Jun 3, 2016 11:57 AM

Dear All,

Since I have updated the OS of our DataLogger from OS28 to OS29 the NetworkTimeProtocol Instruction does not work anymore. The instruction returns -2147483648 instead of the time difference. However according to the new documentation of the instruction, the instruction should directly return NaN

Any help is appreciated

Patrick


pokeeffe Jun 3, 2016 04:42 PM

-2147483648 is NaN for Long type variables


GaryTRoberts Jun 3, 2016 10:47 PM

There is an issue in OS 29 if NetworkTimeProtocol() is run to fast back to back, it will fail and return -2147483648.  Putting it in a SlowSequence (of IFIFTIME() statement) and running at a 5 minute interval or slower should resolve the issue.  This will be fixed in the next operating system release.


Grasland Jun 7, 2016 07:28 AM

Dear GaryTRoberts,

We run the NetworkTimeProtocol()  Instruction allready in a IFTIME instruction just once a day. But I try to insert it into a SlowSequence hopefully it will work. Thanks for your reply


Grasland Jun 20, 2016 07:49 AM

Dear all

In the mean time we tried out to run the NetworkTimeProtocol Instruction in a SlowScan, which runs just once per day. Sadly the Instruction does not work anymore since we updated from OS28 to OS29. Which is a real drawback, as time is critical for all measurements. We would highly appreciate a working solution for this issue!

Many thanks

Patrick Koller, Grassland Sciences, ETH Zurich


pokeeffe Jun 20, 2016 05:27 PM

Once per day might be too slow for your situation. I've seen that instruction fail with long (>6hr) polling intervals using CR3000.28(.02).Std and resolved it by reducing my update interval to hourly.

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