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

Subject: Polling CA client library in nonpreemptive mode at less than 10 Hz
From: "J. Lewis Muir" <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Fri, 07 Nov 2014 11:46:02 -0600
Dear Tech-Talkers,

What is the consequence of polling the CA client library at a rate
slower than 10 Hz when in nonpreemptive mode?

The "EPICS Channel Access Reference Manual" says in the section "Polling
the CA Client Library From Single Threaded Applications" the following:

  "If preemptive call back is not enabled, then for proper operation
   CA must periodically be polled to take care of background
   activity. This requires that your application must either wait
   in one of ca_pend_event(), ca_pend_io(), or ca_sg_block()
   or alternatively it must call ca_poll() at least every 100
   milli-seconds." [1]

It's one thing to try for this minimum poll rate but quite a different
thing to guarantee it.

Thank you!

Lewis

[1] http://www.aps.anl.gov/epics/base/R3-14/12-docs/CAref.html#Polling

Replies:
Re: Polling CA client library in nonpreemptive mode at less than 10 Hz Andrew Johnson

Navigate by Date:
Prev: Re: Problems with Dynamic Array population Brown, David L.
Next: Re: Permissible in C to call CA I/O functions from callback? Andrew Johnson
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  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Asyn and stringin records Mark Rivers
Next: Re: Polling CA client library in nonpreemptive mode at less than 10 Hz Andrew Johnson
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  2020  2021  2022  2023  2024 
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 ·