ISIS Logo
SDTEST
EPICS Serial Device Test IOC
st-common.cmd
Go to the documentation of this file.
1 ## we have no .req files to load
2 epicsEnvSet ("AUTOSAVEREQ", "#")
3 
4 < $(IOCSTARTUP)/init.cmd
5 
6 < $(IOCSTARTUP)/dbload.cmd
7 
8 ## set path to stream driver protocol file referenced in db files
9 epicsEnvSet ("STREAM_PROTOCOL_PATH", "$(TOP)/data:$(ICPCONFIGROOT)/ioc/SDTEST")
10 
11 epicsEnvSet(PN,1)
12 < st-port.cmd
13 
14 epicsEnvSet(PN,2)
15 < st-port.cmd
16 
17 epicsEnvSet(PN,3)
18 < st-port.cmd
19 
20 epicsEnvSet(PN,4)
21 < st-port.cmd
22 
23 epicsEnvSet(PN,5)
24 < st-port.cmd
25 
26 epicsEnvSet(PN,6)
27 < st-port.cmd
28 
29 epicsEnvSet(PN,7)
30 < st-port.cmd
31 
32 epicsEnvSet(PN,8)
33 < st-port.cmd
34 
35 ## as we are common, we need to explicity define the 01 area for when we are ran by 02, 03 etc
36 set_requestfile_path("${TOP}/iocBoot/iocSDTEST-IOC-01", "")
37 
38 ##ISIS## Stuff that needs to be done after all records are loaded but before iocInit is called
39 < $(IOCSTARTUP)/preiocinit.cmd
40 
41 iocInit()
42 
43 ##ISIS## Stuff that needs to be done after iocInit is called e.g. sequence programs
44 < $(IOCSTARTUP)/postiocinit.cmd
45 
46 #
iocInit()
ISIS## Stuff that needs to be done after all records are loaded but before iocInit is called ;...
set_requestfile_path("${TOP}/iocBoot/iocSDTEST-IOC-01","")
as we are common, we need to explicity define the 01 area for when we are ran by 02, 03 etc ;
epicsEnvSet("AUTOSAVEREQ","#")
we have no .req files to load ;
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5