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  2025  2026  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  2025  2026 
<== Date ==> <== Thread ==>

Subject: RE: ADAravis JAI camera stops
From: Mark Rivers via Tech-talk <[email protected]>
To: Steve Kinder - UKRI STFC <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Tue, 21 Apr 2020 13:27:37 +0000
Your template file shows that the JAI cameras do not support MultipleFrame for the GenICam AcquisitionMode feature.

If you type:

caget EBT-TST-T20-DIA-CAM-01:CAM:ImageMode_RBV

do you see "Multiple"?

If so then the problem is that the logic in ADGenICam does not correctly handle the case where MultipleFrame is not supported, because I was not aware that some cameras did not support that.  That logic is going to need to be improved to handle these cameras.

Mark


-----Original Message-----
From: Tech-talk <[email protected]> On Behalf Of Steve Kinder - UKRI STFC via Tech-talk
Sent: Tuesday, April 21, 2020 8:12 AM
To: Steve Kinder - UKRI STFC <[email protected]>; [email protected]
Subject: Re: ADAravis JAI camera stops

A few debug prints lead me to think the problem is associated with ADAravis:run() believing the camera is in image mode, ADImageMultiple, and then stopping after NumImages have been collected. However I believe it is set up in Continuous mode. Perhaps it is down to the generated template for my JAI cameras and the logic in the run method? Please see below:


$ caget EBT-TST-T20-DIA-CAM-01:CAM:GC_AcquisitionMode
EBT-TST-T20-DIA-CAM-01:CAM:GC_AcquisitionMode Continuous
]$ caget EBT-TST-T20-DIA-CAM-01:CAM:GC_AcquisitionMode_RBV
EBT-TST-T20-DIA-CAM-01:CAM:GC_AcquisitionMode_RBV Continuous
$ caget EBT-TST-T20-DIA-CAM-01:CAM:NumImages
EBT-TST-T20-DIA-CAM-01:CAM:NumImages 100

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, "0")
  field(ONST, "SingleFrame")
  field(ONVL, "1")
  field(TWST, "SingleFrameReado")
  field(TWVL, "0x10006")
  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,  "0")
  field(ZRST, "Continuous")
  field(ZRVL, "0")
  field(ONST, "SingleFrame")
  field(ONVL, "1")
  field(TWST, "SingleFrameReado")
  field(TWVL, "0x10006")
  field(DISA, "0")
}

The run method sees imageMode as 1 and stops the camera after 100 images.


Steve


________________________________
From: Tech-talk <[email protected]> on behalf of Steve Kinder - UKRI STFC via Tech-talk <[email protected]>
Sent: 21 April 2020 10:38:50
To: [email protected]
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


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

Navigate by Date:
Prev: Re: 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  2025  2026 
Navigate by Thread:
Prev: Re: 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  2025  2026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·