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  2021  2022  2023  2024  <2025 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  <2025
<== Date ==> <== Thread ==>

Subject: Re: Retiga E7 and ADKinetix
From: John Dobbins via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS tech-talk <tech-talk at aps.anl.gov>, "Wlodek, Jakub" <jwlodek at bnl.gov>
Date: Thu, 12 Jun 2025 14:33:49 +0000
If I do ldd on the EPICS built FanSpeedAndTemperature I see it points to

      libpvcam.so.2 =>  [ ... ]/ADKinetix/lib/linux-x86_64/libpvcam.so.2 

I then copy libpvcam.*  from

/opt/pvcam/library/x86_64/

to

[...]/ADKinetix/lib/linux-x86_64

And my EPICS built version of FanSpeedAndControl now works

What is going on?

John




From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of John Dobbins via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, June 12, 2025 10:19 AM
To: EPICS tech-talk <tech-talk at aps.anl.gov>; Wlodek, Jakub <jwlodek at bnl.gov>
Subject: Re: Retiga E7 and ADKinetix
 
I have the latest ADKinetix source code.

I modified ADKinetix::ADKinetix  to just retrieve the camera name, following 

/opt/pvcam/sdk/examples/code_samples

However, the returned name is nonsense. Each run returns a different nonsense result. This was true before my modifications also.

----------

I then did the following:

I verify that I can successfully run 

/opt/pvcam/sdk/examples/code_samples/bin/linux-x86_64/release/FanSpeedAndTemperature

Then I copied the example source files

FanSppecandTemperature.cpp
Common.cpp
Common.h
version.h

to

ADKinetix/kinetixApp/src

And I add these lines to the Makefile

PROD_HOST += FanSpeedAndTemperature
FanSpeedAndTemperature_LIBS += pvcam
FanSpeedAndTemperature_SRCS += FanSpeedAndTemperature.cpp
FanSpeedAndTemperature_SRCS += Common.cpp

Which builds FanSpeedAndTemperature  using the EPICS build system


The version of FanSpeedAndTemeprature built in this way has the same behavior, outputs a random nonsense name

PVCAM initialized
Number of cameras found: 1
Camera 0 name: '��b"�'

I don't know how to proceed. Any advice appreciated.  

John



From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of John Dobbins via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, June 10, 2025 12:31 PM
To: EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: Retiga E7 and ADKinetix
 
I have a new  Teledyne Retiga E7.

I first tested on windows using the PVCAM software and the Beacon software.

Next on Linux, Alma 9,  I verified that /opt/pvcam/bin/PVCamTest/x86_64/'PVCanTestCli   succeeds.

Then using ADKinetix R1-1,  base-7.0.6 , areaDetector-R3-13  I get a segfault  (see below)

What should I do next?

John Dobbins

Research Support Specialist
Cornell High Energy Synchrotron Source
Cornell University




[root@lnx591 iocKinetix]# ../../bin/linux-x86_64/kinetixApp st.cmd
#!../../bin/linux-x86_64/kinetixApp
< /epics/common/xf31id1-lab3-ioc1-netsetup.cmd
Can't open /epics/common/xf31id1-lab3-ioc1-netsetup.cmd: No such file or directory
errlogInit(20000)
< envPaths
epicsEnvSet("IOC","iocKinetix")
epicsEnvSet("TOP","/nfs/chess/epics/det/support_alma/areaDetector-R3-13/ADKinetix/iocs/kinetixIOC")
epicsEnvSet("ADKINETIX","/nfs/chess/epics/det/support_alma/areaDetector-R3-13/ADKinetix/iocs/kinetixIOC/../..")
epicsEnvSet("SUPPORT","/nfs/chess/epics/det/support_alma")
epicsEnvSet("ASYN","/nfs/chess/epics/det/support_alma/asyn-R4-45")
epicsEnvSet("AREA_DETECTOR","/nfs/chess/epics/det/support_alma/areaDetector-R3-13")
epicsEnvSet("ADSUPPORT","/nfs/chess/epics/det/support_alma/areaDetector-R3-13/ADSupport")
epicsEnvSet("ADCORE","/nfs/chess/epics/det/support_alma/areaDetector-R3-13/ADCore")
epicsEnvSet("AUTOSAVE","/nfs/chess/epics/det/support_alma/autosave-R5-11")
epicsEnvSet("BUSY","/nfs/chess/epics/det/support_alma/busy-R1-7-4")
epicsEnvSet("CALC","/nfs/chess/epics/det/support_alma/calc-R3-7-5")
epicsEnvSet("SNCSEQ","/nfs/chess/epics/det/support_alma/seq-R2-2-9")
epicsEnvSet("SSCAN","/nfs/chess/epics/det/support_alma/sscan-R2-11-5")
epicsEnvSet("DEVIOCSTATS","/nfs/chess/epics/det/support_alma/iocStats-3-1-16")
epicsEnvSet("EPICS_BASE","/nfs/chess/epics/det/base-7.0.6")
dbLoadDatabase("/nfs/chess/epics/det/support_alma/areaDetector-R3-13/ADKinetix/iocs/kinetixIOC/dbd/kinetixApp.dbd")
kinetixApp_registerRecordDeviceDriver(pdbbase)
# Prefix for all records
epicsEnvSet("PREFIX", "RE7")
# The port name for the detector
epicsEnvSet("PORT",   "KTX")
# The queue size for all plugins
epicsEnvSet("QSIZE",  "20")
# 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", "/nfs/chess/epics/det/support_alma/areaDetector-R3-13/ADCore/db")
ADKinetixConfig(0, "KTX")
Segmentation fault (core dumped)






Replies:
Re: Retiga E7 and ADKinetix John Dobbins via Tech-talk
References:
Retiga E7 and ADKinetix John Dobbins via Tech-talk
Re: Retiga E7 and ADKinetix John Dobbins via Tech-talk

Navigate by Date:
Prev: Re: Retiga E7 and ADKinetix John Dobbins via Tech-talk
Next: Re: Retiga E7 and ADKinetix 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  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: Re: Retiga E7 and ADKinetix John Dobbins via Tech-talk
Next: Re: Retiga E7 and ADKinetix 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  2021  2022  2023  2024  <2025
ANJ, 12 Jun 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·