EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Setting an IOC clock from the vxWorks shell
From: Andrew Johnson <[email protected]>
To: [email protected]
Cc: tech-talk <[email protected]>
Date: Mon, 26 Feb 2007 18:06:00 -0600
J. Frederick Bartlett wrote:
Recently we have been having problems with IOC timestamp synchronization on our EPICS network. The timing master is unable to obtain timing information from our ntp server -- see Geoff Savage's techtalk note on 15 Feb 2007. While we are finding the solution to that problem, I would like to make one of our IOC's a timing master and set its clock to approximately the correct time. Does anyone know of a method of setting the IOC's clock from the vxWorks shell?

Unfortunately there's no way to do that with the current vxWorks IOC clock implementation. The code for the vxWorks IOC clock in R3.14 is found in base/src/libCom/osi/os/vxWorks/iocClock.c - look at the iocClockInit() and syncNTP() routines for starters. That's also where you'll see how we find the NTP server to use.


- Andrew
--
The right to be heard does not automatically include
the right to be taken seriously. -- Hubert H. Humphrey

References:
Setting an IOC clock from the vxWorks shell J. Frederick Bartlett

Navigate by Date:
Prev: Setting an IOC clock from the vxWorks shell J. Frederick Bartlett
Next: Re: Orderly IOC shutdown? Michael Abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Setting an IOC clock from the vxWorks shell J. Frederick Bartlett
Next: RE: Setting an IOC clock from the vxWorks shell Thompson, David H.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·