mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-24 05:11:20 +01:00
wip
This commit is contained in:
@@ -712,6 +712,14 @@ void Module::setFilterResistor(int value) {
|
||||
sendToDetector(F_SET_FILTER_RESISTOR, value, nullptr);
|
||||
}
|
||||
|
||||
defs::currentSrcParameters Module::getCurrentSource() const {
|
||||
return sendToDetector<defs::currentSrcParameters>(F_GET_CURRENT_SOURCE);
|
||||
}
|
||||
|
||||
void Module::setCurrentSource(defs::currentSrcParameters par) {
|
||||
sendToDetector(F_SET_CURRENT_SOURCE, par, nullptr);
|
||||
}
|
||||
|
||||
// Acquisition
|
||||
|
||||
void Module::startReceiver() {
|
||||
@@ -1914,14 +1922,6 @@ void Module::setCDSGain(bool value) {
|
||||
sendToDetector(F_SET_CDS_GAIN, static_cast<int>(value), nullptr);
|
||||
}
|
||||
|
||||
bool Module::getCurrentSource() const {
|
||||
return sendToDetector<int>(F_GET_CURRENT_SOURCE);
|
||||
}
|
||||
|
||||
void Module::setCurrentSource(bool value) {
|
||||
sendToDetector(F_SET_CURRENT_SOURCE, static_cast<int>(value), nullptr);
|
||||
}
|
||||
|
||||
slsDetectorDefs::timingSourceType Module::getTimingSource() const {
|
||||
return sendToDetector<timingSourceType>(F_GET_TIMING_SOURCE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user