EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Outputting a constant value
From: Tim Mooney <[email protected]>
To: David Dudley <[email protected]>
Cc: [email protected]
Date: Wed, 04 Apr 2007 10:28:55 -0500


David Dudley wrote:

Unfortunately, that didn't work.
In vdct, I can set the .VAL field to 1, but when I load the db, the VAL
field is 0.  Setting DOL to 1 causes it to have a 'CONSTANT 1' value
when you do a 'dbpr' on the field, and I have OMSL set to 'closed-loop',
however the .VAL field remains at 0.  If I do a forward link to the
block, it outputs a zero, and the .VAL remains 0.  If a do a 'dbpf' to
set the value to 1, it then works fine.  What I did as a patch around
the questionable action was to use a BI block with its DTYPE set to
'Soft Channel' and an INP of '1' that is linked to the BO, but seems
like a round-about way of doing such a simple thing.

Something similar happened to me just now. I set VAL to 1 in vdct, using the Inspector window, but did not hit return, and then immediately saved the database. I could close the Inspector window and reopen it, and see that VAL==1 definition, and I could switch from one record to another, and still see it, but the VAL==1 definition did not get written to the database file.

However, if I hit return, in the Inspector window, and then saved the
database, the VAL definition did get written to the database file.

When I did get the VAL definition into the database, I saw it with dbpr.

I'm using a soft BO, by the way.

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

References:
RE: Outputting a constant value David Dudley

Navigate by Date:
Prev: Re: Outputting a constant value Ned D. Arnold
Next: Re: Outputting a constant value David Dudley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Outputting a constant value Ned D. Arnold
Next: Re: Outputting a constant value David Dudley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·