Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: RE: Linking Unix Matlab-Compiled Programs against MCA
From: "Allison, Stephanie" <saa@SLAC.Stanford.EDU>
To: "'Steven.Banks@doi.vic.gov.au'" <Steven.Banks@doi.vic.gov.au>
Cc: tech-talk@aps.anl.gov
Date: Tue, 16 Dec 2003 08:56:24 -0800
Hi Steve,

> I noticed your question regrading linking of MCA on linux which you posted
> to tech-talk in October 2002.  Did you have any success with that?

We compiled mca on Solaris and created a shareable library.  I've not yet compiled on Linux as nobody has requested it.  I don't think the compiled mca library is used much.  In my current project (SPEAR), we use Solaris matlab for RF only.  All other matlab apps are run on Windoze (and use mca).  And for RF, the Solaris compiled matlab executables are currently using the "unix" command with "caget" and "caput" for get/put PVs.  They haven't been converted to mca yet, if ever.  One worry I have about mca is the hardcoded 1 second timeout on all CA calls (perhaps this is changed in a newer version).  This may be a problem for some of the RF matlab apps.  I know a user in the NLCTA project was having a problem with the 1 second timeout in mca when she was forced to go through a slow gateway process.

> We're currently looking a Matlab with the idea of using it as part of our
> control system for the Australian Synchrotron, and I'm evaluating it on a
> Red Hat linux box at the moment.  I've successfully compiled MCA (in
> particular mcamain.cpp) and have a little example application up and going
> which monitors one process variable. I've found it to be very 
> unstable... I very frequently get segmentation faults when I run the 
> application and, after some debugging, the problem appears to be within MCA itself.
> 
> I don't suppose you've run into anything like this in your investigations?
> My next step is to try it out on Windows and see if I get the same
> instability.

No.  The very very little bit of testing I did on Solaris didn't show this problem.  

Stephanie

Replies:
RE: Linking Unix Matlab-Compiled Programs against MCA Steven Hartman

Navigate by Date:
Prev: RE: CA_UDP error message Jeff Hill
Next: RE: mosub record and R3.14 Kevin Tsubota
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: Linking Unix Matlab-Compiled Programs against MCA Carl Lionberger
Next: RE: Linking Unix Matlab-Compiled Programs against MCA Steven Hartman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·