mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-30 16:11:19 +01:00
filter and cds gain, burst and continuous value to asic changed, bug fix to scanning function addresses in server_funcs.c
This commit is contained in:
@@ -1534,6 +1534,18 @@ void Module::setBurstMode(slsDetectorDefs::burstMode value) {
|
||||
}
|
||||
}
|
||||
|
||||
bool Module::getCDSGain() { return sendToDetector<int>(F_GET_CDS_GAIN); }
|
||||
|
||||
void Module::setCDSGain(bool value) {
|
||||
sendToDetector(F_SET_CDS_GAIN, static_cast<int>(value), nullptr);
|
||||
}
|
||||
|
||||
int Module::getFilter() { return sendToDetector<int>(F_GET_FILTER); }
|
||||
|
||||
void Module::setFilter(int value) {
|
||||
sendToDetector(F_SET_FILTER, value, nullptr);
|
||||
}
|
||||
|
||||
bool Module::getCurrentSource() {
|
||||
return sendToDetector<int>(F_GET_CURRENT_SOURCE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user