diff --git a/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c index b27c2ef09..52aa098f2 100644 --- a/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c @@ -2407,6 +2407,7 @@ int stopStateMachine() { } } LOG(logINFO, ("Detector has sent all data\n")); + Feb_Control_Reset(); if (!Beb_StopAcquisition()) { LOG(logERROR, ("failed to stop acquisition\n")); @@ -2416,7 +2417,6 @@ 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) {