Original DB scan, copied from xray_tube_current_scan.sh.

This commit is contained in:
redford_s
2018-04-16 08:46:16 +02:00
parent b0f2693877
commit b6e439086f
+42
View File
@@ -0,0 +1,42 @@
#!/bin/bash
frames=1000
sls_detector_put status stop
sls_detector_put frames $frames
CLI=/afs/psi.ch/project/sls_det_software/bin/xrayClient64
$CLI shutter 3 off
$CLI setc 2
sleep 15
$CLI setv 30 ## set voltage of tube to 30 kV (max possible at 80 mA)
sleep 15
#for itube in {2..80..2}
for itube in {2..80} # 2017-10-27 doubled granularity
do
$CLI setc $itube
sleep 5
$CLI shutter 3 on
sleep 2
sls_detector_put status start
sleep 10
$CLI shutter 3 off
done
$CLI shutter 3 off
$CLI setc 2