EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: How to handle adjusting values as they change independent of the driver in an asynPortDriver?
From: "Wlodek, Jakub via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 2 Sep 2020 13:39:02 +0000
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

Replies:
Re: How to handle adjusting values as they change independent of the driver in an asynPortDriver? Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Integration of Elog into Phoebus Florian Feldbauer via Tech-talk
Next: Re: Alarm and logging systems Konrad, Martin via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: RE: dbpf equivalent for V4 records Sandeep Kumar Malu - UKRI STFC via Tech-talk
Next: Re: How to handle adjusting values as they change independent of the driver in an asynPortDriver? Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 03 Sep 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·