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  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: PVList in C++ API
From: Eusebio Naif Al-Soliman Fuentes via Tech-talk <tech-talk at aps.anl.gov>
To: Tech Talk <tech-talk at aps.anl.gov>
Date: Wed, 25 Oct 2023 09:19:59 +0200
Hello Michael.
 
Sorry for my late response. I didn't know there was an alternative module to the official one, I will have a look at it.
 
Thank you, Eusebio.

---

Saludos/Best regards

University of Granada  

Eusebio Naif Al-Soliman Fuentes
MSc. Data Science and Computer Engineering

eunaif at correo.ugr.es



El 2023-10-23 21:18, Michael Davidsaver escribió:
On 10/23/23 06:42, Eusebio Naif Al-Soliman Fuentes via Tech-talk wrote:
Hello everybody.
I have a small question regarding the C++ API (https://urldefense.com/v3/__https://docs.epics-controls.org/projects/pvaccess-cpp/en/latest/doxygen/index.html__;!!D9dNQwwGXtA!T_nobMmMB8jptdn9HXHnZahRhn0KepK6GuLknfamzwj8Vm7jBGj-BFj_rYxlKTjFXD4Zqjzhgtcch4ji2ojtt8s$ ) <https://urldefense.com/v3/__https://docs.epics-controls.org/projects/pvaccess-cpp/en/latest/doxygen/index.html__;!!D9dNQwwGXtA!T_nobMmMB8jptdn9HXHnZahRhn0KepK6GuLknfamzwj8Vm7jBGj-BFj_rYxlKTjFXD4Zqjzhgtcch4ji2ojtt8s$ >
I want to do the equivalent operation to 'pvlist' in order to get all the IOCs in my network and also get all the variables declared in each IOC (pvlist <GUID>). Is there any method implemented in the C++ API to do that? Which one?

pvAccessCPP does not expose an API which could be used to build "pvlist".

PVXS does expose pvxs::client::Context::discover() which is used to build
the "pvxlist" executable.

https://urldefense.com/v3/__https://github.com/mdavidsaver/pvxs/blob/master/tools/list.cpp__;!!D9dNQwwGXtA!T_nobMmMB8jptdn9HXHnZahRhn0KepK6GuLknfamzwj8Vm7jBGj-BFj_rYxlKTjFXD4Zqjzhgtcch4ji1hQovv0$

https://urldefense.com/v3/__https://mdavidsaver.github.io/pvxs/client.html*_CPPv4N4pvxs6client7Context8discoverERRNSt8functionIFvRK10DiscoveredEEE__;Iw!!D9dNQwwGXtA!T_nobMmMB8jptdn9HXHnZahRhn0KepK6GuLknfamzwj8Vm7jBGj-BFj_rYxlKTjFXD4Zqjzhgtcch4jinhh_VR4$

I must give a word of warning.  Frequent pinging of all servers, and
querying of all PV names, can generate considerable load.

Please be careful that you don't DDoS your own network!


Thanks in advance.
-- Saludos/Best regards

*University of Granada *

Eusebio Naif Al-Soliman Fuentes
*MSc. Data Science and Computer Engineering*__

eunaif at correo.ugr.es

References:
PVList in C++ API Eusebio Naif Al-Soliman Fuentes via Tech-talk
Re: PVList in C++ API Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: Strange error from pvAccess Jörn Dreyer via Tech-talk
Next: Re: Strange error from pvAccess Érico Nogueira Rolim via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: Re: PVList in C++ API Michael Davidsaver via Tech-talk
Next: "invalid output sync mutex" and ci-scripts on windows Michael Davidsaver via Tech-talk
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  <20232024 
ANJ, 25 Oct 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·