From 13ee3d23e4e2fd4198b868cb323f4a2833e888c3 Mon Sep 17 00:00:00 2001 From: kpetersn Date: Fri, 16 Mar 2018 15:37:30 -0500 Subject: [PATCH] Only configure the axis once --- motorApp/AMCISrc/ANF2Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motorApp/AMCISrc/ANF2Driver.cpp b/motorApp/AMCISrc/ANF2Driver.cpp index 3ac7cd12..04064919 100644 --- a/motorApp/AMCISrc/ANF2Driver.cpp +++ b/motorApp/AMCISrc/ANF2Driver.cpp @@ -344,7 +344,7 @@ ANF2Axis::ANF2Axis(ANF2Controller *pC, const char *ANF2ConfName, int axisNo, epi registers_[1] = 0x00000064; // Does the number of elements refer to the number of 16-bit elements? - status = pasynInt32ArraySyncIO->write(pasynUserConfWrite_, configBits, 4, DEFAULT_CONTROLLER_TIMEOUT); + //status = pasynInt32ArraySyncIO->write(pasynUserConfWrite_, configBits, 4, DEFAULT_CONTROLLER_TIMEOUT); // Mabye do it this way in the future //status = this->pC_->writeReg32Array(axisNo, CONFIG_MSW, configBits, 4, DEFAULT_CONTROLLER_TIMEOUT); // Write all the registers