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: Maren Purves <[email protected]>
To: "Kasemir, Kay" <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Wed, 01 Dec 2010 10:58:03 -1000
Kasemir, Kay wrote:
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?

The idea is/was there as well as the implementation.


We still use edd/dm at UKIRT and we have one channel
that currently displays 4.60e-6 (millibar pressure).
As we know that we always want to display the vacuum
in exponential notation. It's a 'text update' and it
has 'format="decimal- exponential notation"' - using
single quotes here to distinguish from the double quotes
in the format.

HTH,
Maren

Replies:
Re: CSS/Trend and small numbers Kasemir, Kay
References:
Re: CSS/Trend and small numbers Kasemir, Kay

Navigate by Date:
Prev: Re: How to use BOY/OPI to produce standalone simple displays Kasemir, Kay
Next: Re: CSS/Trend and small numbers Kasemir, Kay
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: Re: CSS/Trend and small numbers Kasemir, Kay
Next: Re: CSS/Trend and small numbers Kasemir, Kay
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 ·