From: hades Date: Wed, 7 Jun 2000 12:42:00 +0000 (+0000) Subject: End of TT00 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=7fdd75bbf187c312f718285f28b6eac328854206;p=daqdata.git End of TT00 --- diff --git a/hadaq/atm.tcl b/hadaq/atm.tcl index bf9b513..459ebd3 100644 --- a/hadaq/atm.tcl +++ b/hadaq/atm.tcl @@ -10,3 +10,7 @@ group add acquisition r2-26:memnet group add acquisition r2-26:readout group add run hades05:evtbuild group add run hades05:netmem +set beforeStartAcq {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich reset; ./rich start'} >&hadaq.log} +set afterStartAcq {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; dtuctrl -t ctu start'} >&hadaq.log} +set beforeStopAcq {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; dtuctrl -t ctu stop'} >&hadaq.log} +set afterStopAcq {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich stop'} >&hadaq.log} diff --git a/hadaq/hwsoft.c b/hadaq/hwsoft.c index a8870bf..b001d4e 100644 --- a/hadaq/hwsoft.c +++ b/hadaq/hwsoft.c @@ -47,7 +47,7 @@ void deleteHardware(Hardware *my) void Hardware_waitForTrigger(Hardware *my, void *partEvt) { -#if 0 +#if 1 struct timespec tS, *t = &tS; t->tv_sec = 0; diff --git a/hadaq/shw.tcl b/hadaq/shw.tcl index a15f1a5..35e908b 100644 --- a/hadaq/shw.tcl +++ b/hadaq/shw.tcl @@ -1,15 +1,15 @@ -agent create hades05 hades /home/hades/tt00/eb/hadaq +agent create hades24 hades /home/hades/tt00/eb/hadaq agent create r2-14 hades /hades/usr/hades/tt00/shw/hadaq -worker create hades05:evtbuild -a -p -2 -s 1 -m 1 -worker create hades05:netmem -a -p -1 -m 1 -i ATM:0:50 -worker create r2-14:memnet -a -p -1 -w 0 -o ATM:0:50 +worker create hades24:evtbuild -a -p -2 -s 1 -m 1 +worker create hades24:netmem -a -p -1 -m 1 -i ATM:0:100 +worker create r2-14:memnet -a -p -1 -w 0 -o ATM:0:100 worker create r2-14:readout -a -p -2 group create acquisition group create run group add acquisition r2-14:memnet group add acquisition r2-14:readout -group add run hades05:evtbuild -group add run hades05:netmem +group add run hades24:evtbuild +group add run hades24:netmem set duringInit { {rsh r2-14 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./shw init'}