mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-25 15:50: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;
|
Detector det;
|
||||||
CmdProxy proxy(&det);
|
CmdProxy proxy(&det);
|
||||||
auto det_type = det.getDetectorType().squash();
|
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 = det.getFlipRows();
|
||||||
auto previous_numudp = det.getNumberofUDPInterfaces();
|
auto previous_numudp = det.getNumberofUDPInterfaces();
|
||||||
if (det_type == defs::JUNGFRAU) {
|
if (det_type == defs::JUNGFRAU) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user