Commit 802b4e3b authored by Sebastien Petitdemange's avatar Sebastien Petitdemange
Browse files

fixed a bug if images is retreived during acquisition

parent bdef5734
......@@ -630,8 +630,6 @@ public:
{
DEB_MEMBER_FUNCT();
m_image_events.insert(image_number);
FrameDim anImageDim;
getFrameDim(anImageDim);
long memSize = anImageDim.getMemSize();
......@@ -657,7 +655,10 @@ public:
m_interface.m_cam.errorStopAcquisition();
THROW_HW_ERROR(Error) << "Problem to read image:" << DEB_VAR1(full_path);
}
if(from != HwFileEventCallbackHelper::OnDemand)
m_image_events.insert(image_number);
void* aDataBuffer = (char*)mmap_mem_base + DECTRIS_EDF_OFFSET;
frame_info = HwFrameInfoType(image_number,aDataBuffer,&anImageDim,
Timestamp(),0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment