Skip to content
Snippets Groups Projects
Commit 1a988e96 authored by Jean Coquet's avatar Jean Coquet
Browse files

mise au point de DefinePosition ...encore...

parent 2e52ff79
No related branches found
No related tags found
No related merge requests found
static const char *RcsId = "$Id: XPSGroup.cpp,v 1.8 2011-06-24 09:42:05 jean_coquet Exp $";
static const char *RcsId = "$Id: XPSGroup.cpp,v 1.9 2011-06-24 09:58:29 jean_coquet Exp $";
//+=============================================================================
//
// file : XPSGroup.cpp
......@@ -13,10 +13,10 @@ static const char *RcsId = "$Id: XPSGroup.cpp,v 1.8 2011-06-24 09:42:05 jean_coq
//
// $Author: jean_coquet $
//
// $Revision: 1.8 $
// $Revision: 1.9 $
//
// $Revision: 1.8 $
// $Date: 2011-06-24 09:42:05 $
// $Revision: 1.9 $
// $Date: 2011-06-24 09:58:29 $
//
// SVN only:
// $HeadURL: $
......@@ -766,12 +766,12 @@ void XPSGroup::write_trajectory(Tango::WAttribute &attr)
if (!init_device_done || properties_missing)
return;
size_t len = argin->length();
if (len != attr_names.size ())
if (len != attributeMotorList.size ())
{
ERROR_STREAM << "DATA_OUT_OF_RANGE must give all positions of the group in 1 shot argin|nb_axes ["
<< len
<< "|"
<< attr_names.size ()
<< attributeMotorList.size () << "]"
<< endl;
Tango::Except::throw_exception (
(const char *)"DATA_OUT_OF_RANGE",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment