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: PvaPy pvaccess
From: S Banerian via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 9 May 2023 20:19:55 -0700
I've set to work on upgrading some of our local EPICS infrastructure, and have (finally) installed Epics 7 on a couple of machines.

As part of that, we are trying out pvaccess PvaPy as an update to the pyepics that is currently used.

On a test system, i've been following the documentation [1,2] for PvaPy to monitor some pv's we track.

alas, we do not get the desired behaviour for monitoring CA   PVs.


pvaChannel = Channel('enum01')
pvaChanne.isConnected()
pvaChannel.subscribe('echo', lambda x: print(f'{x}'))
pvaChannel.startMonitor()

(no errors encountered)

but when  non-default is tried: 

ourPVchannel = pvaccess.Channel('int01',CA)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'CA' is not defined

pvaccess.Channel('int01',providerType=CA)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'CA' is not defined


suggestions as to what I can try next?

[1] https://github.com/epics-base/pvaPy
[2] https://epics.anl.gov/extensions/pvaPy/production/pvaccess.html#channel


s banerian
UW Clinical Cyclotron



Replies:
Re: PvaPy pvaccess Simon Rose via Tech-talk
Re: [EXTERNAL] PvaPy pvaccess Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: Save the date! Timo Korhonen via Tech-talk
Next: Issue on PDB-event / base 7.0.7 ? Gabriel Fedel 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: Save the date! Timo Korhonen via Tech-talk
Next: Re: PvaPy pvaccess Simon Rose 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, 10 May 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·