Commit f732be2c authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by Operator for ID00
Browse files

Eiger: add empty set/getSubExpTime methods

parent 4b26a7ac
......@@ -89,6 +89,8 @@ class Eiger : public Model
void getFixedClockDiv(bool& fixed_clock_div);
void setClockDiv(ClockDiv clock_div);
void getClockDiv(ClockDiv& clock_div);
void setSubExpTime(double sub_exp_time);
void getSubExpTime(double& sub_exp_time);
void setAllTrimBits(int sub_mod_idx, int val);
void getAllTrimBits(int sub_mod_idx, int& val);
......
......@@ -73,6 +73,8 @@ class Eiger : public SlsDetector::Model
void getFixedClockDiv(bool& fixed_clock_div);
void setClockDiv(SlsDetector::Defs::ClockDiv clock_div);
void getClockDiv(SlsDetector::Defs::ClockDiv& clock_div /Out/);
void setSubExpTime(double sub_exp_time);
void getSubExpTime(double& sub_exp_time /Out/);
void setAllTrimBits(int sub_mod_idx, int val);
void getAllTrimBits(int sub_mod_idx, int& val /Out/);
......
......@@ -655,6 +655,22 @@ void Eiger::getClockDiv(ClockDiv& clock_div)
DEB_RETURN() << DEB_VAR1(clock_div);
}
void Eiger::setSubExpTime(double sub_exp_time)
{
DEB_MEMBER_FUNCT();
DEB_PARAM() << DEB_VAR1(sub_exp_time);
if (sub_exp_time != 0)
THROW_HW_ERROR(NotSupported) << "SubExpTime not supported";
updateTimeRanges();
}
void Eiger::getSubExpTime(double& sub_exp_time)
{
DEB_MEMBER_FUNCT();
sub_exp_time = 0;
DEB_RETURN() << DEB_VAR1(sub_exp_time);
}
void Eiger::setAllTrimBits(int sub_mod_idx, int val)
{
DEB_MEMBER_FUNCT();
......
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