g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  Index 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: A question about how to send message in the callback function
From: 赵欢 <zhaohuan@sinap.ac.cn>
To: <core-talk@aps.anl.gov>
Date: Mon, 27 Mar 2006 11:52:21 +0800
 Dear everybody:
 
     I am a novice to EPICS. I want to develop a simple
 application which will have functions of put,get and monitor channels in
 IOC. I have installed  EPICS Base R3.14.5 in a PC/Windows .
 
Now, I face a puzzle.  I cteate a auxiliary thread. And in the auxiliary thread, I do an operation of create a 
monitor(ca_create_subscription). Then in the monitor’s callback faction, I make an operation of sendmessage. The problem 
is coming. The runing programe is dead at the sendmessage step.
    
    If somebody have the experience,  tell me what is wrong in my application, and how can I resolve it.
  Thanks
 
  ZHAO HUAN
 Shanghai Institute of Applied Physics
 Chinese Academy of Sciences
 P. O. Box 800-204, Shanghai 201800, P. R. China
 Tel: +86-21-59553146

 


Replies:
RE: A question about how to send message in the callback function Jeff Hill
RE: A question about how to send message in the callback function Jeff Hill

Navigate by Date:
Prev: Re: (A)synchronous dbGetLink Benjamin Franksen
Next: RE: A question about how to send message in the callback function Jeff Hill
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
Navigate by Thread:
Prev: More on the evils of referencing: Iterators verses Callbacks Jeff Hill
Next: RE: A question about how to send message in the callback function Jeff Hill
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·