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 18:39:37 +0000
> Is there a difference on linux between setenv EPICS_CA_MAX_ARRAY_BYTES 100000000 
> in the terminal and in the startup script epicsEnvSet "EPICS_CA_MAX_ARRAY_BYTES",'100000000'?

I believe the startup script value will override the value the process inherited from the environment.

However, you should be careful with the actual value you use for EPICS_CA_MAX_ARRAY_BYTES.  My understanding is that the value is not simply a "maximum" value, it is the actual value that will be used for all CA buffers that need to be larger than the standard size of 16K.  You have set it to 100MB, which is probably much larger than it needs to be for the Basler camera.  You should set it just a little larger than the actual maximum value needed.  You can compute this for the Basler camera from XPixels * YPixels * max bytes/pixel * 3 (if color).

Mark



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

Ok, problem solved. Indeed setting environment variables was the point.
I just had to figure out how to do that in osx. Is there a difference on
linux between setenv EPICS_CA_MAX_ARRAY_BYTES 100000000 in the terminal
and in the startup script epicsEnvSet "EPICS_CA_MAX_ARRAY_BYTES",
'100000000'? Anyway I now implemented the second option also and it
works happily.

Cheers,

Flo



Am 21.11.13 15:37, schrieb Mark Rivers:
> 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
>
>

--
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 Mark Rivers
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
RE: areaDetector for a Basler GigE camera Mark Rivers
Re: areaDetector for a Basler GigE camera Florian Sorgenfrei

Navigate by Date:
Prev: CSS EPICS PV connectivity issue Juan Manuel Lozano
Next: RE: areaDetector for a Basler GigE camera Mark Rivers
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 Mark Rivers
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 ·