Hi Jong Woo,
You said you are running ADVimba R1-2. But there is no such release, the latest release is R1-1, which is what I assume you are using.
You have several problems.
The first is this line:
> epicsEnvSet("EPICS_DB_INCLUDE_PATH", "/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADCore/db;/usr/local/CXLS_SW/EPICS_NEW/synApps_6_1/support/areaDetector/ADVimba/iocs/vimbaIOC/../../db")
> dbLoadRecords("/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADVimba/iocs/vimbaIOC/../../db/vimba.template", "P=13VMB1:,R=ADVimba:,PORT=VMB1")
> Can't open include file "ADGenICam.template"
> Error at or before ""ADGenICam.template"" in file "/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADVimba/iocs/vimbaIOC/../../db/vimba.template" line 9
The problem is that you are missing ADGenICam from EPICS_DB_INCLUDE_PATH. In ADVimba R1-1 and the master branch the example IOC file st.cmd.base has this line:
epicsEnvSet("EPICS_DB_INCLUDE_PATH", "$(ADCORE)/db:$(ADGENICAM)/db:$(ADVIMBA)/db")
Note that it contains the path to ADGenICam/db. If you add that it will fix the above errors.
> Can't set "13VMB1:GenICamGC_FirmwareVerMajor.DTYP" to "asynInt64"
> ErrorCan't set "13VMB1:GenICamGC_FirmwareVerMinor_RBV.DTYP" to "asynInt64"
These errors are because you running ADGenICam R1-3 with asyn R4-37. The release notes for ADGenICam R1-2 say the following:
*******************
R1-2 (5-January-2020)
------------------------
* Change GenICam integer feature support from 32-bit integers to 64-bit integers, which is what GenICam specifies.
This requires asyn R4-38 which adds asynInt64 support for the ai, ao, longin, and longout records.
With EPICS base 3.16.1 and later (including EPICS 7) int64in and int64 out records can be used for these features.
On older versions of base ai and ao records must be used, which limits exact representation of the features to 52 bits.
*******************
So you need to update to at least asyn R4-38. You might as well go to asyn R4-39.
Mark
________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Jong Woo Kim via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, April 1, 2020 12:21 PM
To: tech-talk at aps.anl.gov
Subject: Problem with opening files in ADVimba
Hello,
When I run ADVimba ioc, I've got the following things.
EPICS 3.15.6
ADVimba R1-2
ADGenICam R1-3
[root@b iocVimba]# ../../bin/linux-x86_64/vimbaApp st.cmd
< envPaths
epicsEnvSet("IOC","iocVimba")
epicsEnvSet("TOP","/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADVimba/iocs/vimbaIOC")
epicsEnvSet("ADVIMBA","/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADVimba/iocs/vimbaIOC/../..")
epicsEnvSet("SUPPORT","/usr/local/EPICS_NEW/synApps_6_1/support")
epicsEnvSet("ASYN","/usr/local/EPICS_NEW/synApps_6_1/support/asyn4-37")
epicsEnvSet("AREA_DETECTOR","/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector")
epicsEnvSet("ADSUPPORT","/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADSupport")
epicsEnvSet("ADCORE","/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADCore")
epicsEnvSet("AUTOSAVE","/usr/local/EPICS_NEW/synApps_6_1/support/autosave-R5-10")
epicsEnvSet("BUSY","/usr/local/EPICS_NEW/synApps_6_1/support/busy-R1-7-2")
epicsEnvSet("CALC","/usr/local/EPICS_NEW/synApps_6_1/support/calc-R3-7-3")
epicsEnvSet("SNCSEQ","/usr/local/EPICS_NEW/synApps_6_1/support/seq-2-2-6")
epicsEnvSet("SSCAN","/usr/local/EPICS_NEW/synApps_6_1/support/sscan-R2-11-3")
epicsEnvSet("DEVIOCSTATS","/usr/local/EPICS_NEW/synApps_6_1/support/iocStats-3-1-16")
epicsEnvSet("EPICS_BASE","/usr/local/EPICS_NEW/base-3.15.6")
epicsEnvSet("ADGENICAM","/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADGenICam")
errlogInit(20000)
dbLoadDatabase("/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADVimba/iocs/vimbaIOC/dbd/vimbaApp.dbd")
vimbaApp_registerRecordDeviceDriver(pdbbase)
# Prefix for all records
epicsEnvSet("PREFIX", "13VMB1:")
epicsEnvSet("CAMERA_ID", "10.139.1.11")
epicsEnvSet("MODULE","ADVimba:")
epicsEnvSet("GENICAM_DB_FILE", "/usr/local/CXLS_SW/EPICS_NEW/synApps_6_1/support/areaDetector/ADGenICam/db/AVT_Mako_G507B.template")
# The port name for the detector
epicsEnvSet("PORT", "VMB1")
# Really large queue so we can stream to disk at full camera speed
epicsEnvSet("QSIZE", "2000")
# The maximim image width; used for row profiles in the NDPluginStats plugin
epicsEnvSet("XSIZE", "2464")
# The maximim image height; used for column profiles in the NDPluginStats plugin
epicsEnvSet("YSIZE", "2056")
# 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", "/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADCore/db;/usr/local/CXLS_SW/EPICS_NEW/synApps_6_1/support/areaDetector/ADVimba/iocs/vimbaIOC/../../db")
# Define NELEMENTS to be enough for a 2048x2048x3 (color) image
epicsEnvSet("NELEMENTS","15197952")
# ADVimbaConfig(const char *portName, const char *cameraId,
# size_t maxMemory, int priority, int stackSize)
ADVimbaConfig("VMB1", 10.139.1.11,0,0,0)
asynSetTraceIOMask(VMB1, 0, 2)
# Set ASYN_TRACE_WARNING and ASYN_TRACE_ERROR
#asynSetTraceMask($(PORT), 0, 0xff)
#asynSetTraceFile($(PORT), 0, "asynTrace.out")
#asynSetTraceInfoMask($(PORT), 0, 0xf)
dbLoadRecords("/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADVimba/iocs/vimbaIOC/../../db/vimba.template", "P=13VMB1:,R=ADVimba:,PORT=VMB1")
Can't open include file "ADGenICam.template"
Error at or before ""ADGenICam.template"" in file "/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADVimba/iocs/vimbaIOC/../../db/vimba.template" line 9
# Load the autogenerated file of GenICam features
dbLoadRecords("/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADGenICam/db/AVT_Mako_G507B.template", "P=13VMB1:,R=GenICam,PORT=VMB1")
Can't set "13VMB1:GenICamGC_FirmwareVerMajor_RBV.DTYP" to "asynInt64"
Error at or before ")" in file "/usr/local/EPICS_NEW/synApps_6_1/support/areaDetector/ADGenICam/db/AVT_Mako_G507B.template" line 9
Can't set "13VMB1:GenICamGC_FirmwareVerMajor.DTYP" to "asynInt64"
ErrorCan't set "13VMB1:GenICamGC_FirmwareVerMinor_RBV.DTYP" to "asynInt64"
ErrorCan't set "13VMB1:GenICamGC_FirmwareVerMinor.DTYP" to "asynInt64"
ErrorCan't set "13VMB1:GenICamGC_FirmwareVerBuild_RBV.DTYP" to "asynInt64"
ErrorCan't set "13VMB1:GenICamGC_FirmwareVerBuild.DTYP" to "asynInt64"
ErrorCan't set "13VMB1:GenICamGC_SensorBits_RBV.DTYP" to "asynInt64"
ErrorCan't set "13VMB1:GenICamGC_SensorBits.DTYP" to "asynInt64"
.
.
.
.
.
.
.
.
.
.
.
.
auto_settings.sav: 30 of 2245 PV's connected
Thanks,
Jong Woo
- References:
- Problem with opening files in ADVimba Jong Woo Kim via Tech-talk
- Navigate by Date:
- Prev:
Re: NTNDArray array filter does not work on value Marty Kraimer via Tech-talk
- Next:
EDM in RHEL8 or Centos8 Ernesto Paiser 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>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Problem with opening files in ADVimba Engbretson, Mark S. via Tech-talk
- Next:
EDM in RHEL8 or Centos8 Ernesto Paiser 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>
2021
2022
2023
2024
|