mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 11:50:03 +02:00
gotthard2: burst mode check
This commit is contained in:
parent
0ac28c0208
commit
4d6996bd55
Binary file not shown.
@ -1967,7 +1967,7 @@ int set_num_frames(int file_des) {
|
||||
if (Server_VerifyLock() == OK) {
|
||||
#ifdef GOTTHARD2D
|
||||
// validate #frames in burst mode
|
||||
if (getBurstMode() != BURST_OFF && arg > MAX_FRAMES_IN_BURST_MODE) {
|
||||
if (getBurstMode() == BURST_OFF && arg > MAX_FRAMES_IN_BURST_MODE) {
|
||||
ret = FAIL;
|
||||
sprintf(mess, "Could not set number of frames %lld. Must be <= %d in burst mode.\n", (long long unsigned int)arg, MAX_FRAMES_IN_BURST_MODE);
|
||||
FILE_LOG(logERROR,(mess));
|
||||
|
Loading…
x
Reference in New Issue
Block a user