From 85ecaf1ac8efb7870a43eb8395526ebb7ab6efa7 Mon Sep 17 00:00:00 2001 From: "Hadaq@styx" Date: Wed, 30 Oct 2013 22:00:51 +0100 Subject: [PATCH] latest file versions --- users/cosy_test/config/nxyter/nxsetup.dat | 6 +++--- users/cosy_test/config/nxyter/setup.sh | 15 ++++----------- users/cosy_test/nxscripts/trig_no.sh | 7 +++---- users/cosy_test/nxscripts/trig_pulser.sh | 7 +++---- xml-db/database/Nxyter.xml | 3 ++- 5 files changed, 15 insertions(+), 23 deletions(-) diff --git a/users/cosy_test/config/nxyter/nxsetup.dat b/users/cosy_test/config/nxyter/nxsetup.dat index 4a85bab..78ed9b6 100644 --- a/users/cosy_test/config/nxyter/nxsetup.dat +++ b/users/cosy_test/config/nxyter/nxsetup.dat @@ -27,14 +27,14 @@ 0x00000089 # 23 0x000000ff # 24 Testpulse Strength, default 0x80 0x00000045 # 25 -0x0000000f # 26 +0x00000080 # 26 iDUR (26) Analog dead time (changes nxtimer CVT) 0x00000036 # 27 0x0000005c # 28 0x00000045 # 29 0x000000be # 30 0x000000be # 31 -0x00000000 # 32 TestTrigger setup etc. , default 0x00 -0x0000000c # 33 clock input 256A, set bit #3, default 0x08 (normal mode) +0x00000004 # 32 TestTrigger setup etc. , default 0x00 +0x00000008 # 33 clock input 256A, set bit #3, default 0x08 (normal mode) 0x000000be # 34 0x000000be # 35 0x000000be # 36 diff --git a/users/cosy_test/config/nxyter/setup.sh b/users/cosy_test/config/nxyter/setup.sh index 9088ab3..79dc9e0 100755 --- a/users/cosy_test/config/nxyter/setup.sh +++ b/users/cosy_test/config/nxyter/setup.sh @@ -22,13 +22,6 @@ trbcmd w 0x3800 0x8241 1 # Threshold setting #trb_i2c w 0x3800 0x08 18 0x80 -# Setup Trigger Generator -trbcmd w 0x3800 0x8141 200 # 500 * 10ns = 5mus Period -trbcmd w 0x3800 0x8142 1 # one Trigger per cycle -trbcmd w 0x3800 0x8143 16 # 200ns trigger length, disable it -trbcmd w 0x3800 0x8144 0 # reset before trigger - - # nx_ts_reset_start trbcmd w 0x3800 0x8102 0x01 @@ -37,10 +30,10 @@ echo "clear data fifo" trbcmd rm 0x3800 0x8600 4000 2>/dev/null # Set readout Mode -trbcmd w 0x3800 0x8180 0x01 # was: 0: normal mode -trbcmd w 0x3800 0x8182 100 # window width = 100 * 4ns -trbcmd w 0x3800 0x8184 0xffe # read-out time max - +trbcmd w 0x3800 0x8180 0x00 # 0: normal mode 4: no TS Window mode +trbcmd w 0x3800 0x8181 50 # window offset 200ns +trbcmd w 0x3800 0x8182 200 # window width 800ns +trbcmd w 0x3800 0x8183 100 # CTS-Delay 400ns # Decoder Settings trbcmd w 0x3800 0x8120 0 # reset all counters diff --git a/users/cosy_test/nxscripts/trig_no.sh b/users/cosy_test/nxscripts/trig_no.sh index 4e1e37c..c1d0ead 100755 --- a/users/cosy_test/nxscripts/trig_no.sh +++ b/users/cosy_test/nxscripts/trig_no.sh @@ -2,11 +2,10 @@ [ -n $1 ] && addr=0x3800 || addr=$1 -trbcmd w $addr 0x8180 1 +trbcmd w $addr 0x8180 0 trbcmd w $addr 0x8181 0 -trbcmd w $addr 0x8182 1000 -trbcmd w $addr 0x8183 0 -trbcmd w $addr 0x8183 1000 +trbcmd w $addr 0x8182 250 +trbcmd w $addr 0x8183 100 trbcmd w $addr 0x8140 0 #trbcmd w $addr 0x8144 1 diff --git a/users/cosy_test/nxscripts/trig_pulser.sh b/users/cosy_test/nxscripts/trig_pulser.sh index 53d1e24..a595f69 100755 --- a/users/cosy_test/nxscripts/trig_pulser.sh +++ b/users/cosy_test/nxscripts/trig_pulser.sh @@ -2,11 +2,10 @@ [ -n $1 ] && addr=0x3800 || addr=$1 -trbcmd w $addr 0x8180 1 +trbcmd w $addr 0x8180 0 trbcmd w $addr 0x8181 0 -trbcmd w $addr 0x8182 1000 -trbcmd w $addr 0x8183 0 -trbcmd w $addr 0x8183 1000 +trbcmd w $addr 0x8182 250 +trbcmd w $addr 0x8183 100 #trbcmd w $addr 0x8140 1 #trbcmd w $addr 0x8144 1 diff --git a/xml-db/database/Nxyter.xml b/xml-db/database/Nxyter.xml index 295b297..29bdee2 100644 --- a/xml-db/database/Nxyter.xml +++ b/xml-db/database/Nxyter.xml @@ -102,7 +102,7 @@ ignore TS Status Bits - + Delay of the trigger window @@ -153,6 +153,7 @@ + Data channel read-out finished -- 2.43.0