EnglishJapanese Reload Front page List of pages Search Recent changes RSS of recent changes

Web base utilities

Edit Hostlist

To use web utilities, you have to register hostlist. Please see DAQ/Manual/Setup/WebUtility.

Process Manager

By using Process Manager, you can launch/kill DAQ processes; and reboot/halt commands for FEC are available.

processmanager.png

Status Monitor

You can see status information of selected event builders.

Scaler Monitor

You can see scaler information including the DAQ live time and count rates. To calculate the live time, Scaler ID and Channel of Gated and Ungated triggers are necessary. For the count rate, Scaler channel as a clock should be known. These settings can be changed by babicon with setscrlive and setscrname commands.

Raw data monitor

Host names which registered as Babild by Edit host list, you can find the link to raw data monitor in the index page.

Trigger Selector

&color(blue,white){This trigger selector is now not used}. By using LUPO with the firmware of "trigger selector", the web-based trigger selector is available. You can control your Trigger and the configuration of VETO signals via web page, i.e. you don't have to change cables nor some switches. This figure is an example for SHARAQ experiment.

babiselsh.png

General Trigger Operator (GTO)

In RIBF BigRIPS/SHARAQ/SAMURAI, GTO is available. This special module manages trigger and veto signal. User just put the trigger and end-of-busy signal from the front-end VME/CAMAC. The case of SDGTO (Single DAQ GTO), there are 8 trigger inputs and 16 end-of-busy inputs.

gtogwt.png

In BigRIPS area, BSGTO (BigRIPS GTO) is used. this case, trigger inputs are 4, and end-of-busy inputs are 20.

To use these monitors, small settings are needed. Please refer Web Utility page.

Command line utilities

chkridf
Check raw data
chkridf hoge.ridf
chkridf -s SHMID (for on-line, SHMID=0-4)
prinfo
Print start/stop comments, file information
prinfo hoge.ridf

EXPDB command

The latest version of babirl (in RIBF experiments) stores Run and Scaler information into the database.

/usr/babirl/bin/expdbcom -h

Following command shows the list of registered experiments:

/usr/babirl/bin/expdbcom --List --Exp --showcol

To show the run summary:

/usr/babirl/bin/expdbcom --List --Run --expname BR-RIBF40 --showcol

To show the name of channel

/usr/babirl/bin/expdbcom --List --Channel --expname BR-RIBF40 --showcol --scalerid 33

To show the scaler value (Experiment=BR-RIBF40, RunName=run, RunNumber=30, ScalerID=33):

/usr/babirl/bin/expdbcom --List --Data --expname BR-RIBF40 --scalerid 33 --runname run --runnumber 30 --showcol

You can see Data and Overflow values. babirlDAQ checks the overflow of scaler (24bit or 32bit) and Overflow count will be incremented. With --overflow and --csv option, expdbcom takes into account the Overflow count.

/usr/babirl/bin/expdbcom --List --Data --expname BR-RIBF40 --scalerid 33 --runname run --runnumber 30 --csv --overflow

It is better to prepare shell scripts. This example shows the scaler data of Experiment=BR-RIBF40, RunName=run ScalerID=33 with CSV format:

#!/bin/sh

run='run'
exp='BR-RIBF40'
scrid='33'

com='/usr/babirl/bin/expdbcom'

$com --List --Channel --expname $exp --scalerid $scrid --csv

IFS=$'\n'
list=(`$com --List --Run --expname $exp --runname $run`)

for x in "${list[@]}"
do
 name=`echo $x | cut -d',' -f2`
 number=`echo $x | cut -d',' -f3`
 $com --List --Data --expname $exp --scalerid $scrid --csv --runname $name --runnumber $number
done

For developers

Development tools by C-language

There are some development tools in /usr/babirl/devtool/ directory.

chkdf.c
Check RDF file.
chkridf.c
Check RIDF file.
chksumridf.c
Block size checker for RIDF file.
curblk.c
Get current raw data block from babinfo.
ddrv.c
Dummy device driver for babies with -d mode. Copy data from a raw data file to shared memory.
dexecuter.c
Dummy data generator for babies with -c mode.
dexecuterts.c
Dummy data and the time stamp generator for babies with -c mode.
mkdummyridf.c
Create dummy RIDF file.
mkdummyts.c
Create dummy RIDF file including the time stamp.
monan.c
Monitor the current on-line data of on-line shared memory.
printncscr.c
Print scaler information.
rdf2ridf.c
RDF to RIDF data format converter.
rdf2ridf_seg.c
RDF (only selected segment ID) to RIDF data format converter.
segidencorder.c
Encode binary segment ID value from device/focal/detector/module number.
slsrvridf.c
Serve slow data to the event builder (babild).
splitridf.c
Split RIDF file.
srvridf.c
Serve RIDF data to the analysis front-end (babian).

XML for Web utilities

dat/hostlist.xml

<hostlist>
 <host>
  <name>d01</name>                  <-- Hostname                     -->
  <babild>                          <-- Declaration of EB            -->
    <hd>                            <-- HDD List                     -->
      <id>0</id>                    <-- ID of HDD                    -->
      <path>/raid/01/exp</path>     <-- Path of HDD                  -->
    </hd>
    <hd>
      <id>1</id>
      <path>/raid/02/exp</path>
    </hd>
  </babild>
 </host>
</hostlist>
Last-modified: Thu, 11 Sep 2014 22:42:41 HAST (3762d)