Improved error message on enableSetPosition error

This commit is contained in:
MarkRivers
2013-04-25 23:20:40 +00:00
parent fbd9bb0250
commit 06d22f3e89
+1 -1
View File
@@ -402,7 +402,7 @@ asynStatus XPSAxis::setPosition(double position)
/* If the user has disabled setting the controller position, skip this.*/
if (!pC_->enableSetPosition_) {
asynPrint(pasynUser_, ASYN_TRACE_ERROR,
"%s:%s: XPS set position is disabled. Enable it using XPSEnableSetPosition(1).\n",
"%s:%s: XPS set position is disabled. Enable it by setting enableSetPosition parameter in XPSCreateController).\n",
driverName, functionName);
return asynError;
}