Description | This is a PythonSoftIOC that can read DCS magnet values allocated in Memcached memory, decode them, and use them as process variables (PVs) for EPICS. Then it send commands to the DCS DEVIL process. |
---|---|
Target release | 2.4.1 |
Task List | |
Document status | DRAFT |
Designer | |
Developers | |
Project | https://baltig.infn.it/lnf-da-control/softioc-devil-wrapper |
Project schema:
EPIK8S-BTF/deploy/values.yaml
#[...] iocs: - name: "mag-wrapper" asset: "https://confluence.infn.it/display/TESTBEAM/SoftIOC+DEVIL+Wrapper" charturl: 'https://baltig.infn.it/epics-containers/ioc-chart.git' image: baltig.infn.it:4567/epics-containers/epics-py-base iocprefix: "DAFNE" start: "/epics/ioc/config/start.sh" ## if your mynewioc has a start.sh this line must be kept gitinit: true #[...]
EPIK8S-BTF/config/iocs/mag-wrapper/start.sh
#!/bin/bash script_dir=$(dirname "$0") cd $script_dir echo "Starting Mag-Wrapper : $EPICS_CA_ADDR_LIST" pip install -r ./scripts/requirements.txt python ./scripts/main.py -x DAFNE -c btf-config.json