From: Michael Traxler Date: Wed, 28 Aug 2013 09:50:28 +0000 (+0200) Subject: README file for gsi_dirc user X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=7e61e2b1f28cfea07c55580372a1e2ac6cdc02dd;p=daqtools.git README file for gsi_dirc user --- diff --git a/users/gsi_dirc/README b/users/gsi_dirc/README new file mode 100644 index 0000000..aa2ed72 --- /dev/null +++ b/users/gsi_dirc/README @@ -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= +#--chain= [--offset=] + [--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)