TO CHANGE THE BTI/TRIGGER
CONFIGURATION
On the computer mc4, use the Labview
windows: “BTIconfig.vi”, “Sync.vi”, “Configuration”, so
you should see 3 windows opened on the screen.
If the
windows are not already opened (NB: sometimes a large window may hide another
window behind. try to move the window), then:
- open a unix shell (click on the icon with a
terminal and a foot on the left side toolbar). You are in daqcms/home
> cd
bticonfiguration
> labview RO_MC_configuration_1b.llb
The
window “configuration.vi” pops up. To open the other two windows, use the OPEN
command of the window to load the files: Sync.vi and BTIconfig.vi
1) To CHANGE the BTI configuration, use
the window “BTIconfig”:
- Run the window by clicking on the arrow
(upper-left corner)
- load the configuration file
- on the small window at the center, some lines
scroll. At the end of the scroll, check the status of the error spy (corner
lower-right). If error (red spy) try again (for 3 times). If error call expert.
- on the Run Control window (screen on the DAQ
rack), change the name of the file in the “BTI config” file line.
2) Go back to mc4. RESET the
synchronization trigger deseralizer (window “Sync”)
- just run the window by clicking on the arrow
(upper-left corner)
3) Then CHECK the Minicrate status
(window “configuration”):
-Run the window by clicking on the arrow
(upper-left corner);
4) go to the Run Control terminal (on the top
of the DAQ rack) and use the “RunControl_0” window.
- give the following commands: reset,
then configure .
On PCMU2
logon as test beam user (see
password on the logbook), and run Front
End Controls (on
the desktop)
Do it BEFORE starting a run, don’t do it
during the run because the access to front end (at program startup) generates
some noise.
Wait for
the hardware configuration window to disappear (about 1 minute).
On the main
window check the boards configuration:
18 green
leds on SL PHI1
13 green +
1 blue leds on THETA
18 green
leds on SL PHI2
-
Check
that Board VCC and Board VDD dials (right side) have the gauge in the green
area (around 4.8 V and 2.6 V respectively) on each superlayer.
-
Check
the average and max temperature thermometers: expected values are around
-
25±5
and 37±5 °
-
Check
the Slow Control feed thru led to be green.
-
Check
the red error messages (if any) in the center bottom of the window.
Threshold values for each superlayer must be 15 mV .
Bias values for each superlayer must be 1.5 V
Width value (chamber control, bottom left) must be
3.2 V
If you need
to change them, click in value display. A “set value” window appears: write the
correct number and hit TAB, the number background must become white. Click OK.
The front
end channels are by default (at startup) all enabled, and you should see in the
board display (bottom right) mad channels leds all green.
If you have
a set mask error in the red error window (bottom center-you should hear a beep)
click in the chamber controls window (bottom left) the “display masks” button.
You should
see the three superlayers ALL GREEN, CLOSE the window.
If they are
not all green, CLOSE the masks window; in the main window (chamber controls,
bottom left) hit ENABLE ALL CHANNELS. Then check again in the display masks
window. CLOSE the display masks window.
To
change masks, click
the display mask button in the main window. To mask a board, click on the name
of the board you want to mask.
When the
channel squares are red, the channels are masked. Then close the window. click
on the name bar of the main window to update the display.
To
enable all channels,
CLOSE the masks window (if opened); in the main window (chamber controls,
bottom left) hit ENABLE ALL CHANNELS. Then check again in the display masks
window.CLOSE the display masks window.
You can
keep the main window open during the run for monitoring.
Before starting data taking, reset the
synchronization trigger deserializer (use the Labview window Sync.vi) and check
the minicrate status on the mc4 computer (see other page)
Also check the HV currents (anodes,
cathodes and wires) on the PC “HV MONITOR”. On the window “Global view of
A877”, the “standard” setup voltages are:
- 3600
for anodes
- 1800
for strips
-
-1200 for cathodes
All
currents MUST be around or below 0.2 uA, but a SERIOUS warning is for currents
>= 1 uA (NB: during the spill, the anode currents may increase a little,
it’s normal).
Check the Front End Program (see other page).
Go to the Run Control terminal (on the top of
the DAQ rack):
-
input
the run parameters in the RunControl_0 window (BTI config file,LUT config file,
HV and thresh);
-
input
number of triggers to take (if you click the button “number of events”, and the
run will stop automatically) or click the button “normal start” (then you
have to stop the run);
-
input
file name (the number of the run is automatically updated when you give the
start command). The flat data file name is filename_runnumber, for example
Beam_027).
-
give
the start command;
-
the
number of collected events is on the window “statistics” as item “total
trigger”;
-
if
needed, to stop the run just press the stop button.
On the computer mc5
> cd orca7
> source env3.csh
test05
You are now in the working directory. There you
find 3 executables:
- dtbxmonitor (the monitor);
- dtbxdump (dump on the terminal the content of the flat
file);
- dtbxntu (create the ntuple file).
Before running the executable, edit the file .orcarc and change the important
parameters:
- name
of the data flat file, which are in /data/TB2003/Files
To run the executable, just write its name, for
example:
> dtbxmonitor
After the source command, the $WORK_DIR link is
defined and can be used to go directly to the working dir:
> cd $WORK_DIR
On the NIM crate in the third green rack, close
to the DAQ Run Control:
look at the second Lecroy COINCIDENCE UNIT (7th
NIM module counting from left), upper unit:
- Trigger with beam scintillators: ONLY button A is pushed
- Autotrigger : ONLY button D is pushed.
When you take data in autotrigger mode,
you must mask all chamber channels, apart from Boards 9 and 10 of each
SL, using the Front End Configuration program.
When you take data with beam scintillators,
all channels must be enabled.