Difference between revisions of "NPS DAQ in Hall C"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
* then source the coda scripts setup | * then source the coda scripts setup | ||
source ${CODA_SCRIPTS}/setupCODA3.tcsh | source ${CODA_SCRIPTS}/setupCODA3.tcsh | ||
− | + | ||
=== VME ROC === | === VME ROC === |
Revision as of 00:35, 16 May 2023
Environment Setup
- The CODA environment is setup using coda_scripts
- User Defined CODA environment variables
- CODA for ROC/VTP
setenv CODA ${HOME}/coda_3.10_devel
- CODA for Platform/PEB
setenv CODA ${HOME}/coda/3.10_devel
setenv CODA_SCRIPTS ${CODA}/coda_scripts setenv SESSION NPS setenv EXPID NPS
- then source the coda scripts setup
source ${CODA_SCRIPTS}/setupCODA3.tcsh
VME ROC
- CODA environment loaded from .tcshrc from setup script:
hccoda@nps-vme1:~/setup_nps-vme_3.10
- Other environment settings
- LINUXVME
setenv LINUXVME ${HOME}/nps-vme/linuxvme setenv LINUXVME_INC $LINUXVME/include setenv LINUXVME_LIB $LINUXVME/$MACHINE/lib setenv LINUXVME_BIN $LINUXVME/$MACHINE/bin setenv PATH ${LINUXVME_BIN}:$PATH setenv LD_LIBRARY_PATH ${LINUXVME_LIB}:${LD_LIBRARY_PATH}
VTP ROC
- CODA environment loaded from .tcshrc from setup script:
hccoda@nps-vtp1:~/setup_nps-vtp_3.10
PEB
- CODA environment loaded from .cshrc from setup script:
coda@cdaql6:~/bin/nps_coda_user_setup
VME Module Configuration
FADC250 Configuration
hccoda@nps-vme2:~/nps-vme/cfg/nps-vme2.cfg
VME Readout Lists
hccoda@nps-vme2:~/nps-vme/rol/
nps_vme_list.c
- readout of TI and fadc250
- compiles as
nps_vme_master_list.so nps_vme_slave_list.so
- master configured for triggers from TSINPUTS: TS#1, TS#2
- fadc250 configuration file read from "User Configuration file"
- ti configuration read from "User String" - not yet implemented
- vtp - not yet implemented
- slaveN, N=[1,8] - not yet implemented
ti_list.c
- readout of TI
- compiles as
ti_master_list.so ti_slave_list.so
- master configured for triggers from TSINPUTS: TS#1, TS#2
- ti configuration read from "User String"
- vtp
- slaveN, N=[1,8] - not yet implemented
event_list.crl
- Required for user events from VME ROC.
- compiles as
event_list.so
CODA Configurations
- vme2
- ROCs
- npsvme2
- ROCs
ROL1: nps-vme/rol/nps_vme_master_list.so ROL2: nps-vme/rol/event_list.so User Config: nps-vme/cfg/nps-vme2.cfg
- PEBs: PEB1
- COOL_HOME defined as
hccoda@cdaql6:~/coda/cool
- CODA_COMPONENT_TABLE defined as
hccoda@cdaql6:~/coda/coda_scripts/config/NPS/coda_component_table.cfg
# # CODA Component table - NPS EELsetup # # hostname component type component name nps-vme1 ROC npsvme1 cdaql6 PEB PEB1