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  <20182019  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  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Asyn getting DTYP field in drvUserCreate()
From: Mark Rivers <[email protected]>
To: "'Konrad, Martin'" <[email protected]>, EPICS Tech Talk <[email protected]>
Date: Mon, 19 Mar 2018 22:11:21 +0000
Hi Konrad,

I can't think of a way for the driver to know the value of DTYP.  Of course you specify both the drvUser string and the datatype when you call createParam() so your driver knows the datatype that a particular drvUser string will be using.  Why do you need to know the DTYP?

Mark


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of Konrad, Martin
> Sent: Monday, March 19, 2018 8:39 AM
> To: EPICS Tech Talk <[email protected]>
> Subject: Asyn getting DTYP field in drvUserCreate()
> 
> Hi,
> I'm wondering if there is a way I can get access to the DTYP field of
> the record from asynPortDriver's drvUserCreate method.
> 
> Once createParam() has been called in drvUserCreate() I can get the type
> by calling getParamType() but how do I get access to this information in
> drvUserCreate()?
> 
> It seems like other drivers are duplicating this information into the
> INP/OUT field (see e.g. [1]). I'm wondering if there is a more elegant
> way to do this.
> 
> Thanks a lot,
> 
> Martin
> 
> [1]
> http://controls.diamond.ac.uk/downloads/support/aravisGigE/0-3-
> 5dls5/documentation/doxygen/aravisCamera_8cpp_source.html#l00326
> 
> --
> Martin Konrad
> High Performance Controls Team Leader
> Facility for Rare Isotope Beams
> Michigan State University
> 640 South Shaw Lane
> East Lansing, MI 48824-1321, USA
> Tel. 517-908-7253
> Email: [email protected]

Replies:
Re: Asyn getting DTYP field in drvUserCreate() Mark Davis
References:
Asyn getting DTYP field in drvUserCreate() Konrad, Martin

Navigate by Date:
Prev: Re: SubArray to ai record Andrew Johnson
Next: Re: Asyn getting DTYP field in drvUserCreate() Mark Davis
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Asyn getting DTYP field in drvUserCreate() Konrad, Martin
Next: Re: Asyn getting DTYP field in drvUserCreate() Mark Davis
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 20 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·