Commit 01949158 authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by operator for beamline
Browse files

Receiver: add trace of packet header geometry info

parent 8256d812
......@@ -115,6 +115,10 @@ inline bool Receiver::readRecvImage(FrameType lima_frame, FrameType det_frame,
sls_receiver_header& header = image_data->header;
DEB_TRACE() << DEB_VAR4(header.detHeader.frameNumber,
FrameType recv_frame = header.detHeader.frameNumber;
if (recv_frame > m_cam->m_det_nb_frames)
THROW_HW_ERROR(Error) << "Invalid frame: "
Supports Markdown
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