mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-08 17:22:05 +02:00
daq-28 eiger config and acquisition script
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
detsize 512 1024
|
||||
hostname beb058+beb059+
|
||||
|
||||
udp_dstmac 9c:dc:71:47:e5:dc
|
||||
udp_dstip 10.30.30.211
|
||||
|
||||
#top
|
||||
0:udp_dstport 50000
|
||||
0:udp_dstport2 50001
|
||||
0:udp_srcip 10.30.30.50
|
||||
0:rx_tcpport 1980
|
||||
|
||||
#bottom:
|
||||
1:udp_dstport 50002
|
||||
1:udp_dstport2 50003
|
||||
1:udp_srcip 10.30.30.51
|
||||
1:rx_tcpport 1981
|
||||
|
||||
tengiga 1
|
||||
@@ -0,0 +1,19 @@
|
||||
detsize 512 1024
|
||||
hostname BEB111+BEB070
|
||||
|
||||
udp_dstmac 9c:dc:71:47:e5:dc
|
||||
udp_dstip 10.30.30.211
|
||||
|
||||
#top
|
||||
0:udp_dstport 50200
|
||||
0:udp_dstport2 50201
|
||||
0:udp_srcip 10.30.30.50
|
||||
0:rx_tcpport 1980
|
||||
|
||||
#bottom:
|
||||
1:udp_dstport 50202
|
||||
1:udp_dstport2 50203
|
||||
1:udp_srcip 10.30.30.51
|
||||
1:rx_tcpport 1981
|
||||
|
||||
tengiga 1
|
||||
Executable
+30
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
# usage ./start_eiger_detector.sh Eiger 1
|
||||
if [ $# -lt 1 ]
|
||||
then
|
||||
echo "Usage : $0 DETECTOR_NAME <number_of_cycles>"
|
||||
echo " DETECTOR_NAME: Eiger..."
|
||||
echo " number_of_cycles : optional, default 100"
|
||||
exit
|
||||
fi
|
||||
SLS_DET_PACKAGE_PATH=''
|
||||
#SLS_DET_PACKAGE_PATH='/home/dbe/git/sf_daq_buffer_eiger/slsDetectorPackage/build/bin/'
|
||||
# SLS_DET_PACKAGE_PATH='/home/hax_l/sf_daq_buffer/slsDetectorPackage/build/bin/'
|
||||
# DETECTOR=$1
|
||||
|
||||
n_cycles=1
|
||||
if [ $# == 2 ]
|
||||
then
|
||||
n_cycles=$2
|
||||
fi
|
||||
|
||||
|
||||
${SLS_DET_PACKAGE_PATH}sls_detector_put timing auto
|
||||
${SLS_DET_PACKAGE_PATH}sls_detector_put triggers ${n_cycles}
|
||||
${SLS_DET_PACKAGE_PATH}sls_detector_put exptime 0.000005
|
||||
${SLS_DET_PACKAGE_PATH}sls_detector_put frames 3600
|
||||
${SLS_DET_PACKAGE_PATH}sls_detector_put dr 16
|
||||
#sls_detector_put ${D}-clearbit to 0x5d 0 # normal mode, not highG0
|
||||
${SLS_DET_PACKAGE_PATH}sls_detector_put acquire
|
||||
|
||||
echo "Now start trigger"
|
||||
Reference in New Issue
Block a user