EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  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  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Timezone setting with R3.14.10
From: Dehong Zhang <[email protected]>
To: [email protected]
Date: Tue, 30 Dec 2008 10:36:34 -0600
Hi Everybody, Happy New Year!

Recently we upgraded to 3.14.10 (on vxWorks 6.1).  We are trying to use the time
from the local vxWorks system, instead of the EPICS time/boot server.  So we do
NTPTime_Shutdown
immediately before iocInit.

On the vxWorks console, we can see that the NTP thread is indeed off:

generalTimeReport 1
Backwards time errors prevented 0 times.

Current Time Providers:
    "NTP", priority = 100
        Current Time not available
    "OS Clock", priority = 999
        Current Time is 2008-12-30 10:31:48.890000.

Event Time Providers:
        No Providers registered.
value = 0 = 0x0

Please note: the OS Clock does show the correct local time (US CST).

But on a host machine, if we start a monitor process like "camonitor ..."
we always get the time off by 6 hours.  It seems EPICS takes the CST time
as the GMT time, then convert it back to CST.

We tried both
putenv("TIMEZONE=...
putenv("EPICS_TIMEZONE= 

They did not help.

Please advice.

Thanks much and best regards,
Dehong


Navigate by Date:
Prev: RE: How to implement simple control algorithm (one more question) Dalesio, Leo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: edm help Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·