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  2020  <20212022  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  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Using ADAravis with Spectral Instrument 1700 Radiation hard camera
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "'Liu, Wanming'" <wmliu at anl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 9 Sep 2021 19:10:41 +0000

Hi Wanming,

 

Ø  Don't know what to do with MaskedIntReg

Ø  Don't know what to do with IntReg

 

Those messages are normal, you can ignore them.

 

Ø  When I tried to acquire data from the camera,  the IOC complained about

Ø  ADAravis::newBufferCallback bad frame status: Timeout

Ø  or sometimes

Ø  ADAravis::newBufferCallback bad frame status: Missing Pkts.

 

Have you set the Linux system parameters for GigE cameras as explained here:

https://areadetector.github.io/master/ADGenICam/ADGenICam.html#linux-usb-and-gige-system-settings

 

Mark

 

From: Liu, Wanming <wmliu at anl.gov>
Sent: Thursday, September 9, 2021 1:43 PM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov
Subject: RE: Using ADAravis with Spectral Instrument 1700 Radiation hard camera

 

Hi Mark,

Thanks for your response.

 

When use addCamera.sh in ADGenICam with the XML file extracted with arv-tool-0.8, it shows a bunch of don’t know what to do with IntReg.  Based on the ADAravis documentation, it should be fine.

Don't know what to do with MaskedIntReg

Don't know what to do with MaskedIntReg

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

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

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

Don't know what to do with IntReg

Don't know what to do with IntReg

Don't know what to do with IntReg

 

Then I copied one of the st.cmd…  file into st.cmd.si and modified it as following

 

< envPaths

errlogInit(20000)

 

dbLoadDatabase("$(TOP)/dbd/ADAravisApp.dbd")

ADAravisApp_registerRecordDeviceDriver(pdbbase)

 

# Name of camera as reported by arv-tool

epicsEnvSet("CAMERA_NAME", "Spectral Instruments, Inc.-1700-139")

 

# The maximum image width; used for row profiles in the NDPluginStats plugin

epicsEnvSet("XSIZE",  "2048")

 

# The maximum image height; used for column profiles in the NDPluginStats plugin

epicsEnvSet("YSIZE",  "1088")

 

# Define NELEMENTS to be enough for a 2048x1088 mono image

epicsEnvSet("NELEMENTS", "22228224")

 

# Enable register caching

epicsEnvSet("ENABLE_CACHING", "1")

 

# The database file

epicsEnvSet("GENICAM_DB_FILE", "$(ADGENICAM)/db/si.template")

 

< st.cmd.base

 

 

Then I launched IOC and every thing looks fine.  The problem was when I tried to acquire data from the camera. 

When I tried to acquire data from the camera,  the IOC complained about

 

ADAravis::newBufferCallback bad frame status: Timeout

or sometimes

ADAravis::newBufferCallback bad frame status: Missing Pkts.

 

while no image can be displayed on the OPI.  

 

It might be some camera setting issues or network setting issue.

 

Thanks for advices

 

Wanming

 

 

From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Thursday, September 9, 2021 10:18 AM
To: Liu, Wanming <wmliu at anl.gov>
Cc: tech-talk at aps.anl.gov
Subject: RE: Using ADAravis with Spectral Instrument 1700 Radiation hard camera

 

Hi Wanming,

 

Those errors may not prevent ADAravis from working.  For example most but not all cameras have the SensorWidth feature, but ADAravis does not require it.  It does require WidthMax.  Similarly, many cameras do not have a GainRaw feature.

 

What happens if you run arv-tool-0.8 to extract the XML file, use the Python scripts to generate the template and OPI files, and then try to run an ADAravis IOC with the camera?

 

Mark

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Liu, Wanming via Tech-talk
Sent: Thursday, September 9, 2021 9:54 AM
To: tech-talk at aps.anl.gov
Subject: Using ADAravis with Spectral Instrument 1700 Radiation hard camera

 

Hi,

 

We recently bought a few radiation hard GigE cameras from Spectral Instruments Inc.  I’m just wondering if anybody has any experience using them with ADAravis.

We have no problem using ADAravis with other GigE camera we have.  But so far there is no success with this Spectral Instruments 1700 radiation hard camera. 

When I checked it with arv-test-0.8.exe, it reports several errors.

$ arv-test-0.8.exe

Found 1 device

Testing 'Spectral Instruments, Inc.:1700'

Genicam:Load                        SUCCESS

Genicam:Schema                      IGNORED

Properties:SensorSizeReadout        FAILURE node 'SensorWidth' not found

Properties:SensorSizeCheck          IGNORED

Properties:GainReadout              FAILURE node 'GainRaw' not found

Properties:ExposureTimeReadout      SUCCESS

MultipleAcquisition:BufferCheck     FAILURE node 'TriggerSelector' not found

SingleAcquisition:BufferCheck       FAILURE

Chunks:NoSupport                    FAILURE

SoftwareTrigger:NoSupport           FAILURE

GigEVision:NStreamChannels          SUCCESS

GigEVision:StreamChannel            SUCCESS

 

Any comments and suggestions are appreciated.

 

Thanks,

 

Wanming Liu


Replies:
RE: Using ADAravis with Spectral Instrument 1700 Radiation hard camera Liu, Wanming via Tech-talk
RE: Using ADAravis with Spectral Instrument 1700 Radiation hard camera Liu, Wanming via Tech-talk
References:
Using ADAravis with Spectral Instrument 1700 Radiation hard camera Liu, Wanming via Tech-talk
RE: Using ADAravis with Spectral Instrument 1700 Radiation hard camera Mark Rivers via Tech-talk
RE: Using ADAravis with Spectral Instrument 1700 Radiation hard camera Liu, Wanming via Tech-talk

Navigate by Date:
Prev: Incompatibility of pyepics and pvaPy 4.0.0 on Windows Mark Rivers via Tech-talk
Next: RE: Using ADAravis with Spectral Instrument 1700 Radiation hard camera Liu, Wanming 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  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: RE: Using ADAravis with Spectral Instrument 1700 Radiation hard camera Liu, Wanming via Tech-talk
Next: RE: Using ADAravis with Spectral Instrument 1700 Radiation hard camera Liu, Wanming 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  2020  <20212022  2023  2024 
ANJ, 09 Sep 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·