Experimental Physics and Industrial Control System
|
Am 28.01.21 um 14:20 schrieb Zimoch Dirk (PSI) via Core-talk:
> One could of course change the check to if ((prec->drvl !=0 ||
> prec->drvh !=0) && prec->drvh > prec->drvl) But then in ao as well.
>
> It would change traditional behavior (which used to be documented
> wrongly in earlier EPICS releases) and potentially break existing
> IOCs where people use DLRH = DRVL != 0 and expect the limits to be
> ignored. It would also introduce a new "special case" because the
> record can then be fixed to any value except 0. Another option is to
> change the defaults from 0,0 to -verybig,+verybig.
>
> I think a poll would be needed.
-1
This makes a bad situation worse by complicating the rules. The problem
is the use of in-band exceptional values which is bad design and will
invariably hit you back sooner or later. Better fix: add a new field to
select whether to use or ignore DRVH/L.
To keep compatibility, that would have to be a menu AUTO/NO/YES with a default of AUTO.
- Replies:
- Re: A general question about convert e.g. in longout record drvh, drvl handling Johnson, Andrew N. via Core-talk
- References:
- A general question about convert e.g. in longout record drvh, drvl handling Heinz Junkes via Core-talk
- Re: A general question about convert e.g. in longout record drvh, drvl handling Ralph Lange via Core-talk
- Re: A general question about convert e.g. in longout record drvh, drvl handling Heinz Junkes via Core-talk
- AW: A general question about convert e.g. in longout record drvh, drvl handling Zimoch Dirk (PSI) via Core-talk
- Re: A general question about convert e.g. in longout record drvh, drvl handling Ben Franksen via Core-talk
- Navigate by Date:
- Prev:
Re: A general question about convert e.g. in longout record drvh, drvl handling Ben Franksen via Core-talk
- Next:
[Bug 1913699] Re: vxWorks compilation fails with undeclared function Dirk Zimoch via Core-talk
- Index:
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: A general question about convert e.g. in longout record drvh, drvl handling Ben Franksen via Core-talk
- Next:
Re: A general question about convert e.g. in longout record drvh, drvl handling Johnson, Andrew N. via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
|
ANJ, 29 Jan 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|