Experimental Physics and
| |||||||||||||||||
|
Hi Juan, On Tue, Aug 18, 2020 at 4:18 AM Juan F. Esteban Müller via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hm, I'm not sure. That (or something very close to it) actually works for me on MacOS Cataline (10.15.5), using either the built-in libca (as you see) or the one distributed with 'epicscorelibs'. I'm using Anaconda Python 3.7.7, pyepics 3.4.2, and did a fresh install of p4p with `pip install p4p`, which installed epicscorelibs 7.0.3.99. I guess the only difference from your setup is the version of epicscore/base being 7.0.3.99 instead of 7.0.4. Maybe that goes to Tom's and Michael's questions about how you installed 7.0.4? [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information. Imported history from '/Users/Newville/.pyhist' >>> import os >>> os.environ['PYEPICS_LIBCA'] = '/Users/Newville/opt/anaconda3/lib/python3.7/site-packages/epicscorelibs/lib/libca.7.0.3.99.4.dylib' >>> import epics >>> import p4p >>> import p4p.client.thread >>> epics.caget('13IDA:m1.VAL') -0.25 >>> epics.ca.libca <CDLL '/Users/Newville/opt/anaconda3/lib/python3.7/site-packages/epicscorelibs/lib/libca.7.0.3.99.4.dylib', handle 7fe3ceeada70 at 0x7fe3ceb7c6d0> >>> pv = epics.PV('13IDA:m2.VAL', connection_callback=lambda pvname,conn,pv: print('connected')) connected >>> pv.get() 0.8 --Matt
| ||||||||||||||||
ANJ, 18 Aug 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |