On 21.07.2014 12:41, Benjamin Franksen wrote:
Why don't you just set DRVL=DRVH=<the desired value>.
/* check drive limits */
if (prec->drvh > prec->drvl) {
if (value > prec->drvh)
value = prec->drvh;
else if (value < prec->drvl)
value = prec->drvl;
}
DRVL=DRVH => no check at all!
Dirk
- Replies:
- Re: EPICS alarming on VAL != X Benjamin Franksen
- References:
- EPICS alarming on VAL != X Jameson Graef Rollins
- Re: EPICS alarming on VAL != X Johnson, Andrew N.
- Re: EPICS alarming on VAL != X Jameson Graef Rollins
- Re: EPICS alarming on VAL != X Benjamin Franksen
- Navigate by Date:
- Prev:
Re: EPICS alarming on VAL != X J. Lewis Muir
- Next:
Re: StreamDevice, asynDriver or some other solution? Dirk Zimoch
- 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: EPICS alarming on VAL != X J. Lewis Muir
- Next:
Re: EPICS alarming on VAL != X Benjamin Franksen
- 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
|