Commit cd31f09e authored by Andrey Filippov's avatar Andrey Filippov

adding initIPs()

parent 3c321110
...@@ -530,6 +530,7 @@ public class CalibrationHardwareInterface { ...@@ -530,6 +530,7 @@ public class CalibrationHardwareInterface {
} }
} }
initIPs(); // was missing here?
initJP4(); initJP4();
} }
...@@ -1039,7 +1040,9 @@ public class CalibrationHardwareInterface { ...@@ -1039,7 +1040,9 @@ public class CalibrationHardwareInterface {
"&TRIG=4*3"; "&TRIG=4*3";
} }
if (this.triggerPeriod[chn]>1)triggerMode+="&TRIG_PERIOD=0*1"; // just stop it if it wasn't already, imgsrv /trig does not set it, only FPGA register if ((this.triggerPeriod[chn]>1) || this.setupTriggerMode) {
triggerMode+="&TRIG_PERIOD=0*1"; // just stop it if it wasn't already, imgsrv /trig does not set it, only FPGA register
}
} }
}else { }else {
if (this.setupTriggerMode){ if (this.setupTriggerMode){
...@@ -1047,7 +1050,9 @@ public class CalibrationHardwareInterface { ...@@ -1047,7 +1050,9 @@ public class CalibrationHardwareInterface {
"&TRIG_OUT="+(this.noCabling?(0):(this.externalTriggerCabling?"0x800000":"0x80000"))+"*0"+ "&TRIG_OUT="+(this.noCabling?(0):(this.externalTriggerCabling?"0x800000":"0x80000"))+"*0"+
"&TRIG=4*3"; "&TRIG=4*3";
} }
if (this.triggerPeriod[chn]>1)triggerMode+="&TRIG_PERIOD=1*0"; // just imgsrv /trig does not set it, only FPGA register if ((this.triggerPeriod[chn]>1) || this.setupTriggerMode){
triggerMode+="&TRIG_PERIOD=1*0"; // just imgsrv /trig does not set it, only FPGA register
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment