mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-16 23:07:13 +02:00
gotthard2: bursts and burst period, written to same register as triggers and delay (kept in server as variables) and set if conditions meet. bursts and burst period only in auto timing and burst mode. Also updating theses registers when switching between timing modes or burst modes
This commit is contained in:
@ -1160,6 +1160,22 @@ void Detector::setImageTestMode(int value, Positions pos) {
|
||||
|
||||
// Gotthard2 Specific
|
||||
|
||||
Result<int64_t> Detector::getNumberOfBursts(Positions pos) const {
|
||||
return pimpl->Parallel(&slsDetector::getNumberOfBursts, pos);
|
||||
}
|
||||
|
||||
void Detector::setNumberOfBursts(int64_t value) {
|
||||
pimpl->Parallel(&slsDetector::setNumberOfBursts, {}, value);
|
||||
}
|
||||
|
||||
Result<ns> Detector::getBurstPeriod(Positions pos) const {
|
||||
return pimpl->Parallel(&slsDetector::getBurstPeriod, pos);
|
||||
}
|
||||
|
||||
void Detector::setBurstPeriod(ns value, Positions pos) {
|
||||
pimpl->Parallel(&slsDetector::setBurstPeriod, pos, value.count());
|
||||
}
|
||||
|
||||
Result<std::array<int, 2>> Detector::getInjectChannel(Positions pos) {
|
||||
return pimpl->Parallel(&slsDetector::getInjectChannel, pos);
|
||||
}
|
||||
|
Reference in New Issue
Block a user