- Added back calculation from motor positions to Q/E variables into
TAS code. - Fixed communication problems in SerPortServer, mainly with terminator detection. - Added SPS switched motors for TOPSI - Debugged Power-PC histogram memory software for TRICS
This commit is contained in:
@@ -368,13 +368,13 @@
|
||||
sbpc_showHelp (errmsg);
|
||||
return False;
|
||||
} /* xOff*/
|
||||
if ((sscanf (p_arg2, "%i", &xOff) != 1) || (xOff <= 0)) {
|
||||
if ((sscanf (p_arg2, "%i", &xOff) != 1)) {
|
||||
sprintf (errmsg, "The value for <#-xOff>, \"%s\", is illegal!\n"
|
||||
"It must be a positive integer.", p_arg1);
|
||||
sbpc_showHelp (errmsg);
|
||||
return False;
|
||||
} /* xFac */
|
||||
if ((sscanf (p_arg3, "%i", &xFac) != 1) || (xFac <= 0)) {
|
||||
if ((sscanf (p_arg3, "%i", &xFac) != 1)|| xFac <= 0) {
|
||||
sprintf (errmsg, "The value for <#-xFac>, \"%s\", is illegal!\n"
|
||||
"It must be a positive integer.", p_arg1);
|
||||
sbpc_showHelp (errmsg);
|
||||
@@ -387,7 +387,7 @@
|
||||
sbpc_showHelp (errmsg);
|
||||
return False;
|
||||
} /* yOff*/
|
||||
if ((sscanf (p_arg5, "%i", &yOff) != 1) || (yOff <= 0)) {
|
||||
if ((sscanf (p_arg5, "%i", &yOff) != 1)) {
|
||||
sprintf (errmsg, "The value for <#-yOff>, \"%s\", is illegal!\n"
|
||||
"It must be a positive integer.", p_arg1);
|
||||
sbpc_showHelp (errmsg);
|
||||
|
||||
Reference in New Issue
Block a user