g+
g+ Communities
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  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013 
<== Date ==> <== Thread ==>

Subject: Prosilica cameras and bug in EPICS signal handlers
From: "Mark Rivers" <rivers@cars.uchicago.edu>
To: "John M. Skinner" <skinner@bnl.gov>
Cc: beamline_controls@aps.anl.gov, Robert Sweet <sweet@bnl.gov>, tech-talk@aps.anl.gov
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 
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 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·