瀏覽代碼

Updated timescan

Meghana 3 年之前
父節點
當前提交
c0095e2976
共有 1 個文件被更改,包括 16 次插入7 次删除
  1. 16 7
      timescan.sh

+ 16 - 7
timescan.sh

@@ -29,16 +29,25 @@ rm $output_file
 pci -w 9014 1
 sleep 0.1
 
-echo "*KALYPSO: Enable Readout + DDR"
-pci -w 0x9040 0x1021FF00
-sleep 0.1
+echo "ADD Reset DDR"
+#pci -w 0x9040 0x10210F50  # was 0x10210F40
+pci -w 0x9040 0x10210F50
+sleep 0.01
 
-#echo "*DMA: Reading data..."
-pci -r dma0 --multipacket -o $output_file --timeout=1000000
+pci -w 0x9040 0x10210F00
+sleep 0.01
 
-#echo "*KALYPSO: RST GOTTHARD stage"
+echo "Start Normal acquisition + ENABLE Readout to DDR + HEADER"
+pci -w 0x9040 0x1021FF00
+sleep 0.5
+#./status.sh
+echo "IDLE"
 pci -w 0x9040 0x10210F00
-sleep 0.1
+sleep 0.5
+#./status.sh
+echo $output_file
+echo "*DMA: Reading data..."
+pci -r dma0 --multipacket -o $output_file --timeout=1000000
 
 echo "TS: Disable time scan"
 pci -w 0x9014 0x0