From 4afb59f78c355e4ab503cbcc4521b64f97eca037 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Thu, 20 Nov 2008 22:35:11 +0000 Subject: [PATCH] Set direction indicator. --- motorApp/AttocubeSrc/drvANC150Asyn.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/motorApp/AttocubeSrc/drvANC150Asyn.cc b/motorApp/AttocubeSrc/drvANC150Asyn.cc index 2c04b8e4..22ab68a0 100644 --- a/motorApp/AttocubeSrc/drvANC150Asyn.cc +++ b/motorApp/AttocubeSrc/drvANC150Asyn.cc @@ -2,9 +2,9 @@ FILENAME... drvANC150Asyn.cc USAGE... Motor record driver level support for Kohzu SC800 -Version: $Revision: 1.4 $ +Version: $Revision: 1.5 $ Modified By: $Author: sluiter $ -Last Modified: $Date: 2008-11-19 21:29:32 $ +Last Modified: $Date: 2008-11-20 22:35:11 $ */ @@ -433,10 +433,11 @@ static int motorAxisMove(AXIS_HDL pAxis, double position, int relative, if (status) return(MOTOR_AXIS_ERROR); - /* - * Send a signal to the poller task which will make it do a poll, and - * switch to the moving poll rate - */ + /* Set direction indicator. */ + motorParam->setInteger(pAxis->params, motorAxisDirection, posdir); + + /* Send a signal to the poller task which will make it do a poll, and + switch to the moving poll rate. */ epicsEventSignal(pAxis->pController->pollEventId); return(MOTOR_AXIS_OK);