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  2010  <20112012  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  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CSS Meter display and Progress Bar
From: Ralph Lange <[email protected]>
To: EPICS tech-talk <[email protected]>
Date: Mon, 03 Jan 2011 18:06:19 +0100
Sorry,

I don't have a running installation here (yet!) and was answering from memory and looking at the BOY Trac issues [1].
Rather leave it to the real pros, I guess....

~Ralph

[1] http://sourceforge.net/apps/trac/cs-studio/query?component=BOY


On 03.01.2011 17:54 David Dudley wrote:
Re: CSS Meter display and Progress Bar Ok, Precision has been set to 3 (or 4) from the start.  As far as I can see, there isn’t a “precision from PV”, only a “limits from PV”, which is checked.

For ‘bar’, do you mean “thermometer”?  I see a progress bar, but no “bar” anywhere.  “thermometer” doesn’t seem to do it either, as I don’t see any way to have it display horizontally.

David

On 1/3/11 11:33 AM, "Ralph Lange" <[email protected]> wrote:

  Not a CSS pro, but ....
 
 On 03.01.2011 17:04 David Dudley wrote:
CSS Meter display and Progress Bar 2 questions for a CSS pro somewhere....
 
  
  1. How do I set the precision displayed in a CSS meter?  The meter seems determined to display a reading to 2 digits precision, but I’d like to be able to display more accuracy than that.



 Hm. You should be able to either directly set the precision in the widget's properties view, or switch the widget to "precision from PV", in which case the precision is taken from whatever ChannelAccess returns (which - for analog records - is the value of the PREC field).
 
 

 2. Is it possible to display a progress bar from right to left?  I have 2 valve positions I want to indicate, and they are inverse of each other.  I would like to display them as bars where one grows from left to right, and the other grows from right to left.
 

 Try the bar widget instead. That should have a property to select the direction.
 BOY assumes that progress is irreversible and always goes into the same direction, i.e. forward, aka left-to-right. (I.e. the direction of writing - should that be reversed when switching l10n to east asian or arabic areas?) As we all know, that is not always true - is still seems a reasonable assumption for a display manager.
 
 Cheers,
 Ralph
 
 

David

--
"... The Crossbow Project. There's No Defense Like a Good Offense. " - Real Genius (1985)

Don't think it exists?  Google the Air Force X-37B project.


References:
Re: CSS Meter display and Progress Bar David Dudley

Navigate by Date:
Prev: Re: CSS Meter display and Progress Bar David Dudley
Next: RE: CSS Meter display and Progress Bar Chen, Xihui
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CSS Meter display and Progress Bar David Dudley
Next: RE: CSS Meter display and Progress Bar Chen, Xihui
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·