Automated BPM Test Interface on lcls-dev3, featuring FRU programming, SNR & RF power test, attenuation linearity test, beam resolution, and calibration signal check. All of these features are encapsulated in a tkinter interface.
Once at SLAC, and SSH into lcls-dev3 using moba-xterm or equivalent. Moba-Xterm is recommended because you can transfer files easily, and it is free.
ssh -XY lcls-dev3
or just open a session on lcls-dev3 by clicking on session -> SSH -> type in Remote Host -> OK
In your home directory, clone this repository locally.
Make sure that you are in bash by typing:
bash
If you have not sourced the environment shell script, python would not work for you at all on lcls-dev3. So to ensure this, you only have to do this once.
In your home directory, open and edit the .bashrc file:
gedit .bashrc
A text editor will pop up, and add the following line to the end of the .bashrc file, save it, and exit.
source /afs/slac/g/lcls/tools/script/ENVS64.bash
You only have to do this once.
Then, clone this repository to your home directory:
git clone https://github.com/slaclab/BPM_Test_Automation.git
Once the cloning is finished, cd into this directory:
cd BPM_Test_Automation
Next, use conda to setup your current environment that this script is developed in.
conda env create -f environment.yml
conda activate base
One the above are done, you can run the GUI by typing:
python BPM_Test_GUI.py