EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  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  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Matlab MCA: arrays; maintain it; OSX
From: Kay-Uwe Kasemir <[email protected]>
To: tech talk <[email protected]>
Date: Thu, 08 Jun 2006 13:31:53 -0400
Hi:

Where do you get the Matlab Channel Access client, MCA?

There's a link on the APS EPICS extensions web page that
points to http://ics-web1.sns.ornl.gov/mca.html,
but that page was once set up by Carl, who's now back at LBL,
and doesn't reflect what's currently in the SNS CVS repository.

In case you're using those SNS sources:
I didn't get monitors for arrays to work, i.e. something like this

   pv = mcaopen('some_waveform_pv');
   mcamon(pv, 'plot(mcacache(pv));');
   mcamontimer('start');

would receive monitors and plot, but the data would be odd,
and only the first array element actually changes.
What seems to fix it: In mca/Channel.cpp, around line 558, replace
status = ca_add_event(RequestType, ChannelID, MonitorEventHandler, this, &EventID);
with
status = ca_add_array_event(RequestType, ca_element_count (ChannelID), ChannelID,
MonitorEventHandler, this, 0.0, 0.0, 0.0, &EventID);


---

There were recent tech-talk messages about the
Matlab Installation Procedure for Windows at the Australian Synchrotron.
Do you have those on a web page? Do you want to add the mca sources
and become the official mca maintainer?

---

Meanwhile, when trying to use that on MacOSX, I'm stuck with Matlab
requiring the older gcc3.3 for mex, while the default OSX compiler is
now gcc4, and I'd prefer to build EPICS base with that.
The last I heard was: No way, use "gcc_select 3.3" for everything.
Does anybody have any news?
(I submitted a 'feature' request to the Mathworks about gcc4.0 support,
 and got a "thank you, we'll contact you" screen).

-Kay


Replies:
RE: Matlab MCA: arrays; maintain it; OSX Steven Banks

Navigate by Date:
Prev: Re: ioc daemon Rod Nussbaumer
Next: Re: ioc daemon David Kline
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: How to send "\x0" through asyn btanu
Next: RE: Matlab MCA: arrays; maintain it; OSX Steven Banks
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024