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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Process 'bo' on write?
From: Tim Mooney <[email protected]>
To: David Dudley <[email protected]>
Cc: [email protected]
Date: Mon, 06 Oct 2008 08:49:19 -0500
David,  Do you really want the record to refrain from processing,
or is it sufficient that it refrain from writing to hardware?
If you just want the record to write only *changes* to hardware,
you can do this in device support.  If you want it to not process,
then I'm pretty sure no record can do this without outside help.
If a record were to decide whether or not to process based on the
value written to it, putNotify would not work for that record.
(I know because I wrote a record that did this, and decided to
abandon the tactic when putNotify was developed.)

I would use a calcout record to write to the output record, and
set the calcout record's OOPT field to "On Change".


David Dudley wrote:
Is there a way for me to set a bo (or ao) record so that it only
processes when it's value is changed?

I've got a number of those records that I only need written to the PLC
when the value is changed.

David

-- Tim Mooney ([email protected]) (630)252-5417 Beamline Controls & Data Acquisition Group Advanced Photon Source, Argonne National Lab.

Replies:
Re: Process 'bo' on write? David Dudley
References:
Process 'bo' on write? David Dudley

Navigate by Date:
Prev: Re: Process 'bo' on write? Eric Norum
Next: Re: Process 'bo' on write? David Dudley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Process 'bo' on write? Eric Norum
Next: Re: Process 'bo' on write? David Dudley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·