From b814f62ae997576b54f7126a5ea8ffb9c150fd8e Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Mon, 4 Apr 2011 21:53:32 +0000 Subject: [PATCH] Added profileNumReadbacks --- motorApp/MotorSrc/asynMotorController.cpp | 1 + motorApp/MotorSrc/asynMotorController.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/motorApp/MotorSrc/asynMotorController.cpp b/motorApp/MotorSrc/asynMotorController.cpp index 7fd4ca97..b36b7b31 100644 --- a/motorApp/MotorSrc/asynMotorController.cpp +++ b/motorApp/MotorSrc/asynMotorController.cpp @@ -81,6 +81,7 @@ asynMotorController::asynMotorController(const char *portName, int numAxes, int createParam(profileStartPulsesString, asynParamInt32, &profileStartPulses_); createParam(profileEndPulsesString, asynParamInt32, &profileEndPulses_); createParam(profileActualPulsesString, asynParamInt32, &profileActualPulses_); + createParam(profileNumReadbacksString, asynParamInt32, &profileNumReadbacks_); createParam(profileTimeArrayString, asynParamFloat64Array, &profileTimeArray_); createParam(profileAccelerationString, asynParamFloat64, &profileAcceleration_); createParam(profileBuildString, asynParamInt32, &profileBuild_); diff --git a/motorApp/MotorSrc/asynMotorController.h b/motorApp/MotorSrc/asynMotorController.h index 65114101..fbbf5690 100644 --- a/motorApp/MotorSrc/asynMotorController.h +++ b/motorApp/MotorSrc/asynMotorController.h @@ -59,6 +59,7 @@ #define profileStartPulsesString "PROFILE_START_PULSES" #define profileEndPulsesString "PROFILE_END_PULSES" #define profileActualPulsesString "PROFILE_ACTUAL_PULSES" +#define profileNumReadbacksString "PROFILE_NUM_READBACKS" #define profileTimeArrayString "PROFILE_TIME_ARRAY" #define profileAccelerationString "PROFILE_ACCELERATION" #define profileBuildString "PROFILE_BUILD" @@ -205,6 +206,7 @@ class epicsShareFunc asynMotorController : public asynPortDriver { int profileStartPulses_; int profileEndPulses_; int profileActualPulses_; + int profileNumReadbacks_; int profileTimeArray_; int profileAcceleration_; int profileBuild_;