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: Buffer full issue with ADAravis |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | 'Katie Matusik' <kmatusik at sigray.com> |
Cc: | tech-talk <tech-talk at aps.anl.gov> |
Date: | Fri, 21 Feb 2020 18:03:22 +0000 |
Hi Katie, Ø
When I press acquire, the buffer again immediately fills up and neither the values in the "Status" box nor in the stats plugin change. The buffer is not actually “filling up”. It does indicate that 20 NDArrays have been allocated, totaling 114.3 MB. Your arrays are 2304x1300 pixels, presumably 2-bytes per pixel, which is 5.71 MB per array. 20 arrays would be 114.3
MB, which is excactly what it says it allocated. When you press Acquire are there any messages on the iocsh console? It looks like the ADAravis driver is allocating NDArrays, but it is never doing callbacks, and never realizing that acquisition is complete. We are going to need to enable some debugging to figure out why. The first thing to do is to enable all asynTrace information from the driver. In your startup script uncomment this line after aravisConfig(): asynSetTraceMask($(PORT), 0, TRACE_ERROR|TRACEIO_DRIVER|TRACE_FLOW) If that does not provide enough information you will need to add some more asynPrint statements in the driver to track down what is going wrong. Mark From: Katie Matusik <kmatusik at sigray.com>
Hi Mark, Please see attached for the plugins/all and statistics screens, as well as the xml file. The pixel format options are mono14 and mono12packed. I changed the status rate to 1 second and enabled the statistics plugin. When I press acquire,
the buffer again immediately fills up and neither the values in the "Status" box nor in the stats plugin change. I should mention that I made two changes to makeDb.py in order for it to generate the database file: line 26 was changed to specify the encoding
type, "genicam_lines = open(args[0], encoding="utf-8").readlines()" otherwise it threw an error (I'm using python v3.6.9), and I added "IntReg" to the list of data types in line 145, "if node.nodeName in ["Integer", "IntConverter", "IntSwissKnife", "IntReg"]:". Thanks so much, Katie This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have
received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please
notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the
contents of this information is strictly prohibited |