Compton DAQ Dev

From Hall A Wiki
Revision as of 12:22, 12 October 2022 by Rom (Talk | contribs) (Basic Setup)

Jump to: navigation, search

Project to Develop a DAQ for the Compton

See earlier work https://hallaweb.jlab.org/wiki/index.php/Compton_Counting_DAQ_Software_HOWTO

Basic Setup

updated R. Michaels Oct 12, 2022


Here is a picture https://hallaweb.jlab.org/wiki/index.php/File:Polarimeter_daq_xfig.pdf

The basic configuration of the DAQ

DAQ config: https://hallaweb.jlab.org/wiki/index.php/File:HaVTP_config.png

ROC1 : https://hallaweb.jlab.org/wiki/index.php/File:Roc1_config.png

VTP : https://hallaweb.jlab.org/wiki/index.php/File:VtpROC_config.png

          Budget and Plan

 Upgrade of Compton and moller polarimeter DAQ in halls A and C.

 The 4 systems are approximately the same.  The FADC will be modified
 to support both counting mode and integrating mode.  

 Item      Price each      Qty       Line cost

 VXS crate   16.5 k        4         66 k
 VTP         10 k          4         40 k
 cpu (ATOM)   3 k          4         12 k
 SD           2 k          4          8 k
 scaler       4 k          4         16 k
 VETROC       2 k          8         16 k
 TI           2 k          4          8 k
 I/O          1.5 k        4          6 k
 Spares                              43 k
 ==========================================
 TOTAL                              215 k$
 
This plan was approved in Aug 2022.  It's essentially 43k$ per
DAQ (times 5 since we need spares).  We'll buy the first system
for the hall C moller in FY2023.  This 43k$ is in the FY2023 budget.
After that we may need to refine the design.  Then in FY2024 we'll
purchase/build 3 more DAQs.  Finally, buy spares in FY2025.

How to Run

updated Oct 12, 2022.  R. Michaels

How to login to the two ROCs and start the ROC

ssh -X amoll1 -l sbs-onl
./startroc1

ssh -X havtp1 -l sbs-onl
./startRoc

How to start CODA on atedf3.  Username adaq.

kcoda

startcoda

VTP readout
havtp1:/home/sbs-onl/comptonDaq/vtp/rol/vtp_list.so
ROC1 readout
amoll1:/home/sbs-onl/comptonDaq/rol/vtpCompton_list.so

Oct 12, 2022.
Currently using a 50 Hz front-panel pulser trigger on TI.
Later want to modify this to use a trigger from VTP based on data
from FADC and/or the VETROC.

If I drop the VTP from the readout and remove tiRocEnable(2)
from amoll1:/home/sbs-onl/comptonDaq/rol/vtpCompton_list.c
then the DAQ runs fine and both the FADC and VETROC data
make sense.

Next I added the VTP.  Still a FP trigger.  It downloads
and prestarts. But here is where the problems start. 

Current Problems

Oct 12, 2022.  R. Michaels

Problematic symptoms:

I don't get any events.  Actually I get a burst of events on ROC1
but the VTP seems to be stuck.

VTP complains a lot:  VTP_output.txt

Some notable errors
vtpInit: VTP_FW_Version=0x10004, VTP_FW_Type=19
vtpInit: ERROR - unknown firmware type 19. Unable to setup VTP PLL.
vtpSerdesCheckLinks: ERROR - all serdes links not up!
daLogMsg: ERROR: VTP Serdes links not up
(I set it up to temporarily ignore that and try to get events)
vtpSetCompton_EnableScalerReadout: ERROR: VTP wrong firmware type (15
when the run ends, the VTP segfaults
./startRoc: line 4:  1755 Segmentation fault      coda_roc -i -s $SESSION -n vtpROC -t ROC

---------------------------------------------------------------------------------

Detailed printout from VTP https://hallaweb.jlab.org/wiki/index.php/File:VTP_output.txt

Analysis Software