Hi Katie,
Ø
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),
I am using Python 3.7.3 and I did not get that error on the xml you attached to your previous message. This is what I see when I run addCamera, which runs makeDb.py and makeAdl.py.
corvette:~/devel/areaDetector/ADGenICam>./addCamera.sh Teledyne_ShadoBox
Don't know what to do with IntReg
Don't know what to do with IntReg
Don't know what to do with IntReg
Don't know what to do with IntReg
Don't know what to do with IntReg
More than 16 enum entries for GevSupportedOptionSelector mbbi record, discarding additional options.
If needed, edit the Enumeration tag for GevSupportedOptionSelector to select the 16 you want.
Don't know what to do with Register
Don't know what to do with IntReg
Don't know what to do with Register
Don't know what to do with Register
Don't know what to do with Register
Ø
and I added "IntReg" to the list of data types in line 145, "if node.nodeName in ["Integer", "IntConverter", "IntSwissKnife", "IntReg"]:".
I do see messages that say “Don't know what to do with IntReg”, but I think they are harmless, just as the ones that say “Don't know what to do with Register”. This is what I get running “wc” on the resulting .template file.
corvette:~/devel/areaDetector/ADGenICam>wc GenICamApp/Db/Teledyne_ShadoBox.template
2119 3881 57783 GenICamApp/Db/Teledyne_ShadoBox.template
What do you get?
Mark
From: Mark Rivers
Sent: Friday, February 21, 2020 12:03 PM
To: 'Katie Matusik' <kmatusik at sigray.com>
Cc: tech-talk <tech-talk at aps.anl.gov>
Subject: RE: Buffer full issue with ADAravis
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>
Sent: Friday, February 21, 2020 10:54 AM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk <tech-talk at aps.anl.gov>
Subject: Re: Buffer full issue with ADAravis
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"]:".
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