mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
flip rows only for hw2.0 for jungfrau
This commit is contained in:
parent
2a5116f49a
commit
a9d61526ef
@ -540,7 +540,11 @@ TEST_CASE("fliprows", "[.cmd]") {
|
||||
Detector det;
|
||||
CmdProxy proxy(&det);
|
||||
auto det_type = det.getDetectorType().squash();
|
||||
if (det_type == defs::EIGER || det_type == defs::JUNGFRAU) {
|
||||
bool jungfrauhw2 = false;
|
||||
if (det_type == defs::JUNGFRAU && det.getSerialNumber() & 0x20000) {
|
||||
jungfrauhw2 = true;
|
||||
}
|
||||
if (det_type == defs::EIGER || jungfrauhw2) {
|
||||
auto previous = det.getFlipRows();
|
||||
auto previous_numudp = det.getNumberofUDPInterfaces();
|
||||
if (det_type == defs::JUNGFRAU) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user