Skip to content
Snippets Groups Projects
st.cmd.Linux 1.44 KiB
Newer Older
mwyman's avatar
mwyman committed
# 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
mwyman's avatar
mwyman committed
epicsEnvSet("PYTHONPATH","$(TOP)/100idPyApp/python")
mwyman's avatar
mwyman committed

################################################################################
# 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)
< cmds/pydeviceCRL.cmd
mwyman's avatar
mwyman committed

###############################################################################



###############################################################################
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