--- /dev/null
+#!/bin/bash
+
+#Disable second TRB3 & unused ADC FPGA
+trbcmd w 0x8000 0xc0 0x0fe8
+trbcmd w 0x8000 0xc1 0x0fe8
+trbcmd w 0x8000 0xc3 0x0ff8
+
+
+cd ../../tools/
+./adc.pl 0xfe4b init
+./adc.pl 0xfe4b adc_phase 1
+cd ../users/frankfurt_test
+
+
+trbcmd w 0xfe4b 0xa010 1000 #Buffer depth
+trbcmd w 0xfe4b 0xa011 8 #Samples after trigger
+trbcmd w 0xfe4b 0xa012 1 #Process blocks
+trbcmd w 0xfe4b 0xa013 40 #Trigger offset
+trbcmd w 0xfe4b 0xa014 40 #Readout offset
+trbcmd w 0xfe4b 0xa015 0 #Downsampling
+trbcmd w 0xfe4b 0xa016 8 #Baseline
+trbcmd w 0xfe4b 0xa017 1 #Trigger Enable
+
+trbcmd w 0xfe4b 0xa000 0x100 #Reset Baseline
+
+trbcmd setbit 0x8000 0xa14d 0x00040000 #External trigger selector
+trbcmd setbit 0x8000 0xa101 0x00000400 #External trigger on
+
+trbcmd w 0x8000 0xa150 0x05f5e0ff #1 Hz pulser
+trbcmd loadbit 0x8000 0xa158 0x000000f0 0x000000e0 #Pulser 0xe type
+trbcmd setbit 0x8000 0xa101 0x00000002 #Pulser on
+
+