Difference between revisions of "NPS DAQ in Hall C"

From Cuawiki
Jump to navigation Jump to search
Line 110: Line 110:
  
 
== VTP uBoot configuration ==
 
== VTP uBoot configuration ==
 +
{| class="wikitable" style="float:right"
 +
|-
 +
! port !! vtp
 +
|-
 +
| 2001 || nps-vtp1
 +
|-
 +
| 2002 || nps-vtp2
 +
|-
 +
| 2003 || nps-vtp3
 +
|-
 +
| 2004 || nps-vtp4
 +
|-
 +
| 2005 || nps-vtp5
 +
|}
 
* Access to VTP boot parameters is through the NPS portserver.   
 
* Access to VTP boot parameters is through the NPS portserver.   
 
  telnet nps-ps1 <port>
 
  telnet nps-ps1 <port>
:- where
 

Revision as of 15:58, 17 May 2023

Startup

VNC window after 'startCoda'
  • login: coda@cdaql6 vnc: coda@cdaql6 :6
  • in fresh xterm:
startCoda
- xterms (ROCs and PEB) and RCGUI should open
  • Restart the components without closing the xterms
restartStuff
  • Kill all components and xterms
kcoda

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
setenv CODA_SCRIPTS ${CODA}/coda_scripts
  • CODA for Platform/PEB
setenv CODA ${HOME}/coda/3.10_devel
setenv CODA_SCRIPTS ${HOME}/coda/coda_scripts
  • CODA Session and EXPID
setenv SESSION NPS
setenv EXPID NPS
  • 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

Platform / PEB

  • CODA environment loaded from .cshrc from setup script:
coda@cdaql6:~/bin/nps_coda_user_setup
  • Other environment settings
setenv JAVA_HOME ${HOME}/coda/jdk1.8.0_152
setenv COOL_HOME ${HOME}/coda/cool

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

VTP uBoot configuration

port vtp
2001 nps-vtp1
2002 nps-vtp2
2003 nps-vtp3
2004 nps-vtp4
2005 nps-vtp5
  • Access to VTP boot parameters is through the NPS portserver.
telnet nps-ps1 <port>