[ntp:questions] help with setting up NTP on windows with a USB GPS

jack j.jack.wang at gmail.com
Tue Dec 1 21:10:52 UTC 2009


David,

I looked at timeGetTime() and I found it only gives out relative time
(since Windows was started). Is it possible to query NTP server to get
an accurate starting time?

jack

On Dec 1, 1:15 pm, "David J Taylor" <david-tay... at blueyonder.not-this-
bit.nor-this-part.co.uk.invalid> wrote:
> "jack" <> wrote in message
>
> news:72491452-f89d-454b-8bcc-f945c825915f at j19g2000yqk.googlegroups.com...
>
> > David,
>
> > I would like to add that, from my own experiences, the GPS has to be
> > configured to output $GPRMC sentences only. Otherwise the PPS part of
> > NTP doesn't work.
>
> Good point - added.
>
> > I have a related question: given that my system clock is synced to an
> > external GPS within ms, how do I read time that gives me the same
> > accuracy? When I tried to read time at 60Hz, I found that the times
> > returned are not periodic, sometimes even the same.
>
> > Jack
>
> That was my point about using Windows!  By default, the clock only returns
> new values at either 16ms or 10ms intervals - depending on the OS version


More information about the questions mailing list