Versions Compared

Key

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

...

The YAML Defaults Configuration (YDC) file is a single text file that defines a register initialization sequence.  An example YDC file name is defaultsPyro6-15-17a.yaml.

Before installing a YDC file a few fixups are typically required.

...

  1. Copy the YDC file to the ${TOP}/yaml directory.
  2. In in the IOC startup script st.cmd, update the LOAD_FILE macro of the dbLoadRecords(dvdb/saveLoadConfig.db) command to point to the YDC file. For example, "LOAD_FILE=yaml/defaults_bcm.yaml".

...

Instructions for updating the YAC appear earlier in this document.

For more details regarding dictionary and substitution files see: Manual Generation of EPICS PVs from YAML Config Files

The dictionary file is installed in the ${TOP}/yaml directory. In in IOC startup script st.cmd, the 8th argument of YCPSWASYNConfig() specifies the dictionary path.
For example, "yaml/bcm_01_20170313140632.dict".

...

Finally, bcm.db and carrier.db are loaded by dbLoadRecords() in the IOC startup script st.cmd:

Code Block
languagetext
dbLoadRecords("db/bcm.db", "P=${AMC0_PREFIX}, PORT=${CPSW_PORT}, AMC=0")
dbLoadRecords("db/carrier.db", "P=${AMC_CARRIER_PREFIX}, PORT=${CPSW_PORT}")

...