mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-30 08:01:18 +01:00
conflict merge fix
This commit is contained in:
@@ -1895,6 +1895,19 @@ void Module::setVetoStream(const bool value) {
|
||||
sendToDetector(F_SET_VETO_STREAM, static_cast<int>(value), nullptr);
|
||||
}
|
||||
|
||||
slsDetectorDefs::vetoAlgorithm Module::getVetoAlgorithm(
|
||||
const slsDetectorDefs::ethernetInterface interface) const {
|
||||
return sendToDetector<vetoAlgorithm>(F_GET_VETO_ALGORITHM,
|
||||
static_cast<int>(interface));
|
||||
}
|
||||
|
||||
void Module::setVetoAlgorithm(
|
||||
const slsDetectorDefs::vetoAlgorithm alg,
|
||||
const slsDetectorDefs::ethernetInterface interface) {
|
||||
int args[]{static_cast<int>(alg), static_cast<int>(interface)};
|
||||
sendToDetector(F_SET_VETO_ALGORITHM, args, nullptr);
|
||||
}
|
||||
|
||||
int Module::getADCConfiguration(const int chipIndex, const int adcIndex) const {
|
||||
int args[]{chipIndex, adcIndex};
|
||||
return sendToDetector<int>(F_GET_ADC_CONFIGURATION, args);
|
||||
|
||||
Reference in New Issue
Block a user