By default a VxWorks IOC tries to synchronize its OS clock with an NTP server running on its boot host, but if you have NTP available from a different IP address you can configure that by setting the environment variable EPICS_TS_NTP_INET. You may also need to set the EPICS_TIMEZONE variable to your local timezone, see the comments in the base/configure/CONFIG_SITE_ENV file for details of the format of that variable.
- Andrew
--
Sent from my iPad
> On Oct 21, 2014, at 10:50, 龙巍 <[email protected]> wrote:
>
> hello Ralph,
> Thanks for your suggestions,I got the date from the IOC shell:
> ->date
> 1990/01/02 00:45:24.212000
>
> Just like you said, the IOC was not able to synchronize its time. But I
> don't know how to do.
> Can you give me some advice?
>
> And, there is a warning when the IOC start:
> ############################################################################
> ## EPICS R3.14.12.1 $Date: Tue 2011-04-26 15:36:19 -0500$
> ## EPICS Base built May 30 2014
> ############################################################################
> WARNING: OS Clock time was read before being set.
> Using 1990-01-02 00:00:00.000000 UTC
> iocRun: All initialization complete
>
> Our IOC runs on the VxWorks OS system.
> So .. is anyone know how to set the OS Clock time?
>
- Replies:
- Re: Problem with CSS archive engine 龙巍
- References:
- Re: Problem with CSS archive engine 龙巍
- Navigate by Date:
- Prev:
Re: Problem with CSS archive engine 龙巍
- Next:
RE: License or copyright for the naming module in DISCS Vuppala, Vasu
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Problem with CSS archive engine 龙巍
- Next:
Re: Problem with CSS archive engine 龙巍
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|