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: areaDetector for a Basler GigE camera
From: Mark Rivers <[email protected]>
To: "'Florian Sorgenfrei'" <[email protected]>, "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 21 Nov 2013 14:37:52 +0000
If you are using the ImageJ viewer plugin from areaDetector 1-9 or later then you should not use the JCALibrary.properties file, you should use the normal EPICS environment variable EPICS_CA_MAX_ARRAY_BYTES.  This needs to be set in both the IOC server process and the ImageJ client process.  The symptom you describe of being able to connect to the PVs but getting pendIO timeout exceptions is what is expected if EPICS_CA_MAX_ARRAY_BYTES is not set correctly on one end or the other.

What happens if on the machine running ImageJ you use the "caget" command from EPICS base to read the ArrayData PV?  Does it succeed?

Mark


-----Original Message-----
From: Florian Sorgenfrei [mailto:[email protected]] 
Sent: Thursday, November 21, 2013 7:46 AM
To: [email protected]; Mark Rivers; [email protected]
Subject: Re: areaDetector for a Basler GigE camera

Hi Tom and Mark,

here are a few error messages for Tom showing the pixel format error. I
hope it helps somehow. It looks to me that the number is always
different. I can send you the full output if necessary.

2013/11/20 19:52:02.506 aravisCamera:callback: unknown pixel format
402657792
2013/11/20 19:52:02.518 aravisCamera:lookupColorMode: Could not find a
match for pixel format: 301995776
2013/11/20 19:52:02.518 aravisCamera:callback: unknown pixel format
301995776
2013/11/20 19:52:02.531 aravisCamera:lookupColorMode: Could not find a
match for pixel format: 251663104
2013/11/20 19:52:02.531 aravisCamera:callback: unknown pixel format
251663104
2013/11/20 19:52:02.544 aravisCamera:lookupColorMode: Could not find a
match for pixel format: 352327424
2013/11/20 19:52:02.544 aravisCamera:callback: unknown pixel format
352327424
2013/11/20 19:52:02.556 aravisCamera:lookupColorMode: Could not find a
match for pixel format: 369102848

Concerning the ImageJ problem was again trying today the things Mark
suggested. I created the JCALibrary.properties file both on the Windows
7 and the OS X machine. It didn't change anything. The Epics Viewer can
connect to the PV (green background) but when starting the plugin I get
pendIO timed out errors. Afterwards I was trying the second approach
using normal epics environment variables since the EPICS_AD viewer (if
I'm right) is setting "jca.use_env=true". Again, the viewer can connect
to the PV but starting the plugin gives the pendIO errors.
Hence at the moment I can only view the images with imagej running on
the server hosting the ioc. Unfortunately I don't have a linux box here
to test the remote viewing there.

Cheers,

Flo



Am 21.11.13 10:24, schrieb [email protected]:
> Could you send me the errors you got with unknown pixel value? Some cameras don't like having their bit depth changed while acquiring, you might have to stop acquiring, wait for a few seconds, then change the bit depth... The aravisGigE driver maps the DataType (like Uint8) and ColorMode (like Mono) pvs to the PixelFormat (like Mono8) register. If you choose uint16 then it will try the highest bit depth the camera supports, but some cameras falsely report they do mono12 and then fail to produce the correct image type. You could try changing the DataType to uint16, then changing PixelFormat to Mono10 and seeing if that works...
>
> Thanks,
> Tom Cobb
>
>


--
Florian Sorgenfrei
Institute for Methods and Instrumentation for Synchrotron Radiation
Research G-ISRR
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Albert-Einstein-Str. 15
D-12489 Berlin
GERMANY

Tel.: +49 30 8062 12924
Fax: +49 30 8062 14987

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


Replies:
Re: areaDetector for a Basler GigE camera Florian Sorgenfrei
References:
areaDetector for a Basler GigE camera Sorgenfrei, Florian
RE: areaDetector for a Basler GigE camera Mark Rivers
RE: areaDetector for a Basler GigE camera Mark Rivers
Re: areaDetector for a Basler GigE camera Florian Sorgenfrei
RE: areaDetector for a Basler GigE camera Mark Rivers
Re: areaDetector for a Basler GigE camera Florian Sorgenfrei
RE: areaDetector for a Basler GigE camera Mark Rivers
RE: areaDetector for a Basler GigE camera tom.cobb
Re: areaDetector for a Basler GigE camera Florian Sorgenfrei
RE: areaDetector for a Basler GigE camera tom.cobb
Re: areaDetector for a Basler GigE camera Florian Sorgenfrei

Navigate by Date:
Prev: Re: areaDetector for a Basler GigE camera Florian Sorgenfrei
Next: Re: areaDetector for a Basler GigE camera Florian Sorgenfrei
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: areaDetector for a Basler GigE camera Florian Sorgenfrei
Next: Re: areaDetector for a Basler GigE camera Florian Sorgenfrei
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 ·