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  <20092010  2011  2012  2013  2014  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Prosilica cameras and bug in EPICS signal handlers
From: "Mark Rivers" <[email protected]>
To: "John M. Skinner" <[email protected]>
Cc: [email protected], Robert Sweet <[email protected]>, [email protected]
Date: Wed, 11 Mar 2009 17:24:42 -0500
Dear John,

I know it's too late for your new camera purchase, but I want to let you
know that I did get the Prosilica cameras working fine with Linux today.


It turns out that it was really a bug in EPICS, not in their driver.
EPICS was installing signal handlers in an obsolete manner that is
incompatible with the new Posix 1.b interval timer library.

With a minor change to the EPICS signal handler functions I can control
Prosilica cameras from Linux with no problem.

EPICS needs additional work to be compatible with the Posix 1.b timer
routines.  These can cause many system calls to terminate prematurely
with the errno=EINTR.  I had to modify the epicsThreadSleep function to
work properly when Posix timers were running, and there will almost
certainly be other places where system calls need to be checked error
returns for this reason.  It's a lot of work, but other developers are
beginning to use these timer functions in their code, and we need to be
able to use code in EPICS.

Cheers,
Mark



Replies:
RE: Prosilica cameras and bug in EPICS signal handlers Mark Rivers

Navigate by Date:
Prev: Re: medm installation Stefan Heim
Next: Re: epics for stanford amp or Iseg supply Dennis Armstrong
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: medm installation Stefan Heim
Next: RE: Prosilica cameras and bug in EPICS signal handlers Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·