Configure INSTETC ;. More...
Go to the source code of this file.
Functions | |
epicsEnvSet ("CAPUTLOGCONFIG","0") | |
so we don't get lots of messages about puts to the motor moving PV, this logs value changes only rather than all puts which is the default ; More... | |
instetcConfigure ("consoleslog","${ICPVARDIR}/logs/conserver/consoles-%Y%m%d.log", 100, 3.0) | |
ISIS## Run IOC initialisation ;. More... | |
instetcConfigure ("daelog","${ICPVARDIR}/logs/ioc/ISISDAE_01-%Y%m%d.log", 100, 3.0) | |
stringtest ("IFEX1","$(EXCLUSIVE1=)") | |
Load record instances ;. More... | |
stringtest ("IFEX2","$(EXCLUSIVE2=)") | |
stringtest ("IFEX3","$(EXCLUSIVE3=)") | |
stringtest ("IFEX4","$(EXCLUSIVE4=)") | |
dbLoadRecords ("db/INSTETC.db","P=$(MYPVPREFIX),IOC=$(IOCNAME),RECSIM=$(RECSIM=0)") | |
Load our record instances ;. More... | |
dbLoadRecords ("db/svn-revision.db","P=$(MYPVPREFIX)") | |
dbLoadRecords ("db/build-id.db","P=$(MYPVPREFIX)") | |
dbLoadRecords ("db/inst_string_parameters.db","P=$(MYPVPREFIX)") | |
dbLoadRecords ("db/inst_alias_string_parameters.db","P=$(MYPVPREFIX)") | |
dbLoadRecords ("db/inst_real_parameters.db","P=$(MYPVPREFIX)") | |
dbLoadRecords ("db/experiment_data.db","P=$(MYPVPREFIX)") | |
IFEX1 | dbLoadRecords ("db/inst_exclusive.db","P=$(MYPVPREFIX),ID=$(EXCLUSIVE1=)") |
dbLoadRecordsLoop ("db/user_parameters.db","P=$(MYPVPREFIX)","INDEX", 0,$(NUM_USER_VARS=4), 1) | |
sqlexec (IOCSTARTUP)/facility_pvs.sql" | |
Start any sequence programs ;. More... | |
Variables | |
cd {TOP} | |
ISIS## Stuff that needs to be done after all records are loaded but before iocInit is called ;. More... | |
dbLoadDatabase dbd INSTETC IOC | dbd |
Register all support components ;. More... | |
INSTETC_IOC_01_registerRecordDeviceDriver | pdbbase |
iocInit | |
Configure INSTETC ;.
Definition in file st.cmd.
dbLoadRecords | ( | "db/INSTETC.db" | , |
" | P = $(MYPVPREFIX) , |
||
IOC | = $(IOCNAME) |
||
) |
Load our record instances ;.
dbLoadRecords | ( | "db/svn-revision.db" | ) |
dbLoadRecords | ( | "db/build-id.db" | ) |
dbLoadRecords | ( | "db/inst_string_parameters.db" | ) |
dbLoadRecords | ( | "db/inst_alias_string_parameters.db" | ) |
dbLoadRecords | ( | "db/inst_real_parameters.db" | ) |
dbLoadRecords | ( | "db/experiment_data.db" | ) |
IFEX4 dbLoadRecords | ( | "db/inst_exclusive.db" | , |
" | P = $(MYPVPREFIX) |
||
) |
dbLoadRecordsLoop | ( | "db/user_parameters.db" | ) |
epicsEnvSet | ( | "CAPUTLOGCONFIG" | , |
"0" | |||
) |
so we don't get lots of messages about puts to the motor moving PV, this logs value changes only rather than all puts which is the default ;
instetcConfigure | ( | "consoleslog" | , |
"${ICPVARDIR}/logs/conserver/consoles-%Y%m%d.log" | , | ||
100 | , | ||
3. | 0 | ||
) |
ISIS## Run IOC initialisation ;.
configure IOC ;
instetcConfigure | ( | "daelog" | , |
"${ICPVARDIR}/logs/ioc/ISISDAE_01-%Y%m%d.log" | , | ||
100 | , | ||
3. | 0 | ||
) |
sqlexec | ( | IOCSTARTUP | ) |
Start any sequence programs ;.
ISIS## Stuff that needs to be done after iocInit is called e.g. sequence programs ;
stringtest | ( | "IFEX1" | , |
"$(EXCLUSIVE1=)" | |||
) |
Load record instances ;.
ISIS## Load common DB records ; Check for extra exclusive records ;
stringtest | ( | "IFEX2" | , |
"$(EXCLUSIVE2=)" | |||
) |
stringtest | ( | "IFEX3" | , |
"$(EXCLUSIVE3=)" | |||
) |
stringtest | ( | "IFEX4" | , |
"$(EXCLUSIVE4=)" | |||
) |
cd {TOP} |
dbLoadDatabase dbd INSTETC IOC dbd |