EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  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  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: portable channel access server
From: "Jeff Hill" <[email protected]>
To: <[email protected]>, <[email protected]>
Date: Thu, 24 Apr 2003 11:45:57 -0600
Hi John,

Use ca_array_get_callback - more info in the CA reference manual.

Jeff

> stat = ca_get_callback( DBR_GR_DOUBLE, pv,
> func, (void *) ptr );

/*
 * ca_array_get_callback()
 *
 * type     R   data type from db_access.h
 * count    R   array element count
 * chan     R   channel identifier  
 * pFunc    R   pointer to call-back function
 * pArg     R   copy of this pointer passed to pFunc
 */
epicsShareFunc int epicsShareAPI ca_array_get_callback
(
     chtype                 type,   
     unsigned long          count,   
     chid                   chanId,
     caEventCallBackFunc *  pFunc,
     void *                 pArg
);



> -----Original Message-----
> From: John Sinclair [mailto:[email protected]]
> Sent: Thursday, April 24, 2003 11:40 AM
> To: [email protected]
> Subject: portable channel access server
> 
> I'm adding array pvs to my portable channel access server.
> CA Array gets and puts work but getcallbacks like the one shown
> below
> don't.
> 
> stat = ca_get_callback( DBR_GR_DOUBLE, pv,
> func, (void *) ptr );
> 
> What must I do to get this to work?
> 
> --
> John Sinclair
> [email protected]
> Oak Ridge National Lab
> 865-576-6362   865-574-1268 (fax)



References:
portable channel access server John Sinclair

Navigate by Date:
Prev: portable channel access server John Sinclair
Next: a question about building AR zhaozhuo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: portable channel access server John Sinclair
Next: a question about building AR zhaozhuo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·