EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Re: DCT flag in record reference manual
From: Andrew Johnson <anj@aps.anl.gov>
To: tech-talk@aps.anl.gov, Abadie Lana <Lana.Abadie@iter.org>
Date: Wed, 11 Apr 2012 15:28:00 -0500
Hi Lana,

On 2012-04-11 Lana Abadie wrote:
> 2.TSE field is also marked DCT=no. So again what does it mean? and if it is
>  not advised to use in db file then what is the proper way to implement it?
>  via TSEL field?

Bob Dalesio replied:
> ----I believe that is right.
> Database Configuration Tool (DCT), was the tool for configuring these in
>  the dark ages. Where this field was set to no, it meant that it was not to
>  be configured as the initialization and operation of that record would
>  overwrite the field. Therefore, the value set in by the loaded database
>  would never be used.

Nowadays having DCT=no doesn't really mean much, since we don't have to use 
the dct program any more to create ASCII databases.  You can set fields that 
have DCT=no in your .db files with no ill effect, but an EPICS-aware database 
design tool like VDCT doesn't have to make those fields available to you.  
There should be little need for it to do so though, since the initial values 
of fields marked DCT=no are usually ignored and get overwritten by the record 
support code.

In the particular case of the TSE field though, that should be marked as 
DCT=yes in R3.14.x since it has a promptgroup() setting in the dbCommon.dbd 
file (in 3.13.x it did not).  I'll fix the record reference manual.

- Andrew
-- 
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte

Replies:
RE: DCT flag in record reference manual Abadie Lana
References:
DCT flag in record reference manual Abadie Lana
RE: DCT flag in record reference manual Dalesio, Leo

Navigate by Date:
Prev: RE: DCT flag in record reference manual Dalesio, Leo
Next: Stream Device parsing strings Rod Nussbaumer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: RE: DCT flag in record reference manual Dalesio, Leo
Next: RE: DCT flag in record reference manual Abadie Lana
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020