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  <20142015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: how can I caget a PV's Value in the callback function of the caClient?
From: ahwwq@mail.ustc.edu.cn
To: tech-talk <tech-talk@aps.anl.gov>
Date: Mon, 26 May 2014 21:28:51 +0800 (CST)
Hello,every one!

I want to monitor a IOC when to start? So I create a channel callback wait for the state of channel turning to cs_conn. When it's cs_conn, I want to get a PV's Value using ca_array_get function. But I always get an error. So I try to create a pthread to do the caget, but I still get the error? So how can I caget a PV's value in the callback function of the caClient?




----
ahwwq(Michael)
Electrnomical Physics, USTC
TEL:13739260018


Navigate by Date:
Prev: make extensions error GUO Zhiying
Next: RE: how to know which PVs write to a PV Hu, Yong
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: make extensions error Hinko Kocevar
Next: Job opportunities at ESS Timo Korhonen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·