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  2008  2009  2010  2011  <20122013  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  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: DB Question
From: "Szalata, Zenon M." <[email protected]>
To: "[email protected]" <[email protected]>
Date: Fri, 16 Nov 2012 08:32:26 -0800

Hi,

I am a bit confused by the following behavior.

I am using EPICS R3.14.12.2 and asyn R4.20.

I have a simple longout record:

 

record( longout, "$(P):$(N):LO:BTOI:NCOEF"){

  field( DESC, "N Coefs:")

  field( DTYP, "asynInt32")

  field( OUT,  "@asyn($(PORT),$(N),1)LO_NCOEF")

 field( VAL,  "2")

  field( PINI, "1")

}

 

After this record is done initializing, caget on it gives me 0.

 

I have introduced another record as follows:

 

record( longout, "$(P):$(N):LO:NCOEF"){

  field( DESC, "N Coefs:")

  field( VAL,  "2")

  field( OUT,  "$(P):$(N):LO:BTOI:NCOEF PP")

  field( PINI, "1")

}

record( longout, "$(P):$(N):LO:BTOI:NCOEF"){

  field( DESC, "N Coefs:")

  field( DTYP, "asynInt32")

  field( OUT,  "@asyn($(PORT),$(N),1)LO_NCOEF")

# field( VAL,  "2")

#  field( PINI, "1")

}

 

With these two records the second one now has the correct value.

Why does the single record solution lose its VAL value?

 

Thanks in advance,

Zen


Replies:
RE: DB Question Mark Rivers

Navigate by Date:
Prev: Re: Long string support in CA clients and device support Andrew Johnson
Next: RE: DB Question Mark Rivers
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  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: streamDevice Exception Handler Question Dirk Zimoch
Next: RE: DB Question Mark Rivers
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  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·