epics-motor / motorPIGCS2

EPICS asyn motor drivers for PI GCS2 controllers
2 stars 4 forks source link

E-727: axis status doesn't update #13

Closed kmpeters closed 1 year ago

kmpeters commented 2 years ago

The E-727 class sets m_hasSRG to false:

https://github.com/epics-motor/motorPIGCS2/blob/e48ca00233357efdb6da7e539192788d20d075cd/pigcs2App/src/PIE727Controller.cpp#L28

So when PIasynAxis::poll calls getStatus

https://github.com/epics-motor/motorPIGCS2/blob/e48ca00233357efdb6da7e539192788d20d075cd/pigcs2App/src/PIasynAxis.cpp#L147

getStatusFromBitMask in PIGCSPiezoController::getStatus is never called

https://github.com/epics-motor/motorPIGCS2/blob/e48ca00233357efdb6da7e539192788d20d075cd/pigcs2App/src/PIGCSPiezoController.cpp#L32-L55

Which means that the axis status info never changes:

https://github.com/epics-motor/motorPIGCS2/blob/e48ca00233357efdb6da7e539192788d20d075cd/pigcs2App/src/PIasynAxis.cpp#L202-L206