Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: Record support question
From: Tim Mooney <mooney@aps.anl.gov>
To: tech-talk@aps.anl.gov, Jennifer.Dunn@hia.nrc.ca
Date: Fri, 26 Feb 1999 13:05:43 -0600 (CST)
re...

> I am creating a custom record, and have defined a field in the record to
> have special processing at run time (special = SPC_MOD) and have the pp_value
> set to YES (a passive record should be processed when Channel Access writes
> to this field).
>....  Sometimes I
> see that special is called and then some time later - much later -
> the process gets called by "scanOnce".
>...
> So, sequence of events is:
> 
> -start watchdog timer at time <72103>
> -value written to SPC_MOD field <73003> in an interrupt routine from a different
> record.

You don't want to do this.  If you call dbPutField (for a process-passive field)
from an interrupt routine, the record will get processed at interrupt level.
You shouldn't do anything at interrupt level that you can avoid doing there.

Tim Mooney (mooney@aps.anl.gov) (630)252-5417
Beamline Controls & Data Acquisition Group
Advanced Photon Source, Argonne National Lab


Navigate by Date:
Prev: Re: Record support question Marty Kraimer
Next: ASLO initial values Rozelle Wright
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: Record support question Benjamin Franksen
Next: atdb - dct (KP_R? keys) Matthieu Bec
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·