1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 | 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 2018 2019 2020 2021 <2022> 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: caQtDM caCamera widget not rendering images |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | Ashish Sharma <ashish.sharma at iuac.res.in> |
Cc: | tech-talk <tech-talk at aps.anl.gov> |
Date: | Wed, 13 Apr 2022 17:25:56 +0000 |
Hi Ashish, You have set EPICS_CA_MAX_ARRAY_BYTE to nearly 5 GB. That is too large, because both the EPICS IOC and the client will actually try to allocate arrays of that size whenever the array is larger than 16 KB. You should set to a more reasonable
size that is a bit larger than the largest image, perhaps 5 MB not 5 GB. Make sure it is set to that value on both the IOC and the client process. Mark From: Ashish Sharma <ashish.sharma at iuac.res.in>
Hello Mark, I was out of office for last few days. I just now tried with settings you told. I am now facing issues even with imagej may be because of link speed and memory issues. Here is what
is returned from EPICS server: when the server and caQtDm are running: printenv EPICS_CA_MAX_ARRAY_BYTES 5000000000 caget 13ARV1:image1:ArrayData CA.Client.Exception............................................... Warning: "The requested data transfer is greater than available memory or EPICS_CA_MAX_ARRAY_BYTES" Context: "op=0, channel=13ARV1:image1:ArrayData, type=DBR_TIME_SHORT, count=4665600, ctx="server unable to load read (or subscription update) response into protocol buffer PV="13ARV1:image1:ArrayData"
max bytes=2147483671"" Source File: ../getCopy.cpp line 92 Current Time: Wed Apr 13 2022 11:58:23.810332518 ............................................................................... EPICS_CA_MAX_ARRAY_BYTES is greater but how to correct available memory? This PV is responsible for data display on caCamera widget and even on ImageJ. What could be done to correct this? Image size is 388800 bytes (720 x 540 x 1 for mono) which I think
is less than the memory available. Earlier ImageJ was working, now it is saying that "Unable to Connect EPICS PV" and "CACONNECTION Exception" and 13ARV1:image1: is red in color with blank NX, NY, NZ fields. Client CLI is throwing error: CAC: not enough memory for message body cache (ignoring response message) Could you please help in setting things right? Thank you in anticipation. - Ashish From:
"Mark Rivers" <rivers at cars.uchicago.edu> > Could you please elaborate "Are you sure it is also set OK on the caQtDM process?" As to what variable to look for in this?
Just before you launch caQtDM, either manually or in a script, execute this command:
printenv EPIC_CA_MAX_ARRAY_BYTES
> Moreover, a detailed guide for installation and make it working using ADAravis and ADGenICam would be really helpful. Could you please provide a link? The areaDetector documentation home page is here: The installation Guide is here: ADAravis documentation is here: ADGenICam documentation is here: > Another thing, is it advisable to install MEDM on Ubuntu 20.04 as lots of x11 packages have gotten obsolete for this version. We are working on EPICS7. I have not used Ubuntu 20, but I have built medm on Ubuntu 18. areaDetector comes with screens for medm, edm, caQtDM, CSS/Boy and CSS/Phoebus. Most of these are autoconverted from medm screens. Mark
From: Ashish Sharma <ashish.sharma at iuac.res.in> Thanks Mark for quick response. Could you please elaborate "Are you sure it is also set OK on the caQtDM process?" As to what variable to look for in this?
Moreover, a detailed guide for installation and make it working using ADAravis and ADGenICam would be really helpful. Could you please provide a
link? Another thing, is it advisable to install MEDM on Ubuntu 20.04 as lots of x11 packages have gotten obsolete for this version. We are working on EPICS7.
Thanks again Ashish From:
"Mark Rivers" <rivers at cars.uchicago.edu> Hi Asjish, Since ImageJ works it looks like EPICS_CA_MAX_ARRAY_BYTES must be set OK on the IOC and on the ImageJ process. Are you sure it is also set OK on the caQtDM process? It is not related to this problem, but I would suggest you consider migrating from aravisGigE to ADAravis (or ADSpinnaker). arabisGigE is no longer actively supported. Mark From: Ashish Sharma <ashish.sharma at iuac.res.in> Hello, I am trying to add a new camera (FLIR's Blackfly S) into areaDetector (aravisGigE) with GUI on caQtDM. Earlier I had the attached GUI completely working with both ImageJ and caCamera
widget able to render the images. But now after changes in my camera processor board (new serial ID etc.), all things except for caCamera are working. X-Y profiles are working but caCamera is unable to render any image. I have made no changes in the settings just replaced the earlier .edl and -feature.edl files (and also the .ui files) with new ones based on the xml config file of new camera.
Could you please help me here. I doubt on the caQtDm installation. Or anything else? Thank you. -- |