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

Subject: Re: How to get a list of all available PVs
From: Pavel Maslov <[email protected]>
To: Carlos Pascual <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Mon, 17 Dec 2012 12:49:54 +0400
Hi Carlos, 

on the IOC side issue dbl (in the epics shell):

epics> dbl
And you'll get all the PVs loaded in to EPICS database.

If you want to get a list of PVs on the client side though, then I don't think that can be implemented as easily as I have descibed above.
You can always ssh to the IOC box and either execute st.cmd and use the dbl command, or use procServ to connect to a running IOC. In this case, I suspect the st.cmd file should contain dbl after the iocInit command. As for the latter, I have never used procServ myself. So just guessing.


On Mon, Dec 17, 2012 at 12:38 PM, Carlos Pascual <[email protected]> wrote:
Hi,

Sorry for this newbie question... I come from the Tango community, and I am
quite lost with Epics

I am a developer of Taurus [1], a GUI library initially designed to provide
PyQT GUIs on top of Tango. But our goal is to also support other
communication/control systems such as Epics.

I recently implemented some very basic support for epics in Taurus (just a
proof of concept) using PyEpics, and one of the first questions that I came
across is:

How can I obtain a list of all PVs that are available?

... or even better, can I get a list of all PVs whose name contains a certain
prefix?

The reason I want this is that I want to create a browser/selector of PVs. I
do not care that much if the method is slow (I could live with doing it once
and only manually refreshing the list).
But I need the method to be generic, i.e. it should not assume some non-
standard service (such a site-dependent database) to be available.

Is this possible at all?

Cheers,

[1] http://www.tango-controls.org/static/taurus/latest/doc/html/

--
+----------------------------------------------------+
 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: [email protected]
 Phone: +34 93 592 4428
+----------------------------------------------------+



--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01


Replies:
Re: How to get a list of all available PVs Carlos Pascual
RE: How to get a list of all available PVs ronaldo.mercado
References:
How to get a list of all available PVs Carlos Pascual

Navigate by Date:
Prev: How to get a list of all available PVs Carlos Pascual
Next: Re: How to get a list of all available PVs Carlos Pascual
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: How to get a list of all available PVs Carlos Pascual
Next: Re: How to get a list of all available PVs Carlos Pascual
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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 ·