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 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
<== Date ==> <== Thread ==>

Subject: Re: AreaDetector ImageJ viewer problem
From: Mark Rivers <rivers@cars.uchicago.edu>
To: "Vigder, Mark" <mark.vigder@cnl.ca>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Fri, 19 May 2017 15:36:19 +0000
This is a problem with EPICS_CA_MAX_ARRAY_BYTES. You need to set that environment variable to be a little larger than you maximum image size in bytes  on both the IOC process and the ImageJ process.

Mark


Sent from my iPhone

On May 19, 2017, at 11:28 AM, Vigder, Mark <mark.vigder@cnl.ca<mailto:mark.vigder@cnl.ca>> wrote:


UNRESTRICTED / ILLIMITÉE
I'm trying to use the ImageJ viewer to stream images from an Andor CCD camera and not having much luck. The AreaDetector and its plugins all seem to be working correctly. ImageJ and the EPICS_AD_Viewer plugin seem to be correct and makes the link to the AreaDetector PVs. However whenever I acquire an image the following happens:

  -The ImageJ EPICS_AD_Viewer detects that there is an image and will (usually, if it's timed out from the previous acquire) open an image window. However the window is completely blank.
  -The ImageJ log prints the message "17/5/2017 19:26:41.332: UpdateImage got exception: pendIO timed out"
  -The following exception appears in the window where ImageJ was started:

  May 17, 2017 5:54:48 PM com.cosylab.epics.caj.impl.CATransport processRead
SEVERE:
java.lang.UnsupportedOperationException
        at java.nio.ByteBuffer.array(ByteBuffer.java:994)
        at com.cosylab.epics.caj.impl.handlers.ExceptionResponse.internalHandleResponse(ExceptionResponse.java:130)
        at com.cosylab.epics.caj.impl.handlers.AbstractCAResponseHandler.handleResponse(AbstractCAResponseHandler.java:110)
        at com.cosylab.epics.caj.impl.CAResponseHandler.handleResponse(CAResponseHandler.java:139)
        at com.cosylab.epics.caj.impl.CATransport.processRead(CATransport.java:530)
        at com.cosylab.epics.caj.impl.CATransport.processRead(CATransport.java:412)
        at com.cosylab.epics.caj.impl.CATransport.handleEvent(CATransport.java:350)
        at com.cosylab.epics.caj.impl.reactor.lf.LeaderFollowersHandler.handleEvent(LeaderFollowersHandler.java:77)
        at com.cosylab.epics.caj.impl.reactor.Reactor.processInternal(Reactor.java:400)
        at com.cosylab.epics.caj.impl.reactor.Reactor.process(Reactor.java:284)
        at com.cosylab.epics.caj.impl.reactor.lf.LeaderFollowersHandler.run(LeaderFollowersHandler.java:91)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

I've tried various combinations with the same result, but I'm currently running ImageJ 1.51 on 64 bit Ubuntu 14.04, and the prebuilt AreaDetector-2-2. I've tried the viewer distributed as part of this prebuilt as well as downloading the latest viewer. EPICS base version is 3-14-12-3.

Thanks in advance for any help.

Mark Vigder
Canadian Neutron Beam Centre

Replies:
Re: AreaDetector ImageJ viewer problem Mark Rivers
References:
AreaDetector ImageJ viewer problem Vigder, Mark

Navigate by Date:
Prev: AreaDetector ImageJ viewer problem Vigder, Mark
Next: Re: AreaDetector ImageJ viewer problem Mark Rivers
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
Navigate by Thread:
Prev: AreaDetector ImageJ viewer problem Vigder, Mark
Next: Re: AreaDetector ImageJ viewer problem Mark Rivers
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
ANJ, 19 May 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·