moved TIMEZONE to startup.script_part2

This commit is contained in:
zimoch
2013-12-13 08:46:50 +00:00
parent 6babe4afab
commit 65a8270657
3 changed files with 5 additions and 6 deletions

View File

@@ -32,7 +32,6 @@ require "slsDev"
# setup clock
putenv("EPICS_TS_MIN_WEST=-60")
putenv("TIMEZONE=MET::-60:032502:102803")
TSconfigure(0,10,10,18323,18322,250,1)
# end of R3.13 specific script

View File

@@ -29,11 +29,6 @@ require "base"
require "symbDev"
require "seq"
# setup clock
# TIMEZONE must be set after iocCoreLibrary.munch and before iocInit
# 2012:
putenv("TIMEZONE=MET::-60:032502:102803")
require "generalTime"
#EvtTimeConfigure(master?, sync_rate_sec, clock_rate_hz, master_port, slave_port, time_out_msec)
EvtTimeConfigure(0, 5, 500000, 18323, 18322, 250)

View File

@@ -15,6 +15,11 @@ putenv(bootInfo("EPICS_CAS_BEACON_ADDR_LIST=%B"))
#Enable memory >32MB on IOC that have it. (Is a NOOP on all others)
memAddToPool (sysMemTop(),EXTENDED_MEMORY)
# setup clock
# TIMEZONE must be set after iocCoreLibrary.munch and before iocInit
# 2014:
putenv("TIMEZONE=MET::-60:032902:102503")
iocInit
# initialize records