From 06d22f3e89eee6044ae3a35ae1806bad3ab96c89 Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Thu, 25 Apr 2013 23:20:40 +0000 Subject: [PATCH] Improved error message on enableSetPosition error --- motorApp/NewportSrc/XPSAxis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motorApp/NewportSrc/XPSAxis.cpp b/motorApp/NewportSrc/XPSAxis.cpp index 6d9c20e4..aed67d0f 100644 --- a/motorApp/NewportSrc/XPSAxis.cpp +++ b/motorApp/NewportSrc/XPSAxis.cpp @@ -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; }