eiger temp fix: tempfpgafl and tempfpgafr cannot be used during blocking acquire as it goes through control server now

This commit is contained in:
2020-09-10 11:47:42 +02:00
parent d011186b9a
commit 0a7809286b
3 changed files with 13 additions and 6 deletions

View File

@ -357,6 +357,10 @@ void Module::setImageTestMode(const int value) {
}
int Module::getADC(dacIndex index) const {
// cannot access fpga links simultaneously (eiger) temp fix
if (index == TEMPERATURE_FPGA2 || index == TEMPERATURE_FPGA3) {
return sendToDetector<int>(F_GET_ADC, index);
}
return sendToDetectorStop<int>(F_GET_ADC, index);
}