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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: pilatus detecotr modify FileName problem
From: Matt Newville <[email protected]>
To: Mark Rivers <[email protected]>, EPICS Tech Talk <[email protected]>
Date: Fri, 13 Dec 2013 11:18:43 -0600
Hi Mark, Hongchunxia,

On Thu, Dec 12, 2013 at 6:23 PM, Mark Rivers <[email protected]> wrote:
> Matt,
>
> Is it possible that his IOC is built with 13.14.12.3, but that pyepics is using 3.14.12.2 or earlier?  Does
> pyepics have its own copy of the EPICS ca and Com shared libraries, or does it pick them up from the system?
>
> Mark

That's a good question and suggestion.  On Unix-like systems, it uses
the system's ca shared library (looking in PATH and LD_LIBRARY_PATH or
DYLD_LIBRARY_PATH).

On Windows, pyepics does package up a ca.dll and Com.dll.  I think
these might be from 3.14.12.1 or 3.14.12.2.    Asking ca_version()
gives '4.13', which I think may not distinguish between these two.
Anyway, upgrading this dll to a more recent version would be good. .

But: I've tested this on Windows, with a potentially older ca dll, and
I see the same good behavior.  That is (Windows 7, 32 bit, Python
2.7.3 32bit, pyepics 3.2.1):
   >>> import epics
   >>> epics.caput('13IDEPS1:cam1:FileName', 'a long string')
   >>> epics.caput('13IDEPS1:cam1:FileName', 'a')

has camonitor reporting:

    13IDEPS1:cam1:FileName 2013-12-13 11:10:44.959994 14 97 32 108 111
110 103 32 115 116 114 105 110 103 0
    13IDEPS1:cam1:FileName 2013-12-13 11:10:47.006886 2 97 0

So, I'm still not sure why it wouldn't be working for Hongchunxia, but
it might be that pyepics is finding an older CA shared library.

--Matt

References:
pilatus detecotr modify FileName problem 洪春霞
RE: pilatus detecotr modify FileName problem nick.rees
Re: pilatus detecotr modify FileName problem Bruce Hill
Re: pilatus detecotr modify FileName problem Matt Newville
RE: pilatus detecotr modify FileName problem Mark Rivers
Re: pilatus detecotr modify FileName problem Matt Newville
Re: pilatus detecotr modify FileName problem Mark Rivers
RE: pilatus detecotr modify FileName problem Mark Rivers

Navigate by Date:
Prev: Re: Mclennan PM600 motor controller Ron Sluiter
Next: Version of nameserver being used in production Shankar, Murali
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: pilatus detecotr modify FileName problem Matt Newville
Next: Mclennan PM600 motor controller Peter Linardakis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·