Experimental Physics and Industrial Control System
Hi:
On Sep 7, 2007, at 17:02 , Dennis Nicklaus wrote:
putenv "TIMEZONE=PSTPDT::480:031102:110402"
putenv "EPICS_TS_MIN_WEST=480"
I'm really in the Central time zone, but I thought I would make it
think I was Pacific time, just
to see what happens.
Just 2 for what it's worth notes:
The 'PSTPDT' doesn't seem to matter,
only the numbers (480 etc.) count
We had some very strange problems when we set TIMEZONE.
When instead setting EPICS_TIMEZONE,
which the IOC startup code then copies to TIMEZONE,
all was fine.
But when setting TIMEZONE before iocInit,
the osiTime code that tries to determine the correct offset
from 1970 to 1990 broke, because some of the vxWorks routines
ignore the 'dst' flags.
In older EPICS releases, that timezone offset was a constant,
but newer releases try to determine it by converting back and forth
between local and GMT/UTZ, and that failed for us when TIMEZONE
was set.
Anyway, maybe just try defining EPICS_TIMEZONE, don't set TIMEZONE
yourself, and see if that's better.
-Kay
- References:
- epics vxworks time off by 1 hour Dennis Nicklaus
- Navigate by Date:
- Prev:
RE: epics vxworks time off by 1 hour Jeff Hill
- Next:
RT linux Heinrich du Toit
- 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
2025
- Navigate by Thread:
- Prev:
RE: epics vxworks time off by 1 hour Jeff Hill
- Next:
RT linux Heinrich du Toit
- 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
2025