mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
Merge branch 'developer' of github.com:slsdetectorgroup/slsDetectorPackage into developer
This commit is contained in:
commit
34043c358f
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include "sls_detector_defs.h"
|
||||
|
||||
#define REQUIRED_FIRMWARE_VERSION (26)
|
||||
#define REQUIRED_FIRMWARE_VERSION (27)
|
||||
#define IDFILECOMMAND "more /home/root/executables/detid.txt"
|
||||
#define CONFIG_FILE ("config_eiger.txt")
|
||||
#define WAIT_STOP_SERVER_START (1 * 1000 * 1000)
|
||||
|
@ -354,12 +354,13 @@ class Detector {
|
||||
|
||||
/**
|
||||
* (Degrees)
|
||||
* [Gotthard] Options: TEMPERATURE_ADC, TEMPERATURE_FPGA
|
||||
* [Jungfrau] Options: TEMPERATURE_ADC, TEMPERATURE_FPGA
|
||||
* [Gotthard] Options: TEMPERATURE_ADC, TEMPERATURE_FPGA \n
|
||||
* [Jungfrau] Options: TEMPERATURE_ADC, TEMPERATURE_FPGA \n
|
||||
* [Eiger] Options: TEMPERATURE_FPGA, TEMPERATURE_FPGAEXT, TEMPERATURE_10GE,
|
||||
* TEMPERATURE_DCDC, TEMPERATURE_SODL, TEMPERATURE_SODR, TEMPERATURE_FPGA2,
|
||||
* TEMPERATURE_FPGA3
|
||||
* [CTB] Options: SLOW_ADC_TEMP
|
||||
* TEMPERATURE_FPGA3 \n
|
||||
* Cannot call TEMPERATURE_FPGA2 and TEMPERATURE_FPGA3 when blocking acquire
|
||||
* in progress \n [CTB] Options: SLOW_ADC_TEMP
|
||||
*/
|
||||
Result<int> getTemperature(defs::dacIndex index, Positions pos = {}) const;
|
||||
|
||||
|
@ -1283,11 +1283,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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user