Difference between revisions of "NPS DAQ in Hall C"

From Cuawiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Environment Setup ==
 
== Environment Setup ==
 +
- The CODA environment is setup using [https://github.com/JeffersonLab/coda_scripts coda_scripts]
 +
- User Defined CODA environment variables
 +
setenv CODA ${HOME}/coda_3.10_devel
 +
setenv CODA_SCRIPTS ${CODA}/coda_scripts
 +
 +
setenv SESSION NPS
 +
setenv EXPID NPS
 +
 +
 +
 
=== VME ROC ===
 
=== VME ROC ===
 
- CODA environment loaded from .tcshrc from setup script:
 
- CODA environment loaded from .tcshrc from setup script:

Revision as of 01:27, 16 May 2023

Environment Setup

- The CODA environment is setup using coda_scripts - User Defined CODA environment variables

setenv CODA ${HOME}/coda_3.10_devel
setenv CODA_SCRIPTS ${CODA}/coda_scripts

setenv SESSION NPS
setenv EXPID NPS


VME ROC

- CODA environment loaded from .tcshrc from setup script:

hccoda@nps-vme1:~/setup_nps-vme_3.10

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
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