]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
README file for gsi_dirc user
authorMichael Traxler <hadaq@kp1pc105.gsi.de>
Wed, 28 Aug 2013 09:50:28 +0000 (11:50 +0200)
committerMichael Traxler <hadaq@kp1pc105.gsi.de>
Wed, 28 Aug 2013 09:50:28 +0000 (11:50 +0200)
users/gsi_dirc/README [new file with mode: 0644]

diff --git a/users/gsi_dirc/README b/users/gsi_dirc/README
new file mode 100644 (file)
index 0000000..aa2ed72
--- /dev/null
@@ -0,0 +1,77 @@
+#to start deamon
+TRB3_SERVER=trb056 ~/trbsoft/trbnettools/binlocal/trbnetd -i 56
+
+#set environment
+export DAQOPSERVER=localhost:56
+
+# write the environment settings in the shell rc file
+export TRB3_SERVER=trb056
+export DAQOPSERVER=localhost:56
+
+
+# to see the list of the endpoints
+trbcmd i 0xffff
+0xf3c0  0x000000046f1cde28  0x05 # central FPGA
+0xf305  0x4d0000046f1c6328  0x00 # pripheral FPGA
+0xf305  0x820000046f1c6928  0x01
+0xf305  0x1f0000046f1cba28  0x02
+0xf305  0xbb0000046f1b5e28  0x03
+
+# user script is in trbsoft/daqtools/users/gsi_dirc/
+cd ~/trbsoft/daqtools/users/gsi_dirc/
+
+# the network addresses of the trb3 can be changed in
+# daqtools/base/addresses_trb3.db
+
+# to configure the trb3 run
+./startup.sh
+
+# to start the cts
+cd ~/trbsoft/daqtools/web
+
+# make sure the environment settings are correct (DAQOPSERVER and TRB3_SERVER)
+./cts_gui --noopenxterm
+
+# to monitor the cts open a webserver and go to the address "localhost:1234"
+# and check the DAQOPSERVER label at the bottom of the page. This should be
+# the same as the trb3 number.
+
+# to start data taking
+daq_evtbuild -m 1 -d file -o /tmp
+daq_netmem -m 1 -i UDP:127.0.0.1:50000
+
+
+### Padiwa
+
+##Thresholds can be set via webserver and scripts
+
+#script for single endpoint
+./thresholds_automatic.pl -h
+
+usage: thresholds_automatic.pl --endpoint=<endpoint_address>
+#--chain=<SPI-chain> [--offset=<number in decimal or hex>]
+       [--help] [--mode=<"padiwa"|"cbmrich">] [--32channel]
+
+example:
+
+thresholds_automatic.pl --endpoint=0x303 --chain=0 --offset=0x10 --32channel
+or in short
+thresholds_automatic.pl -e 0x303 -o 0x10 -c 0
+
+currently only mode "padiwa" is implemented.
+
+polarity: tells what the status of bit 32 is, when the thresholds are set to 0
+32channel: when set the tool assums a TDC with 32 channels, leading and
+trailing channels use two channels
+
+
+# script for many endpoints
+./run_thresh_on_system.pl -h
+
+usage:
+run_threshold_on_system.pl |options]
+
+example:
+run_threshold_on_system.pl --endpoints=0x301-0x308,0x310..0x315,0x380
+--chains=0..3 --offset=4 --polarity=0
+will run for endpoints 0x301-0x308 and 0x310-0x315 and 0x380 for all chains (0..3)