Skip to content

Repository files navigation

SINAP Timing Epics IOC

LNLS - Brazilian Synchrotron Light Laboratory
CNPEM - Brazilian Center for Research in Energy and Materials

Running the IOC

See the repository registry to find the image. The image uses ProcServ to run the IOC with parameters:

  • i: Configure IP address to connect to device
  • t: Configure procServ telnet port
  • P: Configure value of $(P) macro
  • R: Configure value of $(R) macro
  • p: Configure IP port number to connect to device
  • d: Configure Sinap Timing device type [EVG|EVR|EVE|FOUT]
  • l: Configure High-level events link to load at EVG

E.g.:

docker run -d --name EVE01 -it -v /ioc-autosave/EVE01:/opt/epics/startup/ioc/sinap-timing-epics-ioc/iocBoot/ioctiming/autosave --net host ghcr.io/lnls-dig/sinap-timing-epics-ioc -i 192.168.0.1 -t 1000 -p 1001 -d EVE01 -P TEST: -R EVE01:

Environment variables

The behavior of this IOC can be further controlled through some environment variables. They are:

  • IOC_LOG_PREFIX: this is passed to the iocsh command iocLogPrefix
  • EPICS_CA_JSON_PUT_LOG_ADDR: this is used by the iocsh command caPutJsonLogInit

These variables can be omitted. The caPutLog will only be initialized if the server address is specified.

How to build docker image

Make sure the docker/ git submodule has been initialized or that this repository was cloned recursively.

Run docker compose from root directory, after exporting the COMMIT_ID environment variable:

COMMIT_ID=$(git rev-parse --short HEAD) docker compose build

About

EPICS IOC support for SINAP Timing modules developed to compose the Sirius Timing System.

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages