Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

ProcessUserEvent P1_GET_FPGA_SERIAL

SetCtrlVal P4_NEVE 10000
SetCtrlVal P4_NALL 300
SetCtrlVal P4_BIAS1 0
SetCtrlVal P4_BIAS2 0x400
SetCtrlVal P4_FRACTION 1

IncreaseNumberInFile  monitor_runno.txt
GetRunNumberFromFile  monitor_runno.txt

SetCtrlVal P1_BOARDNUMBER 0
ProcessUserEvent P1_SLOWC
SetCtrlVal P1_BOARDNUMBER 1
ProcessUserEvent P1_SLOWC
SetCtrlVal P1_BOARDNUMBER 2
ProcessUserEvent P1_SLOWC
SetCtrlVal P1_BOARDNUMBER 3
ProcessUserEvent P1_SLOWC
# 2dscan 2x2      
SetCtrlVal P2_DAQEXE 2

SetCtrlVal P2_SCANUNITSX 1
SetCtrlVal P2_NX  2
SetCtrlVal P2_XSTEP 6
SetCtrlVal P2_XMIN  3
SetCtrlVal P2_SCANUNITSY  1
SetCtrlVal P2_NY  2
SetCtrlVal P2_YSTEP 6
SetCtrlVal P2_YMIN  3
SetCtrlVal P2_DIRECTION  1
SetCtrlVal P2_NEVE 1000
SetCtrlVal P2_PEDESTAL 565
SetCtrlVal P2_DFILE monitor_%RUN%
ProcessUserEvent P2_DAQ
LaunchExecutable ../sa02read.exe -i  monitor_%RUN%_file01.dat -o monitor_%RUN%_file01.root -w 1
HvMonitor hvmonitor_v1.dat 60 2
LaunchExecutable ../sa02read.exe -i  hvmonitor_v1.dat -o hvmonitor_v1.root -w 1

#LaunchExecutable ../sa02read.exe -i longrun_%RUN%_file01.dat -o longrun_%RUN%_file01.root -w 1
#HvMonitor hvmonitor.dat 60 50
#Delay 10
QueueUserEvent P1_RUNSCRIPT
#ProcessUserEvent P1_STOP
#ThresholdLinearity ionfback_%RUN%.dat 
#SetPositionAndMux 3 3
#CAEN_V729 ionfback_%RUN%.dat