EPICS Home

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  2016  2017  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Questions about ca_search and ca_create_channel
From: 김대영 via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Cc: 박상욱/수석/SnE팀 <screenbe at dawonsys.com>, 박진용/책임/CnS팀 <pjy0429 at dawonsys.com>
Date: Thu, 17 Aug 2023 11:18:21 +0900 (KST)

Dear All

First of all, thank you for your help.

I have the following question.

Before calling the iocsh (argv[1]) function that runs the st.cmd file, the ca_search or ca_create_channel function works normal.



However, if a ca_search or ca_create_channel function is called after the iocsh (argv[1]) function is called, 

a Segmentation fault or dbContext preemptive callback problem occurs.

In other words, I made a driver called pv in st.cmd and made a thread on this driver to call ca_search


> I don't know the cause.

Our st.cmd file is as follows.


I would appreciate it if you could solve my curiosity.

Have a good day.

Thank you.

 

 

 

 


Replies:
Re: Questions about ca_search and ca_create_channel Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: Help developing AD plugin Marco A. Barra Montevechi Filho via Tech-talk
Next: Re: Questions about ca_search and ca_create_channel Michael Davidsaver via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: Re: Help developing AD plugin Marco A. Barra Montevechi Filho via Tech-talk
Next: Re: Questions about ca_search and ca_create_channel Michael Davidsaver via Tech-talk
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  <20232024