diff --git a/slsDetectorServers/eigerDetectorServer/FebControl.c b/slsDetectorServers/eigerDetectorServer/FebControl.c index f12bffa07..cdd17ef65 100644 --- a/slsDetectorServers/eigerDetectorServer/FebControl.c +++ b/slsDetectorServers/eigerDetectorServer/FebControl.c @@ -1060,7 +1060,7 @@ int Feb_Control_StopAcquisition() { } // stop acquisition - return Feb_Control_Reset(); + // return Feb_Control_Reset(); } return 1; } diff --git a/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c index 3001a7e68..a995729bf 100644 --- a/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c @@ -2408,8 +2408,6 @@ int stopStateMachine() { } LOG(logINFO, ("Detector has sent all data\n")); - Feb_Control_Reset(); - if (!Beb_StopAcquisition()) { LOG(logERROR, ("failed to stop acquisition\n")); sharedMemory_unlockLocalLink(); @@ -2418,6 +2416,7 @@ int stopStateMachine() { sharedMemory_unlockLocalLink(); + Feb_Control_Reset(); // ensure all have same starting frame numbers uint64_t retval = 0; if (Beb_GetNextFrameNumber(&retval, send_to_ten_gig) == -2) {