Difference between revisions of "HCAL DAQ Software Setup"
m (→readout lists) |
m |
||
Line 8: | Line 8: | ||
! Location !! Hostname !! ROC Name !! Hostname !! ROC Name !! 10G Hostname !! Serial Console(currently at .224) | ! Location !! Hostname !! ROC Name !! Hostname !! ROC Name !! 10G Hostname !! Serial Console(currently at .224) | ||
|- | |- | ||
− | | Bottom || intelsbshcal1 || hcalROC16 || hcalvtp1 || | + | | Bottom || intelsbshcal1 || hcalROC16 || hcalvtp1 || hcalvtp1ROC28 || hcalvtp1-s1 || 2003 |
|- | |- | ||
− | | Top || intelsbshcal2 || hcalROC17 || hcalvtp2 || | + | | Top || intelsbshcal2 || hcalROC17 || hcalvtp2 || hcalvtp2ROC29 || hcalvtp2-s2 || 2004 |
|} | |} | ||
Revision as of 14:26, 1 June 2022
VME | VTP | |||||
---|---|---|---|---|---|---|
Location | Hostname | ROC Name | Hostname | ROC Name | 10G Hostname | Serial Console(currently at .224) |
Bottom | intelsbshcal1 | hcalROC16 | hcalvtp1 | hcalvtp1ROC28 | hcalvtp1-s1 | 2003 |
Top | intelsbshcal2 | hcalROC17 | hcalvtp2 | hcalvtp2ROC29 | hcalvtp2-s2 | 2004 |
Contents
login / ROC environment
The login environment (bash) for sbs-onl is shared for intelsbshcal1, intelsbshcal2. hcalvtp1, hcalvtp2.
Home directory
The home directory is linked to the hcal subdirectory of the sbs-onl home directory on adaqfs. That is:
/home/sbs-onl -> /adaqfs/home/sbs-onl/hcal
Environment
Below we show the main variables that are critical to run the DAQ. Others important ones will to be derived from these.
CODA = /adaqfs/home/sbs-onl/coda/3.10_devel CODA_SCRIPTS = /home/sbs-onl/coda_scripts LINUXVME = /home/sbs-onl/linuxvme SESSION = hcal EXPID = SBSDAQ FADC250_PARAMS = ${HOME}/cfg
VME
Configuration for the VME modules, readout lists for the CODA ROC, and auxiliary libraries specific to the modules in these crates.
configuration files
Configuration files used by the DAQ (ROC, or other programs) are in here
${HOME}/cfg/
f1tdc
Configuration for the f1tdc modules in hcal2
f1tdc/hcal_f1tdc_3125.cfg
fadc250
Configuration for the fadc250 modules in hcal1 and hcal2 (with and without Trigger supervisor)
fadc250/hcal_ts.cnf fadc250/hcal.cnf
mpv904
Configuration for the mpv904 DAC for threshold control
mpv904/mpv904_DAC_Voltage_Set_Values.txt
readout lists
Readout lists used for standalone (hcal1 + hcal2) or in trigger supervisor mode. There are located in
${HOME}/rol
hcal1_list.c hcal2_list.c
They are built using the Makefile
make
Or forced build (like make clean;make, but shorter)
make -B
The repo for these is hosted at github.
aux libraries/programs
Some libraries and programs specific to the HCAL DAQ are found in here
${HOME}/linuxvme/
If you make updates, please remember to install the library in order for it to be used with the readout list or other external programs using $LINUXVME
make install
f1tdc-v1
Library to support the configuration and readout of the JLAB V1 F1TDC module.
f1tdc-v1/ test/f1tdcLibTest # program to test initialization of f1tdcs in crate.
hcal
Library to set output levels on the TI output ports. I think this is used for an LED pulser?
hcal_pulser/
mpv904
Library to Configure and set DAC output levels to control detector thresholds.
mpv904/
other helpful programs
fadc250
${HOME}/linuxvme/fadc-HallB-utils faConfigTest # Test if specified config file will pass correctly through the configuration library fadc250peds # Sample the channel inputs randomly and output stats for pedestal calibration
firmware/ fadcFirmwareUpdate # update firmware for a single FADC fadcGFirmwareUpdate # update firmware for all FADC in crate
VTP
All libraries and programs relevant for the VTP are in
${HOME}/vtp
You should expect to find binaries that are compiled for ARCH=armv7l.
configuration files
vtp/cfg/ hcalvtp1.config # not there yet hcalvtp2.config # not there yet
readout lists
vtp/rol/ vtp_roc_faro.c # VTP Hardware ROC for fa250 readout, not there yet
aux libraries
vtp/vtp # Library to support configuration of VTP and its hardware ROC vtp/dalma # Library to convert standard output to daLogMsg for remote monitorring.