Experimental Physics and Industrial Control System
Hi Rémi,
recently we have successfully tested CA Lab (LabVIEW-EPICS interface)
for real time systems.
Our test device was a PXIe with RT Linux os.
We were able to install EPICS Base V7 on it without any problems.
For Perl installation we did the following:
wget http://www.cpan.org/src/5.0/perl-5.20.1.tar.gz
tar -xzf perl-5.20.1.tar.gz
cd perl-5.20.1
./Configure -des -Dprefix=$HOME/localperl
make
make test
make install
We have built the EPICS base as follows:
opkg install git*
mkdir /usr/local/epics
cd /usr/local/epics
git clone --recursive https://github.com/epics-base/epics-base.git
cd /usr/local/epics/epics-base/
export PATH=$HOME/localperl/bin:$PATH
make
cd /etc/ld.so.conf.d
create epics.conf => /usr/local/epics/epics-base/lib/linux-x86_64/
ldconfig
Regards,
Carsten Winkler
Date: Tue, 11 Oct 2022 15:58:18 +0200 (CEST)
From: Remi Faure<faure at cenbg.in2p3.fr>
To:tech-talk at aps.anl.gov
Subject: build EPICS IOC on CRIO
Message-ID:<1999832818.2471467.1665496698480.JavaMail.zimbra at cenbg.in2p3.fr>
Content-Type: text/plain; charset="utf-8"
Hi everyone,
I tried to build an EPICS ioc on a CRIO-9064 which is under RT Linux os.
Since CRIO's os is Linux my first thought was to build the ioc directely
on the CRIO avoiding one layer of hardware.
I am connecting from a windows PC to CRIO via ssh (Putty).
After Installing (with opkg) git (to clone EPICS base repository), make,
perl and gcc, I encountered error while executing "make" command to
build the base. I tried it with base V7 and V3.16 and I had the same error:
Can't locate POSIX.pm in @INC (you may need to install the POSIX module)
(@INC contains: /etc/perl /usr/lib/perl/site_perl/5.24.1/
/usr/lib/perl/site_perl/5.24.1 /usr/lib/perl/vendor_perl/5.24.1/
/usr/lib/perl/vendor_perl/5.24.1 /usr/lib/perl/5.24.1/
/usr/lib/perl/5.24.1 /usr/local/lib/site_perl /usr/lib/perl/5.24.1 .) at
./src/tools/EpicsHostArch.pl line 28.
BEGIN failed--compilation aborted at ./src/tools/EpicsHostArch.pl line 28.
Can't locate FindBin.pm in @INC (you may need to install the FindBin
module) (@INC contains: /etc/perl /usr/lib/perl/site_perl/5.24.1/
/usr/lib/perl/site_perl/5.24.1 /usr/lib/perl/vendor_perl/5.24.1/
/usr/lib/perl/vendor_perl/5.24.1 /usr/lib/perl/5.24.1/
/usr/lib/perl/5.24.1 /usr/local/lib/site_perl /usr/lib/perl/5.24.1 .) at
./src/tools/convertRelease.pl line 16.
BEGIN failed--compilation aborted at ./src/tools/convertRelease.pl line 16.
configure/CONFIG:58: configure/os/CONFIG..Common: No such file or directory
make: *** No rule to make target 'configure/os/CONFIG..Common'. Stop.
It seems that no module from perl was correctly installed. Unfortunately
I found nothing on internet to solve it. I'm stuck here at the moment
At the same time I am asking myself if I am on the right way to
establish the communication between EPICS and variables from a CRIO.
Searching a solution I found the conversation about CRIO and EPICS from
2018.
https://epics.anl.gov/tech-talk/2018/msg01205.php
One of the solutions mentionned is to build a base+ioc separately from
CRIO and write shared variables data in the records via the EPICS client
provided with NI Datalogging and Supervisory Control (DSC) module.
Are the information in this discussion up to date?
Thank you in advace for help.
Yours sincerely,
--
Rémi FAURE
*LP2I Bordeaux - UMR 5797*
Tel 05 57 12 08 41 | https://www.lp2ib.in2p3.fr/
<https://www.cenbg.in2p3.fr/>
--
Carsten Winkler
Software Developer
BE-IA-AOT / AG ELIS
________________________________________________________________________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
14109 Berlin
Deutschland
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den*die Absender*in und vernichten Sie diese Mail. Das unerlaubte Kopieren, die Veröffentlichung sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This email may contain confidential and/or proprietary information. If you have received this e-mail in error, please inform the sender immediately and destroy this e-mail. Unauthorized copying, publishing or distribution of this e-mail is not permitted.
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
14109 Berlin
Deutschland
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den*die Absender*in und vernichten Sie diese Mail. Das unerlaubte Kopieren, die Veröffentlichung sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This email may contain confidential and/or proprietary information. If you have received this e-mail in error, please inform the sender immediately and destroy this e-mail. Unauthorized copying, publishing or distribution of this e-mail is not permitted.
- Navigate by Date:
- Prev:
Re: Can't create mutex semaphore: too many Michael Davidsaver via Tech-talk
- Next:
Re: build EPICS IOC on CRIO Carsten Winkler 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: build EPICS IOC on CRIO Remi Faure via Tech-talk
- Next:
Attocube AMC100 Ivashkevych, Oksana 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