mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
binaries and fix
This commit is contained in:
parent
0dc062e6d3
commit
7c48ef8931
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1913,7 +1913,14 @@ int set_num_frames(int file_des) {
|
||||
// only set
|
||||
if (Server_VerifyLock() == OK) {
|
||||
// only set number of frames if normal mode (not scan)
|
||||
if (!scan) {
|
||||
if (scan) {
|
||||
if (arg != numScanSteps) {
|
||||
ret = FAIL;
|
||||
sprintf(mess,
|
||||
"Could not set number of frames %lld. In scan mode, it is number of steps %d\n", (long long unsigned int)arg, numScanSteps);
|
||||
LOG(logERROR, (mess));
|
||||
}
|
||||
} else {
|
||||
#ifdef GOTTHARD2D
|
||||
// validate #frames in burst mode
|
||||
if (getBurstMode() != BURST_OFF && arg > MAX_FRAMES_IN_BURST_MODE) {
|
||||
|
@ -107,7 +107,7 @@ std::string ToString(const slsDetectorDefs::scanParameters &r) {
|
||||
oss << '[';
|
||||
if (r.enable) {
|
||||
oss << "enabled " << std::endl
|
||||
<< "dac " << r.dacInd << std::endl
|
||||
<< "dac " << ToString(r.dacInd) << std::endl
|
||||
<< "start " << r.startOffset << std::endl
|
||||
<< "stop " << r.stopOffset << std::endl
|
||||
<< "step " << r.stepSize << std::endl
|
||||
|
Loading…
x
Reference in New Issue
Block a user