Newer
Older
# Linux startup script
< envPaths
# Increase size of buffer for error logging from default 1256
errlogInit(20000)
################################################################################
# PYTHONPATH points to folders where Python modules are.
# Needs to be done before dbd load, so moved to st.cmd
epicsEnvSet("PYTHONPATH","$(TOP)/100idPyApp/python")
################################################################################
# Tell EPICS all about the record types, device-support modules, drivers,
# etc. in the software we just loaded (100idPy.munch)
dbLoadDatabase("../../dbd/ioc100idPyLinux.dbd")
ioc100idPyLinux_registerRecordDeviceDriver(pdbbase)
< settings.iocsh
< common.iocsh
#- devIocStats
dbLoadRecords("$(DEVIOCSTATS)/db/iocAdminSoft.db","IOC=$(PREFIX)")
#- PV aliases change :: into :
dbLoadRecords("$(TOP)/100idPyApp/Db/iocAdminSoft_aliases.db","P=$(PREFIX)")
###############################################################################
# PyDevice setup and devices
# PyDevice Transfocator (NEEDS WORK)
###############################################################################
###############################################################################
iocInit
###############################################################################
# write all the PV names to a local file
dbl > dbl-all.txt
# Diagnostic: CA links in all records
dbcar(0,1)
# print the time our boot was finished
date