cd $tmpdir
-#exec uxterm -fg black -bg khaki -geometry 120x20+0+45 -e "/d/jspc22/trb/git/daqdata/hadaq/daq_evtbuild -m 2 -o ${dest} -x ${pref} -I 1 --ebnum 1 -q 32 -S test -d file
-exec uxterm -fg black -bg khaki -geometry 120x20+0+45 -e "/d/jspc22/trb/git/daqdata/hadaq/daq_evtbuild -m 1 -o ${dest} -x ${pref} -I 1 --ebnum 1 -q 32 -S test -d file
+#exec uxterm -fg black -bg khaki -geometry 120x20+0+45 -e "/d/jspc22/trb/git/daqdata/hadaq/daq_evtbuild -m 1 -o ${dest} -x ${pref} -I 1 --ebnum 1 -q 32 -S test -d file
+exec uxterm -fg black -bg khaki -geometry 120x20+0+45 -e "/d/jspc22/trb/git/daqdata/hadaq/daq_evtbuild -m 2 -o ${dest} -x ${pref} -I 1 --ebnum 1 -q 32 -S test -d file \
${extraopts};
read; bash" &
pid=$!
sleep 1
-#exec uxterm -fg black -bg tan -geometry 120x20+0+345 -e "/d/jspc22/trb/git/daqdata/hadaq/daq_netmem -m 2 -i UDP:0.0.0.0:50000 -i UDP:0.0.0.0:50002 -q 32 -d 1 -S test ; " &
-exec uxterm -fg black -bg tan -geometry 120x20+0+345 -e "/d/jspc22/trb/git/daqdata/hadaq/daq_netmem -m 1 -i UDP:0.0.0.0:50000 -q 32 -d 1 -S test ; " &
+#exec uxterm -fg black -bg tan -geometry 120x20+0+345 -e "/d/jspc22/trb/git/daqdata/hadaq/daq_netmem -m 1 -i UDP:0.0.0.0:50000 -q 32 -d 1 -S test ; " &
+exec uxterm -fg black -bg tan -geometry 120x20+0+345 -e "/d/jspc22/trb/git/daqdata/hadaq/daq_netmem -m 2 -i UDP:0.0.0.0:50000 -i UDP:0.0.0.0:50003 -q 32 -d 1 -S test ; " &
pid=$!
echo $pid > $tmpdir/.daq_netmem.pid
0x8000 0 0x8000 0x00020001 0x00030062 0xFDE8 0x578 1 0 0 0xffffff 0x7
0x8100 0 0x8100 0x00020001 0x00030062 0xFDE8 0x578 1 0 0 0xffffff 0x7
0x8200 0 0x8200 0x00020001 0x00030062 0xFDE8 0x578 1 0 0 0xffffff 0x7
+ 0x8820 0 0x8200 0x00020001 0x00030062 0xFDE8 0x578 1 0 0 0xffffff 0x7
0x8000 0 0x546C5E8B 0x0008 0xc0a800fe 0xc350 0xdead8000 0x0230 0xc0a80007 0xc350 0x0578
0x8100 0 0x546C5E8B 0x0008 0xc0a800fe 0xc352 0xdead8100 0x0230 0xc0a80088 0xc350 0x0578
0x8200 0 0x546C5E8B 0x0008 0xc0a800fe 0xc353 0xdead8200 0x0230 0xc0a80089 0xc350 0x0578
+ 0x8820 0 0x546C5E8B 0x0008 0xc0a800fe 0xc354 0xdead8820 0x0230 0xc0a8008a 0xc350 0x0578
trbcmd s 0x220000046f399228 0x02 0x5002
trbcmd s 0x290000046f075428 0x03 0x5003
+#82
+trbcmd s 0xa300000313233628 0x05 0x8820
+trbcmd s 0x8d000003133e5a28 0x00 0x5820
+trbcmd s 0x9400000313233728 0x01 0x5821
+trbcmd s 0x4e000003131c0328 0x02 0x5822
+trbcmd s 0xa0000003133cae28 0x03 0x5823
echo "Hubs"
trbcmd w 0xfffe 0xc5 0x50ff
--- /dev/null
+#!/usr/bin/perl
+if ($ENV{'SERVER_SOFTWARE'} =~ /HTTPi/i) {
+ print "HTTP/1.0 200 OK\n";
+ print "Content-type: text/html\r\n\r\n";
+ }
+else {
+ use lib '..';
+ use if (!($ENV{'SERVER_SOFTWARE'} =~ /HTTPi/i)), apacheEnv;
+ print "Content-type: text/html\n\n";
+ }
+
+use CGI ':standard';
+use POSIX;
+use CGI::Carp qw(fatalsToBrowser);
+
+use lib qw|../commands htdocs/commands|;
+use xmlpage;
+
+
+###############################################################################
+## Network Map
+###############################################################################
+if($ENV{'QUERY_STRING'} =~ /getmap/) {
+ print "Getting map";
+ }
+
+###############################################################################
+## Main page
+###############################################################################
+else {
+ my $page;
+ $page->{title} = "TrbNet Network Setup";
+ $page->{link} = "../";
+ $page->{getscript} = "map.pl";
+
+ my @setup;
+ $setup[0]->{name} = "NetworkMap";
+ $setup[0]->{cmd} = "getmap";
+ $setup[0]->{period} = -1;
+ $setup[0]->{noaddress} = 0;
+ $setup[0]->{generic} = 0;
+
+ xmlpage::initPage(\@setup,$page);
+ }
+
+
+
+1;
+
+