Skip to content
Snippets Groups Projects
Commit 02d107d3 authored by Sonia Minolli's avatar Sonia Minolli
Browse files

Min & max limit check before applying value

parent dc023f43
Branches
Tags
No related merge requests found
......@@ -241,6 +241,7 @@ namespace XPSAxis_ns
// restore limits
double llmin = yat4tango::PropertyHelper::get_memorized_attribute<double>(this, "softLimitMin", yat::IEEE_NAN);
double llmax = yat4tango::PropertyHelper::get_memorized_attribute<double>(this, "softLimitMax", yat::IEEE_NAN);
if (! yat::is_nan (llmin) && ! yat::is_nan (llmax))
positioner->set_tango_min_max_limits (llmin, llmax);
// restore velocity
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment