On Thursday 24 July 2014 11:15:56 Dirk Zimoch wrote:
> 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!
Strange. Not intuitive to me. And contrary to the docs. This is from the
RRM (https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14_Analog_Output#Desired_Output_Parameters):
"""
The VAL field's value is forced to be within the limits specified in the
fields DRVH and DRVL, which are configured by the designer:
DRVL<=VAL<=DRVH
Note: If nothing is entered for DRVH and DRVL, the output value will
never change.
"""
Cheers
Ben
--
"Make it so they have to reboot after every typo." â Scott Adams
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
- Replies:
- Re: EPICS alarming on VAL != X Andrew Johnson
- References:
- EPICS alarming on VAL != X Jameson Graef Rollins
- Re: EPICS alarming on VAL != X Benjamin Franksen
- Re: EPICS alarming on VAL != X Dirk Zimoch
- Navigate by Date:
- Prev:
Re: Formatting StreamDevice input Dirk Zimoch
- Next:
[no subject] Tim Waclawski
- 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 Dirk Zimoch
- Next:
Re: EPICS alarming on VAL != X Andrew Johnson
- 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
|