Added missing call to writeReadController to set max jog steps.

This commit is contained in:
2024-06-05 14:39:35 -05:00
parent ba71c79a92
commit 273e545759

View File

@@ -210,6 +210,7 @@ asynStatus MD90Axis::moveVelocity(double minVelocity, double maxVelocity, double
/* MD-90 does not have jog command. Move max 6000 steps */ /* MD-90 does not have jog command. Move max 6000 steps */
sprintf(pC_->outString_, "SNS 6000"); sprintf(pC_->outString_, "SNS 6000");
status = pC_->writeReadController();
if (maxVelocity > 0.) { if (maxVelocity > 0.) {
/* This is a positive move in MD90 coordinates */ /* This is a positive move in MD90 coordinates */
sprintf(pC_->outString_, "ESF"); sprintf(pC_->outString_, "ESF");