EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: A general question about convert e.g. in longout record drvh, drvl handling
From: Ben Franksen via Core-talk <core-talk at aps.anl.gov>
Cc: "'core-talk at aps.anl.gov'" <core-talk at aps.anl.gov>
Date: Fri, 29 Jan 2021 15:57:06 +0100
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.

Cheers
Ben


Attachment: signature.asc
Description: OpenPGP digital signature


Replies:
Re: A general question about convert e.g. in longout record drvh, drvl handling Ralph Lange 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

Navigate by Date:
Prev: [Bug 1913699] Re: vxWorks compilation fails with undeclared function Dirk Zimoch via Core-talk
Next: Re: A general question about convert e.g. in longout record drvh, drvl handling Ralph Lange via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: AW: A general question about convert e.g. in longout record drvh, drvl handling Zimoch Dirk (PSI) via Core-talk
Next: Re: A general question about convert e.g. in longout record drvh, drvl handling Ralph Lange via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 29 Jan 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·