********************************************************************* **** DAQ setup for FRS DAQ S533 June 2021 **** In case of problem please contact the DAQ experts (Yoshiki, Chritine, Stephane) **** In case of any major change planned in DAQ setup please contact **** Stephane ********************************************************************* FRS DAQ system: vme_main r4l-64, vme_user r4l-63, vme_tpc r4l-40, vme_travmus r4l-42 (at s4) ==> eb x86l-93 FRS S2 crate system: vme_tof r4l-13 ==> eb2 x86l-35 Time Sorter: ts x86l-5 (the machine that will merge the data from the two daqs above) FRS Data writen in : /d/land4/sec/s533/ DAQ directory : /lynx/Lynx/frs/usr/profi/mbsrun/sec_s533jun21/ ==> alias s4 in lynx and linux daq running : lxg1265, screens on it rfio FRS : lxg1266 mrevserv FRS : lxg1268 -------------------------------------- ssh -X profi@lxg1265 (on profi alias "prodaq") screen -x daq panel 1 : frs panel 2 : s2crate panel 3 : TIME SORTER panel 4 : rate TIME SORTER panel 5 : rfio (on lxg1266) panel 6 : mrevserv (runs on lxg1268) panel 7 : bash screen -x rate panel 1 : rate frs panel 2 : rate s2 panel 3 : rate ts You can use several windows to connect to the same screen sessions On lxg1265 : screen -ls list of running screen session screen -x name to connect to the session named name To go from one pannel to an other : Screen commands, ctr+a then XX ctr+a N goes to panel N ctr+a | split area vertically ctr+a S split area horizontally ctr+a D leave the screen session (it stills runs in the background) ctr+a move amongs areas ctr+a monitor mode, can scroll back with arrows for the history of the shell To start FRS DAQ ---------- FRS DAQ------------------------ To start : window called frseb (ctrl+a 1) (make sure you are on "screen -x daq") >ssh x86l-93 >s4 >cd eb >resa >./netstatter.sh >prm //should come without error, if error resa, wait and try again >@s ---------- S2 DAQ------------------------ To start, need to be on screen -x mrtof >ssh x86l-35 >s4 >cd eb2 >resa >./netstatter.sh >prm //should come without error, if error resa, wait and try again >@s ---------- TIME SORTER-------------------- To start : window called timesorter (ctrl+a 3) (make sure you are on "screen -x daq") >ssh x86l-5 >s4 >cd ts >resl >mbs >@s (at that moment in both daq window of above a connection acknowledgement shall apear) ==> on panel 4 (tsratef), >ssh x86l-5 >rate -------- FILE OPENING ------------------ This can be done from each event builder or from the time sorter *** FOR THIS EXPERIMENT USE THE FRS EVENT BUILDER on panel 1: >connect rfio lxg1266 -disk >op fi /d/land4/sec/s533/name_XXX_ -auto -rfio size=500 In case rfio not avaliable see RFIO section ---------- RFIO - FILES ---------------- To start : panel called RFIO (ctrl+a 5) in (screen -x daq) (if not already on lxg1266 = should be running anyway) >ssh profi@lxg1266 >s4 >cd gstrore >rawDispRFIO64 From this point you can open file : ---------- RemoteEvent-------------------- This permits to connect GO4 to the DAQ live stream Go to panel 6 (ctrl+a 6) in (screen -x daq) (if not already there : >ssh lxg1268 >s4 >cd gstore ) >mrevserv64 x86l-X X is the machine you want the online to get data from X=93 ==> FRS X=35 ==> S2 only X=5 ==> coupled daq if the last command does not work (I do not know why) please wait for the ports to clear and try again (1 minute) Now connect from Go4 to lxg1268 to get data for the online. If issues connecting it could be some port hangings, either restart everything (not recommended) or wait one minute for the port to clear ---------- Start Monitors----------------- From a different window (ussualy desktop 1) Got to pannel 2 (ctrl+a 2) >ssh x86l-93 Two choices: >rate >ratf On a separate window open a screen -x rate panel 1 : frs ==> >ssh x86l-93 | >rate panel 2 : s2 ==> >ssh x86l-35 | >rate panel 3 : ts ==> >ssh x86l-5 | >rate