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 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
<== Date ==> <== Thread ==>

Subject: RE: Required Perl modules?
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: John Dobbins <john.dobbins at cornell.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 5 Jun 2024 18:38:31 +0000

Hi John,

 

It would basically be the same as other USB cameras.  For example:

 

$ more st.cmd.PGR_GS3_U3_51S5M

< envPaths

errlogInit(20000)

 

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

spinnakerApp_registerRecordDeviceDriver(pdbbase)

 

# Use this line for a specific camera by serial number, in this case a BlackFlyS GigE

epicsEnvSet("CAMERA_ID", "15337483")

 

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

 

< st.cmd.base

 

You just need to change the serial number to that for your specific camera and the .template file to that for your camera model.

 

Mark

 

From: John Dobbins <john.dobbins at cornell.edu>
Sent: Wednesday, June 5, 2024 1:25 PM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov
Subject: Re: Required Perl modules?

 

Is there an example st.cmd file for a BlackFlyS USB camera?

 

iocBoot/iocSpinnaker/start_epics  references st.cmd.bflys_usb3

 

but that doesn't exist.

 

Thanks,

 

John


From: John Dobbins <john.dobbins at cornell.edu>
Sent: Wednesday, June 5, 2024 9:32 AM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Required Perl modules?

 

My bad.  I incorrectly cloned ADGenICam into ADGeniCam.  John


From: John Dobbins <john.dobbins at cornell.edu>
Sent: Wednesday, June 5, 2024 9:28 AM
To: Mark Rivers <rivers at cars.uchicago.edu>; John Dobbins <john.dobbins at cornell.edu>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Required Perl modules?

 

I should note the running make in ADGeniCam works but running make in support_flir stir produces the same error.

 

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: Wednesday, June 5, 2024 9:22 AM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Required Perl modules?

 

Mark,

 

Using base-7.0.6, areaDetector-R3-13,  and your list of prerequisites below I have gotten as far as ADGeniCam (in my effort to get to ADSpinnaker).

 

Stuck at:

 

make[4]: Entering directory '/nfs/chess/epics/det/support_flir/areaDetector-R3-13/ADCore/ADApp/op'

make[4]: Nothing to be done for 'install'.

make[4]: Leaving directory '/nfs/chess/epics/det/support_flir/areaDetector-R3-13/ADCore/ADApp/op'

make[3]: Leaving directory '/nfs/chess/epics/det/support_flir/areaDetector-R3-13/ADCore/ADApp'

make[2]: Leaving directory '/nfs/chess/epics/det/support_flir/areaDetector-R3-13/ADCore'

make -C /nfs/chess/epics/det/support_flir/areaDetector-R3-13/ADGenICam install

make[2]: Entering directory '/nfs/chess/epics/det/support_flir/areaDetector-R3-13/ADGenICam'

make[2]: *** No rule to make target 'install'.  Stop.

make[2]: Leaving directory '/nfs/chess/epics/det/support_flir/areaDetector-R3-13/ADGenICam'

make[1]: *** [/nfs/chess/epics/det/base-7.0.6/configure/RULES_DIRS:85: /nfs/chess/epics/det/support_flir/areaDetector-R3-13/ADGenICam.install] Error 2

make[1]: Leaving directory '/nfs/chess/epics/det/support_flir/areaDetector-R3-13'

make: *** [/nfs/chess/epics/det/base-7.0.6/configure/RULES_DIRS:85: /nfs/chess/epics/det/support_flir/areaDetector-R3-13.install] Error 2

jad22@lnx209 $ gedit /nfs/chess/epics/det/base-7.0.6/configure/RULES_DIRS &

 

 

John

 


From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Monday, June 3, 2024 9:31 PM
To: John Dobbins <john.dobbins at cornell.edu>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Required Perl modules?

 

Hi John,

 

This is what I have found necessary for our installations.

 

In order to build EPICS base and the synApps support tree, including our local application, on RHEL 9  I needed to install the following additional packages:

 

  • telnet
  • libusb-devel
  • perl-FindBin
  • perl-ExtUtils-Command
  • re2c
  • rpcgen
  • libtirpc-devel
  • boost-devel
  • readline-devel
  • libssh2-devel
  • zeromq-devel
  • libraw1394-devel

 

areaDetector needs aravis to be installed.  aravis requires installing

 

Measurement Computing support requires installing their uldaq library, which is built from source.  That can be built and installed as follows:

./configure

make

sudo make install

 

Mark

 

Sent from my iPhone



On Jun 3, 2024, at 7:20PM, John Dobbins via Tech-talk <tech-talk at aps.anl.gov> wrote:



All,

 

I am building EPICS support on a new (for me) version of linux, Alma 9.  Previous work on Scientific Linux 7.

 

I got to calc-R3-7-5 and I run into a PERL related error. 

 

perl -CSD -MExtUtils::Command -e cat ../calcSupport_LOCAL.dbd ../calcSupport_withSSCAN.dbd ../calcSupport_withSNCSEQ.dbd > calcSupport.dbd

Can't locate ExtUtils/Command.pm in @INC (you may need to install the ExtUtils::Command module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5).

BEGIN failed--compilation aborted.

 

A quick look at the Alma 9 PERL install shows ExtUtils missing.  

 

I see that the Alma 9 PERL install appears to be missing other modules I see in the SL7 PERL install.

 

I am wondering if there is a list PERL modules needed for EPICS build?  (as opposed to discovery by trial)

 

Thanks,

 

John Dobbins

 

Research Support Specialist

Cornell High Energy Synchrotron Source

Cornell University

 

 

 

 


References:
Required Perl modules? John Dobbins via Tech-talk
Re: Required Perl modules? Mark Rivers via Tech-talk
Re: Required Perl modules? John Dobbins via Tech-talk
Re: Required Perl modules? John Dobbins via Tech-talk
Re: Required Perl modules? John Dobbins via Tech-talk
Re: Required Perl modules? John Dobbins via Tech-talk

Navigate by Date:
Prev: Re: Required Perl modules? John Dobbins via Tech-talk
Next: RE: Required Perl modules? Mark Rivers 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: Required Perl modules? Mark Rivers via Tech-talk
Next: Reg. Motorola MVME162PA-344 Bombay Engineering 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
ANJ, 05 Jun 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·