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  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ADAravis JAI camera stops
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: Steve Kinder - UKRI STFC <steve.kinder at stfc.ac.uk>
Cc: tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 21 Apr 2020 11:32:04 +0000
Hi Steve,


There are 2 possible reasons I can think of.


1) It is behaving as if ImageMode=Multiple and NumImages=100. Are you sure that ImageMode=Continuous?  What is the value of NumImages?


ADGenICam does a mapping from the ImageMode enums used in areaDetector (Single, Multiple, Continuous) to the AcquisitionMode feature used by GenICam (Continuous, MultiFrame, SingleFrame).   That mapping has worked fine on all cameras I have tested so far, but perhaps the JAI cameras use a non-standard set of enums for the GenICam AcquisitionMode feature.  Here are the enum values for an AVT Manta camera, as read from the auto-generated template file.


corvette:ADGenICam/GenICamApp/Db>grep -U10 AcquisitionMode AVT_Manta_G507C.template
...

record(mbbi, "$(P)$(R)GC_AcquisitionMode_RBV") {
  field(DTYP, "asynInt32")
  field(INP,  "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))GC_E_AcquisitionMode")
  field(ZRST, "Continuous")
  field(ZRVL, "1")
  field(ONST, "SingleFrame")
  field(ONVL, "2")
  field(TWST, "MultiFrame")
  field(TWVL, "3")
  field(THST, "Recorder")
  field(THVL, "4")
  field(SCAN, "I/O Intr")
  field(DISA, "0")
}

record(mbbo, "$(P)$(R)GC_AcquisitionMode") {
  field(DTYP, "asynInt32")
  field(OUT,  "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))GC_E_AcquisitionMode")
  field(DOL,  "1")
  field(ZRST, "Continuous")
  field(ZRVL, "1")
  field(ONST, "SingleFrame")
  field(ONVL, "2")
  field(TWST, "MultiFrame")
  field(TWVL, "3")
  field(THST, "Recorder")
  field(THVL, "4")
  field(DISA, "0")

Can you send that grep output for your JAI cameras?


2) I have seen a similar problem to the one you describe for a FLIR Oryx 10GB Ethernet camera with ADAravis.  I believe this does not happen with the ADSpinnaker SDK on the same camera.  It just stops acquiring after some time.  Stopping acquisition and starting again it works for a while and then stops again.  However, it is different from the behavior your describe as follows:

  - It collects a much larger number of frames before it stops (typically more than 1000, as many as 10,000).

  - It stops after a random number of frames, not after the same number each time.


Mark



________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Steve Kinder - UKRI STFC via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, April 21, 2020 4:38 AM
To: tech-talk at aps.anl.gov
Subject: ADAravis JAI camera stops

I am moving a camera IOC from aravisGigE to ADAravis. Things mostly seem to be working so far. I have 1 * AVT G-235B and 2 * JAI BM141GE on a test IOC. I see no problem with the former so far. I'm seeing slightly confusing hangs with the JAIs though. One of these is being triggered at 10 Hz. It seems to just stop after the ARFramesCompleted PV gets to 100? This also happens when I turn the trigger off and free run at 30Hz. I don't get any messages/errors on the IOC console. If I stop the camera and start again the same thing keeps happening. ADAravis and ADGenICam both 1-2. Any thoughts or advice would be appreciated.


Thanks


Steve


References:
ADAravis JAI camera stops Steve Kinder - UKRI STFC via Tech-talk

Navigate by Date:
Prev: ADAravis JAI camera stops Steve Kinder - UKRI STFC via Tech-talk
Next: Re: ADAravis JAI camera stops Steve Kinder - UKRI STFC via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: ADAravis JAI camera stops Steve Kinder - UKRI STFC via Tech-talk
Next: Re: ADAravis JAI camera stops Steve Kinder - UKRI STFC via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 21 Apr 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·