mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 10:00:40 +02:00
Merge pull request #343 from slsdetectorgroup/ctbslowadc
fix for slow adcs and any other adcs that went to stop server, but ne…
This commit is contained in:
commit
062ab63289
@ -690,7 +690,23 @@ 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, others need
|
||||||
|
// configuration of adc in 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