forked from epics_driver_modules/motorBase
Terminate UU command argument with a ';' character. Fixes "Command error" with MAXv ver:1.41 firmware.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
FILENAME... devOmsCom.cc
|
||||
USAGE... Data and functions common to all OMS device level support.
|
||||
USAGE... Data and functions common to all OMS device level support.
|
||||
|
||||
Version: $Revision$
|
||||
Modified By: $Author$
|
||||
@@ -68,6 +68,8 @@ HeadURL: $URL$
|
||||
* .22 11-10-10 rls Error check for valid acceleration rate on STOP command.
|
||||
* .23 10-26-11 rls Use MAXv motor type to support MRES and ERES with
|
||||
* different polarity (signs).
|
||||
* .24 11-29-12 rls Terminate UU command argument with a ';' character.
|
||||
* Fixes "Command error" with MAXv ver:1.41 firmware.
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -511,7 +513,7 @@ errorexit: errMessage(-1, "Invalid device directive");
|
||||
if (MAXv == true && parms[0] == parms[1])
|
||||
sprintf(buffer, " UF");
|
||||
else
|
||||
sprintf(buffer, " UU%f", parms[0]/parms[1]);
|
||||
sprintf(buffer, " UU%f;", parms[0]/parms[1]);
|
||||
strcat(motor_call->message, buffer);
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user