diff --git a/Run_Autopilot.sh b/Run_Autopilot.sh index 8f8dc0ece751f3a2602dc81354431f5d248ae178..1d4e3464294717276d78f701485f708902a071f4 100755 --- a/Run_Autopilot.sh +++ b/Run_Autopilot.sh @@ -21,7 +21,7 @@ energy=$7 isTrack=$8 powerMode=$9 # I1 (high) to I4 (low) isMulti=${10} -run_number=`cat ../ETROC2_Test_Stand/ScopeHandler/Lecroy/Acquisition/next_run_number.txt` +run_number=`cat ../ScopeHandler/Lecroy/Acquisition/next_run_number.txt` echo "Starting configuration for $run_number on KCU . Turn beam OFF!!" python3 telescope.py --configuration cern_test --kcu 192.168.0.10 --offset $3 --delay 32 # --reuse_thresholds diff --git a/autopilot.sh b/autopilot.sh index cb26e8636de8ead3381d00d68e5bd68ee640d099..89355645f5203aa6c7a1e553b911467b1c080088 100755 --- a/autopilot.sh +++ b/autopilot.sh @@ -1,12 +1,16 @@ echo $3 +next_file_index="/home/etl/Test_Stand/ETL_TestingDAQ/ScopeHandler/Lecroy/Acquisition/next_run_number.txt" +index=`cat $next_file_index` +echo $index #ipython3 telescope.py -- --kcu 192.168.0.10 --offset $2 --delay 32 echo -n "True" > running_ETROC_acquisition.txt (python3 daq.py --l1a_rate 0 --ext_l1a --kcu 192.168.0.10 --rb 0 --run $index --lock "/home/etl/Test_Stand/ETL_TestingDAQ/ScopeHandler/Lecroy/Acquisition/running_acquisition.txt") & (sleep 15 python3 /home/etl/Test_Stand/ETL_TestingDAQ/ScopeHandler/Lecroy/Acquisition/acquisition_wrapper.py --nevents $1) -python3 data_dumper.py --input $3 --rbs 0 --skip_trigger_check -# remember: 0,1,2 + +# --input should be file path to etroc data... +python3 data_dumper.py --input ${index} --rbs 0 --skip_trigger_check #python3 root_dumper.py --input ${index} #_rb0 # Run in other shell with root configured echo -n "False" > running_ETROC_acquisition.txt diff --git a/merging.txt b/merging.txt index 4791ed5559bd77f54e1520025768e2b368705876..c1f22fbc23bb6ee67824843d6685826db10313d3 100644 --- a/merging.txt +++ b/merging.txt @@ -1 +1 @@ -True \ No newline at end of file +False \ No newline at end of file