His record is processing at 10Hz so it takes effect in 100 ms without FLNK.
Mark
Sent from my iPhone
On Mar 15, 2018, at 10:31 AM, Southern, Tim <[email protected]<mailto:[email protected]>> wrote:
SMOO does not update record when it changes, correct? Wouldn't you need to add a FLINK in the ao record to make this work?
record(ao, "$(dev):sm") {
field(DESC, "Smoothing")
field(OUT, "$(dev):rawval.SMOO")
field(FLNK, "$(dev):rawval")
}
- Tim
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]> [mailto:[email protected]] On Behalf Of Amien Crombie
Sent: Thursday, March 15, 2018 6:18 AM
To: EPICS Tech-Talk <[email protected]<mailto:[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
- References:
- SMOO expects constant Amien Crombie
- RE: SMOO expects constant Mark Rivers
- Re: SMOO expects constant Southern, Tim
- Navigate by Date:
- Prev:
Re: SMOO expects constant Southern, Tim
- Next:
Asyn - max addresses per port Amien Crombie
- 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
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: SMOO expects constant Southern, Tim
- 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
<2018>
2019
2020
2021
2022
2023
2024
|