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  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 
<== Date ==> <== Thread ==>

Subject: RE: portable channel access server
From: "Jeff Hill" <johill@lanl.gov>
To: <sinclair@mail.phy.ornl.gov>, <tech-talk@aps.anl.gov>
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:sinclair@mail.phy.ornl.gov]
> Sent: Thursday, April 24, 2003 11:40 AM
> To: tech-talk@aps.anl.gov
> 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
> sinclair@mail.phy.ornl.gov
> 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 
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 
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 ·