HOME ESR EXPERIMENTS LABS etc
NucAR lab laser_lab Fritz-Bosch-Lab X-Ray Lab target Beavertail
  Beavertail  Not logged in ELOG logo
Message ID: 25     Entry time: Mon Mar 31 17:55:16 2025
Author: JG 
Category: DAQ 
Subject: DAQ overview 
The DAQ is running of 4 different nodes/PCs, that can be accessed by ssh using the user litv-exp.

nodepurposelocation
x86l-124pleiades febex [inside, BGO]ESR north arc
x86l-131pleiades febex [outside, GAGG]ESR north arc
x86l-128timesorterESR north arc
x86l-204ESR scaler DAQESR Messhuette


DAQ OPERATION


The entire DAQ is managed inside a virtual terminal (screen session) on x86l-128. In order to access this session you can login by ssh:
> ssh litv-exp@x86l-128.gsi.de
> screen -x pleiades

Switch the different tabs of the screen session using [F3] (left) or [F4] (right).

To exit (detach) the screen without closing it, press [CTRL]-[A], then [D].

FILE WRITING
Inside the DAQ screen session, go to tab <0 TSORT> and type
> show acq
it should show something like this:

-X86L-128:util :Name of output device = RFIO
-X86L-128:util :RFIO server atprfio, file CLOSED
-X86L-128:util :/mnt/raw.data/e0203_e0018/run0008.lmd
-X86L-128:util : 0.000 [MB] written to tape, 0.131 to file
-X86L-128:util :--------------------------------------------------------------
-X86L-128:util :Collected: 235.4708 MB, 7186 Buffers, 275811 Events.
-X86L-128:util :Rate : 33 KB/s, 1 Buffers/s, 30 Events/s
-X86L-128:util :--------------------------------------------------------------

The first two lines are important: the RFIO is connected as output device and the file is currently CLOSED.
If this is the case you can open a file by typing
> @openfile
it should show:

-X86L-128:transport : open file at server atprfio::
-X86L-128:transport :/mnt/raw.data/e0203_e0018/run0008.lmd

To close the file type
> close file

To check the current file status:
> show file

RESTART DAQ
In case the DAQ has to be restarted, you need to login to x86l-128:
> ssh litv-exp@x86l-128.gsi.de
> cd MBS/2025_pleiades_208Pb (/esr/usr/litv-exp/MBS/2025_pleiades_208Pb)
> ./killdaq.sh (screen session will be killed, wait until it finishes)
> ./daqstart.sh (new screen session will be created, all DAQs will be started)
Inside the screen session, check that MBS started on all three nodes without error (tabs <1 INSIDE>, <2 OUTSIDE> and <3 ESR>).
If yes, switch to <0 TSORT> tab and type
> @startup
and then
> @connect

STANDALONE OPERATION
Inside the screen session, switch to <0 TSORT> tab and type [CTRL]-[Z].
This kills the timesorter and leaves the single nodes in standalone operation.
Now change to the tab of the DAQ/detector you want to operate and type
> @connect

Now you can use the same commands to write files as given above.





ELOG V3.1.5-fc6679b