From d09b95a413b0bfbd720e8924e3dba4e3636563b1 Mon Sep 17 00:00:00 2001 From: Dmitry Ozerov Date: Tue, 10 Aug 2021 16:57:06 +0200 Subject: [PATCH] adding possibility to communicate with epics --- operation-tools/templates/sf-daq_writer.start.sh | 2 ++ operation-tools/templates/sf_daq_broker.setup.sh | 3 +-- operation-tools/templates/streamvis.sh | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/operation-tools/templates/sf-daq_writer.start.sh b/operation-tools/templates/sf-daq_writer.start.sh index 881b331..16a6715 100644 --- a/operation-tools/templates/sf-daq_writer.start.sh +++ b/operation-tools/templates/sf-daq_writer.start.sh @@ -6,6 +6,8 @@ then exit fi +export EPICS_CA_ADDR_LIST=sf-daq-cagw.psi.ch:5062 + source /home/dbe/miniconda3/etc/profile.d/conda.sh conda deactivate conda activate sf-daq diff --git a/operation-tools/templates/sf_daq_broker.setup.sh b/operation-tools/templates/sf_daq_broker.setup.sh index c58bfe9..c07e8b5 100644 --- a/operation-tools/templates/sf_daq_broker.setup.sh +++ b/operation-tools/templates/sf_daq_broker.setup.sh @@ -14,8 +14,6 @@ then fi # Setup the conda environment. -export PATH=/home/dbe/miniconda3/bin:$PATH - source /home/dbe/miniconda3/etc/profile.d/conda.sh CONDA_ENV_NAME=sf-daq @@ -30,6 +28,7 @@ if [ $? != 0 ]; then conda install -y -c conda-forge bottle pika ujson conda install -y -c slsdetectorgroup -c conda-forge slsdet=5.1.0 + conda install -y -c paulscherrerinstitute -c conda-forge pyepics else conda deactivate conda activate ${CONDA_ENV_NAME} diff --git a/operation-tools/templates/streamvis.sh b/operation-tools/templates/streamvis.sh index 4ecb742..ebd077c 100644 --- a/operation-tools/templates/streamvis.sh +++ b/operation-tools/templates/streamvis.sh @@ -1,4 +1,4 @@ -export PATH=/home/dbe/miniconda3/bin:$PATH +#!/bin/bash source /home/dbe/miniconda3/etc/profile.d/conda.sh