DiamondLightSource / pmac

Driver for the Delta Tau PMAC motion controller family.
Apache License 2.0
25 stars 17 forks source link

Poll All Now feature #66

Closed gilesknap closed 6 years ago

gilesknap commented 6 years ago

This feature added at Tom's request. When a trajectory scan is aborted he needs a way to guarantee that the GPIO readbacks reflect the state of the brick. Forcing a poll removes the inherent race condition.

Here we provide a busy record which forces all the polled variables be read from the brick.

This is generally useful where any process needs to synchronize brick state.