I recently needed to synchronize a Windows XP machine with GPS time. One of the requirements was sub-millisecond accuracy, which is no small thing for non-RTOS computers. David Hart to the rescue! He has written an driver for the NTP (network time protocol) service to incorporate a PPS (pulse per second) signal. The PPS signal, coming from a GPS, is highly accurate after sufficient time has elapsed for the GPS to sync with the satellites. I’ve received a lot of help from David Taylor; thanks again, David! So, without further ado, here’s an example of how to proceed with the installation:
[UPDATE: from David Hart – “I’ve posted a new serialpps-20091228.zip which should correct that [install.bat bug]. The (huge) debug build of serialpps-ppsapi-provider.dll is also added, along with a tiny bit of instructions in install.bat regarding PPSAPI_DLLS.”]
1. Configure hardware.
Connect the PPS signal to the DCD pin on the RS232 connector.
2. Install Meinberg NTP software.
Keep all defaults.
Create and use a special NTP account. (I always had problems using anything else)
Account name: ntp (use whatever you want)
Account pass: ntpntp
3. Stop NTP.
Run “C:\Program Files\NTP\bin\stopntp.bat”. There are alot of useful utils in the \bin directory.
4. Replace ntpd.exe with altered version.
Extract “ntpd.exe” from “ntp-4.2.4p6-DLH-QPC-20090315-bin.zip”
Copy to “C:\Program Files\NTP\bin”, replacing previous ntpd.exe.
5. Install SerialPPS.
Extract all from “serialpps-20090606.zip“.
Edit “install.bat”
On line 6, remove ‘if “x86″==”%PROCESSOR_ARCHITECTURE” ‘
Remove line 7 and 8 (you can just put “REM ” in front and they will be ignored, almost like a comment)
Run “install.bat”
Ensure that “serialpps.sys” was copied to “C:\Windows\system32\drivers”
Copy “serialpps-ppsapi-provider\x86\serialpps-ppsapi-provider.dll” to “C:\”
Right-click “My Computer”, go to properties.
Click “Advanced” tab
Click “Environment Variables” button
Under “System variables”, Click “New” button
Name: PPSAPI_DLLS
Value: C:\serialpps-ppsapi-provider.dll
6. Configure GPS (for Garmin)
Run “SNSRCFG.exe”
Connect to GPS
Configure
Set baud rate to 4800
Enable “Pulse Per Second”
Press F7
Enable GPRMC, disable others
Send config to GPS
7. Configure NTP
Edit “C:\Program Files\NTP\etc\ntp.conf”
Remove all entries, add the following
driftfile “C:\Program Files\NTP\etc\ntp.drift”
enable stats
statsdir “C:\Program Files\NTP\etc\”
statistics loopstats
server 127.127.22.1 minpoll 4 #PPS
server 127.127.20.1 iburst prefer minpoll 4 maxpoll 7 #GPS
#fudge 127.127.20.1 time1 0.4 refid GPS #uncomment and change time1 as needed
8. Ensure GPS is connected to serial port 1
9. Restart computer
10. Unplug GPS and disable Microsoft Ball-mouse (if listed)
Go to device manager: My Computer->Properties->Hardware->Device Manager
Under “Mice and other pointing devices”, right-click and disable “Microsoft Serial BallPoint”
11. Reconnect GPS Restart computer
12. Start NTP server
Run “C:\Program Files\NTP\bin\startntp.bat”
13. Monitor NTP server
Run “C:\Program Files\NTP\bin\ntpstatus.bat”
Both GPS and PPS should show up. After the GPS gets a lock, NTP should sync to the servers.
Refer to online documentation for help.
Alternatively, use “NTP Time Server Monitor” from Meinberg
To Uninstall PPS driver, run “uninstall.bat”.
December 27, 2009 at 5:11 pm
If someone was interested in configuring an ntpserver on linux – How to install and configure NTP on linux
December 27, 2009 at 5:13 pm
How to install and configure NTP on linux
December 28, 2009 at 1:28 pm
Thanks for the writeup. I’m embarrassed by the install.bat bug you spell out how to work around. I’ve posted a new serialpps-20091228.zip which should correct that. The (huge) debug build of serialpps-ppsapi-provider.dll is also added, along with a tiny bit of instructions in install.bat regarding PPSAPI_DLLS.
January 16, 2010 at 5:19 pm
GPS NTP TimeServer Frequently asked questions – maybe someone will be interested in general info about NTP Servers.
February 22, 2010 at 6:11 am
Hi Jeremy,
I have been trying hard to do this, but a step by step instruction was hard to find. Do you have any results that I can take a loot at. I read somewhere that although the NTP servers run very accurately sync to GPS, the NTP clients when they read the timestamps,there is a lot of jitter. Please help
March 23, 2010 at 6:45 am
Shital, your best bet is to look at David Taylor’s website. He has several charts from various computers and configurations.
April 22, 2010 at 10:53 pm
Thanks for your sharing. Does ntpd from “ntp-4.2.4p6-DLH-QPC-20090315-bin.zip” support baud rate of 9600?
April 22, 2010 at 11:18 pm
I have not tried it and I personally have not looked through the code to see if it is supported. David Hart has posted his source code. That would be a place to start.
February 23, 2011 at 11:14 pm
What is the advantage of running both PPS and GPS_NMEA drivers simultaneously? They both seem to support PPS on the Windows build, and I am getting almost exactly the same offset from each.
23 Feb 23:03:15 ntpd.exe[668]: Using user-mode PPS timestamp for GPS_NMEA(1)
23 Feb 23:03:15 ntpd.exe[668]: GPS_NMEA(1) 8024 84 reachable
23 Feb 23:04:02 ntpd.exe[668]: PPS(1) 8024 84 reachable
March 16, 2011 at 1:53 pm
To: “Thanks for your sharing. Does ntpd from “ntp-4.2.4p6-DLH-QPC-20090315-bin.zip” support baud rate of 9600?”
Yes, it should.
To: “What is the advantage of running both PPS and GPS_NMEA drivers simultaneously? They both seem to support PPS on the Windows build, and I am getting almost exactly the same offset from each.”
The ATOM (PPS) driver can run in kernel mode, and thereby get more precise timestamps (less subject to other system activity). I made one brief comparison on Windows XP SP3 here:
http://www.satsignal.eu/ntp/NTP-on-Windows-serial-port.html#kernel
Cheers,
David Taylor
September 20, 2011 at 3:22 am
Follow your steps i have installed it …but i don’t know how to update my PC time;I star NTP server and monitor NTP server,i can see NTP stauts….I set a wrong time on my PC ,My PC time doesn’t update the corrcet time.
September 26, 2011 at 4:10 am
could you suggest me some nice GPS softwares.. I planning install one in my car..
October 6, 2015 at 9:21 am
I had similar problem to open abaqus from grid computer and my problem got solved with -mesa flag, abaqus cae -mesa, but the display is very slow, each movement takes ages to load on the screen. I have NVIDIA card. Is there any thing we can do to improve the display loading on the screen. شركة نقل عفش بالرياض
November 19, 2015 at 11:26 pm
It is a technical article which defines some high level of technical things about Installing and Using NTP with a Garmin 18 GPS (with PPS). Very useful for me…
create facebook apps
December 2, 2015 at 3:36 am
This is such a brave step by installing & using NTP with a Garmin 18 GPS. I really like to read and research the new technological things.
December 2, 2015 at 11:04 pm
This is a very important update & thanks for mentioning the whole procedure. Also I have thankful to Mr. David Hart & Mr. David Taylor that they done a fantastic job.
December 13, 2015 at 12:20 pm
I have not tried it and I personally have not looked through the code to see if it is supported. David Hart has posted his source code. That would be a place to start.شركة تنظيف بالرياض
February 18, 2016 at 8:50 pm
Provide you with Al Rayan high quality living accommodation deal and superior performance in the arts of hygiene in respect of places public and private First: places special Kalqsour, villas, apartments, kitchens and offices as cleaning floors, walls and washing of carpets and rugs and cleaning Alantreat and Rushd pesticides to combat insects and liposuction unpleasant odors The company offers special offers for Tndev villas and palaces progress the company’s comprehensive program of cleaning and control at the highest level and the latest equipment and the best workers trained well on the means to help the cleanliness of all places, even small ones, and difficult to access and that accompanied supervisors specialists to follow up the work line and delivered in the best quality شركة تنظيف بالرياض
February 20, 2016 at 2:53 am
شركة دهانات بالطائف
شركة تسليك مجارى بالطائف </a
March 21, 2016 at 12:48 am
شركة مكافحة حشرات بالدمام
May 12, 2016 at 9:29 am
شركة كشف تسربات المياه بالرياض
July 30, 2016 at 5:35 am
This is such a brave step by installing & using NTP with a Garmin 18 GPS. I really like to read and research the new technological things.
July 30, 2016 at 5:36 am
This is such a brave step by installing & using NTP with a Garmin 18 GPS. I really like to read and research the new technological
July 30, 2016 at 5:36 am
hard to find. Do you have any results
August 19, 2016 at 9:20 pm
it is a nice site i hope i visit it again
September 7, 2016 at 8:46 pm
good
September 15, 2016 at 10:16 pm
Thanks for this great article.
October 16, 2016 at 4:37 pm
Thanks for this great article.
November 3, 2016 at 8:17 pm
Thanks for this great article
November 8, 2016 at 8:02 pm
Thanks for this great site
December 9, 2016 at 5:33 pm
شركة مكافحة حشرات بالدمام
December 9, 2016 at 5:37 pm
شركة تنظيف مسابح بالدمام
December 9, 2016 at 5:37 pm
شركة صيانة مسابح بالدمام
December 21, 2016 at 12:24 pm
Thanks for this great article
January 12, 2017 at 5:03 am
I had similar problem to open abaqus from grid computer and my problem got solved with -mesa flag, abaqus cae -mesa, but the display is very slow, each movement takes ages to load on the screen. I have NVIDIA card. Is there any thing we can do to improve the display loading on the screen
شفط الصرف الصحي بالدمام
January 15, 2017 at 11:04 am
شركة نقل اثاث وعفش بالمدينة المنورة وينبع
January 15, 2017 at 11:05 am
شركة ذات العماد للخدمات بالمدينة المنورة
March 4, 2017 at 2:00 pm
links to various files needed to install the ntp server do not work. Could you direct me to where I can get these files?
Thanks
New serialpps-20091228.zip which should correct that [install.bat bug].
ntp-4.2.4p6-DLH-QPC-20090315-bin.zip
serialpps-20090606.zip
March 4, 2017 at 2:00 pm
links to various files needed to install the ntp server do not work. Could you direct me to where I can get these files?
Thanks
New serialpps-20091228.zip which should correct that [install.bat bug].
ntp-4.2.4p6-DLH-QPC-20090315-bin.zip
serialpps-20090606.zip
March 5, 2017 at 10:51 am
كما ان جودة التنظيف الخاص بتنظيف الموكيت تعتمد علي نوعيته مع استخدام المكينات الحديثه وبالاضافه الي الايدي العامله المدربه حديثا شركة مكافحة حشرات بالخرج
March 29, 2017 at 5:48 am
had similar problem to open abaqus from grid computer and my problem got solved with -mesa flag, abaqus cae -mesa, but the display is very slow, each movement takes ages to load on the screen. I have NVIDIA card. Is there any thing we can do to improve the display loading on the screen.شركة تخزين عفش بالرياض
April 18, 2017 at 3:32 am
توجد الان فروع من شركة مكافحة حشرات بمكة وتوفر جميع مواد الاباده و القضاء علي الحشرات المختلفة في جميع فروع شركة ابادة حشرات بمكة و الرياض و جدة
http://www.el3nod.com/5/company-anti-insect-termite-Pesticides-mecca
April 18, 2017 at 3:32 am
توجد الان فروع من شركة مكافحة حشرات بمكة وتوفر جميع مواد الاباده و القضاء علي الحشرات المختلفة في جميع فروع شركة ابادة حشرات بمكة و الرياض و جدة
http://www.el3nod.com/5/company-anti-insect-termite-Pesticides-mecca
April 18, 2017 at 6:32 am
يوجد الان خصومات من توكيل يونيون اير علي عمليات صيانة يونيون اير والمراكز الشاملة للصيانة توفر عرض علي صيانة كاريير الدورية لخدمات صيانة كاريير الدورية المستمره
http://www.maintenanceg.com/Unionair-Agent-Company-Service.html
http://www.maintenanceg.com/Carrier-Agent.html
April 19, 2017 at 2:32 am
نحرص في صيانه سوني وصيانه جليم جاز على تقديم الخدمة لكافة عملائنا على مستوى الجمهورية من خلال
فروعنا ومن خلال فروع الصيانه المتنقلة على مستوى الجمهورية الموقع الالكتروني
http://www.maintenanceg.com/Sony-Agent-Service-Company.html
http://www.maintenanceg.com/Glemgaz-Agent-Center-Egypt.html
April 28, 2017 at 8:47 am
شركة تسليك مجاري بالدمام – بالخبر – بالجبيل – بالاحساء – بالقطيف
شركة المهندس شركة تسليك مجارى بالدمام_ بالاحساء_ الجبيل الخبر_ القطيف_ سيهات_براس تنورة هل لديك مشاكل فى الصرف الصحى وهى تعمل على عموم الفوضى فى بيتك وفى شارعك وهى تعوق عملك ومرورك وتضيع وقتك ومالك وتجعل مظهر بيتك قبيح وتعمل على جذب جميع الحشرات وتكون رائحتها كريهه وتبحث عن شركه متميزه ولديها الخبره فى عمليات التسليك وتعمل على حل مشكلتك بسرعه واتقان وتجد هذه الامور واكثر فى شركة المهندس
شركة شفط الصرف الصحى بالدمام
https://el-mohandes1.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D8%B3%D9%84%D9%8A%D9%83-%D9%85%D8%AC%D8%A7%D8%B1%D9%8A-%D8%A8%D8%A7%D9%84%D8%AF%D9%85%D8%A7%D9%85/
. شركة تسليك مجارى بالدمام فنحن نمتلك الخبره فلدينا عمال ماهرون ذات خبره عاليه من كثرة العمل فى تسليك المجارى فلا تقف امامهم اى مشكله ويمكنهم حلها بسهوله ونحن نمتلك الات متطوره ومعدات حديثه من الات تقوم بضخ الماء وضخ الاكسجين والات تقوم بشفط الماء ونحن نستخدم افضل المواد التى تعمل على اذابة الدهون والزيوت شركة تسليك مجارى بالدمام
شركة شفط الصرف الصحى بالخبر
https://el-mohandes1.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D8%B3%D9%84%D9%8A%D9%83-%D9%85%D8%AC%D8%A7%D8%B1%D9%89-%D8%A8%D8%A7%D9%84%D8%AE%D8%A8%D8%B1/
؟ ونحن نقدم خدمات عديده ومتنوعه منها خدمة تنظيف المطابخ فمع تنظيف اوانى الطهى تسقط بقايا الاطعمه والزيوت والدهون ثم تتراكم وتعمل على انسداد البلاعات وقد تسقط مواد صلبه تقوم بالانسداد وبعد ذلك مع الاستعمال يمتلىء المكان بالماء الملوث ذات الرائحه الكريهه والممتلئ بالجراثيم والميكروبات وهذا يعوق حركتك فى منزلك ويسبب فى جذب الحشرات والاصابه بالعديد من الامراض شركة تسليك مجاري بالقطيف
شركة شفط الصرف الصحى بالجبيل
https://el-mohandes1.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D8%B3%D9%84%D9%8A%D9%83-%D9%85%D8%AC%D8%A7%D8%B1%D9%89-%D8%A8%D8%A7%D9%84%D8%AC%D8%A8%D9%8A%D9%84/
. فنحن نعمل على تسليك البلاعات بسوست معدنيه تعمل على تسليكه واستخدام مواد ذات مفعول قوى فى اذابة الدهون وتسليكه باسياخ تعمل على ازالة المواد الصلبه وبقايا الاطعمه المتراكمه ثم نقوم بشفط الماء الموجود فى بيتك وتنظيف الارضيات من الاصفرار واستخدام معطرات ومطهرات لنجعل بيتك نظيف مره اخرى ذات رائحه جميله وخالى من الجراثيم ونحن نقوم بتسليك مواسير الحمامات للتخلص من اى سدود شركة تسليك مجارى بالاحساء
شركة شفط الصرف الصحى بالاحساء
https://el-mohandes1.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D8%B3%D9%84%D9%8A%D9%83-%D9%85%D8%AC%D8%A7%D8%B1%D9%89-%D8%A8%D8%A7%D9%84%D8%A7%D8%AD%D8%B3%D8%A7%D8%A1/
ولدينا خدمة تسليك البيارات والبلاعات بجميع احجامها فلدى شركة المهندس لعمليات التسليك بمدينة الدمام سيارات ضخمه بها اجهزه حديثه تعمل على شفط المجارى ثم ضخ ماء او اكسجين حتى تتم عملية التسليك ولدينا عمال مدربون على استعمال الاسياخ فى عمليات التسليك وهذا ما يسمى بالسليك اليدوى شركات تسليك مجاري بالدمام
. ونحن نستخدم احدث الالات المتطوره ليتم الكشف عن اماكن الانسداد والات للكشف على المواسير لتاكد من خلوها من العيوب ونحن فى شركتنا نعطى ضمان على عملنا لاننا متاكدون مما نقدمه من خدمات لاننا نتميز بالخبره والاتقان والامانه والمصداقيه فلا تبتعد عن الافضل وهى شركة المهندس للقيام بعمليات تسليك المجارى شركة تسليك مجاري بالجبيل
شركة شفط الصرف الصحى بالقطيف
https://el-mohandes1.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D8%B3%D9%84%D9%8A%D9%83-%D9%85%D8%AC%D8%A7%D8%B1%D9%89-%D8%A8%D8%A7%D9%84%D9%82%D8%B7%D9%8A%D9%81/
فهناك شركات تقوم بعمليات تسليك المجارى ثم تعود المشكله مره ثانيه وذلك لانهم يقومون بحل المشكله الظاهره ولايقومون بالبحث عن المشكلات الغير ظاهره بعكس شركتنا ونحن فى شركتنا نقدم جميع خدماتنا باسعار تناسب الجميع وبعض الناس يبحثون عن شركه تكون فى مدينتهم حتى تخلصهم من المشكله سريعا وهى لا تتميز بالخبره ولا بالجوده لذلك نحن انشانا فروع فى جميع انحاء الدمام حتى نكون بالقرب من جميع عملائنا شركة تسليك مجاري بالخبر
June 1, 2017 at 12:57 pm
Happy Eid 2017,Happy Eid Mubarak SMS for Whatsapp Happy Eid Mubarak Photos Wallpapers,Happy Eid Mubarak Wishes Quotes Happy Eid Mubarak Greetings,Happy Eid Mubarak Shayari for Friends
http://www.eid2017.info/
June 1, 2017 at 12:58 pm
nice blog
http://www.eid2017.info/
June 16, 2017 at 12:54 am
ركن نجد افضل شركة نقل اثاث بالرياض والتى تقدم كافة خدمات الفك والتغليف والنقل من اي حي من أحياء الرياض ولكافة احياء الرياض كما اننا نقدم افضل خدمات النقل الدولي …
July 6, 2017 at 4:57 am
تعلن مؤسسة ابراج دبي عن فريق عمل شركة مكافحة حشرات بالخبر الذي يتميز بالكفائه والخبرة في اداء العمل المطلوب منه وباسرع وقت ممكن .
http://abraj-dubai.net/%D8%B4%D8%B1%D9%83%D8%A9-%D9%85%D9%83%D8%A7%D9%81%D8%AD%D8%A9-%D8%AD%D8%B4%D8%B1%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%AE%D8%A8%D8%B1-%D8%A8%D8%A7%D9%84%D8%AC%D8%A8%D9%8A%D9%84/
September 16, 2020 at 8:18 pm
http://awalclean.com/cleaning-company-in-riyadh/