From 2b55429c0c92a0b7896bdab4ba492d4cb3fe0c97 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Fri, 30 Nov 2012 22:27:08 +0000 Subject: [PATCH] Commanded velocity not getting passed with INFO request by process_messages(). --- motorApp/MotorSrc/motordrvCom.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/motorApp/MotorSrc/motordrvCom.cc b/motorApp/MotorSrc/motordrvCom.cc index bc4b959b..7909a20d 100644 --- a/motorApp/MotorSrc/motordrvCom.cc +++ b/motorApp/MotorSrc/motordrvCom.cc @@ -50,6 +50,8 @@ HeadURL: $URL$ * is < 1/2 time quantum. * .06 02/05/09 rls Always call process_messages() to check for incoming * messages. + * .07 11/30/12 rls In process_messages(), pass commanded velocity from + * motor_info->velocity to node->velocity with INFO request. */ @@ -386,6 +388,7 @@ static void process_messages(struct driver_table *tabptr, epicsTime tick, node->position = motor_info->position; node->encoder_position = motor_info->encoder_position; node->status = motor_info->status; + node->velocity = motor_info->velocity; /*============================================================================= * node->status & RA_DONE is not a reliable indicator of anything, in this case,