Skip to content
Snippets Groups Projects
Commit d9a96444 authored by DESGRANGES's avatar DESGRANGES
Browse files

Display model in accel and decel execptions

parent bbb70858
No related branches found
No related tags found
1 merge request!3[PIController] Add PIAxis commands and attributes
......@@ -485,7 +485,7 @@ void PIAxis::read_acceleration(Tango::Attribute &attr)
else
{
std::stringstream ss;
ss << "aCceleration is not handled by this PI Controller" << std::endl;
ss << "acceleration is not handled by this PI Controller => " << m_axis_controller->get_model() << std::endl;
Tango::Except::throw_exception("TANGO_DEVICE_ERROR",
(ss.str()).c_str(),
"PIAxis::read_acceleration()");
......@@ -516,7 +516,7 @@ void PIAxis::write_acceleration(Tango::WAttribute &attr)
else
{
std::stringstream ss;
ss << "acceleration is not handled by this PI Controller" << std::endl;
ss << "acceleration is not handled by this PI Controller => " << m_axis_controller->get_model() << std::endl;
Tango::Except::throw_exception("TANGO_DEVICE_ERROR",
(ss.str()).c_str(),
"PIAxis::write_acceleration()");
......@@ -547,7 +547,7 @@ void PIAxis::read_deceleration(Tango::Attribute &attr)
else
{
std::stringstream ss;
ss << "deceleration is not handled by this PI Controller" << std::endl;
ss << "deceleration is not handled by this PI Controller => " << m_axis_controller->get_model() << std::endl;
Tango::Except::throw_exception("TANGO_DEVICE_ERROR",
(ss.str()).c_str(),
"PIAxis::read_deceleration()");
......@@ -577,7 +577,7 @@ void PIAxis::write_deceleration(Tango::WAttribute &attr)
else
{
std::stringstream ss;
ss << "deceleration is not handled by this PI Controller" << std::endl;
ss << "deceleration is not handled by this PI Controller => " << m_axis_controller->get_model() << std::endl;
Tango::Except::throw_exception("TANGO_DEVICE_ERROR",
(ss.str()).c_str(),
"PIAxis::write_deceleration()");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment