HOME ESR EXPERIMENTS LABS etc
E121 E127 E132 E125 E143 laser_cooling_2021 E142 Ê128 E146 E0052 E0018 E0028 E0038
  Bound beta decay experiment on Tl-205  Not logged in ELOG logo
Message ID: 9     Entry time: Tue May 28 08:36:14 2019
Author: Jan 
Category: DAQ 
Subject: MBS start & RFIO server 
You need a DAQ-PC and the RIO crate computer.
All of the DAQ proceedures laid out here are operated from inside the DAQ screen session.
Right now for e121 the following DAQ-setup is used: (might change in the future)

DAQ-PC: lxg0155
screen session: e121_daq @ lxg0155
RIO: r4l-47
DAQ dir: /esr/usr/litv-exp/2019Munich-Det



The most important commands:

on DAQ-PC
mbs - start mbs DAQ
rawDispRFIO64 - start RFIO server

in MBS shell
@startup - initialize MBS (only inside DAQ dir)
@connect - connect RFIO server (only if server running)
@runstart - open file for data writing
@runstop - close file
start acq - start DAQ
show acq - status of DAQ
show file - status of current file/RFIO server




The full proceedure for the DAQ:
  • on DAQ-PC enter screen session:
    litv-exp@lxg____:~$ screen -x e121_daq
    or create new screen session if non is exisiting:
    litv-exp@lxg____:~$ screen -S e121_daq
  • inside screen: go to 1st tab (MBS) and login to RIO if not yet done:
    <Ctrl-a 0>
    litv-exp@lxg____:~$ ssh r4l-47
    
  • on RIO reset and start MBS
    R4L-47 litv-exp > cd 2019Munich-Det
    R4L-47 litv-exp > resl
    R4L-47 litv-exp > mbs
    mbs > @startup
    
  • inside screen go to 2nd tab (RFIO)
    <Ctrl-a 1>
    or create 2nd tab if not exisiting
    <Ctrl-a c>
  • start RFIO server on DAQ-PC
    litv-exp@lxg____:~$ cd /u/litv-exp/rfio
    litv-exp@lxg____:~$ ./rawDispRFIO64-wheezy
    -I- 64 bit RFIO test server (lxg0155) listening on port 1974
        forks './rawServRFIO64-wheezy' for each client request
  • inside screen go to 1st tab and connect MBS to RFIO server
    <Ctrl-a 0>
    mbs > @connect
    mbs> show file
    mbs> -R4L-47  :transport  :Name of output device = RFIO
    -R4L-47  :transport  :current tape label    = lxg0155 , opened
    -R4L-47  :transport  :current file name     =  , closed
    -R4L-47  :transport  :       0.000 MBytes written to tape
    -R4L-47  :transport  :       0.000 MBytes written to current file
  • start acquisition
    mbs > start acq
    mbs > show acq
    ...
    -R4L-47  :util       :Name of output device = RFIO
    -R4L-47  :util       :RFIO server  lxg0155, file CLOSED
    -R4L-47  :util       :       0.000 [MB] written to tape,        0.000 to file
    -R4L-47  :util       :--------------------------------------------------------------
    -R4L-47  :util       :Collected:    61.1451 MB,    1866 Buffers,     131990 Events.
    -R4L-47  :util       :Rate     :         33 KB/s,     1 Buffers/s,       71 Events/s
    -R4L-47  :util       :--------------------------------------------------------------
  • open file / start a run
    mbs > @runstart
    -R4L-47  :transport  :open   file at server lxg0155::
    -R4L-47  :transport  :/data.local1/E121/predata/e121_run_1239.lmd
  • close file / stop a run
    mbs > @runstop
    -R4L-47  :transport  :Rfio server lxg0155: closed file after      0.262 MB written:
    -R4L-47  :transport  :-I- remote output file /data.local1/E121/predata/e121_run_1239.lmd closed
    mbs> -R4L-47  :transport  :/data.local1/E121/predata/e121_run_1239.lmd
ELOG V3.1.5-fc6679b