Hi:
On 12/1/10 15:58 , "Maren Purves" <[email protected]> wrote:
>> 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
>> 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.
In a "text update" widget in CSS BOY you can of course do the same thing:
Format = Decimal, Exponential, Hex, ...
In that tool, you can even run the values through a 'rule' or Java script to
format it any way you want:
value < 0: -> "Bad negative value"
value between 0... 1: -> Use exponential notation
value > 1: -> Use decimal notation
The original question was related to the Data Browser, think Strip Tool.
Does every place in every tool that displays control system numbers have to
include a preference GUI where you can configure the various ways to format
numbers?
-Kay
- References:
- Re: CSS/Trend and small numbers Maren Purves
- Navigate by Date:
- Prev:
Re: CSS/Trend and small numbers Maren Purves
- Next:
Re: RE: Build EPICS Base3.14.9 on Windows åçä
- 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: CSS/Trend and small numbers Maren Purves
- Next:
question about aSubRecord wantianmin
- 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
|