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

Subject: Re: read value from ai record to Device support
From: Xiaoxu Ren <[email protected]>
To: ishita bhatia <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Tue, 1 Mar 2016 14:48:19 +0000

I think in the dbGet(), pointer to the t variable is needed ( &t ), instead of converting t to a pointer.

 

>> dbGet(paddr,DBR_FLOAT,(void *)t,0,1,NULL);

 

Eric


On 1 March 2016 at 10:07, ishita bhatia <[email protected]> wrote:
Hello,
I am trying to read value in ai record but following code attached herewith generates Segmentation Fault ( core dumbed) error on running ioc. I am attaching c file for consideration.
Please guide.

Thanks and Regards,
Ishita Bhatia


References:
read value from ai record to Device support ishita bhatia

Navigate by Date:
Prev: RE: read value from ai record to Device support Mark Rivers
Next: XPS Q8 issue with indexHomeSearch sequence Russ Berg
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: read value from ai record to Device support Mark Rivers
Next: Re: read value from ai record to Device support Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·