jungfrau server: changes to ensure no update of detector during this, included power chip to read the status bit and give error if temp event is up

This commit is contained in:
Dhanya Maliakal
2018-01-11 16:52:08 +01:00
parent 2d6e4c95a2
commit 061abf7be0
3 changed files with 14 additions and 13 deletions

View File

@ -2641,8 +2641,6 @@ int slsDetector::setThresholdTemperature(int val, int imod) {
setErrorMask((getErrorMask())|(TEMPERATURE_CONTROL));
}
disconnectStop();
if (ret==FORCE_UPDATE)
updateDetector();
}
}
@ -2683,8 +2681,6 @@ int slsDetector::setTemperatureControl(int val, int imod) {
setErrorMask((getErrorMask())|(TEMPERATURE_CONTROL));
}
disconnectStop();
if (ret==FORCE_UPDATE)
updateDetector();
}
}
@ -2726,8 +2722,6 @@ int slsDetector::setTemperatureEvent(int val, int imod) {
setErrorMask((getErrorMask())|(TEMPERATURE_CONTROL));
}
disconnectStop();
if (ret==FORCE_UPDATE)
updateDetector();
}
}