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: epics dbpf problem
From: Thomas Birke <[email protected]>
To: Shi HaoLi <[email protected]>
Cc: [email protected]
Date: Wed, 15 Oct 2008 14:22:41 +0200
Shi HaoLi wrote:
>      the database record R4IBT04:CISet is like this 
>
> record(ao,"R4IBT04:CISet") { 
> field(DESC, "analog output record") 
> field(SCAN, "Passive") 
> field(OUT, “#C1 S0 @SPT”) 
> field(PINI, "NO") 
> field(PHAS, "0") 
> field(EVNT, "0") 
> field(DTYP, "PSC") 
> ...

Your listing shows the DTYP-line after the OUT-line. If that's exactly,
what your IOC loads, that might be the problem.
Link-fields (so OUT) are parsed depending on the DTYP (still unset when
OUT is set), so the OUT-link might get destroyed when the database is
loaded.

You can confirm this with the dbpr command
Cexp> dbpr("R4IBT04:CISet", 4)

If the OUT-field in the output of this command differs from what is
specified in the db-file, you're done.

Just put the DTYP-line before any of the link-fields (first line after
"record(...) {" is just fine).

Hope it helps,
Thomas

References:
epics dbpf problem Shi HaoLi
RE: epics dbpf problem Williams Jr., Ernest L.
RE: epics dbpf problem Shi HaoLi

Navigate by Date:
Prev: RE: epics dbpf problem Shi HaoLi
Next: Re: EDM xyGraphClass yLabel displaying backwards John Sinclair
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: epics dbpf problem Shi HaoLi
Next: Re: epics dbpf problem Benjamin Franksen
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 ·