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://docs.epics-controls.org/projects/pvaccess-cpp/en/latest/doxygen/index.html) <https://docs.epics-controls.org/projects/pvaccess-cpp/en/latest/doxygen/index.html>
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://github.com/mdavidsaver/pvxs/blob/master/tools/list.cpp
https://mdavidsaver.github.io/pvxs/client.html#_CPPv4N4pvxs6client7Context8discoverERRNSt8functionIFvRK10DiscoveredEEE
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
- Replies:
- Re: PVList in C++ API Eusebio Naif Al-Soliman Fuentes via Tech-talk
- References:
- PVList in C++ API Eusebio Naif Al-Soliman Fuentes via Tech-talk
- Navigate by Date:
- Prev:
"invalid output sync mutex" and ci-scripts on windows Michael Davidsaver via Tech-talk
- Next:
Re: Is areaDetector documentation down? Maren Purves 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
<2023>
2024
- Navigate by Thread:
- Prev:
PVList in C++ API Eusebio Naif Al-Soliman Fuentes via Tech-talk
- Next:
Re: PVList in C++ API Eusebio Naif Al-Soliman Fuentes 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
<2023>
2024
|