🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.time.ntp
Article #866

Setting time on VxWorks board via NTP

#866
From: Tom Nicinski
Date: Thu, 19 Nov 1992 17:38
19 lines
1556 bytes
I'd like to set the time on a VxWorks board when ntpd is started.  I'm using
Bob Herlien's port of NTP to VxWorks.  WAYTOOBIG (in ntp.h) is set to 1000.0
seconds.  NTP simply gives up on trying to correct the clock if the offset
from its peers is over this;  that's the condition at the boot of the board.

I don't want to rely on the system TOD clock to set the time when the board
boots as its resolution is only 1 second (well below our requirements). Well
be connected directly to a stratum 1 server (with a WWVB receiver), so I'd
like to use its time to set the VxWorks board's time.

If I set the time by hand (or other means) with setgmt, it takes NTP quite
a while to say that the 4 second (as an example) offset should be corrected
with one big correction.  This also is unaccepatable, since the VxWorks
board would not be useful until it's time was as close to UTC (or TAI) as
possible (we're working on a DA system for a telescope and need to associate
position and time with a particular CCD line when drift scanning).

Tom Nicinski
Technical Details
Message-ID: <1egjepINNrq5@fnnews.fnal.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!linac!mp.cs.niu.edu!fnnews.fnal.gov!fndaud.fnal.gov!nicinski

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!linac!mp.cs.niu.edu!fnnews.fnal.gov!fndaud.fnal.gov!nicinski
From: nicinski@fndaud.fnal.gov (Tom Nicinski)
Newsgroups: comp.protocols.time.ntp
Subject: Setting time on VxWorks board via NTP
Keywords: VxWorks
Message-ID: <1egjepINNrq5@fnnews.fnal.gov>
Date: 19 Nov 92 17:38:33 GMT
Article-I.D.: fnnews.1egjepINNrq5
Distribution: world
Organization: Fermi National Accelerator Laboratory, Batavia IL
Lines: 19
NNTP-Posting-Host: fndaud.fnal.gov