From: local account Date: Mon, 28 Apr 2014 14:49:30 +0000 (+0200) Subject: before update, mt X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=f3a51442086c5f40c09a56d85dcb4ef221723689;p=daqtools.git before update, mt --- f3a51442086c5f40c09a56d85dcb4ef221723689 diff --cc users/gsi_dirc/EventBuilder.xml index fa6c432,0000000..6ef34b2 mode 100644,000000..100644 --- a/users/gsi_dirc/EventBuilder.xml +++ b/users/gsi_dirc/EventBuilder.xml @@@ -1,97 -1,0 +1,97 @@@ + + + + + + + + + + + + + + + + + + + + + + - ++ + + + + + + + + + + + + + + - ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --cc users/gsi_dirc/configure_trb3.sh index 7fd6474,7fd6474..e35f5c3 --- a/users/gsi_dirc/configure_trb3.sh +++ b/users/gsi_dirc/configure_trb3.sh @@@ -13,10 -13,10 +13,11 @@@ trbcmd w 0x8000 0x830d 0x1 # e #mac address of the EB #kp1pc105 00:1b:21:43:97:ea --trbcmd w 0x8000 0x8100 0x214397ea # lower 4 bytes --trbcmd w 0x8000 0x8101 0x001b # upper two bytes ++#dircdaq002 d4:ae:52:ba:16:a6 ++trbcmd w 0x8000 0x8100 0x52ba16a6 # lower 4 bytes ++trbcmd w 0x8000 0x8101 0xd4ae # upper two bytes --trbcmd w 0x8000 0x8102 0xc0a80002 # destination IP-address: 192.168.0.2 ++trbcmd w 0x8000 0x8102 0xc0a80001 # destination IP-address: 192.168.0.2 trbcmd w 0x8000 0x8103 0xc350 # destination port 50000 trbcmd w 0x8000 0x8104 0xdead0110 # source MAC-address trbcmd w 0x8000 0x8105 0x001b # source MAC: upper bytes diff --cc users/gsi_dirc/start_readout.pl index 72d86db,72d86db..b016ceb --- a/users/gsi_dirc/start_readout.pl +++ b/users/gsi_dirc/start_readout.pl @@@ -4,7 -4,7 +4,7 @@@ use strict use Getopt::Long; my $help = ""; --my $dataPath = "~/trbsoft/data"; ++my $dataPath = "/data.local2/"; my $source1 = "50000"; # don't use 50001 my $source2 = "50002"; # it is assigned for GbE debug my $source3 = "50003"; @@@ -39,7 -39,7 +39,6 @@@ $c=qq|pkill -f "daq_netmem -S $label"| $c=qq|xterm -geometry 122x14-0+0 -e bash -c 'daq_evtbuild -S $label -m 1 -d file -o $dataPath'|; print $c; --exit; system("$c &"); diff --cc users/gsi_dirc/startup.sh index bb07d5c,bb07d5c..596aaa8 --- a/users/gsi_dirc/startup.sh +++ b/users/gsi_dirc/startup.sh @@@ -1,11 -1,11 +1,24 @@@ --#!/bin/sh ++#!/bin/bash # PATH should already be marked as exported... #PATH=${HOME}/trbsoft/bin:${PATH} #PATH=${HOME}/trbsoft/daqdata/bin:${PATH} #PATH=${HOME}/trbsoft/trbnettools/bin:${PATH} --export TRB3_SERVER=trb056 ++export TRB3_SERVER=trb056:26000 ++ ++export TRBNETDPID=$(pgrep trbnetd) ++ ++echo "trbnetd pid: $TRBNETDPID" ++ ++if [[ -z "$TRBNETDPID" ]] ++then ++ ~/trbsoft/trbnettools/binlocal/trbnetd -i 56 ++fi ++ ++#export TRB3_SERVER=trb056 export DAQOPSERVER=localhost:56 ++trbcmd i 0xffff ++ ################################################## ## Set addresses @@@ -37,14 -37,14 +50,14 @@@ trbcmd w 0xfe48 0xc804 0x00000080 ## da ## Other Settings ################################################## # Reset trigger logic - only a workaround for a bug --trbcmd w 0xffff 0x20 0x33 ++#trbcmd w 0xffff 0x20 0x33 # timeouts trbcmd w 0xfffe 0xc5 0x800050ff # pulser #1 to 1k Hz --trbcmd w 0x8000 0xa137 0x0001869f ++trbcmd w 0x8000 0xa140 0x0001869f # pulser enable --#trbcmd setbit 0x8000 0xa101 0x2 --trbcmd clearbit 0x8000 0xa101 0x2 ++trbcmd setbit 0x8000 0xa101 0x2 ++#trbcmd clearbit 0x8000 0xa101 0x3