I revived the test midas experiment on midtis06. We can start using it to
develop the online connection to the root gui. Here are the instructions
on running things:
- login to midtis06
- set ROOTSYS to /send/home/olchansk/daq/root
- cd /send/home/olchansk/daq/root
- ./start_daq (four xterm windows should open:
1) mhttpd (on port 8080). Point a web browser to http://midtis06:8080
2) odbedit
3) a front end
4) an analyzer)
- run ~olchansk/daq/midas/linux/bin/rmidas
enter "midtis06" in the "hostname" box.
five histogram names should appear in the list on the left: CADC00
through 03 and ADCSUM. Click on the names to see the histograms.
- start a run (from a web browser, or enter "start" in odbedit)
- the frontend window should count 100 events/sec.
- click on the rmidas "update" button, the counts should increment.
This is all done by vanilla ROOT and MIDAS.
The ROOT code to access the MIDAS histograms is in
~olchansk/daq/midas/src/rmidas.c, functions:
- ConnectServer()
- GetHistoList()
- GetHisto()
- ClearHisto()
K.O. |