ISIS Logo
HVCAEN
HVCAEN IOC
st.cmd
Go to the documentation of this file.
1 #!../../bin/windows-x64-debug/HVCAEN-IOC-01
2 
3 ## You may have to change HVCAEN-IOC-01 to something else
4 ## everywhere it appears in this file
5 
6 < envPaths
7 
8 cd ${TOP}
9 
10 ## Register all support components
11 dbLoadDatabase "dbd/HVCAEN-IOC-01.dbd"
12 HVCAEN_IOC_01_registerRecordDeviceDriver pdbbase
13 
14 ##ISIS## Run IOC initialisation
15 < $(IOCSTARTUP)/init.cmd
16 
17 # use -D argument to turn on debugging
18 
19 ## arguments to CAENx527ConfigureCreate are: name, ip_address, username, password
20 ## username, password are optional and the crate factory default is used if these are not specified
21 CAENx527ConfigureCreate "hv0", "$(HVCAENIP0)"
22 #CAENx527ConfigureCreate "hv1", "halldcaenhv1"
23 
24 ##ISIS## Load common DB records
25 < $(IOCSTARTUP)/dbload.cmd
26 
27 ## Load our record instances
28 #dbLoadRecords("db/xxx.db","user=faa59Host")
29 CAENx527DbLoadRecords("P=$(MYPVPREFIX)CAEN, ALARM_WHEN_ON=$(ALARM_WHEN_ON=NO_ALARM), ALARM_WHEN_RAMPING=$(ALARM_WHEN_RAMPING=NO_ALARM)")
30 
31 ##ISIS## Stuff that needs to be done after all records are loaded but before iocInit is called
32 < $(IOCSTARTUP)/preiocinit.cmd
33 
34 cd ${TOP}/iocBoot/${IOC}
36 
37 ## Start any sequence programs
38 #seq sncxxx,"user=faa59Host"
39 
40 ##ISIS## Stuff that needs to be done after iocInit is called e.g. sequence programs
41 < $(IOCSTARTUP)/postiocinit.cmd
42 
43 seq sncSummary, "P=$(MYPVPREFIX)CAEN"
HVCAEN_IOC_01_registerRecordDeviceDriver pdbbase
Definition: st.cmd:12
CAENx527DbLoadRecords("P=$(MYPVPREFIX)CAEN, ALARM_WHEN_ON=$(ALARM_WHEN_ON=NO_ALARM), ALARM_WHEN_RAMPING=$(ALARM_WHEN_RAMPING=NO_ALARM)")
ISIS## Load common DB records ;.
seq sncSummary
Start any sequence programs ;.
Definition: st.cmd:36
cd TOP
You may have to change HVCAEN-IOC-01 to something else ; everywhere it appears in this file ;...
Definition: st.cmd:2
cd
ISIS## Stuff that needs to be done after all records are loaded but before iocInit is called ;...
Definition: st.cmd:34
iocInit
Definition: st.cmd:35
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5