]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorhades <hades>
Fri, 10 Nov 2000 12:46:44 +0000 (12:46 +0000)
committerhades <hades>
Fri, 10 Nov 2000 12:46:44 +0000 (12:46 +0000)
hadaq/trig_tof.tcl [new file with mode: 0644]

diff --git a/hadaq/trig_tof.tcl b/hadaq/trig_tof.tcl
new file mode 100644 (file)
index 0000000..e5f0ffb
--- /dev/null
@@ -0,0 +1,42 @@
+agent create hades24 hades /home/hades/nov00/eb/hadaq
+agent create r2-29 hades /hades/usr/hades/nov00/tof/hadaq
+agent create r2-13 hades /hades/usr/hades/nov00/trig/hadaq
+worker create hades24:evtbuild -a -p -2 -s 2 -m 2
+worker create hades24:netmem -a -p -1 -m 2 -i ATM:0:100 -i ATM:0:101
+worker create r2-29:memnet -a -p -1 -w 68000 -o ATM:0:100
+worker create r2-29:readout -a -p -2
+worker create r2-13:memnet -a -p -1 -w 68000 -o ATM:0:101
+worker create r2-13:readout -a -p -2
+group create acquisition
+group create run
+group add acquisition r2-29:memnet
+group add acquisition r2-29:readout
+group add acquisition r2-13:memnet
+group add acquisition r2-13:readout
+group add run hades24:evtbuild
+group add run hades24:netmem
+
+set duringInit {
+       {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./conc init'} </dev/null }
+       {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig init'} </dev/null }
+}
+
+set beforeStartAcq {
+       {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig reset'} </dev/null >>&hadaq.log}
+       {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./conc reset'} </dev/null >>&hadaq.log}
+       {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./conc start'} </dev/null >>&hadaq.log}
+       {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+       {rsh r2-13 sh -c {'. .bash_profile; ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+       {rsh r2-13 sh -c {'. .bash_profile; ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+       {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./conc stop'} </dev/null >>&hadaq.log}
+       {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig stop'} </dev/null >>&hadaq.log}
+}