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  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: List all available PVs
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Stainer Tom <Tom.Stainer at sckcen.be>
Cc: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Tue, 27 Apr 2021 07:37:36 -0700
On 4/27/21 2:43 AM, Stainer Tom via Tech-talk wrote:
> Thanks Ralph for your response. Point noted on the gateways & proxies.
> 
>  
> 
> For my simple example, to follow up, **pvlist** does not work (for me) without any arguments – it returns nothing.
> 
>  
> 
> /    $ pvlist/
> 
> /    # returns nothing/

"pvlist" uses a UDP broadcast for discovery, so it will only find servers
which are accessible on an attached subnet.



> If I instead run it with the IP address of the server, it does indeed return the full list of PVs – all 1000 of them 😊.
> 
>  
> 
>     /$ pvlist 192.168.1.XX/
> 
> /    # prints all PVs from that IP (takes only one port though)/
> 
>  
> 
> However, if I have two servers running on the same machine then the above only returns the list from one server (in my case port 5075, not the port of the second server - 51992). This seems to match with what I can see in the code:
> 
>     /// TODO for now we take only first server address/
> 
> /    serverAddress = inetAddressToString(entry.addresses[0]);/
> 
>  
> 
> It seems pvlist.cpp is a good place for me to start in order to understand how this mechanism works.
> 
>  
> 
> I noticed no equivalent **calist** tool exists, is there a specific reason for this?
> 
>  
> 
> Kind regards,
> 
> Tom
> 


References:
List all available PVs Stainer Tom via Tech-talk
Re: List all available PVs Ralph Lange via Tech-talk
Re: List all available PVs Stainer Tom via Tech-talk

Navigate by Date:
Prev: Re: List all available PVs Michael Davidsaver via Tech-talk
Next: Re: List all available PVs Kasemir, Kay 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: List all available PVs Hu, Yong via Tech-talk
Next: Areadetector ADVimba Frame error Sandeep Kumar Malu - STFC UKRI 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  <20212022  2023  2024 
ANJ, 27 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·