Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Generic variable definition

First, define the usual environment variables in the startup script.

Common setup

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.

Autosave initialization

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.


Real-time environment & databases


Yaml initialization

Load the YAML hierarchy and register configuration.


Database loading

Load the phase locker records.


Asyn driver configuration

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.


Archiver list

A complete list of the records to archive is provided below.


PV restoration

Crossbar control


IOC initialization

...

Initialize the IOC and logging capability.

Code Block
languagebash
# ===========================================
#               IOC INIT
# ===========================================
iocInit()

# ===========================================
#               CAPUTLOG
# ===========================================
# Turn on caPutLogging:
# Log values only on change to the iocLogServer:
caPutLogInit("${EPICS_CA_PUT_LOG_ADDR}")
caPutLogShow(2)

Autosave start

Start the autosave process.

Code Block
languagebash
# ===========================================
#              AUTOSAVE START 
# ===========================================
# Autosave start
< $(TOP)/iocBoot/common/autosave_start.cmd
create_monitor_set("${IOC}.req", 5, "")

Algorithms


EPICS Records

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.

...