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

Subject: RE: SMOO expects constant
From: Mark Rivers <[email protected]>
To: 'Amien Crombie' <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Thu, 15 Mar 2018 11:39:28 +0000

Field SMOO is not a link field.  You need to arrange for the sm record to write its value to rawvalue.SMOO.  To do that you need to change it from an ai to an ao record.

 

This should work:

 

   record(ao,            "$(dev):sm")    {
      field(DESC,        "Smoothing")

       field(OUT,         "$(dev):rawval.SMOO")

   }

 

From: [email protected] [mailto:[email protected]] On Behalf Of Amien Crombie
Sent: Thursday, March 15, 2018 6:18 AM
To: EPICS Tech-Talk <[email protected]>
Subject: SMOO expects constant

 

Hi here I have 2 of my database records:

################################################################
1)    record(ai,            "$(dev):sm")    {
2)       field(DESC,        "Smoothing")
3)    }
4)    record(ai,            "$(dev):rawval")        {
5)        field(SCAN,        ".1 second")
6)        field(DTYP,        "asynInt32")          #
7)        field(INP,         "@asyn(int32 $(addr) 100)")                  
8)        field(SMOO,        "$(dev):sm")   
9)        field(FLNK,        "$(dev):coef")   
      }    

################################################################

This fails on

Can't set "bc1:rawval.SMOO" to "bc1:sm"
Error at or before ")" in file "db/newioc8.db" line 8

 

If I put a constant (0 - 1) in line(8) it works

Amien


Replies:
Re: SMOO expects constant Southern, Tim
References:
SMOO expects constant Amien Crombie

Navigate by Date:
Prev: Re: SMOO expects constant bob dalesio
Next: Motor Record not moving distances less than .5 Sobhani, Bayan
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: SMOO expects constant bob dalesio
Next: Re: SMOO expects constant Southern, Tim
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 15 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·