]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorhadaq <hadaq>
Mon, 19 Nov 2001 11:05:34 +0000 (11:05 +0000)
committerhadaq <hadaq>
Mon, 19 Nov 2001 11:05:34 +0000 (11:05 +0000)
hadaq/mdc.tcl [new file with mode: 0644]

diff --git a/hadaq/mdc.tcl b/hadaq/mdc.tcl
new file mode 100644 (file)
index 0000000..b8c04fe
--- /dev/null
@@ -0,0 +1,42 @@
+agent create hadeb02 hadaq /home/hadaq/nov01/eb/hadaq_tcl
+agent create r2-7 hades /hades/usr/hades/nov01/mdc/hadaq
+agent create r2-8 hades /hades/usr/hades/nov01/mdc/hadaq
+worker create hadeb02:evtbuild -a -p -2 -m 2
+worker create hadeb02:netmem -a -p -1 -m 2 -i ATM:0:100 -i ATM:0:101
+worker create r2-7:memnet -a -p -1 -w 50000 -o ATM:0:100
+worker create r2-7:readout -a -p -2
+worker create r2-8:memnet -a -p -1 -w 50000 -o ATM:0:101
+worker create r2-8:readout -a -p -2
+group create acquisition
+group create run
+group add acquisition r2-7:memnet
+group add acquisition r2-7:readout
+group add acquisition r2-8:memnet
+group add acquisition r2-8:readout
+group add run hadeb02:evtbuild
+group add run hadeb02:netmem
+
+set duringInit {
+       {rsh -l hades r2-7 sh -c {'bin/daqenv nov01; cd $HADES_BASE_DIR/slow; ./mdc1_init_sigbus'} </dev/null }
+       {rsh -l hades r2-8 sh -c {'bin/daqenv nov01; cd $HADES_BASE_DIR/slow; ./mdc0_init_sigbus'} </dev/null }
+}
+
+set beforeStartAcq {
+       {rsh -l hades r2-7 sh -c {'bin/daqenv nov01; cd $HADES_BASE_DIR/slow; ./mdc1_reset_sigbus'} </dev/null }
+       {rsh -l hades r2-8 sh -c {'bin/daqenv nov01; cd $HADES_BASE_DIR/slow; ./mdc0_reset_sigbus'} </dev/null }
+       {rsh -l hades r2-7 sh -c {'bin/daqenv nov01; cd $HADES_BASE_DIR/slow; ./mdc1 start'} </dev/null }
+       {rsh -l hades r2-8 sh -c {'bin/daqenv nov01; cd $HADES_BASE_DIR/slow; ./mdc0 start'} </dev/null }
+}
+
+set afterStartAcq {
+       {rsh -l hades r2-8 sh -c {'bin/daqenv nov01; cd $HADES_BASE_DIR/slow; ./ctustart'} </dev/null }
+}
+
+set beforeStopAcq {
+       {rsh -l hades r2-8 sh -c {'bin/daqenv nov01; cd $HADES_BASE_DIR/slow; ./ctustop'} </dev/null }
+}
+
+set afterStopAcq {
+       {rsh -l hades r2-7 sh -c {'bin/daqenv nov01; cd $HADES_BASE_DIR/slow; ./mdc1 stop'} </dev/null }
+       {rsh -l hades r2-8 sh -c {'bin/daqenv nov01; cd $HADES_BASE_DIR/slow; ./mdc0 stop'} </dev/null }
+}