From 47e834f33788535ff926fd1aa1af90faa905f582 Mon Sep 17 00:00:00 2001 From: mp49 Date: Fri, 29 Jul 2011 10:23:09 +0000 Subject: [PATCH] motor: XPS model 3 driver. modified the home function so that we can do a rehome from states 50 and 63. --- 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 9b93ffa7..16fc0790 100644 --- a/motorApp/NewportSrc/XPSAxis.cpp +++ b/motorApp/NewportSrc/XPSAxis.cpp @@ -305,7 +305,7 @@ asynStatus XPSAxis::home(double min_velocity, double max_velocity, double accele } status = GroupStatusGet(pollSocket_, groupName_, &groupStatus); /* If axis not initialized, then initialize it */ - if (groupStatus >= 0 && groupStatus <= 9) { + if ((groupStatus >= 0 && groupStatus <= 9) || (groupStatus == 50) || (groupStatus == 63)) { status = GroupInitialize(pollSocket_, groupName_); if (status) { asynPrint(pasynUser_, ASYN_TRACE_ERROR,