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  <20162017  2018  2019  2020  2021  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Indices returned by asynPortDriver::createParam
From: Mark Rivers <[email protected]>
To: "'Phil Atkin'" <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 13 Jan 2016 16:28:24 +0000

Hi Phil,

 

createParam is documented here:

 

http://www.aps.anl.gov/epics/modules/soft/asyn/R4-28/asynDoxygenHTML/classasyn_port_driver.html#a18575123378b3bc7f749535ccd7aa8d9

 

createParam is in fact a public member of the asynPortDriver base class.

 

However, that documentation does not answer your question.  The answer is yes, the indices returned by createParam will be sequential and it is safe to assume that behavior.

 

Mark

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of Phil Atkin
Sent: Wednesday, January 13, 2016 8:51 AM
To: [email protected]
Subject: Indices returned by asynPortDriver::createParam

 

Hi all,

There seems to be an implicit assumption (at least in the areaDetector drivers I've looked at) that the indices returned by calls to createParam will be sequential.  (To test whether a parameter 'belongs' to a driver, its index is tested to see if it lies in the range [index returned by first call, index returned by final call] inclusive.

createParam is not documented as far as I can tell ("it's not a public member of the class"), so is it safe to assume this behaviour?

Thanks

Phil

--
Pixel Analytics is a limited company registered in England. Company number: 7747526; Registered office: 93A New Road, Haslingfield, Cambridge CB23 1LP


References:
Indices returned by asynPortDriver::createParam Phil Atkin

Navigate by Date:
Prev: RE: RGA MKS Microvision 2 Mark Rivers
Next: RE: RGA MKS Microvision 2 Heesterman, Peter J
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Indices returned by asynPortDriver::createParam Phil Atkin
Next: RGA MKS Microvision 2 rory.clarke
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·