From a9ba3a5b010ea952c6f8d978f98c5cc678dc72ed Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Tue, 10 May 2005 16:29:33 +0000 Subject: [PATCH] Added "update_delay" for "Stale data delay" bug fix. --- motorApp/MotorSrc/motordrvCom.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/motorApp/MotorSrc/motordrvCom.h b/motorApp/MotorSrc/motordrvCom.h index f551c69f..71abb62c 100644 --- a/motorApp/MotorSrc/motordrvCom.h +++ b/motorApp/MotorSrc/motordrvCom.h @@ -4,9 +4,9 @@ FILENAME... motordrvCom.h USAGE... This file contains definitions and structures that are common to all motor record driver support modules. -Version: $Revision: 1.14 $ +Version: $Revision: 1.15 $ Modified By: $Author: sluiter $ -Last Modified: $Date: 2004-09-20 20:45:05 $ +Last Modified: $Date: 2005-05-10 16:29:33 $ */ /* @@ -40,6 +40,7 @@ Last Modified: $Date: 2004-09-20 20:45:05 $ * .02 10-24-03 rls moved irqdatastr to OmsSrc. * .03 12-12-03 rls Converted MSTA #define's to bit field. * .04 09-20-04 rls support for 32 axes / controller, maximum. + * .05 05/10/05 rls Added "update_delay" for "Stale data delay" bug fix. */ @@ -208,8 +209,11 @@ struct driver_table struct thread_args { - int motor_scan_rate; /* Poll rate in HZ. */ + int motor_scan_rate; /* Poll rate in HZ. */ struct driver_table *table; + double update_delay; /* Some controllers (OMS VME58) require a delay + between a move command and a status update to prevent "stale" data. A + zero value disables this delay. */ };