eiger server/client bug fix: readout flag of -1

This commit is contained in:
maliakal_d 2019-03-01 14:08:28 +01:00
parent 8c067437e6
commit d2d50a56df
2 changed files with 3 additions and 1 deletions

View File

@ -1187,6 +1187,7 @@ int set_module(int file_des) {
case FORCESWITCHG1:
case FORCESWITCHG2:
#elif GOTTHARDD
case GET_SETTINGS:
case DYNAMICGAIN:
case HIGHGAIN:
case LOWGAIN:
@ -1791,6 +1792,7 @@ int set_readout_flags(int file_des) {
if ((arg == GET_READOUT_FLAGS) || (Server_VerifyLock() == OK)) {
switch(arg) {
case GET_READOUT_FLAGS:
case STORE_IN_RAM:
case CONTINOUS_RO:
case PARALLEL:

View File

@ -2459,7 +2459,7 @@ std::string slsDetector::setReceiver(const std::string &receiverIP) {
}
if (thisDetector->myDetectorType == EIGER || thisDetector->myDetectorType == CHIPTESTBOARD || thisDetector->myDetectorType == MOENCH) {
enableTenGigabitEthernet(thisDetector->tenGigaEnable);
setReadOutFlags(thisDetector->roFlags);
setReadOutFlags(GET_READOUT_FLAGS);
}
setReceiverSilentMode(thisDetector->receiver_silentMode);
// data streaming