From 2a2bc5b3be9f75002d9504c7f31824b9e49b4cfd Mon Sep 17 00:00:00 2001 From: hinger_v Date: Wed, 31 May 2023 14:08:34 +0200 Subject: [PATCH] Edit scan scripts --- BP_scan.sh | 12 ++++++------ CS_scan.sh | 8 ++++---- CS_scan_JF11.sh | 2 +- CuFluo_exposure.sh | 8 ++++---- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/BP_scan.sh b/BP_scan.sh index ac9046c..73666a1 100644 --- a/BP_scan.sh +++ b/BP_scan.sh @@ -13,6 +13,8 @@ # connect to pc8830 (or any RH7 machine connected to the pulser and, after klog, run the command # nc -k -n -v -l -p 5555 -e /bin/bash +#last data file (000002.dat) should be 2097184000 bytes + KILLRCV="killall ju_udp_receiver_3threads_2_0" @@ -34,13 +36,9 @@ sls_detector_put highvoltage 0 # configure for receiver on mpc2012 -sls_detector_put udp_dstport 32410 -sls_detector_put udp_dstip 10.1.4.105 -sls_detector_put udp_dstmac 3C:FD:FE:A2:14:D8 -sls_detector_put udp_srcip 10.1.4.9 -sls_detector_put udp_srcmac 00:ab:be:cc:dd:e2 + #sls_detector_put configuremac 0 -sls_detector_put readoutspeed 1 +sls_detector_put readoutspeed half_speed sls_detector_put gainmode dynamic @@ -51,6 +49,8 @@ echo $CLI" OUTP OFF " | nc pc8830 5555 sleep 0.2 +#remember to put High-Z load! + # pulse echo $CLI" FUNC PULS" | nc pc8830 5555 sleep 0.2 diff --git a/CS_scan.sh b/CS_scan.sh index 90f1c0d..4b1cd57 100644 --- a/CS_scan.sh +++ b/CS_scan.sh @@ -26,12 +26,12 @@ sls_detector_put highvoltage 200 # configure for receiver on mpc2012 sls_detector_put udp_dstport 32410 -sls_detector_put udp_dstip 10.1.4.105 -sls_detector_put udp_dstmac 3C:FD:FE:A2:14:D8 -sls_detector_put udp_srcip 10.1.4.9 +sls_detector_put udp_dstip 10.1.4.105 #10.1.4.105 +sls_detector_put udp_dstmac 3C:FD:FE:A2:14:D8 #3C:FD:FE:A2:14:D8 +sls_detector_put udp_srcip 10.1.4.9 #10.1.4.9 sls_detector_put udp_srcmac 00:ab:be:cc:dd:e2 -sls_detector_put readoutspeed 1 +sls_detector_put readoutspeed half_speed #sls_detector_put dbitphase 125 sleep 3 diff --git a/CS_scan_JF11.sh b/CS_scan_JF11.sh index 876d4d4..f906299 100644 --- a/CS_scan_JF11.sh +++ b/CS_scan_JF11.sh @@ -102,7 +102,7 @@ sls_detector_put gainmode dynamic # bit 16 high bit 17 low = automatic cal col sweep # bit 16 high bit 17 high = cal col selected with bits 26-20 -sls_detector_put currentsource 1 nofix 0x8000000000000000 normal +sls_detector_put currentsource 1 nofix 0x8000000000000000 normal #low sleep 1 diff --git a/CuFluo_exposure.sh b/CuFluo_exposure.sh index 005be32..674bd7f 100644 --- a/CuFluo_exposure.sh +++ b/CuFluo_exposure.sh @@ -20,12 +20,12 @@ sls_detector_put highvoltage 200 # configure for receiver on mpc2012 sls_detector_put udp_dstport 32410 -sls_detector_put udp_dstip 10.1.4.105 -sls_detector_put udp_dstmac 3C:FD:FE:A2:14:D8 -sls_detector_put udp_srcip 10.1.4.9 +sls_detector_put udp_dstip 10.1.4.105 #10.1.4.105 +sls_detector_put udp_dstmac 3C:FD:FE:A2:14:D8 #3C:FD:FE:A2:14:D8 +sls_detector_put udp_srcip 10.1.4.9 #10.1.4.9 sls_detector_put udp_srcmac 00:ab:be:cc:dd:e2 -sls_detector_put readoutspeed 1 +sls_detector_put readoutspeed half_speed #half_speed #sls_detector_put reg 0x59 0x1310 #0001 0011 0001 0000 #sls_detector_put readoutspeed 0