mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 16:27:13 +02:00
eiger temp fix: tempfpgafl and tempfpgafr cannot be used during blocking acquire as it goes through control server now
This commit is contained in:
@ -1282,11 +1282,13 @@ class CmdProxy {
|
||||
|
||||
GET_IND_COMMAND(
|
||||
temp_fpgafl, getTemperature, slsDetectorDefs::TEMPERATURE_FPGA2, " °C",
|
||||
"[n_value]\n\t[Eiger]Temperature of the left front end board fpga");
|
||||
"[n_value]\n\t[Eiger]Temperature of the left front end board fpga. "
|
||||
"Cannot call this while blocking acquire is going on.");
|
||||
|
||||
GET_IND_COMMAND(
|
||||
temp_fpgafr, getTemperature, slsDetectorDefs::TEMPERATURE_FPGA3, " °C",
|
||||
"[n_value]\n\t[Eiger]Temperature of the left front end board fpga");
|
||||
"[n_value]\n\t[Eiger]Temperature of the left front end board fpga. "
|
||||
"Cannot call this while blocking acquire is going on.");
|
||||
|
||||
GET_IND_COMMAND(temp_slowadc, getTemperature,
|
||||
slsDetectorDefs::SLOW_ADC_TEMP, " °C",
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user