Fixes RVEL not being populated

This patch fixes the issue reported in
https://epics.anl.gov/tech-talk/2026/msg00212.php, where the RVEL field
of the motor record was not populated when writing to the motorVelocity_
paramLib entry.
This commit is contained in:
2026-02-12 09:45:40 +01:00
parent 0de68e844b
commit caf6692068
+6 -1
View File
@@ -288,7 +288,12 @@ asynStatus asynMotorAxis::setDoubleParam(int function, double value)
statusChanged_ = 1;
status_.encoderPosition = value;
}
}
} else if (function == pC_->motorVelocity_) {
if (value != status_.velocity) {
statusChanged_ = 1;
status_.velocity = value;
}
}
// Call the base class method
return pC_->setDoubleParam(axisNo_, function, value);
}