mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-01 13:14:56 +01:00
Guidetector (#54)
* WIP * dacWidget * main WIP * advanced WIP * WIP * WIP * WIP * WIP * WIP * WIP * works * updated gui to chrono * review fixes * unitque ptrs in gui
This commit is contained in:
@@ -2719,6 +2719,13 @@ sls_detector_module slsDetector::getModule() {
|
||||
return myMod;
|
||||
}
|
||||
|
||||
void slsDetector::setDefaultRateCorrection() {
|
||||
FILE_LOG(logDEBUG1) << "Setting Default Rate Correction";
|
||||
int64_t arg = -1;
|
||||
sendToDetector(F_SET_RATE_CORRECT, arg, nullptr);
|
||||
shm()->deadTime = -1;
|
||||
}
|
||||
|
||||
void slsDetector::setRateCorrection(int64_t t) {
|
||||
FILE_LOG(logDEBUG1) << "Setting Rate Correction to " << t;
|
||||
sendToDetector(F_SET_RATE_CORRECT, t, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user