DEB_TRACE()<<"We finally got the signal that the currently exposed frame is now grabbed... We can go on for the acquisition stop";
the_lock.unlock();
// If we were not asked for immediate leaving, let the acquisition thread end it :
// if ( ! iImmediate ) {
// return;
// }
DEB_TRACE()<<"We should now STOP the acquisition";
sendCommand(andor3::AcquisitionStop);
DEB_TRACE()<<"Sent a AcquisitionStop in stopAcq immediate == FALSE."<<"\n\t\tAnd now flushing the buffer queue since no more acquisition is in flight";
DEB_TRACE()<<"[andor3 acquisition thread] End of the iteration, next iteration will be for image index "<<m_cam.m_image_index;
if(!the_acq_goon){
DEB_TRACE()<<"[andor3 acquisition thread] In the middle of acquisition, got the request to stop the frame retrieving activity : m_acq_thread_waiting is "<<m_cam.m_acq_thread_waiting<<" and m_acq_thread_should_quit is "<<m_cam.m_acq_thread_should_quit;