EPICS Home

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  <20222023  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  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: P4P monitor get pvname
From: Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 17 May 2022 10:57:25 +0200
Hey all,

I wanted to write a small python script that monitors multiple pvs in our system using p4p. If I use the same callback routine for all PVs, is it possible to get the name of the PV, that triggered the callback?

I did not see any attributes of the passed p4p values that could work in identifying the PV.

Thanks in advance for your help,
Florian

--
Ruhr-Universität Bochum
AG der Experimentalphysik I
Dr. Florian Feldbauer
NB 2/131 / Fach 125
Universitätsstr. 150
D-44801 Bochum

Office: NB 2/134
Phone:  (+49)234 / 32-23563
Fax:    (+49)234 / 32-14170
https://paluma.ruhr-uni-bochum.de


Replies:
Re: P4P monitor get pvname Matt Clarke via Tech-talk

Navigate by Date:
Prev: RE: Conversion error when using (pvapy served) PVA input link in a "bi" record Nicklas Holmberg via Tech-talk
Next: Re: P4P monitor get pvname Matt Clarke 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  <20222023  2024 
Navigate by Thread:
Prev: Segmentation fault (core dumped) Error cl47cl--- via Tech-talk
Next: Re: P4P monitor get pvname Matt Clarke 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  <20222023  2024