g+
g+ Communities
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  2011  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: Re: How to get a list of all available PVs
From: Carlos Pascual <cpascual@cells.es>
To: tech-talk@aps.anl.gov
Date: Wed, 19 Dec 2012 11:21:07 +0100
First of all, thanks to all for the many tips and pointers. I have a much 
clearer vision now. And sorry for the silence (I was out of office yesterday) .

So summarizing the info in this thread:

If I want to provide a Taurus "model chooser"[1] for Epics similar to what we 
have for Tango, I probably need to create a plugable mechanism to abstract the 
source of information about available records and/or PVs, since I cannot hope 
for a standard source. Some plugins that could be written are:

a) a plugin that relies on ChannelFinder [2]. ChannelFinder appears to be in 
use by many. In this case it is up to each facility to keep the DB updated 
with the PV names that they consider relevant

b) a plugin combining a beacon-based detection of active IOCs with a query to 
those IOCs using the pvListServer [3]. In this case it is up to each facility 
to run the pvListServer in all the IOCs that they consider relevant.

c) a dummy plugin allowing to provide a file-based list of names. How this list 
is created is left up to the facility. 


That said, having this info available is convenient but not mandatory for 
using taurus. For example, in its current status it is possible to display PVs 
in a TaurusForm widget by executing, e.g.:
$> taurusform epics://some_pv_name

You are more than welcome to try it out, but please remember that epics 
support is just a proof-of-concept for the moment. For starters, Taurus won't 
start if Tango is not installed. We are working in making this dependency 
optional, but it will take some time. On the bright side, however, Taurus and 
Tango are now part of the official repositories of Debian Wheezy and Ubuntu 
12.10, so installing taurus with all its dependencies can be done with just: 
$> sudo apt-get install python-taurus
Of course, for testing the epics support, you need to install also the latest 
svn version of taurus[4] and use it instead of the one installed from the 
repositories.


References:
[1] http://www.tango-
controls.org/static/taurus/latest/doc/html/users/ui/modelchooser.htm
[2] http://channelfinder.sourceforge.net/
[3] http://ics-
web4.sns.ornl.gov/pvlistserver/log/show.php?mon=Apr&theDay=30&year=2004
[4]http://www.tango-
controls.org/static/taurus/latest/doc/html/users/getting_started.html#working-
from-svn



-- 
+----------------------------------------------------+
 Carlos Pascual Izarra
 Scientific Software Coordinator
 Computing Division
 Cells / Alba Synchrotron  [http:/www.cells.es]
 Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3
 E-08290 Cerdanyola del Valles (Barcelona), Spain
 E-mail: cpascual@cells.es
 Phone: +34 93 592 4428
+----------------------------------------------------+

References:
How to get a list of all available PVs Carlos Pascual

Navigate by Date:
Prev: EPICS Base R3.14.12.3 now available Andrew Johnson
Next: Re: How to get a list of all available PVs Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: RE: How to get a list of all available PVs Mark Rivers
Next: Re: How to get a list of all available PVs luedeke
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·