mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-18 15:57:13 +02:00
bugfix receiver: setImagesize only for ctb, moench
This commit is contained in:
@ -447,11 +447,13 @@ int slsReceiverImplementation::setReadOutFlags(const readOutFlags f) {
|
||||
readoutFlags = f;
|
||||
|
||||
// side effects
|
||||
generalData->setImageSize(readoutFlags, roi, numberOfSamples, tengigaEnable);
|
||||
for (const auto& it : dataProcessor)
|
||||
it->SetPixelDimension();
|
||||
if (SetupFifoStructure() == FAIL)
|
||||
return FAIL;
|
||||
if (myDetectorType == CHIPTESTBOARD || myDetectorType == MOENCH) {
|
||||
generalData->setImageSize(readoutFlags, roi, numberOfSamples, tengigaEnable);
|
||||
for (const auto& it : dataProcessor)
|
||||
it->SetPixelDimension();
|
||||
if (SetupFifoStructure() == FAIL)
|
||||
return FAIL;
|
||||
}
|
||||
}
|
||||
std::string flag;
|
||||
if (f == NORMAL_READOUT)
|
||||
|
Reference in New Issue
Block a user