From dcc0b00edec0253335441e64025394161d85bc85 Mon Sep 17 00:00:00 2001 From: Zerdane Serhane Date: Tue, 8 Oct 2024 10:20:18 +0200 Subject: [PATCH] after long time... --- alarms_caqtdm | 2 ++ eco | 2 +- remaining-slurm-job-time | 2 ++ robot_server | 1 + sf_archiver_panel | 11 +++++++++++ startup_bernina_terminal | 4 +++- thc_stripchart | 3 +++ 7 files changed, 23 insertions(+), 2 deletions(-) create mode 100755 alarms_caqtdm create mode 100755 remaining-slurm-job-time create mode 100755 robot_server create mode 100755 sf_archiver_panel create mode 100755 thc_stripchart diff --git a/alarms_caqtdm b/alarms_caqtdm new file mode 100755 index 0000000..36eecae --- /dev/null +++ b/alarms_caqtdm @@ -0,0 +1,2 @@ +export EPICS_CA_ADDR_LIST="cryo-cagw:5062 "$EPICS_CA_ADDR_LIST +caqtdm /sf/bernina/config/src/caqtdm/alarms/alarms.ui diff --git a/eco b/eco index 83840f4..69dafca 100755 --- a/eco +++ b/eco @@ -5,7 +5,7 @@ default=bernina38 dest=${1:-$default} source anaconda_env $dest -ipython --pylab --profile=eco2 --no-banner -i -c "run /sf/bernina/config/src/python/eco/startup_inline_new.py -l -s bernina" +ipython --pylab --profile=eco3 --no-banner -i -c "run /sf/bernina/config/src/python/eco/startup_inline_new.py -l -s bernina" #python /sf/bernina/config/src/python/eco/startup.py -s bernina "$@" -l diff --git a/remaining-slurm-job-time b/remaining-slurm-job-time new file mode 100755 index 0000000..333d3be --- /dev/null +++ b/remaining-slurm-job-time @@ -0,0 +1,2 @@ +#!/bin/bash +echo "$(squeue -h -j $SLURM_JOBID -o %L)" diff --git a/robot_server b/robot_server new file mode 100755 index 0000000..25c808e --- /dev/null +++ b/robot_server @@ -0,0 +1 @@ +/opt/gfa/pshell/pshell -home=/sf/bernina/config/src/python/bernina_robot -pini -laf=nimbus diff --git a/sf_archiver_panel b/sf_archiver_panel new file mode 100755 index 0000000..416e358 --- /dev/null +++ b/sf_archiver_panel @@ -0,0 +1,11 @@ +#!/bin/bash + +export DAQBUF_DEFAULT_BACKEND=sf-archiver + +pshell_be \ + -dbpn \ + -laf=dark \ + -last \ + -dbfh={home}/archiver-ui \ + + ${1+"$@"} diff --git a/startup_bernina_terminal b/startup_bernina_terminal index 3415c13..0764eeb 100755 --- a/startup_bernina_terminal +++ b/startup_bernina_terminal @@ -24,7 +24,7 @@ if [ "$(hostname)" = "saresb-cons-03.psi.ch" ] || [ "$(hostname)" = "saresb-cons else echo "no primary controls terminal" fi -set_gnome_keyboard_shortcut 'eco' 'gnome-terminal -- eco' 'c' +set_gnome_keyboard_shortcut 'eco' 'gnome-terminal -- eco' 'j' set_gnome_keyboard_shortcut 'eco' 'gnome-terminal -- eco' 'HomePage' set_gnome_keyboard_shortcut 'launcher' 'launcher' 'HomePage' set_gnome_keyboard_shortcut 'browser' 'firefox' 'b' @@ -68,3 +68,5 @@ if [ "$(hostname)" = "saresb-cons-08.psi.ch" ]; then dconf write /org/gnome/desktop/session/idle-delay 'uint32 0' fi +# Add cryo-gw to CA adress list for recovery air content +export EPICS_CA_ADDR_LIST="cryo-cagw:5062 "$EPICS_CA_ADDR_LIST diff --git a/thc_stripchart b/thc_stripchart new file mode 100755 index 0000000..e331046 --- /dev/null +++ b/thc_stripchart @@ -0,0 +1,3 @@ +export EPICS_CA_ADDR_LIST="cryo-cagw:5062 "$EPICS_CA_ADDR_LIST +strip_chart -start -f=/sf/bernina/config/strip_chart/thc_temperature.scd +