It's important to remember the difference between an EPICS record and an EPICS PV. If you are trying to build a genetic GUI it is the PVs (e.g. record fields) that you probably care about. But most of the replies to this post have been getting a list of records, not PVs. In order to go from records to PVs you need also access to the record.dbd file. Some records have many interesting PVs (e.g motor record) not just the .VAL field and those in dbCommon.
Mark
________________________________________
From: [email protected] [[email protected]] on behalf of Carlos Pascual [[email protected]]
Sent: Monday, December 17, 2012 2:38 AM
To: [email protected]
Subject: How to get a list of all available PVs
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
+----------------------------------------------------+
- References:
- How to get a list of all available PVs Carlos Pascual
- Navigate by Date:
- Prev:
Re: How to get a list of all available PVs luedeke
- Next:
Re: How to get a list of all available PVs Ralph Lange
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
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 Till Straumann
- 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
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|