EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Proposal for change in bo record
From: Benjamin Franksen <[email protected]>
To: b-tech-talk
Date: Tue, 10 Mar 1998 16:17:10 +0100
Hello Marty,

Ralph told me that you accept proposals for changes in record types and
supports until the 20th of March. Here is one:

The bo record has a field HIGH which - if set to a value other than zero
- re-processes the record whenever it has been processed with VAL field
set to one. This is unfortunate in case the bo record does the usual
conversion (zero to zero, non-zero to MASK). What one expects in this
case is - I'd say - that the re-processing with zero happens whenever
the record is processed with a value other than zero.

Concrete: replace the two occurrences of 

        if (pbo->val==1 && wait_time>0) {

with

        if (pbo->val && wait_time>0) {

Another way to achieve the same result - a more radical way - would be
to convert VAL to zero or one _always_ on entry to process() resp. when
VAL is retrieved, independent from any device specific conversion.
Perhaps the most radical solution would be to introduce some DBF_BOOLEAN
data type which is then automatically converted, but this would probably
go a bit too far...

        Ben
-- 
The Notorious Neb Nesknarf
-----------------------------------------------------------------------
BESSY II
Berliner Elektronenspeicherring-                phone: +49 30 6392-4865
Gesellschaft fuer Synchrotronstrahlung            fax: +49 30 6392-4859
Rudower Chaussee 5                         email: [email protected]
D-12489 Berlin                       web: http://www.bessy.de/~franksen
-----------------------------------------------------------------------
HOME: Benjamin Franksen, Fichtestr. 19a, D-10967 Berlin, +49(30)6913756
-----------------------------------------------------------------------

Navigate by Date:
Prev: Collaboration meet APril 29,30, May1 Bob Dalesio
Next: Proposal for boosted Symb device support Benjamin Franksen
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Collaboration meet APril 29,30, May1 Bob Dalesio
Next: Proposal for boosted Symb device support Benjamin Franksen
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·