mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-05-05 11:44:13 +02:00
do the same for dbit and adcclk
This commit is contained in:
@@ -2148,9 +2148,9 @@ Result<int> Detector::getADCClock(Positions pos) const {
|
||||
return pimpl->Parallel(&Module::getClockFrequency, pos, defs::ADC_CLOCK);
|
||||
}
|
||||
|
||||
void Detector::setADCClock(int value_in_MHz, Positions pos) {
|
||||
void Detector::setADCClock(int value_in_Hz, Positions pos) {
|
||||
pimpl->Parallel(&Module::setClockFrequency, pos, defs::ADC_CLOCK,
|
||||
value_in_MHz);
|
||||
value_in_Hz);
|
||||
}
|
||||
|
||||
Result<int> Detector::getRUNClock(Positions pos) const {
|
||||
@@ -2281,9 +2281,9 @@ Result<int> Detector::getDBITClock(Positions pos) const {
|
||||
return pimpl->Parallel(&Module::getClockFrequency, pos, defs::DBIT_CLOCK);
|
||||
}
|
||||
|
||||
void Detector::setDBITClock(int value_in_MHz, Positions pos) {
|
||||
void Detector::setDBITClock(int value_in_Hz, Positions pos) {
|
||||
pimpl->Parallel(&Module::setClockFrequency, pos, defs::DBIT_CLOCK,
|
||||
value_in_MHz);
|
||||
value_in_Hz);
|
||||
}
|
||||
|
||||
Result<int> Detector::getMeasuredPower(defs::dacIndex index,
|
||||
|
||||
Reference in New Issue
Block a user