EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  <20002001  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  1998  1999  <20002001  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: Re: support for output records
From: Marty Kraimer <[email protected]>
To: [email protected]
Date: Tue, 08 Feb 2000 09:47:19 -0600
Benjamin said.

> >I'd like to know if it is the general opinion that an output record that
> >has been processed is defined (i.e. UDF==FALSE), even when
> >- no value has been put into VAL,
> >- DOL is undefined, and
> >- no readback was done by the device support.

Bob Said.

> If PINI is set to Yes and the record gives it nothing to do -
> that is to say:
>         DOL is undefined
>         Nothing has been put into VAL
>         There is no device support from which to read the new value
> Then the initialization is done and it should not be UDF
> 
>         Bob


This was all started by a message from Stephanie.

I think that Benjamin has asked the important question. I think the answer
should be yes.

I looked at

aoRecord.c
borecord.c
mbboRecord.c

In my mind non of them satisfy Benjamin's criteria and each has different ways
of handling udf.

I think the following should be done for ALL output records

Leave udf TRUE until one of the following occur
 
   a) recGblInitConstantLink finds a non null constant value.
   b) The device support init_record routine returns a 0.
   c) omsl == CLOSED_LOOP and dbGetLink successfully returns.
   d) special detects that a write to field VAL was performed.

NOTE: Currently none of the above record types perform step d)

I think this would satisfy Benjamin's criteria and also solve the problem
Stephanie presented.

Comments?

Marty Kraimer


Navigate by Date:
Prev: training Bob Dalesio
Next: DeviceNet driver Ron Battle
Index: 1994  1995  1996  1997  1998  1999  <20002001  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: training Bob Dalesio
Next: DeviceNet driver Ron Battle
Index: 1994  1995  1996  1997  1998  1999  <20002001  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 ·