HOME ESR EXPERIMENTS LABS etc
E121 E127 E132 E125 E143 laser_cooling_2021 E142 Ê128 E146 E0052 E0018 E0028 E0038 E0075
  Nuclear hyperfine mixing in 229Th89+  Not logged in ELOG logo
Message ID: 27     Entry time: Mon Mar 21 21:48:46 2022
Author: Jan 
Category: DAQ 
Subject: MesyTec Shaper Control 
The MesyTec Shaper & Constant Fraction (MSCF) is used to process the PMT/det signals for the ADC in the second DAQ.
It can be setup on its front panel, but single channel setup is very tedious.
Remote control of the settings is possible using an epics server and client.

All of the following is done with the "litv-exp" user:

server: atpnuc001 (in the screen session "E142")
client: lxg1275 

The server should run undisturbed, but in case of a power failure, you can start the server like this:
> ssh litv-exp@atpnuc001
> cd e142
> ./E142_start_ioc.sh

To check server:
> ssh litv-exp@atpnuc001
> screen -x (CTRL-a CTRL-d to leave screen)

To connect the client gui for remote control, do:
> ssh litv-exp@lxg1275
> E142_epics
The panel is more or less self-explaining. 
One thing has to be noted: the Monitor Channel selection is shifted by -1.
I.e., [ch 1] is button [0], etc.

The MSCF settings can be stored and loaded to/from file by using a bash-script.
The settings will be saved/loaded from: 
/u/litv-exp/e142/mscf_settings/
files names are "setting_e142.<linux_timestamp>"

The scripts are also in /u/litv-exp/e142/mscf_settings/
use 
./mscf_save.sh                   for saving the current settings to a new file
use 
./mscf_load_last.sh              to load the last settings file (by timestamp in the filename) 
use 
./mscf_load_file.sh <filename>   to load the settings of a specific file
ELOG V3.1.5-fc6679b