diff --git a/motorApp/ACRSrc/ACRMotorDriver.cpp b/motorApp/ACRSrc/ACRMotorDriver.cpp index 0ee7bc51..8e1f0737 100644 --- a/motorApp/ACRSrc/ACRMotorDriver.cpp +++ b/motorApp/ACRSrc/ACRMotorDriver.cpp @@ -42,7 +42,6 @@ ACRController::ACRController(const char *portName, const char *ACRPortName, int { int axis; asynStatus status; - ACRAxis *pAxis; static const char *functionName = "ACRController"; binaryInReg_ = 4096; @@ -63,10 +62,7 @@ ACRController::ACRController(const char *portName, const char *ACRPortName, int driverName, functionName); } // Turn off command echoing - sprintf(outString_, "BIT1792=0"); - writeController(); - // Turn off command prompt - sprintf(outString_, "BIT1794=1"); + sprintf(outString_, "ECHO 4"); writeController(); // Wait a short while so that any responses to the above commands have time to arrive so we can flush // them in the next writeReadController() @@ -77,7 +73,7 @@ ACRController::ACRController(const char *portName, const char *ACRPortName, int setUIntDigitalParam(0, ACRBinaryOut_, binaryOutRBV_, 0xFFFFFFFF); // Create the axis objects for (axis=0; axis