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
<2003>
2004
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
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|