Newer
Older
mwyman
committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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/op/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 Filters
< examples/pydeviceFilters.cmd
# PyDevice Transfocator (NEEDS WORK)
#< examples/pydeviceCRL.cmd
###############################################################################
###############################################################################
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