JPixieBoogieWoogie (PBW)

This is a Java display program that can be used as an event display in real time. It can read MDF-formatted data from a file or from a network socket. The RICH testbeam readout task (feb-proxy) can send events over the network via an intermediary pbwrelay process to the PBW GUI. PBW is a pure Java application therefore it will run on any platform that supports Java.

Integrating PBW into the DAQ

A few simple steps are required:

  • Start a pbwrelayd process on the DAQ PC.
    • Create a FIFO: mkfifo /dev/shm/pbwrly
    • Start the PBW relay daemon: PATH=$PATH:. ./pbwrelayd
  • Enable the sending of events by feb-proxy
  • Start the PBW GUI
    • Run the command java -jar pbw.jar
    • In the Data source combo box, enter http://lbrichtb.cern.ch:7999/
    • Click Go

The first step is probably best done in a script that is executed when DAQ system boots but pbwrelayd can also be started from a non-privileged account.

The above example assumes you are setting up on lbrichtb. You can subsitute the nework address of your own DAQ PC or, If PBW is running on the same machine as pbwrelayd, you can use http://localhost:7999/.

When PBW starts, it connects to pbwrelayd which then starts a pbwrelay server to handle the connection. Several copies of PBW can be connected simultaneously. You should be able to see the pbwrelayd and any pbwrelay processes using the ps afx command.

When you start acquiring data (even if recording is off) you should see the various sources appear in the main PBW window. You can open the display for each source by clicking the checkbox on the left hand side of the panel next to the corresponding data source.

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2015-09-29 - StephenWotton
 
    • 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-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback