mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-01 02:10:05 +02:00
fix for slow adcs and any other adcs that went to stop server, but needed control server for configuration of the adc
This commit is contained in:
parent
bfccc004e8
commit
14d10d2f8f
@ -690,7 +690,22 @@ void Module::setImageTestMode(const int value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int Module::getADC(dacIndex index) const {
|
int Module::getADC(dacIndex index) const {
|
||||||
return sendToDetectorStop<int>(F_GET_ADC, index);
|
switch (index) {
|
||||||
|
case TEMPERATURE_ADC:
|
||||||
|
case TEMPERATURE_FPGA:
|
||||||
|
case TEMPERATURE_FPGAEXT:
|
||||||
|
case TEMPERATURE_10GE:
|
||||||
|
case TEMPERATURE_DCDC:
|
||||||
|
case TEMPERATURE_SODL:
|
||||||
|
case TEMPERATURE_SODR:
|
||||||
|
case TEMPERATURE_FPGA2:
|
||||||
|
case TEMPERATURE_FPGA3:
|
||||||
|
// only the temperatures go to the control server
|
||||||
|
return sendToDetectorStop<int>(F_GET_ADC, index);
|
||||||
|
|
||||||
|
default:
|
||||||
|
return sendToDetector<int>(F_GET_ADC, index);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int Module::getOnChipDAC(slsDetectorDefs::dacIndex index, int chipIndex) const {
|
int Module::getOnChipDAC(slsDetectorDefs::dacIndex index, int chipIndex) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user