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: Carlos Pascual <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Mon, 17 Dec 2012 12:14:28 +0100
Ronaldo,
Thanks for the tip.

I looked at channel finder docs and I gather that somehow one needs to manually 
add the info to the directory itself. I mean, that the channel finder cannot by 
itself discover available PVs.

If possible I would like to avoid such requirement of manually creating the 
database. 

By looking at the CA docs, I see that the IOCs emit periodic beacons, so by 
listening for at least EPICS_CA_BEACON_PERIOD seconds I should be able to 
gather a list of active IOCs. Is that right?

And if so, is there a way of interrogating a given IOC for its PVs?

Cheers,

Carlos


On Mon 17 December 2012 10:27:38 [email protected] wrote:
> 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]<mailto:[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<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]<mailto:[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

-- 
+----------------------------------------------------+
 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
+----------------------------------------------------+

Replies:
RE: How to get a list of all available PVs michael.abbott
Re: How to get a list of all available PVs Michael Davidsaver
References:
How to get a list of all available PVs Carlos Pascual
Re: How to get a list of all available PVs Pavel Maslov
RE: How to get a list of all available PVs ronaldo.mercado

Navigate by Date:
Prev: RE: How to get a list of all available PVs ronaldo.mercado
Next: RE: How to get a list of all available PVs michael.abbott
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 ronaldo.mercado
Next: RE: How to get a list of all available PVs michael.abbott
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 ·