Experimental Physics and Industrial Control System
|
Hi
I have the following records and the 'calcout' OUT field causes the
IOC to fail
record(ao,"$(harp):range") {
field(DTYP, "asynInt32")
field(OUT, "@asyn(int32 $(mux))")
field(FLNK, "$(harp):checkrange")
}
record(ai, "$(harp):trigger") {
field(DTYP, "Soft Channel")
field(SCAN, "Passive")
field(FLNK, "$(harp):checktrig")
}
record(fanout, "$(harp):checktrig") {
#field(SCAN, "Passive")
field(LNK1, "$(harp):triggerOFF PP")
field(LNK2, "$(harp):triggerON PP")
field(SELL, "$(harp):trigger")
field(SELM, "Specified")
}
#####################################################################
record(calcout, "$(harp):triggerOFF") {
field(SCAN, "1 second")
field(DTYP, "Soft Channel")
field(INPA, "$(harp):trigger")
field(INPB, "$(harp):range")
field(OOPT, "On Change")
field(DOPT, "Use CALC")
field(CALC, "(A==0) && (B>10)?(B-10):B")
field(OUT, "$(harp):range PP")
# THIS fails and stops the IOC
}
I can change the 'range' from any client though. It's only when I
try it from within my db file.
Anyone know what I'm doing wrong ?
thanks
Amien
|
- Replies:
- RE: calcout OUT field to ASYN fails... Mark Rivers
- Navigate by Date:
- Prev:
IP521 Feng Laurence
- Next:
EPICS Archive appliance Phillip Sorensen
- 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:
IP521 Feng Laurence
- Next:
RE: calcout OUT field to ASYN fails... Mark Rivers
- 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
|
ANJ, 20 Apr 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|