epics-modules / motor

APS BCDA synApps module: motor
https://epics-modules.github.io/motor/
20 stars 48 forks source link

Fix for stale or soon to be stale RBV values during motor record initialization #165

Closed kmpeters closed 1 year ago

kmpeters commented 4 years ago

This pull request contains the proposed changes to devMotorAsyn.c from issue #164

motorapp commented 4 years ago

Thanks Mark for providing the example, very helpful. I agree with the request to change to use asynFloat64SyncIO instead. I've provided an updated devAsynMotor.c in case it reduces work loads. devMotorAsyn.tar.gz

tboegi commented 4 years ago

I took the freedom to extract the code from devMotorAsyn.tar.gz and transform it into a PR: https://github.com/epics-modules/motor/pull/167

The change for MOTOR_RESOULTION is not part of this PR (that should go into a different commit anyway)

kmpeters commented 4 years ago

I took the freedom to extract the code from devMotorAsyn.tar.gz and transform it into a PR: #167

This pull request is also an attempt at that. I haven't had time to make and test the change @MarkRivers suggested.

tboegi commented 4 years ago

@kmpeters I didn't want to confuse you.

167 should contain a cleaned up version of devMotorAsyn.c

Feel free to have a look (and use it in this PR or not)

kmpeters commented 1 year ago

Merged #167 instead of this pull req.