Kay-Uwe Kasemir wrote:
>
> First the part that got me confused and I know from emails that I'm not the only one:
> lopr, hopr, hihi, ... are epics record fields.
> CA talks about display limits, alarm limits, ...
> That's different.
>
> When you ask an ai record fred for "fred",
> the value is the VAL field, display limits are HOPR, LOPR,
> alarm limits are HIHI, LOLO, warnings are HIGH, LOW, ...
> So for ai, the "upper display limit" is the HOPR field?
> Yes for the VAL fiels, No for the HHSV fields:
> It's enumerated, ai.HHSV has values NO_ALARM, MINOR, MAJOR, INVALID
> and display limits could be NO_ALARSM and INVALID.
> I don't know what record fields are used for display limits etc.
> when you attach a channel to e.g. the HIHI field,
> you want e.g. control limits that allow for putting up
> a slider that's useful for adjusting the HIHI field.
> Read the record ref manual of the EPICS base sources
> if you have to know what e.g. the high/low display limits
> are for each field.
It also depends on the request type. If the request's base type is
DBR_ENUM (and this is the default "native" type for DBF_MENU fields like
HHSV), there is no such attribute "display limits" or "alarm limits" for
the corresponding _GR_ and _CTRL_ requests. So the questions appears
only if the value is requested as e.g. DBR_GR_LONG and a reasonable
choice for e.g. HHSV field would indeed be NO_ALARM as lower and INVALID
as upper limit.
Unfortunately, the EPICS runtime database does not do so. Instead, these
attributes field are set to 0 in case of a menu field.
Ben
--
Berliner Elektronenspeicherring-Gesellschaft für Synchrotronstrahlung
(BESSY) GmbH, Control System Group
Albert-Einstein-Straße 15, 12489 Berlin, +4930 6392 8462, www.bessy.de
- Replies:
- Re: portable ca server Kay-Uwe Kasemir
- References:
- Re: portable ca server Kay-Uwe Kasemir
- Navigate by Date:
- Prev:
Re: portable ca server Kay-Uwe Kasemir
- Next:
Re: portable ca server Kay-Uwe Kasemir
- 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: portable ca server Kay-Uwe Kasemir
- Next:
Re: portable ca server Kay-Uwe Kasemir
- 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
|