Files
startup/EPICS_R3.14.8/startup.script_epicsdependent

44 lines
1.0 KiB
Plaintext

# $Source: /cvs/A/CS/startup/EPICS_R3.14.8/Attic/startup.script_epicsdependent,v $
cd LIB
# load EPICS system core
ld < iocCoreLibrary.munch
# load tools like "require"
ld < utilitiesLib.munch
ld < miscLib.munch
# disable floating point exceptions
slsFppInit
# next line allows to continue even if mounting of /ioc failed
cd bootInfo("%H:")
cd HOME
# insert boot infos into database
bootNotify (INSTBASE, "sls/bin/iocBootNotify.sh")
# try for user-defined menus scan and convert (may fail but that's ok)
dbLoadDatabase("dbd/scan.dbd")
dbLoadDatabase("dbd/convert.dbd")
dbLoadDatabase("dbd/slsConvert.dbd")
taskDelay(sysClkRateGet())
# load standard drivers
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)
AUTOSRHOST=bootHost()
# end of R3.14.8 specific script