Hello Götz,
On 04/11/2014 13:32, Goetz Pfeiffer wrote:
another problem is that DRVL and DRVH seem to be ignored for NaN.
The following record;
record(ao,"UE56ID3R:BaseParGapTrs") {
field(ASG,"USERCTL")
field(DRVH,"0.1")
field(DRVL,"0")
field(LINR,"NO CONVERSION")
field(OIF,"Full")
field(PREC,"4")
}
for example can be set to NaN (at least for Epics Base 3.14.8).
Comparisons between numbers and non-numbers (such as NaN) are undefined.
What is your suggestion on how to check limits for a non-number without
using comparisons?
We also found that you can type "NaN" at any entry field in DM2K which
writes NaN directly to the PV.
NaN, -inf and +inf are valid values for a double. Why would you reject
entering valid values in entry fields?
Cheers,
~Ralph
- Replies:
- Re: NaN and analog records Goetz Pfeiffer
- Re: NaN and analog records Benjamin Franksen
- RE: NaN and analog records michael.abbott
- References:
- NaN and analog records Benjamin Franksen
- Re: NaN and analog records Goetz Pfeiffer
- Navigate by Date:
- Prev:
Re: NaN and analog records Goetz Pfeiffer
- Next:
Re: compiling issues during building cothread 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
- Navigate by Thread:
- Prev:
Re: NaN and analog records Goetz Pfeiffer
- Next:
Re: NaN and analog records Goetz Pfeiffer
- 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
|