]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
status, mt
authorhadaq@countinghouse <hadaq@CountingHouse>
Thu, 28 Aug 2014 15:30:39 +0000 (17:30 +0200)
committerhadaq@countinghouse <hadaq@CountingHouse>
Thu, 28 Aug 2014 15:30:39 +0000 (17:30 +0200)
pion/config/nxyter/trb3_setup.sh [deleted file]

diff --git a/pion/config/nxyter/trb3_setup.sh b/pion/config/nxyter/trb3_setup.sh
deleted file mode 100755 (executable)
index d1d53fb..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-
-echo "Loading nxyter read-out configuration"
-
-case $1 in
-    0x38*)
-       board=$1
-       ;;
-    *)
-       echo "Wrong board!"
-       exit
-       ;;
-esac
-
-# i2c_sm_reset
-trbcmd w $board 0x8100 0x01
-# i2c_reg_reset_start
-trbcmd w $board 0x8101 0x01
-
-# Write nxsetup.dat to memory and transfer to nx-i2c-registers
-echo "Using nxsetup_$board.dat"
-trbcmd wm $board 0x8200 0 nxsetup_${board}.dat
-
-# Trigger Validate
-trbcmd w $board 0x8400 0      # set readout mode
-trbcmd w $board 0x8401 0      # window  offset 
-trbcmd w $board 0x8402 0x0064 # window width 400ns
-
-# Data Validate 
-trbcmd w $board 0x8120 1      # reset all counters
-
-# CTS Delays and ADC_OFF
-CTS_DELAY=0
-ADC_OFF=0
-case $board in
-    0x3800)
-       CTS_DELAY=210
-       ADC_OFF=0
-       ;;
-
-    0x3801)
-       CTS_DELAY=210
-       ADC_OFF=0
-       ;;
-
-    0x3810)
-       CTS_DELAY=175
-       ADC_OFF=0
-       ;;
-
-    0x3811)
-       CTS_DELAY=175
-       ADC_OFF=0
-       ;;
-    
-    *)
-       echo "Wrong board!"
-       ;;
-esac
-
-trbcmd w $board 0x8403 $CTS_DELAY
-if [ $ADC_OFF -eq 1 ] ; then
-    trbcmd w $board 0x8504 0x80000000
-fi
-
-# TS Cut Level2          140 220 [ns]
-trbcmd w $board 0x8420 0x008c00dc
-
-# Turn off Status Trigger
-trbcmd w $board 0x8166 2
-