EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: CSS/Trend and small numbers
From: "Kasemir, Kay" <[email protected]>
To: John Dobbins <[email protected]>, EPICS Tech Talk <[email protected]>
Date: Wed, 01 Dec 2010 13:11:15 -0500
Hi:

On 12/1/10 11:58 , "John Dobbins" <[email protected]> wrote:
> If I use the Data Browser -> Inspect Samples feature I see that for
> small values (e.g. 1e-9) the value is displayed as 0.00
.. because it's using the precision that was sent with the data when it has
to format the number as text.

EPICS/Channel Access just provides a precision number, no hint like
'use decimal' or 'use exponential notation', so it's always decimal.

> The same issue applies to annotations added to plots.
Right.

> Is there a way to fix this?
I don't know. Maybe somebody has a good idea?

Fix EPICS/Channel Access so that it provides more formatting detail?
Ignore the 'precision', because nobody ever configures the EPICS record PREC
fields anyway? But then how do you know what format to use?
Add a bunch of additional formatting options to the annotations, sample
inspector, ...? What should that look like to be convenient to use?
Several GUI elements like a "Format" drop-down, a "precision" field, a "with
units?" check box, a "with alarm state?" check box?
Or a format string that can handle all that, something like "##.###e###
{units}" that yet needs to be invented?

For now it's using the precision in a decimal format because that was most
straight forward to implement.

Thanks,
-Kay



Replies:
Re: CSS/Trend and small numbers Maren Purves
References:
CSS/Trend and small numbers John Dobbins

Navigate by Date:
Prev: CSS/Trend and small numbers John Dobbins
Next: Re: EPID Capfast symbol Russell Kackley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CSS/Trend and small numbers John Dobbins
Next: Re: CSS/Trend and small numbers Maren Purves
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 01 Dec 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·