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: aravisGigE driver for AVT Manta camera
From: Hasan SANSAR via Tech-talk <tech-talk at aps.anl.gov>
To: "Knap, Giles (DLSLtd,RAL,LSCI)" <giles.knap at diamond.ac.uk>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 18 Oct 2021 14:07:40 +0300

Hi Mark and Giles,


Thank you for your responses. Network setup was only on Bridged Network with MAC Address of ethernet interface. When I set GevSCPSPacketSiz PV to 1500, the problem is solved.


Hasan



On 17.10.2021 23:47, Knap, Giles (DLSLtd,RAL,LSCI) wrote:
Hi Hasan,

I note that you are running on a virtual machine. What is the network setup?

I have found that the GVCP control protocol will pass through a NAT OK but the GVSP streaming protocol will not. This is because the control protocol passes the IP and port for the camera to connect to for streaming and the NAT does not know about this.

If you VM has a virtual network, you would see control working but streaming never connects and times out.


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Hasan SANSAR via Tech-talk <tech-talk at aps.anl.gov>
Sent: 16 October 2021 14:58
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: aravisGigE driver for AVT Manta camera
 

Hi,

We are using Baumer CCD cameras with aravisGigE driver and we have a AVT Manta G201-B camera. I'm trying to add aravisGigE's st.cmd this camera but I failed. The arv-tool-0.6 can recognize the camera and template file can be built for the camera, but when I run the start_epics file after changing st.cmd, I can connect to camera but, cannot get raw data for images and vision.

I have set  to EPICS_CA_MAX_ARRAY_BYTES to .bashrc and datasources of CSS as 1624*1234*32 and, I have set new buffer memory values for different increasing values and so, I couldn't get images. (I run aravisGigE driver on virtual CentOS 7.9 on real Linux Mint 21.04. Should I change buffer memory values and EPICS_CA_MAX_ARRAY_BYTES for Linux Mint? (This situation was not needed for Baumer cameras.))

How can I solve this problem?

I'm sending related output of start_epics.

Thanks in advance.
Best regards.

Hasan.

output of start_epics:

[cam@localhost iocAravisGigE]$ ./start_epics
< envPaths
epicsEnvSet("IOC","iocAravisGigE")
epicsEnvSet("TOP","/opt/EPICS/support/Dedektor/aravisGigE/iocs/aravisGigEIOC")
epicsEnvSet("ARAVISGIGE","/opt/EPICS/support/Dedektor/aravisGigE/iocs/aravisGigEIOC/../..")
epicsEnvSet("SUPPORT","/opt/EPICS/support")
epicsEnvSet("ASYN","/opt/EPICS/support/asyn")
epicsEnvSet("AREA_DETECTOR","/opt/EPICS/support/Dedektor")
epicsEnvSet("ADSUPPORT","/opt/EPICS/support/Dedektor/ADSupport")
epicsEnvSet("ADCORE","/opt/EPICS/support/Dedektor/ADCore")
epicsEnvSet("AUTOSAVE","/opt/EPICS/support/autosave")
epicsEnvSet("BUSY","/opt/EPICS/support/busy")
epicsEnvSet("CALC","/opt/EPICS/support/calc")
epicsEnvSet("SNCSEQ","/opt/EPICS/support/sequencer")
epicsEnvSet("SSCAN","/opt/EPICS/support/sscan")
epicsEnvSet("DEVIOCSTATS","/opt/EPICS/support/iocStats")
epicsEnvSet("EPICS_BASE","/opt/EPICS/epics-base")
errlogInit(20000)
dbLoadDatabase("/opt/EPICS/support/Dedektor/aravisGigE/iocs/aravisGigEIOC/dbd/aravisGigEApp.dbd")
aravisGigEApp_registerRecordDeviceDriver(pdbbase)
# Prefix for all records
epicsEnvSet("PREFIX", "BL:DCC:")
# The port name for the detector
epicsEnvSet("PORT",   "ARV1")
# The queue size for all plugins
epicsEnvSet("QSIZE",  "20")
# The maximim image width; used for row profiles in the NDPluginStats plugin
epicsEnvSet("XSIZE",  "1624")
# The maximim image height; used for column profiles in the NDPluginStats plugin
epicsEnvSet("YSIZE",  "1234")
# The maximum number of time series points in the NDPluginStats plugin
epicsEnvSet("NCHANS", "2048")
# The maximum number of frames buffered in the NDPluginCircularBuff plugin
epicsEnvSet("CBUFFS", "500")
# The search path for database files
epicsEnvSet("EPICS_DB_INCLUDE_PATH", "/opt/EPICS/support/Dedektor/ADCore/db")
dbLoadRecords("/opt/EPICS/support/Dedektor/aravisGigE/iocs/aravisGigEIOC/../../iocs/aravisGigEIOC/iocBoot/iocAravisGigE/Cam_Checker.db")
aravisCameraConfig("ARV1", "Allied Vision Technologies-50-0503326564")
aravisCamera: Looking for camera 'Allied Vision Technologies-50-0503326564'...
aravisCamera: Your tick frequency is 36000000
So your timestamp resolution is 27.777778 ns
aravisCamera: Done.
aravisCamera: Getting feature list...
aravisCamera: Done.
dbLoadRecords("/opt/EPICS/support/Dedektor/aravisGigE/iocs/aravisGigEIOC/../../db/AVT_Manta_G201B.template","P=BL:DCC:,R=cam1:,PORT=ARV1,ADDR=0,TIMEOUT=1")
#aravisCameraConfig("ARV2", "Baumer Optronic-0402920514")
#dbLoadRecords("$(ARAVISGIGE)/db/Baumer_VLG20M.template","P=$(PREFIX),R=cam2:,PORT=ARV2,ADDR=0,TIMEOUT=1")
#aravisCameraConfig("ARV2", "Baumer Optronic-0402920514")
#dbLoadRecords("$(ARAVISGIGE)/db/Baumer_VLG20M.template","P=$(PREFIX),R=cam2:,PORT=ARV2,ADDR=0,TIMEOUT=1")
asynSetTraceMask("ARV1",0,0x21)
dbLoadRecords("/opt/EPICS/support/Dedektor/aravisGigE/iocs/aravisGigEIOC/../../db/aravisCamera.template", "P=BL:DCC:,R=cam1:,PORT=ARV1,ADDR=0,TIMEOUT=1")
#asynSetTraceMask("ARV2",0,0x21)
#dbLoadRecords("$(ARAVISGIGE)/db/aravisCamera.template", "P=$(PREFIX),R=cam2:,PORT=ARV2,ADDR=0,TIMEOUT=1")
# Create a standard arrays plugin
NDStdArraysConfigure("Image1", 5, 0, "ARV1", 0, 0)
# Allow for cameras up to 2048x2048x3 for RGB
dbLoadRecords("/opt/EPICS/support/Dedektor/ADCore/db/NDStdArrays.template", "P=BL:DCC:,R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1,TYPE=Int16,FTVL=SHORT,NELEMENTS=12582912")
# Load all other plugins using commonPlugins.cmd
< /opt/EPICS/support/Dedektor/ADCore/iocBoot/commonPlugins.cmd
# This is an example file for creating plugins
# It uses the following environment variable macros
# Many of the parameters defined in this file are also in commonPlugins_settings.req so if autosave is being
# use the autosave value will replace the value passed to this file.
# $(PREFIX)      Prefix for all records
# $(PORT)        The port name for the detector.  In autosave.
# $(QSIZE)       The queue size for all plugins.  In autosave.
# $(XSIZE)       The maximum image width; used to set the maximum size for row profiles in the NDPluginStats plugin and 1-D FFT
#                   profiles in NDPluginFFT.
# $(YSIZE)       The maximum image height; used to set the maximum size for column profiles in the NDPluginStats plugin
# $(NCHANS)      The maximum number of time series points in the NDPluginStats, NDPluginROIStats, and NDPluginAttribute plugins
# $(CBUFFS)      The maximum number of frames buffered in the NDPluginCircularBuff plugin
# $(MAX_THREADS) The maximum number of threads for plugins which can run in multiple threads. Defaults to 5.
# Create a netCDF file saving plugin
NDFileNetCDFConfigure("FileNetCDF1", 20, 0, "ARV1", 0)
dbLoadRecords("NDFileNetCDF.template","P=BL:DCC:,R=netCDF1:,PORT=FileNetCDF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create a TIFF file saving plugin
NDFileTIFFConfigure("FileTIFF1", 20, 0, "ARV1", 0)
dbLoadRecords("NDFileTIFF.template",  "P=BL:DCC:,R=TIFF1:,PORT=FileTIFF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create a JPEG file saving plugin
NDFileJPEGConfigure("FileJPEG1", 20, 0, "ARV1", 0)
dbLoadRecords("NDFileJPEG.template",  "P=BL:DCC:,R=JPEG1:,PORT=FileJPEG1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create a NeXus file saving plugin
NDFileNexusConfigure("FileNexus1", 20, 0, "ARV1", 0)
dbLoadRecords("NDFileNexus.template", "P=BL:DCC:,R=Nexus1:,PORT=FileNexus1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create an HDF5 file saving plugin
NDFileHDF5Configure("FileHDF1", 20, 0, "ARV1", 0)
dbLoadRecords("NDFileHDF5.template",  "P=BL:DCC:,R=HDF1:,PORT=FileHDF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create a Magick file saving plugin
#NDFileMagickConfigure("FileMagick1", $(QSIZE), 0, "$(PORT)", 0)
#dbLoadRecords("NDFileMagick.template","P=$(PREFIX),R=Magick1:,PORT=FileMagick1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT)")
# Create 4 ROI plugins
NDROIConfigure("ROI1", 20, 0, "ARV1", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDROI.template",       "P=BL:DCC:,R=ROI1:,  PORT=ROI1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
NDROIConfigure("ROI2", 20, 0, "ARV1", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDROI.template",       "P=BL:DCC:,R=ROI2:,  PORT=ROI2,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
NDROIConfigure("ROI3", 20, 0, "ARV1", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDROI.template",       "P=BL:DCC:,R=ROI3:,  PORT=ROI3,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
NDROIConfigure("ROI4", 20, 0, "ARV1", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDROI.template",       "P=BL:DCC:,R=ROI4:,  PORT=ROI4,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create 8 ROIStat plugins
NDROIStatConfigure("ROISTAT1", 20, 0, "ARV1", 0, 8, 0, 0, 0, 0, 5)
dbLoadRecords("NDROIStat.template",   "P=BL:DCC:,R=ROIStat1:  ,PORT=ROISTAT1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL:DCC:,R=ROIStat1:1:,PORT=ROISTAT1,ADDR=0,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL:DCC:,R=ROIStat1:2:,PORT=ROISTAT1,ADDR=1,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL:DCC:,R=ROIStat1:3:,PORT=ROISTAT1,ADDR=2,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL:DCC:,R=ROIStat1:4:,PORT=ROISTAT1,ADDR=3,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL:DCC:,R=ROIStat1:5:,PORT=ROISTAT1,ADDR=4,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL:DCC:,R=ROIStat1:6:,PORT=ROISTAT1,ADDR=5,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL:DCC:,R=ROIStat1:7:,PORT=ROISTAT1,ADDR=6,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL:DCC:,R=ROIStat1:8:,PORT=ROISTAT1,ADDR=7,TIMEOUT=1,NCHANS=2048")
# Create a processing plugin
NDProcessConfigure("PROC1", 20, 0, "ARV1", 0, 0, 0)
dbLoadRecords("NDProcess.template",   "P=BL:DCC:,R=Proc1:,  PORT=PROC1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create a TIFF file plugin to read dark and flatfield images into the processing plugin
NDFileTIFFConfigure("PROC1TIFF", 20, 0, "ARV1", 0)
dbLoadRecords("NDFileTIFF.template",  "P=BL:DCC:,R=Proc1:TIFF:,PORT=PROC1TIFF,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create a scatter plugin
NDScatterConfigure("SCATTER1", 20, 0, "ARV1", 0, 0, 0)
dbLoadRecords("NDScatter.template",   "P=BL:DCC:,R=Scatter1:,  PORT=SCATTER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create a gather plugin with 8 ports
NDGatherConfigure("GATHER1", 20, 0, 8, 0, 0)
dbLoadRecords("NDGather.template",   "P=BL:DCC:,R=Gather1:, PORT=GATHER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
dbLoadRecords("NDGatherN.template",   "P=BL:DCC:,R=Gather1:, N=1, PORT=GATHER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
dbLoadRecords("NDGatherN.template",   "P=BL:DCC:,R=Gather1:, N=2, PORT=GATHER1,ADDR=1,TIMEOUT=1,NDARRAY_PORT=ARV1")
dbLoadRecords("NDGatherN.template",   "P=BL:DCC:,R=Gather1:, N=3, PORT=GATHER1,ADDR=2,TIMEOUT=1,NDARRAY_PORT=ARV1")
dbLoadRecords("NDGatherN.template",   "P=BL:DCC:,R=Gather1:, N=4, PORT=GATHER1,ADDR=3,TIMEOUT=1,NDARRAY_PORT=ARV1")
dbLoadRecords("NDGatherN.template",   "P=BL:DCC:,R=Gather1:, N=5, PORT=GATHER1,ADDR=4,TIMEOUT=1,NDARRAY_PORT=ARV1")
dbLoadRecords("NDGatherN.template",   "P=BL:DCC:,R=Gather1:, N=6, PORT=GATHER1,ADDR=5,TIMEOUT=1,NDARRAY_PORT=ARV1")
dbLoadRecords("NDGatherN.template",   "P=BL:DCC:,R=Gather1:, N=7, PORT=GATHER1,ADDR=6,TIMEOUT=1,NDARRAY_PORT=ARV1")
dbLoadRecords("NDGatherN.template",   "P=BL:DCC:,R=Gather1:, N=8, PORT=GATHER1,ADDR=7,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create 5 statistics plugins
NDStatsConfigure("STATS1", 20, 0, "ARV1", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDStats.template",     "P=BL:DCC:,R=Stats1:,  PORT=STATS1,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1624,YSIZE=1234,NCHANS=2048,NDARRAY_PORT=ARV1")
NDTimeSeriesConfigure("STATS1_TS", 20, 0, "STATS1", 1, 23)
dbLoadRecords("/opt/EPICS/support/Dedektor/ADCore/db/NDTimeSeries.template",  "P=BL:DCC:,R=Stats1:TS:, PORT=STATS1_TS,ADDR=0,TIMEOUT=1,NDARRAY_PORT=STATS1,NDARRAY_ADDR=1,NCHANS=2048,ENABLED=1")
NDStatsConfigure("STATS2", 20, 0, "ROI1",    0, 0, 0, 0, 0, 5)
dbLoadRecords("NDStats.template",     "P=BL:DCC:,R=Stats2:,  PORT=STATS2,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1624,YSIZE=1234,NCHANS=2048,NDARRAY_PORT=ARV1")
NDTimeSeriesConfigure("STATS2_TS", 20, 0, "STATS2", 1, 23)
dbLoadRecords("/opt/EPICS/support/Dedektor/ADCore/db/NDTimeSeries.template",  "P=BL:DCC:,R=Stats2:TS:, PORT=STATS2_TS,ADDR=0,TIMEOUT=1,NDARRAY_PORT=STATS2,NDARRAY_ADDR=1,NCHANS=2048,ENABLED=1")
NDStatsConfigure("STATS3", 20, 0, "ROI2",    0, 0, 0, 0, 0, 5)
dbLoadRecords("NDStats.template",     "P=BL:DCC:,R=Stats3:,  PORT=STATS3,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1624,YSIZE=1234,NCHANS=2048,NDARRAY_PORT=ARV1")
NDTimeSeriesConfigure("STATS3_TS", 20, 0, "STATS3", 1, 23)
dbLoadRecords("/opt/EPICS/support/Dedektor/ADCore/db/NDTimeSeries.template",  "P=BL:DCC:,R=Stats3:TS:, PORT=STATS3_TS,ADDR=0,TIMEOUT=1,NDARRAY_PORT=STATS3,NDARRAY_ADDR=1,NCHANS=2048,ENABLED=1")
NDStatsConfigure("STATS4", 20, 0, "ROI3",    0, 0, 0, 0, 0, 5)
dbLoadRecords("NDStats.template",     "P=BL:DCC:,R=Stats4:,  PORT=STATS4,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1624,YSIZE=1234,NCHANS=2048,NDARRAY_PORT=ARV1")
NDTimeSeriesConfigure("STATS4_TS", 20, 0, "STATS4", 1, 23)
dbLoadRecords("/opt/EPICS/support/Dedektor/ADCore/db/NDTimeSeries.template",  "P=BL:DCC:,R=Stats4:TS:, PORT=STATS4_TS,ADDR=0,TIMEOUT=1,NDARRAY_PORT=STATS4,NDARRAY_ADDR=1,NCHANS=2048,ENABLED=1")
NDStatsConfigure("STATS5", 20, 0, "ROI4",    0, 0, 0, 0, 0, 5)
dbLoadRecords("NDStats.template",     "P=BL:DCC:,R=Stats5:,  PORT=STATS5,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1624,YSIZE=1234,NCHANS=2048,NDARRAY_PORT=ARV1")
NDTimeSeriesConfigure("STATS5_TS", 20, 0, "STATS5", 1, 23)
dbLoadRecords("/opt/EPICS/support/Dedektor/ADCore/db/NDTimeSeries.template",  "P=BL:DCC:,R=Stats5:TS:, PORT=STATS5_TS,ADDR=0,TIMEOUT=1,NDARRAY_PORT=STATS5,NDARRAY_ADDR=1,NCHANS=2048,ENABLED=1")
# Create a transform plugin
NDTransformConfigure("TRANS1", 20, 0, "ARV1", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDTransform.template", "P=BL:DCC:,R=Trans1:,  PORT=TRANS1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create an overlay plugin with 8 overlays
NDOverlayConfigure("OVER1", 20, 0, "ARV1", 0, 8, 0, 0, 0, 0, 5)
dbLoadRecords("NDOverlay.template", "P=BL:DCC:,R=Over1:, PORT=OVER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
dbLoadRecords("NDOverlayN.template","P=BL:DCC:,R=Over1:1:,NAME=ROI1,   SHAPE=1,O=Over1:,XPOS=BL:DCC:ROI1:MinX_RBV,YPOS=BL:DCC:ROI1:MinY_RBV,XSIZE=BL:DCC:ROI1:SizeX_RBV,YSIZE=BL:DCC:ROI1:SizeY_RBV,PORT=OVER1,ADDR=0,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL:DCC:,R=Over1:2:,NAME=ROI2,   SHAPE=1,O=Over1:,XPOS=BL:DCC:ROI2:MinX_RBV,YPOS=BL:DCC:ROI2:MinY_RBV,XSIZE=BL:DCC:ROI2:SizeX_RBV,YSIZE=BL:DCC:ROI2:SizeY_RBV,PORT=OVER1,ADDR=1,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL:DCC:,R=Over1:3:,NAME=ROI3,   SHAPE=1,O=Over1:,XPOS=BL:DCC:ROI3:MinX_RBV,YPOS=BL:DCC:ROI3:MinY_RBV,XSIZE=BL:DCC:ROI3:SizeX_RBV,YSIZE=BL:DCC:ROI3:SizeY_RBV,PORT=OVER1,ADDR=2,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL:DCC:,R=Over1:4:,NAME=ROI4,   SHAPE=1,O=Over1:,XPOS=BL:DCC:ROI4:MinX_RBV,YPOS=BL:DCC:ROI4:MinY_RBV,XSIZE=BL:DCC:ROI4:SizeX_RBV,YSIZE=BL:DCC:ROI4:SizeY_RBV,PORT=OVER1,ADDR=3,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL:DCC:,R=Over1:5:,NAME=Cursor1,SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=4,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL:DCC:,R=Over1:6:,NAME=Cursor2,SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=5,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL:DCC:,R=Over1:7:,NAME=Box1,   SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=6,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL:DCC:,R=Over1:8:,NAME=Box2,   SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=7,TIMEOUT=1")
# Create 2 color conversion plugins
NDColorConvertConfigure("CC1", 20, 0, "ARV1", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDColorConvert.template", "P=BL:DCC:,R=CC1:,  PORT=CC1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
NDColorConvertConfigure("CC2", 20, 0, "ARV1", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDColorConvert.template", "P=BL:DCC:,R=CC2:,  PORT=CC2,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create a circular buffer plugin
NDCircularBuffConfigure("CB1", 20, 0, "ARV1", 0, 500, 0)
dbLoadRecords("NDCircularBuff.template", "P=BL:DCC:,R=CB1:,  PORT=CB1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ARV1")
# Create an NDAttribute plugin with 8 attributes
NDAttrConfigure("ATTR1", 20, 0, "ARV1", 0, 8, 0, 0, 0)
dbLoadRecords("NDAttribute.template",  "P=BL:DCC:,R=Attr1:,    PORT=ATTR1,ADDR=0,TIMEOUT=1,NCHANS=2048,NDARRAY_PORT=ARV1")
dbLoadRecords("NDAttributeN.template", "P=BL:DCC:,R=Attr1:1:,  PORT=ATTR1,ADDR=0,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL:DCC:,R=Attr1:2:,  PORT=ATTR1,ADDR=1,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL:DCC:,R=Attr1:3:,  PORT=ATTR1,ADDR=2,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL:DCC:,R=Attr1:4:,  PORT=ATTR1,ADDR=3,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL:DCC:,R=Attr1:5:,  PORT=ATTR1,ADDR=4,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL:DCC:,R=Attr1:6:,  PORT=ATTR1,ADDR=5,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL:DCC:,R=Attr1:7:,  PORT=ATTR1,ADDR=6,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL:DCC:,R=Attr1:8:,  PORT=ATTR1,ADDR=7,TIMEOUT=1,NCHANS=2048")
# Create an FFT plugin
NDFFTConfigure("FFT1", 3, 0, "ARV1", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDFFT.template", "P=BL:DCC:, R=FFT1:, PORT=FFT1, ADDR=0, TIMEOUT=1, NDARRAY_PORT=ARV1, NAME=FFT1, NCHANS=1624")
set_requestfile_path("./")
set_requestfile_path("/opt/EPICS/support/Dedektor/ADCore/ADApp/Db")
set_requestfile_path("/opt/EPICS/support/Dedektor/ADCore/iocBoot")
set_savefile_path("./autosave")
set_pass0_restoreFile("auto_settings.sav")
set_pass1_restoreFile("auto_settings.sav")
save_restoreSet_status_prefix("BL:DCC:")
dbLoadRecords("/opt/EPICS/support/autosave/asApp/Db/save_restoreStatus.db", "P=BL:DCC:")
# Optional: load NDPluginPva plugin
#NDPvaConfigure("PVA1", $(QSIZE), 0, "$(PORT)", 0, $(PREFIX)Pva1:Image, 0, 0, 0)
#dbLoadRecords("NDPva.template",  "P=$(PREFIX),R=Pva1:, PORT=PVA1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT)")
# Must start PVA server if this is enabled
#startPVAServer
# Optional: load NDPluginEdge plugin
#NDEdgeConfigure("EDGE1", $(QSIZE), 0, "$(PORT)", 0, 0, 0, 0)
#dbLoadRecords("$(ADPLUGINEDGE)/db/NDEdge.template",  "P=$(PREFIX),R=Edge1:, PORT=EDGE1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT)")
#set_requestfile_path("$(ADPLUGINEDGE)/edgeApp/Db")
# Optional: load scan records
#dbLoadRecords("$(SSCAN)/sscanApp/Db/scan.db", "P=$(PREFIX),MAXPTS1=2000,MAXPTS2=200,MAXPTS3=20,MAXPTS4=10,MAXPTSH=10")
#set_requestfile_path("$(SSCAN)/sscanApp/Db")
# Optional: load sseq record for acquisition sequence
#dbLoadRecords("$(CALC)/calcApp/Db/sseqRecord.db", "P=$(PREFIX), S=AcquireSequence")
#set_requestfile_path("$(CALC)/calcApp/Db")
# Optional: load devIocStats records (requires DEVIOCSTATS module)
#dbLoadRecords("$(DEVIOCSTATS)/db/iocAdminSoft.db", "IOC=$(PREFIX)")
# Optional: load alive record (requires ALIVE module)
#dbLoadRecords("$(ALIVE)/aliveApp/Db/alive.db", "P=$(PREFIX),RHOST=192.168.1.254")
macLib: macro ADPILATUS is undefined (expanding string set_requestfile_path("$(ADPILATUS)/prosilicaApp/Db"))
#asynSetTraceMask("$(PORT)",0,255)
#asynSetTraceMask("$(PORT)",0,3)
iocInit()
Starting iocInit
############################################################################
## EPICS R3.15.8
## EPICS Base built Aug 24 2021
############################################################################
reboot_restore: entry for file 'auto_settings.sav'
reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
*** restoring from './autosave/auto_settings.sav' at initHookState 6 (before record/device init) ***
reboot_restore: done with file 'auto_settings.sav'

2021/10/15 10:26:42.552 asynPortDriver:drvUserCreate: addr=0, cannot find parameter CURSOR_VAL
BL:DCC:Stats1:CursorVal devAsynFloat64::initCommon drvUserCreate
2021/10/15 10:26:42.552 asynPortDriver:drvUserCreate: addr=0, cannot find parameter CURSOR_VAL
BL:DCC:Stats2:CursorVal devAsynFloat64::initCommon drvUserCreate
2021/10/15 10:26:42.552 asynPortDriver:drvUserCreate: addr=0, cannot find parameter CURSOR_VAL
BL:DCC:Stats3:CursorVal devAsynFloat64::initCommon drvUserCreate
2021/10/15 10:26:42.553 asynPortDriver:drvUserCreate: addr=0, cannot find parameter CURSOR_VAL
BL:DCC:Stats4:CursorVal devAsynFloat64::initCommon drvUserCreate
2021/10/15 10:26:42.553 asynPortDriver:drvUserCreate: addr=0, cannot find parameter CURSOR_VAL
BL:DCC:Stats5:CursorVal devAsynFloat64::initCommon drvUserCreate
aravisCamera: Adding feature DeviceVendorName with value: Allied Vision Technologies
aravisCamera: Adding feature DeviceModelName with value: Manta_G-201B
aravisCamera: Adding feature DeviceFirmwareVersion with value: 00.01.44.04
aravisCamera: Adding feature DeviceID with value: 50-0503326564
aravisCamera: Adding feature DevicePartNumber with value: E0020008
aravisCamera: Adding feature ModelName with value: Manta_G-201B
reboot_restore: entry for file 'auto_settings.sav'
reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
*** restoring from './autosave/auto_settings.sav' at initHookState 7 (after record/device init) ***
reboot_restore: done with file 'auto_settings.sav'

2021/10/15 10:26:43.916 NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached
2021/10/15 10:26:43.916 NDPluginDriver::writeInt32 ERROR, status=3, function=66, value=1, connectedToArrayPort_=1
2021/10/15 10:26:43.916 NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached
2021/10/15 10:26:43.916 NDPluginDriver::writeInt32 ERROR, status=3, function=66, value=1, connectedToArrayPort_=1
2021/10/15 10:26:43.918 NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached
2021/10/15 10:26:43.918 NDPluginDriver::writeInt32 ERROR, status=3, function=66, value=1, connectedToArrayPort_=1
2021/10/15 10:26:43.918 NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached
2021/10/15 10:26:43.918 NDPluginDriver::writeInt32 ERROR, status=3, function=66, value=1, connectedToArrayPort_=1
2021/10/15 10:26:43.919 NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached
2021/10/15 10:26:43.919 NDPluginDriver::writeInt32 ERROR, status=3, function=66, value=1, connectedToArrayPort_=1
2021/10/15 10:26:43.919 NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached
2021/10/15 10:26:43.919 NDPluginDriver::writeInt32 ERROR, status=3, function=66, value=1, connectedToArrayPort_=1
2021/10/15 10:26:43.920 NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached
2021/10/15 10:26:43.920 NDPluginDriver::writeInt32 ERROR, status=3, function=66, value=1, connectedToArrayPort_=1
2021/10/15 10:26:43.920 NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached
2021/10/15 10:26:43.920 NDPluginDriver::writeInt32 ERROR, status=3, function=66, value=1, connectedToArrayPort_=1
2021/10/15 10:26:43.922 NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached
2021/10/15 10:26:43.922 NDPluginDriver::writeInt32 ERROR, status=3, function=66, value=1, connectedToArrayPort_=1
2021/10/15 10:26:43.922 NDPluginDriver::writeInt32 cannot do ProcessPlugin, no input array cached
2021/10/15 10:26:43.922 NDPluginDriver::writeInt32 ERROR, status=3, function=66, value=1, connectedToArrayPort_=1
iocRun: All initialization complete
# save things every thirty seconds
create_monitor_set("auto_settings.req", 30,"P=BL:DCC:")
save_restore:readReqFile: unable to open file aravisCamera_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
create_monitor_set("commonPlugin_settings.req",30,"P=BL:DCC:")
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
commonPlugin_settings.sav: 1070 of 1070 PV's connected
auto_settings.sav: 1086 of 1086 PV's connected
epics>Bad Frame Status: Timeout
Bad Frame Status: Timeout
Bad Frame Status: Timeout
Bad Frame Status: Timeout
Bad Frame Status: Timeout
Bad Frame Status: Timeout
Bad Frame Status: Timeout
Bad Frame Status: Timeout
Bad Frame Status: Timeout
Bad Frame Status: Timeout, 10 msgs suppressed

-- 
Hasan Sansar

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 

-- 
Hasan Sansar

Replies:
Re: aravisGigE driver for AVT Manta camera Palaha, Arvinder (DLSLtd, RAL, LSCI) via Tech-talk
References:
aravisGigE driver for AVT Manta camera Hasan SANSAR via Tech-talk
Re: aravisGigE driver for AVT Manta camera Knap, Giles (DLSLtd,RAL,LSCI) via Tech-talk

Navigate by Date:
Prev: Re: Metadata for an NTTable White, Greg via Tech-talk
Next: "Virtual circuit disconnect" message question John Dobbins 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: aravisGigE driver for AVT Manta camera Knap, Giles (DLSLtd,RAL,LSCI) via Tech-talk
Next: Re: aravisGigE driver for AVT Manta camera Palaha, Arvinder (DLSLtd, RAL, LSCI) 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, 19 Oct 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·