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  <20082009  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  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: USE of CA lib: problem using ca_array_put_callback with strings
From: haquin <[email protected]>
To: [email protected]
Date: Fri, 14 Nov 2008 15:01:43 +0100
Hi all,
I have some problems with the Channel Access library use,
more precisely the use of /*ca_array_put_callback*/ with STRINGS !

We are using a peace of exemple C code, picked-up at : *http://lansce.lanl.gov/EPICSdata/ca/client*, that uses this CA API.
We have some problems with the ca_array_put_callback when we want to write strings.


We use this code to put a string in the DESC field of a record,
The problem is that only the first caracter of the string is written to the PV,
The callback is called, everything seem to bee correct except that there is only the first caracter in the destination.


The /*ca_array_put_callback*/ works fine with other type of data
The /*ca_array_put*/ works fine with all type of data

we use the 3.14.9 release.

Thanx for your help.


begin:vcard
fn:Christophe Haquin
n:Haquin;Christophe
email;internet:[email protected]
tel;work:02 31 45 46 61
x-mozilla-html:FALSE
version:2.1
end:vcard


Replies:
Re: USE of CA lib: problem using ca_array_put_callback with strings Andrew Johnson

Navigate by Date:
Prev: Re: Re: question about ca gateway, 万天敏
Next: Re: USE of CA lib: problem using ca_array_put_callback with strings Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: WireSet missing with 3.14.10 Dehong Zhang
Next: Re: USE of CA lib: problem using ca_array_put_callback with strings Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  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 ·