EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: PREC
From: Ralph Lange <[email protected]>
To: Dirk Zimoch <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Fri, 11 Jun 2004 12:59:09 +0200
>>>>> "Dirk" == Dirk Zimoch <[email protected]> writes:

  > I suggest the following:
  > PREC >= 0 means to format the value like printf("%.*f",PREC,VAL);
  > PREC < 0  means to format the value like printf("%.*e",-PREC,VAL);

Interesting idea.

How do you make sure that existing clients do not go beserk when they
get a negative precision value from Channel Access (which they don't
expect)?

  > All tools including caget and camonitor should honor PREC.

Channel Access has the precision as part of the "graphic" structures
that contain things for graphical display clients. Getting the graphic
structure always requires a second CA call, which might be confusing
when you use the command line tools for low level debugging and expect
one caget to issue one CA get call.

But that's only meant as an explanation for the command line tools not
honouring the precision currently. If there's a strong wide interest I
would certainly consider changing the tools. BTW: Being intended for
debugging and on-the-fly use in the first place they also don't honour
display limits nor control limits.

Cheers,
Ralph

Replies:
Re: PREC Dirk Zimoch
References:
PREC Dirk Zimoch

Navigate by Date:
Prev: PREC Dirk Zimoch
Next: Re: PREC Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: PREC Dirk Zimoch
Next: Re: PREC Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·