Commit 9e218759 authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by bliss administrator
Browse files

Fix min_lat_time for Eiger1

parent c71b6b80
......@@ -719,7 +719,10 @@ void Camera::_synchronize()
param = Requests::FRAME_TIME;
m_min_frame_time = synchro[param]->get_min().data.double_val;
param = Requests::DETECTOR_READOUT_TIME;
m_readout_time = synchro[param]->get_min().data.double_val;
ParamReq req = synchro[param];
bool is_eiger1 = (m_api == Eiger1);
Requests::Param::Value value = is_eiger1 ? req->get() : req->get_min();
m_readout_time = value.data.double_val;
} catch (const EigerException& e) {
HANDLE_EIGERERROR(synchro[param], e);
}
......
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