Versions Compared

Key

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

...

In order to map a CPSW register to an EPICS PV, entries in 3 different multiple configuration files are required.

...

Substitution files are processed by the EPICS make files. The file ${TOP}/bcmApp/Db/bcm.substitutions generates ${TOP}/db/bcm.db, and the file ${TOP}/bcmApp/Db/carrier.substitutions generates ${TOP}/db/carrier.db.

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

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

 

How to update the list of BSA PVs served by the IOC