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: edm meter
From: Wesley Moore <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Mon, 23 Aug 2010 14:58:03 -0400
Didn't think about using a menu-mux. Worked fine. It should be good enough for my purposes. Thanks John.

John William Sinclair wrote:
I believe that the most recent version of EPICS base supports this but edm has not been modified
to take advantage of the new capability. It is difficult to decide where to put the maintenance effort
into edm in that it is mostly obsolete.


You may, however, do the following in the current version of edm:

Suppose you want five ranges.

Create a menu-mux object with "Number of Items" set to 5.
Each item will include a "Tag". This will serve as a visual indication of the
range. It could include words like low,high,etc. or be assigned ranges
like 0-1,0-100,etc. Then, for each range, set symbols and values. These will generate
values for meter attributes which may include the readback pv itself, the scale
precision, min, max, label intervals, majors per label, and minors per major.


Next create the meter using the symbols from above in the meter attribute
definitions. For example, instead of using 100 for the max scale value, you
might use $(scale1Max). The value of scale1Max would come from the symbol/value
you chose in the creation of the menu-mux object.


When the screen executes, you could change the range interactively by clicking on
the menu-mux object or remotely by setting the appropriate value of an associated integer pv
(which would need to be referenced in the creation of the menu-mux object).


John Sinclair

Wesley Moore wrote:
EDM users/knowledgeable,

I like that a meter can use HOPR and LOPR for setting it's scale. Is there a way to update the meter when HOPR/LOPR change without having to reopen the screen? My interest is for a power meter that has different scales so I want the edm meter to update accordingly.
Thanks,
Wesley
begin:vcard
fn:Wesley Moore
n:Moore;Wesley
org:Thomas Jefferson National Accelerator Facility;Free Electron Laser
adr:Suite 19, MS 18;;12000 Jefferson Avenue;Newport News;VA;23606;USA
email;internet:[email protected]
title:FEL Computer Scientist
tel;work:(757) 269-6033
tel;fax:(757) 269-6384
tel;pager:(757) 584-6033
url:http://www.jlab.org/FEL/
version:2.1
end:vcard


References:
edm meter Wesley Moore
Re: edm meter John William Sinclair

Navigate by Date:
Prev: Re: edm meter Till Straumann
Next: Re: edm meter Andrew Johnson
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: edm meter John William Sinclair
Next: GNU make 3.82 problem Allison, Stephanie
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, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·