gotthard server: trying to resolve roi problem that is only affected by latest firmware

This commit is contained in:
2018-09-21 17:29:43 +02:00
parent 9f84bf7175
commit 4aa0d26f26
4 changed files with 33 additions and 18 deletions

View File

@ -87,6 +87,7 @@ int init_detector( int b) {
//gotthard specific
setPhaseShiftOnce();
configureADC();
setADC(-1); //already does setdaqreg and clean fifo
setSettings(DYNAMICGAIN,-1);
setDefaultDacs();
@ -101,9 +102,8 @@ int init_detector( int b) {
setTiming(GET_EXTERNAL_COMMUNICATION_MODE);
setMaster(GET_MASTER);
setSynchronization(GET_SYNCHRONIZATION_MODE);
startReceiver(0);
startReceiver(1);
setMasterSlaveConfiguration();
setADC(-1);
}
strcpy(mess,"dummy message");
strcpy(lastClientIP,"none");