bug fix command line patnloops should print in decimal, receiver ctb: added p option to print data for debugging, fixed initializing of result in memory

This commit is contained in:
2019-04-25 17:39:46 +02:00
parent 67eef8ba75
commit 18558e1288
3 changed files with 30 additions and 19 deletions

View File

@ -5381,7 +5381,7 @@ std::string slsDetectorCommand::cmdPattern(int narg, char *args[], int action, i
}
auto r = myDet->getPatternLoops(0, detPos);
os << std::hex << r[2];
os << std::dec << r[2];
} else if (cmd == "patnloop1") {
start = -1;
@ -5398,7 +5398,7 @@ std::string slsDetectorCommand::cmdPattern(int narg, char *args[], int action, i
}
auto r = myDet->getPatternLoops(1, detPos);
os << std::hex << r[2];
os << std::dec << r[2];
} else if (cmd == "patnloop2") {
@ -5416,7 +5416,7 @@ std::string slsDetectorCommand::cmdPattern(int narg, char *args[], int action, i
}
auto r = myDet->getPatternLoops(2, detPos);
os << std::hex << r[2];
os << std::dec << r[2];
} else if (cmd == "patwait0") {