********************************************************************* **** DAQ setup for FRS DAQ S526 mar 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_s2 r4l-13, ==> eb x86l-93 FRS MRTOF system: vme_mrtof r4l-45 ==> eb2 x86l-8 Time Sorter: ts x86l-5 (the machine that will merge the data from the two daqs above) FRS Data writen in : /d/land4/sec/s526/ DAQ directory : /lynx/Lynx/frs/usr/profi/mbsrun/sec_s526jun21/ ==> 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 : DAQ FRS panel 2 : rate FRS 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 mrtof panel 1 : DAQ MRTOF panel 2 : rate MRTOF 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 ==> on panel 2 (frscrate), >ssh x86l-93 >rate ---------- MRTOF DAQ------------------------ To start, need to be on screen -x mrtof >ssh x86l-8 >s4 >cd eb2 >resa >./netstatter.sh >prm //should come without error, if error resa, wait and try again >@s ==> on panel 2 (rate) >ssh x86l-8 >rate ---------- 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 It is better to do it from the time sorted is it rusn >connect rfio lxg1266 -disk >op fi /d/land4/sec/s526/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=8 ==> MRRTOF 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