Please unsubscribe me from this message board. Thank you.
Nicholas Meyler
President, Technology Division
Wingate Dunross, Inc.
ph (818)597-3200 ext. 211
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Liu, Wanming via Tech-talk
Sent: Thursday, September 9, 2021 2:09 PM
To: Rivers, Mark L. <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,
I just checked the settings on linux machine in the Lab. It has been configured according to the instruction and the camera wasn’t working there.
I enabled jumbo frame with both NICs in the windows machine in my office and configured the linux virtual machine following the instructions( The camera is connected to one physical NIC which is bridged into the virtual machine). It doesn’t seem to have any effect.
The next thing I could try is to connect the camera directly to the linux machine in the lab using a crossover cable instead of over the LAN and see how it goes.
Thanks for the helps.
Wanming
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
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
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
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