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: <[email protected]>
To: <[email protected]>, <[email protected]>
Cc: [email protected]
Date: Mon, 17 Dec 2012 09:27:38 +0000

Hi Carlos,

 

Adding to Pavel’s all good suggestions, there is no “native” directory in base epics that lists the PVs available on a network.

 

Ralph Lange’s channel finder is an alternative that some sites may be using.

 

http://sourceforge.net/projects/channelfinder/

 

Ronaldo

 

From: [email protected] [mailto:[email protected]] On Behalf Of Pavel Maslov
Sent: 17 December 2012 08:50
To: Carlos Pascual
Cc: EPICS Tech Talk
Subject: Re: How to get a list of all available PVs

 

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


 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 



Replies:
Re: How to get a list of all available PVs Carlos Pascual
References:
How to get a list of all available PVs Carlos Pascual
Re: How to get a list of all available PVs Pavel Maslov

Navigate by Date:
Prev: Re: 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: Re: 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 ·