Jeremy W. Langston

Personal Website

Installing and Using NTP with a Garmin 18 GPS (with PPS)

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”.

51 Comments

  1. Hal yang paling penting dan sangat dibutuhkan semua pemain qqslot , tentu saja pelayanan terbaik 24 jam tanpa henti. Dan sebagai sebuah situs judi online yang profesional dan pengalaman.

  2. Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now https://mo-thespians.com/2020/cara-main-dan-menang-dalam-memainkan-judi-slot-online/ ,and I really like your style. Thanks a million sir.

  3. you can find best kind of dental products in ToothTeb Shop

  4. trading binomo Sekarang anda bisa download binomo apk di hp atau pc dan laptop anda untuk menjalakan platform Binomo dimana saja dan kapan saja.

  5. I have been reading some of your articles and i must confess, they nice info. I will definitely bookmark your blog.

  6. Tadacip 20 pill may be booked on a blank intestinal or through a meal. It would be sternly engaged as directed by your doctor. The remedy will only support you to get an production if you are sexually moved. You would take it about one hour former you plan to take sex. The volume of time it takings to work fluctuates from creature to creature, but it normally takes between 30 records and one hour. One take it if you need it and it takes been arranged to you by a surgeon. The most mutual side properties of this medication are flushing, headache, blurry vision, influence pain, stomach distressed, in addition rash. Dialogue to your surgeon if the side properties problem you or will not go gone.

  7. I always found very much interesting content on your posts. keep posting, thanks for sharing with us and giving us your precious time. You may also like how to use cgminer 

  8. What is the procedure to activate cash app card?
    Are you a cash app user and want to activate cash app card then you have come in the right direction to know the procedure. Here you will know the procedure to activate a cash app card in just seconds you just have to click on this link and then it’s just a matter of few seconds. https://www.cash-app-support-number.com/blog/how-to-activate-cash-app-card/

  9. Do you want to know the cash app refund policy? if yes, then you have chosen the right path to know the refund policy of the cash app. On this path, you can know the refund policy of the cash app the only thing you have to do for this is just a click on this link. 
    https://www.cashapphelps.info/blog/will-cash-app-refund-stolen-money/

  10. Thanks for sharing. I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one. You may want to see is lenovo vantage free 

  11. kamu juga bisa langsung mendapatkan banyak kontak whatsapp di gimana.net. Banyak grup whatsapp untuk memanen kontak

  12. Aurogra 100 Mg

    Aurogra 100 mg is regarded to be one of the most appropriate generic drugs for ED treatment. Erectile dysfunction has adverse effects on one’s sexual life. Depression, irritation in behavior lead to a divide between the partners. Aurogra 100 Mg relaxes the vessels on the penis, which allows more blood to flow causing an erection that lasts long.

    https://www.flatmeds.com/product/aurogra-100-mg/

    https://www.flatmeds.com

  13. Sedang mencari kunci jawaban yang sesuai dan dijamin kebenarannya ? kuncijawab.xyz saja, ada banyak mata pelajaran yang bisa kamu pilih sesuai keinginan kamu!

  14. Suhagra 100 Pill may be reserved on an blank front or with a mealtime. It would be sternly busy as directed by your registrar. You should take about 1 hour before you design to have sex. The area of time it earnings to work affects from creature to distinct, but it characteristically takes between 30 minutes and 1 hour. This medicine will only advantage you to grow an manufacture if you are sexually enthused. However, you would not take this remedy if you prepare not consume erectile dysfunction. It would not be booked added than after a day.

    https://www.publicpills.com/suhagra-100-mg.html

    https://www.publicpills.com/

  15. ریمل رو هرکسی خواست بخره یه مدت صبر کنه

  16. اگرچه اصطلاح ” آرایشی طبیعی” هنوز تعریف قانونی واقعی ندارد، اما محصولات با این وجود الزامات خ را برآورده می کنند. اول از همه، آنها بر روی حیوانات آزمایش نمی شوند، مواد تشکیل دهنده آنها از تجارت پایدار و منصفانه مواد اولیه می آیند و منشاء طبیعی دارند. سپس، لوازم آرایشی طبیعی به طور کلی عاری از مواد افزودنی مانند پارافین، مشتقات نفتی، روغن های معدنی و نگهدارنده های مصنوعی هستند. در نهایت، چه یک محصول گیاهی واقعی باشد یا نه، وجود یک برچسب با کیفیت است که ماهیت محصول را به مصرف کننده نشان می دهد.

  17. If you consider the primary use for Malegra 100 mg then it has to be the ED or impotence disorder. But apart from this, there are some other uses of the drugs too in which the pills of Malegra 100 mg are used as subsidiary forms of treatment.
    These conditions are an enlarged prostate gland disorder and pulmonary arterial hypertension.

  18. joker123 situs Judi Slot Online Terpercaya dan Agen Judi Casino Online Terbaik di platform judi online terlengkap Indonesia bersertifikasi resmi dari bmm testlabs & PAGCOR

  19. Interactive classes: be inspired by experienced teachers in our dynamic classrooms.
    Study the way you want: enjoy a flexible timetable, your choice of lesson topics, and late booking and cancellation options.
    Never miss a class: use our myClass web portal or app to manage your schedule on the go.

  20. In light of the progress and the integration of women into working life, the need for a specialized cleaning company شركة تنظيف منازل is increasing day by day, and from here I recommend the best home cleaning company for RTS Clean.

  21. Excellent Website Keep up the wonderful work.

  22. En iyi Ücretsiz Görüntülü Sohbet Siteleri
    Türkiyenin En iyi Ücretsiz Görüntülü Sohbet Siteleri makalemize hoş geldiniz.

    Görüntülü ve Yazılı Chatin değişmeyen tek adresi olan Eschat.NET üzerinden yapılır. Günlük binlerce kişi tarafından ziyaret edilen yüzlerce kişinin aktif olarak Sohbet ettiği sitemiz üzerinde sizlerde yerinizi alabilirsiniz.

    Ücretsiz Chat yapma imkanı ile sizlerde şimdi üyelik gerektirmeyen sohbet sitemiz ile kendinize en uygun kişilerle chat yapmaya başlayabilirsin.

    İnsanlarla tanışma, yeni arkadaş bulma, konusunda çekinceleriniz mi var ?

    İçinize kapanık bir yapıya mi sahipsin ? Gerçek hayatta iletişim kurma konusunda kendinize güveniniz mi yok ?

    O zaman doğru yerdesiniz, sizleri de sitemizde görmek isteriz.

  23. It is suitable opportunity to earn some prepares for the potential as well as it is opportunity towards more than happy. I’ve check out this message as well as if I might I want towards recommend you some fascinating points recommendations. Perhaps you might compose following short posts describing this short post. I wish to learn more aspects of it

  24. Yeni nesil sesli ve kameralı sohbet odalarımıza hemen ücretsiz olarak sizlerde katılabilirsiniz.

  25. you have done a great job. I will definitely dig it and personally recommend to my friends. I am confident they will be benefited from this site. jasa desain banner

  26. thank you for sharing the information. very useful and clear

  27. Binomo login indonasian

  28. XXXPOKER merupakan tempat kumpulan bandar situ Judi Online Mudah Menang

  29. 8TOGEL merupakan situs resmi permainan TOTO Online terlengkap aman dan terpercaya yang memberikan bonus kemenangan jutaan rupiah setiap hari

  30. Dealofly provides the best and cheap flight tickets in USA . Visit the website and get best deals. Explore to find the best deals.

  31. النجاح ستون لديكورات الحجر الهاشمي
    هل تبحث عن احدث ديكورات الحر الهاشمي فى مصر
    هل تبحث عن من يورد ويقومبتركيب الحجر ولا تتحمل اى تكاليف زائده؟
    نحن فى شركة النجاح ستون نقوم بتوريد وتركيب الحجر الهاشمي بكل اشكاله والوانه واسعاره
    ديكورات حجر هاشمي هيصم , اسعار الحجر الهاشمي الهيصم , حجر هاشمي هيصم فاخر , حجر هاشمي هيصم مميز , مقاول حجر هاشمي هيصم ,توريد وتركيب حجر هاشمي هيصم ,واجهات حجر هاشمي هيصم , ديكورات فلل وقصور حجر هاشمي هيصم ,اسعار الحجر الهاشمي الهيصم فى مصر 2020
    ديكورات حجر هاشمي كريمي , حجر هاشمي ابيض , حجر هاشمي انتيك , حجر هاشمي وش جبل , حجر هاشمي ابيض , حجر هاشمي ابيض فاخر , حجر هاشمي فاخر
    ارضيات زلط ومشايات لاند سكيب , ارضيات رخام , رصف وتغطية جوانب الترع بالدبش وكافة اعمال التدبيش

    النجاح ستون لديكورات الحجر الهاشمي
    https://elnagahstone.com

    مقاول حجر هاشمي النجاح ستون
    اسعار مقاول حجر هاشمي 2021 – اسعار حجر هاشمي هيصم 2021- مقاول حجر هاشمي كريمي 2021.
    http://elnagahstone.com/View_Item.php?ID=295

    http://nagah-stone.com

    موقعنا الرسمي الثاني

  32. http://xox.dhs.org/slot-gacor.html
    “There are more apartments and terrace houses than detached single-family homes because land is so scarce and land prices are so high,” Ms. Nouboue said. “Most of them are owned by individuals and rented out to tenants who pay NGN25 million to NGN30 million annually.”

  33. This Content is Very Useful. Thank You For Sharing This Content. Amazon Storefront Design

  34. Celebrex is a prescription-based nonsteroidal anti-inflammatory drug (NSAID) commonly prescribed for many types of joint pain and inflammation. Buy Celebrex Online from the trusted pharmacy at a reasonable price.

  35. I blog frequently and I seriously appreciate your information. The article has truly peaked
    my interest. I am going to bookmark your website and keep checking for new information about once per week. I opted in for your Feed as well.

Leave a Reply

Your email address will not be published.

© 2024 Jeremy W. Langston

Theme by Anders NorenUp ↑