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

Subject: [AsynDriver] getAddress and callbacks
From: Joao Afonso via Tech-talk <[email protected]>
To: Mark Rivers <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 14 Jun 2019 16:51:10 +0000
Hello Mark,

Sorry to bother you, I have a question regarding the usage of this function:

I have a use case where it is useful to override asynPortDriver::getAddress() to get a custom reason and address.
These values are chosen previously by drvUserCreate(), and stored in pasynUser->drvUser and pasynUser->reason.

This seems to work well for gets and puts, but not when a callback for for a "I/O Intr" record is executed.

In those cases, the IOC will get the address from "pasynManager->getAddr()", and not from getAddress(), which breaks the program.
(for ex. in paramList::octetCallback())

Is there a way to make the callbacks also use the custom asynPortDriver::getAddress() value?

Thank you in advance,
Joao

Replies:
RE: [AsynDriver] getAddress and callbacks Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re:Re: .opi from CSS to Phoebus Hasbroucq Dorian via Tech-talk
Next: RE: [AsynDriver] getAddress and callbacks 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: updated download link for rsync-dist (from talk at EPICS Meeting 2019) J. Lewis Muir via Tech-talk
Next: RE: [AsynDriver] getAddress and callbacks 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  <20192020  2021  2022  2023  2024 
ANJ, 14 Jun 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·