...
First, define the usual environment variables in the startup script.
Load dbd and IOC health/monitoring records. Also, set up autosave and load the LCLS access configuration file. Finally, copy the archive file in $IOC_DATA to enable record archiving.
Tell the IOC where to find the list of record names that will be autosaved.
Besides the auto-generated record names for autosave, copy the manually generated list of records to be autosaved.
Load the YAML hierarchy and register configuration.
Load the phase locker records.
Create the ycpswAsynDriver with a dictionary option, i.e. use a limited number of interfaces to the FPGA registers, and load the YAML tree hierarchy.
A complete list of the records to archive is provided below.
...
Initialize the IOC and logging capability.
Code Block | ||
---|---|---|
| ||
# ===========================================
# IOC INIT
# ===========================================
iocInit()
# ===========================================
# CAPUTLOG
# ===========================================
# Turn on caPutLogging:
# Log values only on change to the iocLogServer:
caPutLogInit("${EPICS_CA_PUT_LOG_ADDR}")
caPutLogShow(2) |
Start the autosave process.
Code Block | ||
---|---|---|
| ||
# ===========================================
# AUTOSAVE START
# ===========================================
# Autosave start
< $(TOP)/iocBoot/common/autosave_start.cmd
create_monitor_set("${IOC}.req", 5, "") |
A complete list of the RFoF Telnet IOC Process Variables (PVs) can be found in the page linked below, along with revision dates based on feedback received from the naming team.
...