From 39024f4953d4a9d4d91496531cdb8ad0abce8d76 Mon Sep 17 00:00:00 2001 From: babic_a Date: Fri, 11 Feb 2022 18:42:00 +0100 Subject: [PATCH] daq-28 eiger config and acquisition script --- eiger/xbl-daq-28/500k.config | 19 +++++++++++++ eiger/xbl-daq-28/500k_slsReceiver.config | 19 +++++++++++++ eiger/xbl-daq-28/start_acquisition_daq28.sh | 30 +++++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 eiger/xbl-daq-28/500k.config create mode 100644 eiger/xbl-daq-28/500k_slsReceiver.config create mode 100755 eiger/xbl-daq-28/start_acquisition_daq28.sh diff --git a/eiger/xbl-daq-28/500k.config b/eiger/xbl-daq-28/500k.config new file mode 100644 index 0000000..53daff3 --- /dev/null +++ b/eiger/xbl-daq-28/500k.config @@ -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 diff --git a/eiger/xbl-daq-28/500k_slsReceiver.config b/eiger/xbl-daq-28/500k_slsReceiver.config new file mode 100644 index 0000000..7d21506 --- /dev/null +++ b/eiger/xbl-daq-28/500k_slsReceiver.config @@ -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 diff --git a/eiger/xbl-daq-28/start_acquisition_daq28.sh b/eiger/xbl-daq-28/start_acquisition_daq28.sh new file mode 100755 index 0000000..2c45d76 --- /dev/null +++ b/eiger/xbl-daq-28/start_acquisition_daq28.sh @@ -0,0 +1,30 @@ +#!/bin/bash +# usage ./start_eiger_detector.sh Eiger 1 +if [ $# -lt 1 ] +then + echo "Usage : $0 DETECTOR_NAME " + 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"