mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 09:08:00 +02:00
filter resistor in
This commit is contained in:
@ -699,6 +699,14 @@ void Detector::setParallelMode(bool value, Positions pos) {
|
||||
pimpl->Parallel(&Module::setParallelMode, pos, value);
|
||||
}
|
||||
|
||||
Result<int> Detector::getFilterResistor(Positions pos) const {
|
||||
return pimpl->Parallel(&Module::getFilterResistor, pos);
|
||||
}
|
||||
|
||||
void Detector::setFilterResistor(int value, Positions pos) {
|
||||
pimpl->Parallel(&Module::setFilterResistor, pos, value);
|
||||
}
|
||||
|
||||
// Acquisition
|
||||
|
||||
void Detector::acquire() { pimpl->acquire(); }
|
||||
@ -1604,14 +1612,6 @@ void Detector::setCDSGain(bool value, Positions pos) {
|
||||
pimpl->Parallel(&Module::setCDSGain, pos, value);
|
||||
}
|
||||
|
||||
Result<int> Detector::getFilter(Positions pos) const {
|
||||
return pimpl->Parallel(&Module::getFilter, pos);
|
||||
}
|
||||
|
||||
void Detector::setFilter(int value, Positions pos) {
|
||||
pimpl->Parallel(&Module::setFilter, pos, value);
|
||||
}
|
||||
|
||||
Result<bool> Detector::getCurrentSource(Positions pos) const {
|
||||
return pimpl->Parallel(&Module::getCurrentSource, pos);
|
||||
}
|
||||
|
@ -704,6 +704,14 @@ void Module::setParallelMode(const bool enable) {
|
||||
sendToDetector(F_SET_PARALLEL_MODE, static_cast<int>(enable), nullptr);
|
||||
}
|
||||
|
||||
int Module::getFilterResistor() const {
|
||||
return sendToDetector<int>(F_GET_FILTER_RESISTOR);
|
||||
}
|
||||
|
||||
void Module::setFilterResistor(int value) {
|
||||
sendToDetector(F_SET_FILTER_RESISTOR, value, nullptr);
|
||||
}
|
||||
|
||||
// Acquisition
|
||||
|
||||
void Module::startReceiver() {
|
||||
@ -1898,12 +1906,6 @@ void Module::setCDSGain(bool value) {
|
||||
sendToDetector(F_SET_CDS_GAIN, static_cast<int>(value), nullptr);
|
||||
}
|
||||
|
||||
int Module::getFilter() const { return sendToDetector<int>(F_GET_FILTER); }
|
||||
|
||||
void Module::setFilter(int value) {
|
||||
sendToDetector(F_SET_FILTER, value, nullptr);
|
||||
}
|
||||
|
||||
bool Module::getCurrentSource() const {
|
||||
return sendToDetector<int>(F_GET_CURRENT_SOURCE);
|
||||
}
|
||||
|
@ -170,6 +170,8 @@ class Module : public virtual slsDetectorDefs {
|
||||
void setExternalSignalFlags(int signalIndex, externalSignalFlag type);
|
||||
bool getParallelMode() const;
|
||||
void setParallelMode(const bool enable);
|
||||
int getFilterResistor() const;
|
||||
void setFilterResistor(int value);
|
||||
|
||||
/**************************************************
|
||||
* *
|
||||
@ -408,8 +410,6 @@ class Module : public virtual slsDetectorDefs {
|
||||
void setBurstMode(burstMode value);
|
||||
bool getCDSGain() const;
|
||||
void setCDSGain(bool value);
|
||||
int getFilter() const;
|
||||
void setFilter(int value);
|
||||
bool getCurrentSource() const;
|
||||
void setCurrentSource(bool value);
|
||||
slsDetectorDefs::timingSourceType getTimingSource() const;
|
||||
|
Reference in New Issue
Block a user