The one and only guide.

Instructions to run the ECS/DAQ system of the testbeam setup.

Important thinguies to keep in mind:

  1. We run over 3 modules without active cooling => be careful when configuring the beetles.
  2. We take data with 6 TELL1 boards and the Readout supervisor (ODIN), using the old event builder => it is NOT guaranteed to be stable! large files will be produced if you run with non zero suppressed data.
  3. The system is complicated to operate, so dont give up easily.
  4. These intructions are the Standard ones and can be altered during the next few days, soo keep up with the updates.

StartUp procedure.

Follow up this text if you powered off and on the crate.

  1. Be sure to make a clean exit on all PVSS panels if the are open... you do that by clicking exit or close buttons. DO NOT close with the common x on the corner of the window. It should be ok if they pop up back.
  2. If PVSS is not running you should start the project.

To start the pvss project:

Start a remote desktop to the windows computer called

Search fot the PVSS project administrator (inside PVSS folder on programs).

Select the VeloTestBeam2 project. Wait. Check if it's running. If it's running and you dont see it, probably somebody else started it on another session.

If it's not running, click the green light button on the top of this window. this will start the whole project. Some windows will pop up. You should also get the PVSS console. whan it finishes you should be able to mess around with a pvss panel (one of the windows) called SingleCB2.

This panel has several "tabs". there are two more important for the shifters. the one called Master Control and the Temperatures.

Note that that this project will also start the TFC panel which should run on Richard Jacobsson's machine. ( DONT TOUCH that window yet. there is more than one way to control the tfc... So I will explain only one... (which is not the simplest).

STOP. Follow up the procedure to configure the ReadOut Supervisor.

Configure ReadOutSupervisor

Here is the way I suggest you to configure the readout supervisor. If the board has just been powered up the CCPC will be booting up. if you try to ssh to it you should receive back a connection refused. wait for some time and then you should be able to log in.

to log in to the Test Beam ODIN you should type ssh tfc@odinv210 and type the expert password. as soon as you log in run: source .VeloSetup

WAIT. this will configure the fpgas on the read out supervisor. THIS MAY TAKE SEVERAL MINUTES. then the TFC_server will startup automatically. press enter to get the command prompt back.

You are now on the state that you could use the TFC panel which starts up together with the pvss project. I ADVICE you to run in a remote machine. Here is my recipe:

Open a remote desktop to the pcveloassembly1 machine. Check if PVSS is running. If not, start the project called VeloECS _prodCB.

Instructions to change MEP factor and to go from ZS to NZS

  1. TFC local Run ctrl in PVSS: do end_run


  1. in ODIN ccpc:
    1. [pclbcc07] /home/tfc/ODIN_V2 > vi .setup_MEP_Factor
    2. then in the line "lbus -p0x3001 0x1058" change p0x3001 to p0x0001 (3 is MEP=4, 0 is MEP=1)
  2. Then, [pclbcc07] /home/tfc/ODIN_V2 > source .setup_MEP_Factor
  3. in velotbdaq01 (DAQ PC #1), as root:
    1. [root@lbh8lx01 ~]# cd /DAQ/writeEventsToBinary/
    2. [root@lbh8lx01 writeEventsToBinary]# vi ebuild.cfg , change packing_factor from 4 to 1
  4. same thing in velotbdaq02 (DAQ PC #2).


  1. in velotbdaq01 (DAQ PC #1), as lhcbvelo:
    1. [lbh8lxco01] > cd /DAQ/tbDaqScripts
    2. [lbh8lxco01] /DAQ/tbDaqScripts > killall xterm
  2. take data with approriate script, e.g. for NZS only:
    1. [lbh8lxco01] /DAQ/tbDaqScripts > ./startOnlyNZSTELL1Daq
  3. change artifical dead time in the NIM crate, if needed (typically, set switch to 100 us for ZS and to 1 ms for NZS, but this may change)

Restart data taking:

  1. TFC local Run ctrl in PVSS: do get_ready
  2. Send L0reset from Run Control in PVSS
  3. TFC local Run ctrl in PVSS: do start_run

-- KazuyoshiAkiba - 07 Aug 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2006-08-11 - MassiFL
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback