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  2013  2014  2015  2016  <20172018  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  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: AreaDetector ImageJ viewer problem
From: Mark Rivers <[email protected]>
To: "Vigder, Mark" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 19 May 2017 15:51:15 +0000
Note that this is documented here:

http://cars.uchicago.edu/software/epics/areaDetectorViewers.html#Troubleshooting

Mark


Sent from my iPhone

On May 19, 2017, at 11:36 AM, Mark Rivers <[email protected]<mailto:[email protected]>> wrote:

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 <[email protected]<mailto:[email protected]><mailto:[email protected]>> 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

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

Navigate by Date:
Prev: Re: AreaDetector ImageJ viewer problem Mark Rivers
Next: Re: EDM questions Southern, Tim
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: AreaDetector ImageJ viewer problem Mark Rivers
Next: Motor record: No longer issues a stop command when motor already stopped? James.OHea
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·