Skip to content
Snippets Groups Projects
Commit b72e856f authored by Florent LANGLOIS's avatar Florent LANGLOIS
Browse files

- some modifs for mantis 25877

parent 72263996
No related branches found
No related tags found
No related merge requests found
......@@ -376,6 +376,10 @@ namespace FemtoCurrentAmplifier_ns
creates_dio_proxy();
}
//- force a read to overload to refresh the state
Tango::Attribute &overload = dev_attr->get_attr_by_name("overload");
read_overload(overload);
}
//+----------------------------------------------------------------------------
//
......@@ -506,15 +510,11 @@ namespace FemtoCurrentAmplifier_ns
if (attr_gain_write <0)
attr_gain_write = 0;
//- FL: ??? set the value on the write part ??
//- Avoid the wheelswith to go above or under the max-min
Tango::WAttribute &gain = dev_attr->get_w_attr_by_name("gain");
gain.set_write_value(attr_gain_write);
this->set_gain_on_dio_board(attr_gain_write);
//- force a read to overload to refresh the state
Tango::Attribute &overload = dev_attr->get_attr_by_name("overload");
read_overload(overload);
}
//+----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment