Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
Ford, Christopher Wed 10/28/2020 4:36 PM Hi Mikhail, Chris, About an hour ago I pushed a change to control.py that initializes experiment_name and last_run_number early on instead of waiting for the BeginRun transition. Below, I propose pseusdocode for displaying either "run_number" or "last_run_number" based on the current state. What do you think? Thanks, -caf ---------------------------------------------------------------- if RecordingFlag == True and State in {STARTING, PAUSED, RUNNING}: control_gui reports "current run: {run_number}" else: control_gui reports "latest run: {last_run_number]" ---------------------------------------------------------------- |
Code Block | ||||
---|---|---|---|---|
| ||||
2023-08-07 10:30am
Claus, Ric <claus@slac.stanford.edu>
Dubrovin, Mikhail
Hi Mikhail,
It looks like you should be able to set up to work in the FEE quite easily. Please make a copy of psdaq/psdaq/cnf/fee_teststand.cnf and change the first line to select platform 4:
if not platform: platform = ‘4’
You probably won’t need AMI, so you can comment out the last line.
To avoid conflicting with someone else, change ‘drp_cmd1’ on line 68 to ‘drp_cmd0’.
Then, ssh -YC to drp-neh-ctl002, run setup_env.sh and try ‘procmgr start fee_dubrovin.cnf’ (or whatever you’ve called it) from wherever you’ve placed the copy. This should bring up the GUIs and let you work with Control_Gui.
I hope I didn’t forget anything! Please let me know how it goes.
Btw, if you think you need to change the configDb for timing_0, please let me know. We probably don’t want to change that entry to avoid messing up Valerio or Riccardo. Instead, we should make a copy of it and modify that, I think.
Ric
Sorry, one other thought, Mikhail. Perhaps you should use the development configDb. Change line 12 to:
cdb = 'https://pswww.slac.stanford.edu/ws-auth/devconfigdb/ws’
Ric |
Set up and running
Build
Code Block |
---|
ssh -Y pslogin
ssh -Y psbuild
cd <path>/lcls2
git branch -a
git checkout collection_front
source setup_env.sh
build_all.sh |
Setup on 2023-08-07
Code Block |
---|
psana ssh -Y pslogin ssh -Y psbuild cd <path>/lcls2 git branch -a git checkout collection_front source setup_env.sh build_all.sh -YC to drp-neh-ctl002 psdaq/psdaq/cnf/fee_teststand.cnf > fee_dubrovin.cnf in fee_dubrovin.cnf if not platform: platform = ‘4’ # line 12 to: cdb = 'https://pswww.slac.stanford.edu/ws-auth/devconfigdb/ws’ You probably won’t need AMI, so you can comment out the last line. To avoid conflicting with someone else, change ‘drp_cmd1’ on line 68 to ‘drp_cmd0’. procmgr start fee_dubrovin.cnf -p4 |
Run control processes
Code Block |
---|
ssh -Y psdev.slac.stanford.edu ssh -Y daq-tst-dev02 cd <path>/lcls2 source setup_env.sh Terminal #1: Start as before $ collection -p6 Terminal #2: Run daqstate with new "--monitor" flag $ daqstate -p6 --monitor Terminal #3: Run these commands $ daqstate -p6 --state connected connected $ daqstate -p6 --state paused paused $ daqstate -p6 --state running running |
...
Overview
Content Tools