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  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to configurate MCA for Octave
From: Hulusi Öz <[email protected]>
To: Eric Norum <[email protected]>, [email protected]
Date: Sat, 23 Jul 2016 17:29:48 +0300
Thank you so much for everything, sir. It works fine..

Best Regards..
Hulusi

2016-07-23 16:58 GMT+03:00 Eric Norum <[email protected]>:
Ah yes, LInux.
You need to have the path to the libraries in the LD_LIBRARY_PATH environment variable.  Again, this is a colon-separated list, but it’s likely that it is currently empty so you need just add this to your shell startup script in addition to the 

export LD_LIBRARY_PATH="$EPICS_BASE/lib/$EPICS_HOST_ARCH"

As a further example, here’s the salient section of the startup script on a linux machine here
EPICS_ROOT=“/usr/local/epics/R3.14.12"
EPICS_BASE="$EPICS_ROOT/base"
EPICS_EXTENSIONS="$EPICS_ROOT/extensions"
MY_EPICS_BASE="$EPICS_BASE" . "${EPICS_BASE}"/startup/Site.profile
PATH="$EPICS_BASE/bin/$EPICS_HOST_ARCH:$PATH"
export LD_LIBRARY_PATH="$EPICS_BASE/lib/$EPICS_HOST_ARCH"
export EPICS_CA_MAX_ARRAY_BYTES=9000000

On Jul 23, 2016, at 6:39 AM, Hulusi Öz <[email protected]> wrote:

I understand sir, I did like that. But when I add these path in Octave :
 (/opt/epics/extensions/lib/linux-x86_64) iand (/opt/epics/extensions/src/mca/matlab) ..
And in Octave when i type "help mcaopen" , it says the definition and usage of that command.
However, according to the your example,when I use Octave to read PV from the ioc like this 
         (pv=mcaopen('hulusiHost:ai1') , I've got this :

%%%%%%%
pv=mcaopen('hulusiHost:ai1')
error: mcaopen: /opt/epics/extensions/lib/linux-x86_64/mca.mex: failed to load: libCom.so.3.14: cannot open shared object file: No such file or directory
error: called from
%%%%%%%

In the search path of Octave these path are included.I can see them.
Thanks in advance..
Best Regards..
Hulusi

-- 
Eric Norum
[email protected]






References:
How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum
RE: How to configurate MCA for Octave Mark Rivers
Re: How to configurate MCA for Octave Hulusi Öz
RE: How to configurate MCA for Octave Mark Rivers
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum

Navigate by Date:
Prev: Re: How to configurate MCA for Octave Eric Norum
Next: Re: Inconsistency in devAsynOctet for stringout and waveform records Torsten Bögershausen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to configurate MCA for Octave Eric Norum
Next: RE: How to configurate MCA for Octave Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 23 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·