EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Writing to PVs
From: Kay-Uwe Kasemir <[email protected]>
To: tech talk <[email protected]>
Date: Mon, 21 Nov 2005 09:15:17 -0500
Hi:


Xu HuiJuan wrote:
connect_args.chid->puser=pCurrent; using undefined type“oldChannelNotify”
The channel identifier (chid) follows the basics
of information hiding, you cannot directly access
any member elements.
Use the accessors ca_puser, ca_set_puser, ....

pCurrent=ca_puser(connect_args.chid); can't convert“void *”to“Channel *”

pCurrent->chan=ca_puser(connect_args.chid); can't convert“void *” to“chid”
I wonder how to solve it.
The ca_*puser accessors naturally deal with generic (void *),
so you might have to cast to/from (Channel *) or whatever custom type
you plan to park in the user pointer.

HTH,
-Kay



Replies:
Re: Writing to PVs Benjamin Franksen
References:
RE: Writing to PVs Liyu, Andrei

Navigate by Date:
Prev: CA information on IOC? Bernd Schoeneburg
Next: Re: CA information on IOC? Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Writing to PVs Liyu, Andrei
Next: Re: Writing to PVs Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·