Hi all,
I had a question about best practices for writing an asynPortDriver or more specifically an areaDetector driver.
The cameras I am writing support for allow for auto-gain and auto-exposure modes, that adjust the gain and exposure
internally based on the recieved image. At the moment, I show this updating in my screens by in the main image processing
thread loop grabbing the pv value for auto-gain and auto-exposure, and if either is on, I ping the camera for the current value
an update the value in the parameter library and run callParamCallbacks.
Would this be a "best practices" solution, or is there a better way to do this? I was thinking maybe something could be
done with EPICS record SCAN fields, or maybe the readInt32 method.
Thanks,
Jakub
|