mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-09 12:32:05 +02:00
sf-daq-4 scripts
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
detsize 1024 512
|
||||
hostname beb031+beb032
|
||||
|
||||
udp_dstmac 9c:dc:71:4d:2a:b5
|
||||
udp_dstip 10.30.20.6
|
||||
|
||||
#top
|
||||
0:udp_dstport 50200
|
||||
0:udp_dstport2 50201
|
||||
0:udp_srcip 10.30.20.201
|
||||
|
||||
#bottom
|
||||
1:udp_dstport 50202
|
||||
1:udp_dstport2 50203
|
||||
1:udp_srcip 10.30.20.201
|
||||
|
||||
tengiga 1
|
||||
@@ -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='/home/dbe/git/sf_daq_buffer_eiger/slsDetectorPackage/build/bin/'
|
||||
SLS_DET_PACKAGE_PATH=''
|
||||
DETECTOR=$1
|
||||
|
||||
n_cycles=1
|
||||
if [ $# == 2 ]
|
||||
then
|
||||
n_cycles=$2
|
||||
fi
|
||||
|
||||
|
||||
${SLS_DET_PACKAGE_PATH}sls_detector_put timing trigger
|
||||
${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 10
|
||||
${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 start
|
||||
|
||||
echo "Now start trigger"
|
||||
Reference in New Issue
Block a user