From d7da3059009fcca345d7fbacfa39d7f6060aa1d6 Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Thu, 1 Mar 2012 20:09:49 +0000 Subject: [PATCH] Added new methods: report(), setLowLimit, setHighLimit, setPGain, setIGain, setDGain, setClosedLoop --- motorApp/NewportSrc/XPSAxis.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/motorApp/NewportSrc/XPSAxis.h b/motorApp/NewportSrc/XPSAxis.h index 25f5c2db..67f219d8 100644 --- a/motorApp/NewportSrc/XPSAxis.h +++ b/motorApp/NewportSrc/XPSAxis.h @@ -34,6 +34,7 @@ class XPSAxis : public asynMotorAxis public: /* These are the methods we override from the base class */ XPSAxis(XPSController *pController, int axisNo, const char *positionerName, double stepSize); + void report(FILE *fp, int details); asynStatus move(double position, int relative, double min_velocity, double max_velocity, double acceleration); asynStatus moveVelocity(double min_velocity, double max_velocity, double acceleration); asynStatus home(double min_velocity, double max_velocity, double acceleration, int forwards); @@ -41,6 +42,12 @@ class XPSAxis : public asynMotorAxis asynStatus poll(bool *moving); asynStatus doMoveToHome(); asynStatus setPosition(double position); + asynStatus setLowLimit(double limit); + asynStatus setHighLimit(double limit); + asynStatus setPGain(double gain); + asynStatus setIGain(double gain); + asynStatus setDGain(double gain); + asynStatus setClosedLoop(bool closedLoop); virtual asynStatus defineProfile(double *positions, size_t numPoints); virtual asynStatus readbackProfile();