Chamber(s), scintillators (via mezzanine)
|
V
MROD, controlled via argos.nikhef.nl
|
V
gimone.nikhef.nl
[machine ] ssh daqmustud@gimone [gimone] cd dataWhen the system (argos/gimone) is in an undefined state, first run
[gimone] coscleanWhen this script end's without fatal errors within a few seconds then the infrastructure looks ok.
Start data taking by:
[gimone] cosrayFiles with increasing run number integrated in the crXXXX.dat filename of about half an hour will be generated in the ~daqmustud/data area.
End data taking by typing ^C in the same window
After stopping the cosray script please run:
[gimone] cosclean
When not all chamber positions (chapos) contributes to the data, please use the cosselect script instead of cosray.
[gimone] cosselect -flags
The cosselect script uses as flags argument a string of 6 characters. The character n (No) disables and the y (Yes) enables a chapos number. The position in the string corresponds to the chapos number.
Examples:
cosselect -yynyyy
All chamber positions except chapos 2
cosselect -nnnnny
Only the scintillator (chapos 5) contributes.
From any linux machine that can access the data file
xxx:
- "mrodchk xxx":
checks the data for inconsistencies
- "mroddmp xxx": dumps the data in a readable format to standard output.
These programs are from Thei Wijnen.
Login as user mdtcos on dori. This because the serial line of the display is connected to the machine dori.
[mdtcos@dori] livedis -ilmSLl gimone
First argument i to indicate this is a live session. (from gimone)
Next arguments:
In increasing chapos order
--------------------------------
12 mezz chamber s
12 mezz chamber S Rotated
14 mezz chamber m
14 mezz chamber M Rotated
18 mezz chamber l
18 mezz chamber L Rotated
Last argument the producing machine.
Login as user mdtcos on dori.
This file is made with 18 mezz not rotated chambers, otherwise correct parameters should be given.
The -f flag indicates the read from file mode. [mdtcos@dori] livedis -f ~daqmustud/data/cr6970.datAn alias for this command is: filedis
[mdtcos@dori] filedisIn general correct parameters are needed.
[mdtcos@dori] livedis -flmmSl ~daqmustud/data/cr10524.dat
Login to gimone.nikhef.nl as user daqmustud and type "gjtag". A window should appear. Check that the CSM type field indicates the CSM-4 type. In the (old) example this is still indicated wrongly. (CSM-2)
Below "current node" an ELMB node number has to be entered. See for the current ELMB node numbers the NikConsole panel (on mierik).
Check and adjust the number of mezzanines in the Jtag settings.
Enter one of the ELMB numbers, then press "initialize DAQ", wait until the button is ready (color change) and on the bottom of the window an OK message appears, then press "start DAQ". Do this for all nodes in turn.
You can check (by clicking JTAG Status) the 12 flags of the CSM Status Field. This CSM Status Field is updated dynamically, so it can be opened once.
With "JTAG settings" the
individual settings can be changed if required. Note that for changing
e.g. the thresholds of all mezzanines on a chamber "18" has to be typed
in the field under "AMT Bits" and "3" in the field under "ASD Bits".
The gjtag program stores its settings in .conf files in the ~/jtag/current directory. Example files are also available in ~/jtag/backup directory. There are currently four kind of conf files those for small medium and for normal sized chambers plus one for the scintillators. In the ~jtag/backup area are templates files: mezz_12_template mezz_14_template mezz_18_template scintil_template.