added multiChannel support

This commit is contained in:
Marty Kraimer
2015-03-20 10:31:35 -04:00
parent cdc72bc5ae
commit 8f054db6cd
25 changed files with 1378 additions and 64 deletions

View File

@@ -55,7 +55,7 @@ void EasyGetData::checkValue()
void EasyGetData::setMessagePrefix(std::string const & value)
{
messagePrefix = value;
messagePrefix = value + " ";
}
StructureConstPtr EasyGetData::getStructure()
@@ -165,7 +165,7 @@ double EasyGetData::getDouble()
return pvDouble->get();
}
if(!ScalarTypeFunc::isNumeric(scalarType)) {
throw std::runtime_error(notCompatibleScalar);
throw std::runtime_error(messagePrefix + notCompatibleScalar);
}
return convert->toDouble(pvScalar);
}